diff --git a/content/_index.md b/content/_index.md index 00673f2..f142315 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,8 +1,6 @@ +++ paginate_by = 3 sort_by = "date" -template = "index.html" - -[extra] -sec = "" +template = "index_analytics.html" +page_template = "page_analytics.html" +++ diff --git a/content/posts/_index.md b/content/posts/_index.md index 60ffd33..c7de8fb 100644 --- a/content/posts/_index.md +++ b/content/posts/_index.md @@ -1,5 +1,5 @@ +++ title = "posts" paginate_by = 10 -template = "index.html" +template = "index_analytics.html" +++ diff --git a/templates/index_analytics.html b/templates/index_analytics.html new file mode 100644 index 0000000..de481db --- /dev/null +++ b/templates/index_analytics.html @@ -0,0 +1,5 @@ +{%- extends "index.html" %} +{% block content %} +{{ super() }} + +{% endblock content %} diff --git a/templates/page_analytics.html b/templates/page_analytics.html new file mode 100644 index 0000000..8a3350c --- /dev/null +++ b/templates/page_analytics.html @@ -0,0 +1,29 @@ +{%- extends "page.html" %} +{% block comments_init %} + +{% endblock comments_init %} + +{% block comments_body %} + + + + + + + +{% endblock comments_body %}