Primo commit - base sito funzionante?
This commit is contained in:
parent
7abb0ade2e
commit
71f4b86bde
30 changed files with 1742 additions and 0 deletions
37
themes/blue-penguin/templates/article_stub.html
Normal file
37
themes/blue-penguin/templates/article_stub.html
Normal file
|
@ -0,0 +1,37 @@
|
|||
{% if not articles_page or first_article_of_day %}
|
||||
<h4 class="date">{{ article.date.strftime("%b %d, %Y") }}</h4>
|
||||
{% endif %}
|
||||
|
||||
<article class="post">
|
||||
{% if article.title %}
|
||||
<h2 class="title">
|
||||
<a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permanent Link to "{{ article.title|striptags }}"">{{ article.title }}</a>
|
||||
</h2>
|
||||
{% endif %}
|
||||
|
||||
{% if not articles_page %}
|
||||
{% include "translations.html" %}
|
||||
{% endif %}
|
||||
|
||||
|
||||
{{ article.content }}
|
||||
<div class="clear"></div>
|
||||
|
||||
<div class="info">
|
||||
<a href="{{ SITEURL }}/{{ article.url }}">posted at {{ article.date.strftime("%H:%M") }}</a>
|
||||
{% if article.category.name != "misc" %}
|
||||
· <a href="{{ SITEURL }}/{{ article.category.url }}" rel="tag">{{ article.category }}</a>
|
||||
{% endif %}
|
||||
{% if article.tags %}
|
||||
·
|
||||
{% for t in article.tags %}
|
||||
<a href="{{ SITEURL }}/{{ t.url }}" class="tags{% if tag and tag.name == t.name %} selected{% endif %}">{{ t }}</a>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% if articles_page and DISQUS_SITENAME %}
|
||||
<a href="{{ SITEURL }}/{{ article.url }}#disqus_thread">Click to read and post comments</a>
|
||||
{% else %}
|
||||
{% include "disqus.html" %}
|
||||
{% endif %}
|
||||
</article>
|
Loading…
Add table
Add a link
Reference in a new issue