aboutsummaryrefslogtreecommitdiff
path: root/_layouts/post.html
diff options
context:
space:
mode:
Diffstat (limited to '_layouts/post.html')
-rw-r--r--_layouts/post.html37
1 files changed, 37 insertions, 0 deletions
diff --git a/_layouts/post.html b/_layouts/post.html
new file mode 100644
index 0000000..71ffb82
--- /dev/null
+++ b/_layouts/post.html
@@ -0,0 +1,37 @@
+---
+layout: default
+---
+
+
+<h1 class="post-title-smaller">
+ {% t page.title %}{% if page.subtitle %}.<small class="post-subtitle"> {{ page.subtitle }}</small>{% endif %}
+</h1>
+
+<p class="post-meta">
+ {% t blog.posted_on %}
+ {% if site.lang == "ca" %}
+ {% include date.html date=page.date %}
+ {{ pre }}{{ day }} de {{ month }} del {{ year }}
+ {% else %}
+ {{ post.date | date: "%B %-d, %Y" }}
+ {% endif %}
+ {% t footer.by %} {{ site.author }}
+</p>
+
+{{ content }}
+
+<div class="post-notice">
+ <p>
+ {% t blog.notice %}
+ <a href="https://creativecommons.org/licenses/by-nd/4.0/">Creative Commons BY-ND 4.0</a>.
+ </p>
+ <p>
+ {% t blog.rss %}
+
+ {% if site.lang == "ca" %}
+ <a href="/feed.xml">feed de RSS</a>.
+ {% else %}
+ <a href="/feed.en.xml">RSS Feed</a>.
+ {% endif %}
+ </p>
+</div>