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