diff --git a/README.md b/README.md index e02ecc5..801ca3d 100644 --- a/README.md +++ b/README.md @@ -81,6 +81,11 @@ Accept many analytics: - Gauges: ``GAUGES`` - Piwik: ``PIWIK_URL`` and ``PIWIK_SITE_ID``. +### Other configuration + + - Set ``SHOW_FULL_ARTICLE`` to True to show full article content on index.html + instead of summary; + ### Articles To customize header cover to articles, insert the metadata ``header_cover``: diff --git a/templates/index.html b/templates/index.html index 3427b6b..59f58dc 100755 --- a/templates/index.html +++ b/templates/index.html @@ -32,7 +32,9 @@ {{ article.title }} - {% if article.summary %} + {% if SHOW_FULL_ARTICLE %} + {{ article.content }} + {% elif article.summary %} {{ article.summary|truncate(140) }} {% endif %}

Posted by