diff options
| author | Miquel Sabaté Solà <msabate@suse.com> | 2018-02-18 22:51:57 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <msabate@suse.com> | 2018-02-18 22:51:57 +0100 |
| commit | 3c62a936378e490e99c2ac8955797464216b1691 (patch) | |
| tree | 23145a905ae399414399ebe5862d804226c8e849 /_layouts/post.html | |
| download | jo.mssola.com-3c62a936378e490e99c2ac8955797464216b1691.tar.gz jo.mssola.com-3c62a936378e490e99c2ac8955797464216b1691.zip | |
Initial commit
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to '_layouts/post.html')
| -rw-r--r-- | _layouts/post.html | 37 |
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> |
