diff options
| author | Ahmed Alaa <ahmed@gumx.cc> | 2023-12-05 13:13:10 +0000 |
|---|---|---|
| committer | Ahmed Alaa <ahmed@gumx.cc> | 2023-12-05 13:13:10 +0000 |
| commit | 0ec159c78389bd9f3ab8205d1810974f84f24e04 (patch) | |
| tree | c6c638c25752d5eb52e27e443a6c6b2737f2b3ea /templates | |
| parent | 4f540858709719a5ab1e4fdc7a7e0d03a7f2df2f (diff) | |
| parent | 58fc7dd95a75ba9568b7f5e62d6d7eff93bb1b24 (diff) | |
Merge branch 'main' into 'main'
Make dates in post titles optional
See merge request atgumx/no-style-please!5
Diffstat (limited to 'templates')
| -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> |
