diff options
Diffstat (limited to 'templates/macros.html')
-rw-r--r-- | templates/macros.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/macros.html b/templates/macros.html index a2376ca..75425a2 100644 --- a/templates/macros.html +++ b/templates/macros.html @@ -52,10 +52,10 @@ <address class="author"> <a rel="author" href="{{ config.base_url }}">{{ config.extra.author }}</a></address> </footer> </header> - {% if page_ref and page.summary %} + {% if not page_ref %} + {{ self::toc(toc=page.toc) }} + {% elif page.summary %} <p>{{ page.summary | safe }}</p> <a href="{{ page.permalink }}#continue-reading">...</a> - {% else %} - {{ self::toc(toc=page.toc) }} {% endif %} {% endmacro %} |