Добавлены теги description

This commit is contained in:
Anton Vakhrushev 2018-06-23 09:17:47 +03:00
parent 6718fbb048
commit 68b9e211f9
7 changed files with 29 additions and 16 deletions

View File

@ -1,11 +1,19 @@
{# Charset #}
<meta charset="utf-8">
{# Title #}
{% if page.title is defined %}
<title>{{ page.title }} - {{ site.title }}</title>
{% else %}
<title>{{ site.title }}</title>
{% endif %}
{# Description #}
{% if page.description is defined %}
<meta name="description" content="{{ page.description }}">
{% endif %}
{# Other meta fields #}
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="yandex-verification" content="eb6443fccb57d7d2" />
<link href="https://fonts.googleapis.com/css?family=PT+Serif:400,700&amp;subset=cyrillic" rel="stylesheet">
<title>
{% if page.title is defined %}
{{ page.title }} - {{ site.title }}
{% else %}
{{ site.title }}
{% endif %}
</title>

View File

@ -0,0 +1,9 @@
<nav class="navigation">
<ul class="navigation__actions">
<li class="navigation__action">
<a class="navigation__link" href="/">
Главная
</a>
</li>
</ul>
</nav>

View File

@ -7,15 +7,7 @@
<div class="page">
<nav class="navigation">
<ul class="navigation__actions">
<li class="navigation__action">
<a class="navigation__link" href="/">
Главная
</a>
</li>
</ul>
</nav>
{% include 'navigation.twig' %}
<main class="content">
{% block content %}{% endblock %}

View File

@ -1,6 +1,7 @@
---
layout: internal
title: Обо мне
description: Несколько фактов об авторе
---
{% block js %}

View File

@ -1,5 +1,6 @@
---
layout: default
description: Личный сайт Антона Вахрушева
---
{% block content %}
<h1 class="hello">Привет,</h1>

View File

@ -1,6 +1,7 @@
---
layout: internal
title: Гадалка
description: Демо-версия электронной гадалки Шеннона
---
{% block js %}

View File

@ -1,6 +1,7 @@
---
layout: internal
title: Вишлист
description: Список вещей, которые можно подарить
---
# Вишлист