From 1182fbced48970749b74238f5194ae4ffcfcafba Mon Sep 17 00:00:00 2001 From: Dmytro Litvinov Date: Thu, 23 Feb 2017 17:09:00 +0200 Subject: [PATCH] Add variable DISABLE_HASH_URL for pretty URL in browser --- templates/base.html | 2 +- templates/index.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/base.html b/templates/base.html index c6531af..b7d0dd6 100644 --- a/templates/base.html +++ b/templates/base.html @@ -94,7 +94,7 @@ {% set PAGES_SORT_ATTRIBUTE = 'title' %} {%- endif %} {% for page in pages|sort(attribute=PAGES_SORT_ATTRIBUTE) %} -
  • {{ page.title }}
  • +
  • {{ page.title }}
  • {% endfor %} {% for name, link in LINKS %} diff --git a/templates/index.html b/templates/index.html index a283c88..39085b3 100644 --- a/templates/index.html +++ b/templates/index.html @@ -15,7 +15,7 @@ {% for article in articles_page.object_list %}
    -

    {{ article.title }}

    +

    {{ article.title }}

    {{ _('Posted on %(when)s in %(category)s', when=article.locale_date, @@ -37,7 +37,7 @@ {% if summarise or article.metadata['summary'] or SUMMARY_MAX_LENGTH %} {{ article.summary }}
    - {{ _('Continue reading') }} + {{ _('Continue reading') }} {% else %} {{ article.content }} {% endif %}