0
mirror of https://github.com/valentineus/popov.link.git synced 2025-07-03 16:10:26 +03:00

Added space management

This commit is contained in:
2024-02-14 11:38:24 +04:00
parent 2db3902198
commit a3a95d7a9b
13 changed files with 51 additions and 51 deletions

View File

@ -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>

View File

@ -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>

View File

@ -3,6 +3,6 @@ layout: page
permalink: /index.html
---
{% include contacts.html %}
{% include links.html %}
{% include posts.html %}
{%- include contacts.html -%}
{%- include links.html -%}
{%- include posts.html -%}

View File

@ -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 -}}