Layers of a new theme

Signed-off-by: Valentin Popov <valentineus@gmail.com>
This commit is contained in:
Valentin Popov 2018-04-07 09:17:54 +00:00
parent 7bc283dc5e
commit a646efb49b
3 changed files with 45 additions and 47 deletions

View File

@ -3,21 +3,16 @@ layout: compress
--- ---
<!DOCTYPE html> <!DOCTYPE html>
<html lang="ru"> <html lang="{{ site | smartify | strip_html | normalize_whitespace }}">
{% include head.html %} {% include head.html %}
<body> <body>
{% include header.html %} {% include header.html %}
{% include icons.html %} {% include icons.html %}
<section class="main"> <section class="main">
<div class="container"> {{ content | normalize_whitespace }}
<div class="content">
{{ content | normalize_whitespace }}
</div>
</div>
</section> </section>
</body> </body>

View File

@ -2,12 +2,15 @@
layout: default layout: default
--- ---
<div class="page"> <div class="container">
<!-- Header --> <div class="content">
<h1 class="page-title"> <!-- Header -->
{{ page.title | smartify | strip_html | normalize_whitespace }} <div class="page-heading">
</h1> {{ page.title | smartify | strip_html | normalize_whitespace }}
</div>
<!-- Contents --> <!-- Contents -->
{{ content | normalize_whitespace }} <div class=markdown>
{{ content | normalize_whitespace }}
</div>
</div>
</div> </div>

View File

@ -2,36 +2,36 @@
layout: default layout: default
--- ---
<div class="post"> <div class="post non-narrow zero-top-spacing">
<!-- Header --> <div class="container">
<h1 class="post-title"> <div class="content">
{{ page.title | smartify | strip_html | normalize_whitespace }} <!-- Header-->
</h1> <div class="front-matter">
<!-- Title-->
<!-- Date --> <div class="title-container">
<span class="post-date">{{ page.date | date_to_long_string }}</span> <div class="page-heading">
{{ page.title | smartify | strip_html | normalize_whitespace }}
<!-- Contents --> </div>
{{ content | normalize_whitespace }} </div>
</div> <!-- Date -->
<div class="meta">
<!-- Comments on the post --> <div class="date" title="{{ page.date | date_to_xmlschema }}">
<div class="comments"> {{ page.date | date_to_string }}
<div id="disqus_thread"></div> </div>
<script type="text/javascript" defer> <div class="reading-time">
var disqus_config = function() { <!-- <div class="middot"></div> -->
this.page.identifier = '{{ page.id | slugify }}'; <!-- Expansion -->
this.page.title = '{{ page.title | smartify | strip_html | normalize_whitespace }}'; </div>
this.page.url = '{{ page.url | absolute_url | uri_escape }}'; </div>
}; </div>
<!-- Content -->
(function() { <div class="markdown">
var d = document, {{ content | normalize_whitespace }}
s = d.createElement('script'); </div>
s.src = '//valentineus-link.disqus.com/embed.js'; <!-- Comments -->
s.setAttribute('data-timestamp', +new Date()); <div class="disqus">
(d.head || d.body).appendChild(s); {% include disqus.html %}
})(); </div>
</script> </div>
</div>
</div> </div>