diff options
author | Valentin Popov <valentin@popov.link> | 2024-02-14 02:38:59 +0300 |
---|---|---|
committer | Valentin Popov <valentin@popov.link> | 2024-02-14 02:38:59 +0300 |
commit | e68f7cf6c7fadb1bceea955a4caf40954d9b024e (patch) | |
tree | 5fe6a1ac66ed98571674ab6686e1742a46812eb8 /_layouts/post.html | |
parent | edaeaf08b8750e8278b18484ff8e0aa180fe3fab (diff) | |
download | popov.link-e68f7cf6c7fadb1bceea955a4caf40954d9b024e.tar.xz popov.link-e68f7cf6c7fadb1bceea955a4caf40954d9b024e.zip |
Moved actual template site
Diffstat (limited to '_layouts/post.html')
-rw-r--r-- | _layouts/post.html | 32 |
1 files changed, 19 insertions, 13 deletions
diff --git a/_layouts/post.html b/_layouts/post.html index 9aedb0b..9ff87ac 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -2,19 +2,25 @@ layout: default --- -<article class="container"> - <small> - <span>Published</span> - <time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: '%Y-%m-%d' | strip | normalize_whitespace | xml_escape }}</time> - <span>on</span> - <a href="{{ site.url | absolute_url | uri_escape }}" target="_self">{{ page.title | default: site.title | strip | normalize_whitespace | xml_escape }}</a> - <span>|</span> - <a href="{{ page.url | absolute_url | uri_escape }}" target="_blank">Permalink</a> - </small> +<section style="text-align: center;"> + <h1>{{ page.title | default: site.title | strip | normalize_whitespace | xml_escape }}</h1> - <header> - <h1>{{ page.title | default: site.title | strip | normalize_whitespace | xml_escape }}</h1> - </header> + <p> + <small> + Posted + <time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: '%B %e, %Y' | strip | normalize_whitespace | xml_escape }}</time> + by + <a href="mailto:{{ site.email | strip | url_encode }}?subject={{ page.title | default: site.title | strip | normalize_whitespace | xml_escape }}">Valentin Popov</a> + ‐ + <strong>{% include reading-time.html %}</strong> + </small> + </p> +</section> +<section> {{ content }} -</article> +</section> + +<section> + {% include comments.html %} +</section>
\ No newline at end of file |