[NOTMYIDEA-CMS] Add authors files and update article_infos template with official theme one
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
{% if article.author %}
|
||||
<address class="vcard author">
|
||||
By <a class="url fn" href="#">{{ article.author }}</a>
|
||||
By <a class="url fn" href="{{ SITEURL }}/author/{{ article.author }}.html">{{ 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>
|
||||
|
||||
2
notmyidea-cms/templates/author.html
Normal file
2
notmyidea-cms/templates/author.html
Normal file
@@ -0,0 +1,2 @@
|
||||
{% extends "index.html" %}
|
||||
{% block title %}{{ SITENAME }} - {{ author }}{% endblock %}
|
||||
0
notmyidea-cms/templates/authors.html
Normal file
0
notmyidea-cms/templates/authors.html
Normal file
Reference in New Issue
Block a user