diff options
| author | Carlos López <00xc@protonmail.com> | 2023-08-09 22:40:53 +0200 |
|---|---|---|
| committer | Carlos López <00xc@protonmail.com> | 2023-08-09 22:40:53 +0200 |
| commit | 58fc7dd95a75ba9568b7f5e62d6d7eff93bb1b24 (patch) | |
| tree | 56cfe2f46b1541847df54961dfa0efe335ec556c /templates/index.html | |
| parent | d39edd0a30d559fb9d792481c9c3b45760408722 (diff) | |
Make dates in post titles optional
Diffstat (limited to 'templates/index.html')
| -rw-r--r-- | templates/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/index.html b/templates/index.html index dafb0e4..c44de41 100644 --- a/templates/index.html +++ b/templates/index.html @@ -12,7 +12,7 @@ <ul> {% for page in pages %} <li> - <a href="{{ page.permalink | safe }}">{% if page.date %}{{ page.date }} - {% endif %}{{ page.title }}</a> + <a href="{{ page.permalink | safe }}">{% if page.date and not config.extra.no_list_date %}{{ page.date }} - {% endif %}{{ page.title }}</a> <br /> {{ page.description }} </li> |
