Improve page titles

This commit is contained in:
Daniel Rudolf 2015-10-05 19:51:38 +02:00
parent 64edcc6a1c
commit 83aa1beaf9
3 changed files with 3 additions and 3 deletions

View file

@ -6,7 +6,7 @@
<ul id="tiny">
{% assign pages = site.pages|sort:"nav" %}
{% for nav in pages %}
{% if nav.nav > 0 %}
{% if nav.title and nav.nav > 0 %}
<li {% if nav.url == page.url %}class="active"{% endif %}>
<a href="{{ site.base_url }}{{ nav.url }}">{{ nav.title }}</a>
</li>

View file

@ -2,7 +2,7 @@
<head>
{% include headInclude.html %}
<title>Pico - A stupidly simple, blazing fast, flat file CMS.</title>
<title>{{ site.title }} - {{ site.description }}</title>
<meta name="description" content="Pico is a flat file CMS, this means there is no administration backend and database to deal with. You simply create .txt files in the 'content' folder and that becomes a page." />
<link href="http://picocms.org" rel="canonical" />

View file

@ -2,7 +2,7 @@
<head>
{% include headInclude.html %}
<title>{{ page.title }} | {{ site.title }}</title>
<title>{% if page.title %}{{ page.title }} | {{ site.title }}{% else %}{{ site.title }} - {{ site.description }}{% endif %}</title>
</head>
<body class="full-layout">