aboutsummaryrefslogtreecommitdiffstats
path: root/_layouts/post.html
diff options
context:
space:
mode:
Diffstat (limited to '_layouts/post.html')
-rw-r--r--_layouts/post.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/_layouts/post.html b/_layouts/post.html
new file mode 100644
index 0000000..194fbbb
--- /dev/null
+++ b/_layouts/post.html
@@ -0,0 +1,26 @@
+---
+layout: default
+---
+<header class="post-header">
+ <h1 class="post-title">{{ page.title }}</h1>
+</header>
+<p><span class="time">{{ page.date | date:"%d/%m/%Y" }}</span></p>
+{% if page.categories %}
+ <span class="categories">
+ <p>&raquo; {% for category in page.categories %}<a href="/category/{{ category }}">{{ category }}</a>{% if forloop.last == false %}, {% endif %}{% endfor %}</p>
+ </span>
+{% endif %}
+
+{{ content }}
+
+<p><span class="meta"><time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: "%-d %m %Y" }}</time> &middot; {% for tag in page.tags %}
+ <a href="/tag/{{tag}}">{{tag}}</a>{% unless forloop.last %}, {% endunless %}{% endfor %}</span></p>
+
+<div class="PageNavigation">
+ {% if page.previous.url %}
+ <p><a class="prev" href="{{ page.previous.url }}">&laquo; {{ page.previous.title }}</a></p>
+ {% endif %}
+ {% if page.next.url %}
+ <p><a class="next" href="{{ page.next.url }}">{{ page.next.title }} &raquo;</a></p>
+ {% endif %}
+</div> \ No newline at end of file
Un proyecto texto-plano.xyz