Добавлены теги description
This commit is contained in:
parent
6718fbb048
commit
68b9e211f9
@ -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&subset=cyrillic" rel="stylesheet">
|
||||
<title>
|
||||
{% if page.title is defined %}
|
||||
{{ page.title }} - {{ site.title }}
|
||||
{% else %}
|
||||
{{ site.title }}
|
||||
{% endif %}
|
||||
</title>
|
||||
|
9
source/_includes/navigation.twig
Normal file
9
source/_includes/navigation.twig
Normal 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>
|
@ -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 %}
|
||||
|
@ -1,6 +1,7 @@
|
||||
---
|
||||
layout: internal
|
||||
title: Обо мне
|
||||
description: Несколько фактов об авторе
|
||||
---
|
||||
|
||||
{% block js %}
|
||||
|
@ -1,5 +1,6 @@
|
||||
---
|
||||
layout: default
|
||||
description: Личный сайт Антона Вахрушева
|
||||
---
|
||||
{% block content %}
|
||||
<h1 class="hello">Привет,</h1>
|
||||
|
@ -1,6 +1,7 @@
|
||||
---
|
||||
layout: internal
|
||||
title: Гадалка
|
||||
description: Демо-версия электронной гадалки Шеннона
|
||||
---
|
||||
|
||||
{% block js %}
|
||||
|
@ -1,6 +1,7 @@
|
||||
---
|
||||
layout: internal
|
||||
title: Вишлист
|
||||
description: Список вещей, которые можно подарить
|
||||
---
|
||||
|
||||
# Вишлист
|
||||
|
Loading…
Reference in New Issue
Block a user