aboutsummaryrefslogtreecommitdiff
path: root/_pages
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 /_pages
parent2db390219832103ecbece1188c1964a4539e9020 (diff)
downloadpopov.link-a3a95d7a9b020f9aeb66e17cab16e957f5a7cb5e.tar.xz
popov.link-a3a95d7a9b020f9aeb66e17cab16e957f5a7cb5e.zip
Added space management
Diffstat (limited to '_pages')
-rw-r--r--_pages/404.html2
-rw-r--r--_pages/blog.html8
-rw-r--r--_pages/index.html6
-rw-r--r--_pages/robots.txt4
4 files changed, 10 insertions, 10 deletions
diff --git a/_pages/404.html b/_pages/404.html
index aca708f..1fcbc7c 100644
--- a/_pages/404.html
+++ b/_pages/404.html
@@ -8,6 +8,6 @@ permalink: /404.html
<p><strong>Page not found.</strong></p>
<small>
- <p>If you see this message, please <a href="mailto:{{ site.email | strip | url_encode }}?subject={{ 'I found a broken page' | strip | normalize_whitespace | xml_escape }}">let me know</a>.</p>
+ <p>If you see this message, please <a href="mailto:{{- site.email | strip | url_encode -}}?subject={{- 'I found a broken page' | strip | normalize_whitespace | xml_escape -}}">let me know</a>.</p>
</small>
</div> \ No newline at end of file
diff --git a/_pages/blog.html b/_pages/blog.html
index 847129e..a1c6cb5 100644
--- a/_pages/blog.html
+++ b/_pages/blog.html
@@ -9,12 +9,12 @@ permalink: /blog.html
<section>
<ul>
- {% for post in site.posts %}
+ {%- for post in site.posts -%}
<li>
- <time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: '%Y/%m/%d' | strip | normalize_whitespace | xml_escape }}</time>
+ <time datetime="{{- post.date | date_to_xmlschema -}}">{{- post.date | date: '%Y/%m/%d' | strip | normalize_whitespace | xml_escape -}}</time>
<span>&mdash;</span>
- <a href="{{ post.url | relative_url | uri_escape }}">{{ post.title | strip | normalize_whitespace | xml_escape }}</a>
+ <a href="{{- post.url | relative_url | uri_escape -}}">{{- post.title | strip | normalize_whitespace | xml_escape -}}</a>
</li>
- {% endfor %}
+ {%- endfor -%}
</ul>
</section> \ No newline at end of file
diff --git a/_pages/index.html b/_pages/index.html
index de3ea3a..47ea02e 100644
--- a/_pages/index.html
+++ b/_pages/index.html
@@ -3,6 +3,6 @@ layout: page
permalink: /index.html
---
-{% include contacts.html %}
-{% include links.html %}
-{% include posts.html %} \ No newline at end of file
+{%- include contacts.html -%}
+{%- include links.html -%}
+{%- include posts.html -%} \ No newline at end of file
diff --git a/_pages/robots.txt b/_pages/robots.txt
index a16a265..28c5b92 100644
--- a/_pages/robots.txt
+++ b/_pages/robots.txt
@@ -4,6 +4,6 @@ permalink: /robots.txt
---
User-agent: *
-Disallow: {{ "/404.html" | relative_url | uri_escape }}
+Disallow: {{- "/404.html" | relative_url | uri_escape -}}
Allow: /
-Sitemap: {{ "sitemap.xml" | absolute_url | uri_escape }}
+Sitemap: {{- "sitemap.xml" | absolute_url | uri_escape -}}