diff options
author | Benjamin Petersen <bnjmn.ptrsn@gmail.com> | 2013-08-27 23:56:26 -0400 |
---|---|---|
committer | Benjamin Petersen <bnjmn.ptrsn@gmail.com> | 2013-08-27 23:56:26 -0400 |
commit | 7f83a42324ec0679ab82448164b8ffd9b0b464f7 (patch) | |
tree | 5dbc5419d7988cef7757dfac57b805b16cb15e7f | |
parent | 0efd36473c6558dc398601f8d4820d47fad33a92 (diff) | |
download | pelican-themes-7f83a42324ec0679ab82448164b8ffd9b0b464f7.tar.gz |
Fix path issue for archive pages
This fixes paths for archive pages.
- Previously hyperlinks pointed to current page appended with article url
- now links will point to site url appended with article url
Tested with Year and Month Archive pages successfully.
-rw-r--r-- | mnmlist/templates/archives.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mnmlist/templates/archives.html b/mnmlist/templates/archives.html index 5ba2c81..9425abf 100644 --- a/mnmlist/templates/archives.html +++ b/mnmlist/templates/archives.html @@ -6,7 +6,7 @@ <dl> {% for article in dates %} <dt>{{ article.locale_date }}</dt> - <dd><a href='{{ article.url }}'>{{ article.title }}</a></dd> + <dd><a href='{{ SITEURL }}/{{ article.url }}'>{{ article.title }}</a></dd> {% endfor %} </dl> </section> |