diff options
author | EuAndreh <eu@euandre.org> | 2020-02-05 02:17:01 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2020-02-05 02:17:01 -0300 |
commit | de9473df009bdab19ea287af8b18b6c141c2749b (patch) | |
tree | 93dcef5582f070fbc6fdc180427397e72e111160 /_layouts/post.html | |
parent | WIP Jekyll (diff) | |
download | euandre.org-de9473df009bdab19ea287af8b18b6c141c2749b.tar.gz euandre.org-de9473df009bdab19ea287af8b18b6c141c2749b.tar.xz |
Reproduce hakyll behaviour
Diffstat (limited to '_layouts/post.html')
-rw-r--r-- | _layouts/post.html | 36 |
1 files changed, 14 insertions, 22 deletions
diff --git a/_layouts/post.html b/_layouts/post.html index abf9696..bdaa3f8 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -1,27 +1,19 @@ --- layout: default --- -<article class="post h-entry" itemscope itemtype="http://schema.org/BlogPosting"> - - <header class="post-header"> - <h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}</h1> - <p class="post-meta"> - <time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished"> - {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%} - {{ page.date | date: date_format }} - </time> - {%- if page.author -%} - • <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span class="p-author h-card" itemprop="name">{{ page.author }}</span></span> - {%- endif -%}</p> - </header> - - <div class="post-content e-content" itemprop="articleBody"> +<article> + <section class="header"> + Posted on {{ page.date | date: "%b %-d, %Y" }} + </section> + <section> {{ content }} - </div> - - {%- if site.disqus.shortname -%} - {%- include disqus_comments.html -%} - {%- endif -%} - - <a class="u-url" href="{{ page.url | relative_url }}" hidden></a> + </section> + <section> + <p>Have a comment on this post? Start a discussion + in my <a href="https://lists.sr.ht/~euandreh/public-inbox">public inbox</a> + by sending an email to <a href="mailto:~euandreh/public-inbox@lists.sr.ht?Subject=Re%3A%20{{ page.title | escape }}">~euandreh/public-inbox@lists.sr.ht</a> + [<a href="https://man.sr.ht/lists.sr.ht/etiquette.md">mailing list etiquette</a>], + or see <a href="https://lists.sr.ht/~euandreh/public-inbox?search={{ page.title | escape }}">existing discussions</a>. + </p> + </section> </article> |