aboutsummaryrefslogtreecommitdiffstats
path: root/notmyidea-cms
diff options
context:
space:
mode:
Diffstat (limited to 'notmyidea-cms')
-rw-r--r--notmyidea-cms/templates/article_infos.html4
-rw-r--r--notmyidea-cms/templates/base.html4
-rw-r--r--notmyidea-cms/templates/taglist.html2
3 files changed, 5 insertions, 5 deletions
diff --git a/notmyidea-cms/templates/article_infos.html b/notmyidea-cms/templates/article_infos.html
index e1803be..a1993a0 100644
--- a/notmyidea-cms/templates/article_infos.html
+++ b/notmyidea-cms/templates/article_infos.html
@@ -5,10 +5,10 @@
{% if article.author %}
<address class="vcard author">
- By <a class="url fn" href="{{ SITEURL }}/author/{{ article.author }}.html">{{ article.author }}</a>
+ By <a class="url fn" href="{{ SITEURL }}/{{ article.author.url }}">{{ article.author }}</a>
</address>
{% endif %}
-<p>In <a href="{{ SITEURL }}/category/{{ article.category }}.html">{{ article.category }}</a>. {% if PDF_PROCESSOR %}<a href="{{ SITEURL }}/pdf/{{ article.slug }}.pdf">get the pdf</a>{% endif %}</p>
+<p>In <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>. {% if PDF_PROCESSOR %}<a href="{{ SITEURL }}/pdf/{{ article.slug }}.pdf">get the pdf</a>{% endif %}</p>
{% include 'taglist.html' %}
{% include 'translations.html' %}
</footer><!-- /.post-info -->
diff --git a/notmyidea-cms/templates/base.html b/notmyidea-cms/templates/base.html
index 8f3d20e..02833f6 100644
--- a/notmyidea-cms/templates/base.html
+++ b/notmyidea-cms/templates/base.html
@@ -37,7 +37,7 @@
{% endfor %}
{% endif %}
{#{% for cat, null in categories %}
- <li {% if cat == category %}class="active"{% endif %}><a href="{{ SITEURL }}/category/{{ cat }}.html">{{ cat }}</a></li>
+ <li {% if cat == category %}class="active"{% endif %}><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li>
{% endfor %}#}
</ul></nav>
</header><!-- /#banner -->
@@ -50,7 +50,7 @@
<h2>Categories</h2>
<ul>
{% for cat, null in categories %}
- <li {% if cat == category %}class="active"{% endif %}><a href="{{ SITEURL }}/category/{{ cat }}.html">{{ cat }}</a></li>
+ <li {% if cat == category %}class="active"{% endif %}><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li>
{% endfor %}
</ul>
</div>
diff --git a/notmyidea-cms/templates/taglist.html b/notmyidea-cms/templates/taglist.html
index 4259077..7ed6bf1 100644
--- a/notmyidea-cms/templates/taglist.html
+++ b/notmyidea-cms/templates/taglist.html
@@ -1,2 +1,2 @@
-{% if article.tags %}<p>tags: {% for tag in article.tags %}<a href="{{ SITEURL }}/tag/{{ tag }}.html">{{ tag }}</a>{% endfor %}</p>{% endif %}
+{% if article.tags %}<p>tags: {% for tag in article.tags %}<a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a>{% endfor %}</p>{% endif %}
{% if PDF_PROCESSOR %}<a href="{{ SITEURL }}/pdf/{{ article.slug }}.pdf">get the pdf</a>{% endif %}</p>