diff options
Diffstat (limited to '_layouts')
| -rw-r--r-- | _layouts/default.html | 17 | ||||
| -rw-r--r-- | _layouts/page.html | 8 | ||||
| -rw-r--r-- | _layouts/post.html | 32 | 
3 files changed, 33 insertions, 24 deletions
| diff --git a/_layouts/default.html b/_layouts/default.html index cabcd0b..ca65e32 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -4,10 +4,19 @@ layout: compress  <!DOCTYPE html>  <html lang="{{ site.lang | strip | slugify | xml_escape }}"> -    {% include head.html %} -    <body> +{% include head.html %} + +<body> +    <header> +        {% include navbar.html %} +    </header> + +    <article>          {{ content }} -    </body> +    </article> + +    {% include counter.html %} +</body> -</html> +</html>
\ No newline at end of file diff --git a/_layouts/page.html b/_layouts/page.html index 32c9b9f..84f03f7 100644 --- a/_layouts/page.html +++ b/_layouts/page.html @@ -2,10 +2,4 @@  layout: default  --- -<main class="container"> -    <header> -        <h1>{{ page.title | default: site.title | strip | normalize_whitespace | xml_escape }}</h1> -    </header> - -    {{ content }} -</main> +{{ content }}
\ No newline at end of file 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 | 
