diff options
author | Dennis Eriksen <d@ennis.no> | 2023-01-21 11:02:25 +0100 |
---|---|---|
committer | Dennis Eriksen <d@ennis.no> | 2023-01-21 11:02:25 +0100 |
commit | 5f4c0e6ac4a77eb3de31156a64ee083e5681186a (patch) | |
tree | 959ab777e4124afaf6280b39773da47a2101d0bd /templates/index.html | |
parent | Made Riker into a Zola-theme - Rikerz (diff) | |
download | rikerz-5f4c0e6ac4a77eb3de31156a64ee083e5681186a.tar.gz |
fix 404 and relative links
Diffstat (limited to 'templates/index.html')
-rw-r--r-- | templates/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/index.html b/templates/index.html index 222ea74..b7dd98b 100644 --- a/templates/index.html +++ b/templates/index.html @@ -21,7 +21,7 @@ {% block header %} <header> - <a href="/"><img id="logo" src="{{ config.extra.logo }}" /></a> + <a href="/"><img id="logo" src="{{ config.extra.logo | safe }}" /></a> <h1>{{ config.extra.title }}</h1> </header> {% endblock header %} @@ -38,7 +38,7 @@ {%- for post in posts %} <article class="list-item"> - <a href="{{ post.permalink | safe }}" class="list-item-link">{{ post.title }}</a> + <a href="{{ post.path | safe }}" class="list-item-link">{{ post.title }}</a> <span class="list-item-date">{{ post.date | date(format="%B %e, %Y") }}</span> </article> {%- endfor %} |