Added SEO Schema and Meta Description
This commit is contained in:
parent
05d77e7c05
commit
c1f806e436
|
@ -9,7 +9,7 @@ class PostSitemap(Sitemap):
|
|||
return Post.objects.filter(active=True, members_only=False)
|
||||
|
||||
def lastmod(self, obj):
|
||||
return obj.published_date
|
||||
return obj.updated_date
|
||||
|
||||
class CategorySitemap(Sitemap):
|
||||
changefreq = "monthly"
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
||||
<title>{% block title %}Maidstone Hackspace{% endblock title %}</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description" content="">
|
||||
<meta name="description" content="Maidstone Hackspace is a shared space where artists, designers, makers, hackers, programmers, tinkerers, professionals and hobbyists can work on their projects, share knowledge and collaborate">
|
||||
<meta name="author" content="">
|
||||
|
||||
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
|
||||
|
@ -27,13 +27,40 @@
|
|||
<meta name="msapplication-config" content="{% static 'browserconfig.xml' %}">
|
||||
<meta name="theme-color" content="#008080">
|
||||
|
||||
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
|
||||
{% block css %}
|
||||
<!-- Your stuff: Third-party CSS libraries go here -->
|
||||
{# { compress css }#}
|
||||
<!-- This file stores project-specific CSS -->
|
||||
<link href="{% sass_src 'sass/project.scss' %}" rel="stylesheet">
|
||||
{# { endcompress }#}
|
||||
{% endblock %}
|
||||
|
||||
<script type="application/ld+json">
|
||||
{ "@context": "http://schema.org",
|
||||
"@type": "Organization",
|
||||
"name": "Maidstone Hackspace",
|
||||
"legalName" : "Maidstone Hackspace",
|
||||
"url": "https://maidstone-hackspace.org.uk",
|
||||
"logo": "https://maidstone-hackspace.org.uk/static/images/logo.svg",
|
||||
"foundingDate": "2015",
|
||||
"address": {
|
||||
"@type": "PostalAddress",
|
||||
"streetAddress": "Maidstone Hackspace, Maidstone Community Support Centre",
|
||||
"addressLocality": "Maidstone",
|
||||
"addressRegion": "FLKent",
|
||||
"postalCode": "ME14 1HH",
|
||||
"addressCountry": "UK"
|
||||
},
|
||||
"contactPoint": {
|
||||
"@type": "ContactPoint",
|
||||
"contactType": "general contact",
|
||||
"email": "contact@maidstone-hackspace.org.uk"
|
||||
},
|
||||
"sameAs": [
|
||||
"https://twitter.com/mhackspace",
|
||||
"https://www.facebook.com/maidstonehackspace/",
|
||||
"https://plus.google.com/+Maidstone-hackspaceOrgUk",
|
||||
"https://groups.google.com/forum/#!forum/maidstone-hackspace",
|
||||
"https://github.com/maidstone-hackspace"
|
||||
]}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
@ -61,7 +88,7 @@
|
|||
<a class="nav-link" href="{% url 'chat' %}">Chat</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="{% url 'home' %}">Donate</a>
|
||||
<a class="nav-link" href="{% url 'blog' %}">Blog</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="{% url 'contact' %}">Contact</a>
|
||||
|
@ -119,6 +146,9 @@
|
|||
<div class="container">
|
||||
<span class="text-muted">© {% now "Y" %} Maidstone Hackspace</span>
|
||||
<div class="float-right">
|
||||
<a href="https://github.com/maidstone-hackspace/" target="_blank"><i class="fa fa-github"></i></a>
|
||||
<a href="https://github.com/maidstone-hackspace/" target="_blank"><i class="fa fa-twitter"></i></a>
|
||||
<a href="https://www.facebook.com/maidstonehackspace/" target="_blank"><i class="fa fa-facebook"></i></a>
|
||||
<a class="btn btn-primary" href="https://groups.google.com/forum/#!forum/maidstone-hackspace" role="button">Mailing List</a>
|
||||
</div>
|
||||
</footer>
|
||||
|
|
Loading…
Reference in New Issue