diff options
author | FELD Boris <boris@boris-desktop.(none)> | 2011-07-27 16:52:32 +0200 |
---|---|---|
committer | FELD Boris <boris@boris-desktop.(none)> | 2011-07-27 16:53:50 +0200 |
commit | fe7b6edc8e332c7d53d86219b1c177bf6ae26fcc (patch) | |
tree | b2292bb2640aeca34a9f067a24141a139da59d75 | |
parent | a4ea2832a8a48ed63f38cf458b877d67d2c953da (diff) | |
download | pelican-themes-fe7b6edc8e332c7d53d86219b1c177bf6ae26fcc.tar.gz |
[NOTMYIDEA-CMS] Add authors files and update article_infos template with official theme one
-rw-r--r-- | notmyidea-cms/templates/article_infos.html | 4 | ||||
-rw-r--r-- | notmyidea-cms/templates/author.html | 2 | ||||
-rw-r--r-- | notmyidea-cms/templates/authors.html | 0 |
3 files changed, 4 insertions, 2 deletions
diff --git a/notmyidea-cms/templates/article_infos.html b/notmyidea-cms/templates/article_infos.html index 3e3edea..e1803be 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="#">{{ 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> {% include 'taglist.html' %} {% include 'translations.html' %} -</footer><!-- /.post-info -->
\ No newline at end of file +</footer><!-- /.post-info --> diff --git a/notmyidea-cms/templates/author.html b/notmyidea-cms/templates/author.html new file mode 100644 index 0000000..0b37290 --- /dev/null +++ b/notmyidea-cms/templates/author.html @@ -0,0 +1,2 @@ +{% extends "index.html" %} +{% block title %}{{ SITENAME }} - {{ author }}{% endblock %} diff --git a/notmyidea-cms/templates/authors.html b/notmyidea-cms/templates/authors.html new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/notmyidea-cms/templates/authors.html |