diff --git a/source/_includes/head.twig b/source/_includes/head.twig index 307b19e..80ff2ae 100644 --- a/source/_includes/head.twig +++ b/source/_includes/head.twig @@ -1,11 +1,19 @@ +{# Charset #} + +{# Title #} +{% if page.title is defined %} + {{ page.title }} - {{ site.title }} +{% else %} + {{ site.title }} +{% endif %} + +{# Description #} +{% if page.description is defined %} + +{% endif %} + +{# Other meta fields #} - - {% if page.title is defined %} - {{ page.title }} - {{ site.title }} - {% else %} - {{ site.title }} - {% endif %} - diff --git a/source/_includes/navigation.twig b/source/_includes/navigation.twig new file mode 100644 index 0000000..bd47053 --- /dev/null +++ b/source/_includes/navigation.twig @@ -0,0 +1,9 @@ + diff --git a/source/_layouts/internal.html.twig b/source/_layouts/internal.html.twig index dde92ec..e6ecf05 100644 --- a/source/_layouts/internal.html.twig +++ b/source/_layouts/internal.html.twig @@ -7,15 +7,7 @@
- + {% include 'navigation.twig' %}
{% block content %}{% endblock %} diff --git a/source/about/me.html.twig b/source/about/me.html.twig index 918dea5..616cdc3 100644 --- a/source/about/me.html.twig +++ b/source/about/me.html.twig @@ -1,6 +1,7 @@ --- layout: internal title: Обо мне +description: Несколько фактов об авторе --- {% block js %} diff --git a/source/index.html.twig b/source/index.html.twig index 20e282d..5857dfe 100644 --- a/source/index.html.twig +++ b/source/index.html.twig @@ -1,5 +1,6 @@ --- layout: default +description: Личный сайт Антона Вахрушева --- {% block content %}

Привет,

diff --git a/source/projects/predictor/index.html.twig b/source/projects/predictor/index.html.twig index ea7385f..b5c13f5 100644 --- a/source/projects/predictor/index.html.twig +++ b/source/projects/predictor/index.html.twig @@ -1,6 +1,7 @@ --- layout: internal title: Гадалка +description: Демо-версия электронной гадалки Шеннона --- {% block js %} diff --git a/source/wishlist.md b/source/wishlist.md index 86d7130..d4cb55e 100644 --- a/source/wishlist.md +++ b/source/wishlist.md @@ -1,6 +1,7 @@ --- layout: internal title: Вишлист +description: Список вещей, которые можно подарить --- # Вишлист