improved page title generation
This commit is contained in:
parent
252bfd24af
commit
e30a298eb9
@ -4,11 +4,7 @@
|
|||||||
<!--[if (gt IE 8)|(gt IEMobile 7)|!(IEMobile)|!(IE)]><!--><html class="no-js" manifest="default.appcache?v=1" lang="en"><!--<![endif]-->
|
<!--[if (gt IE 8)|(gt IEMobile 7)|!(IEMobile)|!(IE)]><!--><html class="no-js" manifest="default.appcache?v=1" lang="en"><!--<![endif]-->
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
{% if page.title %}
|
<title>{{site.title}}{% if page.title %}: {{page.title}}{% endif %}</title>
|
||||||
<title>{{site.title}}: {{page.title}}{% if site.author %} - {{ site.author }}{% endif %}</title>
|
|
||||||
{% else %}
|
|
||||||
<title>{{site.title}}{% if site.author %} - {{ site.author }}{% endif %}</title>
|
|
||||||
{% endif %}
|
|
||||||
<meta name="author" content="{{site.author}}">
|
<meta name="author" content="{{site.author}}">
|
||||||
{% if page.description %}
|
{% if page.description %}
|
||||||
<meta name="description" content="{{page.description}}"/>
|
<meta name="description" content="{{page.description}}"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user