aboutsummaryrefslogtreecommitdiff
path: root/_layouts
diff options
context:
space:
mode:
Diffstat (limited to '_layouts')
-rw-r--r--_layouts/default.html10
-rw-r--r--_layouts/page.html2
-rw-r--r--_layouts/post.html12
3 files changed, 12 insertions, 12 deletions
diff --git a/_layouts/default.html b/_layouts/default.html
index ca65e32..b0937c7 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -3,20 +3,20 @@ layout: compress
---
<!DOCTYPE html>
-<html lang="{{ site.lang | strip | slugify | xml_escape }}">
+<html lang="{{- site.lang | strip | slugify | xml_escape -}}">
-{% include head.html %}
+{%- include head.html -%}
<body>
<header>
- {% include navbar.html %}
+ {%- include navbar.html -%}
</header>
<article>
- {{ content }}
+ {{- content -}}
</article>
- {% include counter.html %}
+ {%- include counter.html -%}
</body>
</html> \ No newline at end of file
diff --git a/_layouts/page.html b/_layouts/page.html
index 84f03f7..d629bc5 100644
--- a/_layouts/page.html
+++ b/_layouts/page.html
@@ -2,4 +2,4 @@
layout: default
---
-{{ content }} \ No newline at end of file
+{{- content -}} \ No newline at end of file
diff --git a/_layouts/post.html b/_layouts/post.html
index 9ff87ac..aa32f3e 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -3,24 +3,24 @@ layout: default
---
<section style="text-align: center;">
- <h1>{{ page.title | default: site.title | strip | normalize_whitespace | xml_escape }}</h1>
+ <h1>{{- page.title | default: site.title | strip | normalize_whitespace | xml_escape -}}</h1>
<p>
<small>
Posted
- <time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: '%B %e, %Y' | strip | normalize_whitespace | xml_escape }}</time>
+ <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>
+ <a href="mailto:{{- site.email | strip | url_encode -}}?subject={{- page.title | default: site.title | strip | normalize_whitespace | xml_escape -}}">Valentin Popov</a>
&nbsp;&hyphen;
- <strong>{% include reading-time.html %}</strong>
+ <strong>{%- include reading-time.html -%}</strong>
</small>
</p>
</section>
<section>
- {{ content }}
+ {{- content -}}
</section>
<section>
- {% include comments.html %}
+ {%- include comments.html -%}
</section> \ No newline at end of file