aboutsummaryrefslogtreecommitdiff
path: root/_layouts
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2024-02-14 10:38:24 +0300
committerValentin Popov <valentin@popov.link>2024-02-14 10:38:24 +0300
commita3a95d7a9b020f9aeb66e17cab16e957f5a7cb5e (patch)
treed7ce3ba4bb4f30f6d592cf12e33b6a6331d843d2 /_layouts
parent2db390219832103ecbece1188c1964a4539e9020 (diff)
downloadpopov.link-a3a95d7a9b020f9aeb66e17cab16e957f5a7cb5e.tar.xz
popov.link-a3a95d7a9b020f9aeb66e17cab16e957f5a7cb5e.zip
Added space management
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