1
0
Fork 0
forked from github/pelican

Add PDF to the templates.

This commit is contained in:
Alexis Metaireau 2010-11-06 02:40:10 +00:00
commit d0b034db0a
4 changed files with 12 additions and 3 deletions

View file

@ -16,7 +16,8 @@
<address class="vcard author">
By <a class="url fn" href="#">{{ article.author }}</a>
</address>
{% endif %}<p> In <a href="{{ SITEURL }}/category/{{ article.category }}.html">{{ article.category }}</a></p>
{% 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>
</footer><!-- /.post-info -->
{{ article.content }}
</article></aside><!-- /#featured -->
@ -40,7 +41,9 @@
<address class="vcard author">
By <a class="url fn" href="#">{{ article.author }}</a>
</address>In <a href="{{ SITEURL }}/category/{{ article.category }}.html">{{ article.category }}</a>
</address>
<p> In <a href="{{ SITEURL }}/category/{{ article.category }}.html">{{ article.category }}</a></p>
<p>{% if PDF_PROCESSOR %}<a href="{{ SITEURL }}/pdf/{{ article.slug }}.pdf">pdf</a>{% endif %}</p>
</footer><!-- /.post-info -->
{{ article.summary }}
<a class="readmore" href="{{ SITEURL }}/{{ article.url }}">read more</a>