diff --git a/_config.yml b/_config.yml index 5d997ce..acfc5cb 100644 --- a/_config.yml +++ b/_config.yml @@ -26,6 +26,9 @@ favicon: images/favicon.png # Google Analytics id, e.g. "UA-NNNNNNNN-N" google_analytics: "G-3712TB0863" +# Yandex.Metrika counter +yandex_metrika: "99021176" + # Site navigation - each item must have a title and a url. navigation: - text: Blogs Home diff --git a/_includes/yandex_metrika.html b/_includes/yandex_metrika.html new file mode 100644 index 0000000..26f2ca7 --- /dev/null +++ b/_includes/yandex_metrika.html @@ -0,0 +1,16 @@ + + + + \ No newline at end of file diff --git a/_layouts/default.html b/_layouts/default.html index 2dca783..19275bc 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,36 +1,43 @@ - - - {% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %} - - - - {% if site.favicon and site.favicon != "" %} - - {% endif %} - - - + + + {% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %} + + + + {% if site.favicon and site.favicon != "" %} + + {% endif %} + + + -
+
- {% include header.html %} - {{content}} - {% include footer.html %} + {% include header.html %} + {{content}} + {% include footer.html %}
-
+
- - {% if site.google_analytics %} - {% include google_analytics.html %} - {% endif %} - - + + + + +{% if site.google_analytics %} +{% include google_analytics.html %} +{% endif %} + +{% if site.yandex_metrika %} +{% include yandex_metrika.html %} +{% endif %} \ No newline at end of file