Fixed a lot of minor bugs
This commit is contained in:
parent
a3a95d7a9b
commit
98c2bf4188
@ -3,9 +3,9 @@
|
|||||||
<ul>
|
<ul>
|
||||||
{%- for contact in site.data.contacts -%}
|
{%- for contact in site.data.contacts -%}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{- contact.url | relative_url | uri_escape -}}" target="_blank">{{- contact.title | strip | normalize_whitespace | xml_escape -}}</a>
|
<a href="{{- contact.url | relative_url | url_escape -}}" target="_blank">{{- contact.title | strip | normalize_whitespace | xml_escape -}}</a>
|
||||||
<span>—</span>
|
<span>—</span>
|
||||||
<span>{{- contact.description | strip | normalize_whitespace | xml_escape -}}</span>
|
<span>{{- contact.description | strip | normalize_whitespace | xml_escape -}}</span>
|
||||||
</li>
|
</li>
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
</ul>
|
</ul>
|
@ -10,16 +10,16 @@
|
|||||||
<title>{{- page.title | default: site.title | strip | normalize_whitespace | xml_escape -}}</title>
|
<title>{{- page.title | default: site.title | strip | normalize_whitespace | xml_escape -}}</title>
|
||||||
|
|
||||||
<!-- CSS -->
|
<!-- CSS -->
|
||||||
<link href="{{- '/assets/css/styles.css' | relative_url | uri_escape -}}" rel="stylesheet" />
|
<link href="{{- '/assets/css/styles.css' | relative_url | url_escape -}}" rel="stylesheet" />
|
||||||
|
|
||||||
<!-- RSS -->
|
<!-- RSS -->
|
||||||
<link href="{{- site.rss | absolute_url | uri_escape -}}" rel="alternate" title="RSS" type="application/atom+xml" />
|
<link href="{{- site.rss | absolute_url | url_escape -}}" rel="alternate" title="RSS" type="application/atom+xml" />
|
||||||
|
|
||||||
<!-- Canonical URL -->
|
<!-- Canonical URL -->
|
||||||
<link href="{{- page.url | absolute_url | uri_escape -}}" rel="canonical" />
|
<link href="{{- page.url | absolute_url | url_escape -}}" rel="canonical" />
|
||||||
|
|
||||||
<!--[if lte IE 9]>
|
<!--[if lte IE 9]>
|
||||||
<script type="text/javascript" src="{{- '/assets/javascript/html5shiv-3.7.3.min.js' | relative_url | uri_escape -}}"></script>
|
<script type="text/javascript" src="{{- '/assets/javascript/html5shiv-3.7.3.min.js' | relative_url | url_escape -}}"></script>
|
||||||
<script type="text/javascript" src="{{- '/assets/javascript/respond-1.4.2.min.js' | relative_url | uri_escape -}}"></script>
|
<script type="text/javascript" src="{{- '/assets/javascript/respond-1.4.2.min.js' | relative_url | url_escape -}}"></script>
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
</head>
|
</head>
|
@ -3,9 +3,9 @@
|
|||||||
<ul>
|
<ul>
|
||||||
{%- for link in site.data.links -%}
|
{%- for link in site.data.links -%}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{- link.url | relative_url | uri_escape -}}" target="_blank">{{- link.title | strip | normalize_whitespace | xml_escape -}}</a>
|
<a href="{{- link.url | relative_url | url_escape -}}" target="_blank">{{- link.title | strip | normalize_whitespace | xml_escape -}}</a>
|
||||||
<span>—</span>
|
<span>—</span>
|
||||||
<span>{{- link.description | strip | normalize_whitespace | xml_escape -}}</span>
|
<span>{{- link.description | strip | normalize_whitespace | xml_escape -}}</span>
|
||||||
</li>
|
</li>
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
</ul>
|
</ul>
|
@ -1,10 +1,6 @@
|
|||||||
<nav>
|
<nav>
|
||||||
{%- for link in site.data.navbar -%}
|
{%- for link in site.data.navbar -%}
|
||||||
<a href="{{- link.path | relative_url | uri_escape -}}">{{- link.title | strip | normalize_whitespace | xml_escape -}}</a>
|
<a href="{{- link.path | relative_url | url_escape -}}">{{- link.title | strip | normalize_whitespace | xml_escape -}}</a>
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
|
<span><span>|</span><a href="{{- site.rss | absolute_url | url_escape -}}">RSS</a></span>
|
||||||
<span>
|
|
||||||
<span>|</span>
|
|
||||||
<a href="{{- site.rss | absolute_url | uri_escape -}}">RSS</a>
|
|
||||||
</span>
|
|
||||||
</nav>
|
</nav>
|
@ -3,8 +3,8 @@
|
|||||||
<ul>
|
<ul>
|
||||||
{%- for post in site.posts -%}
|
{%- for post in site.posts -%}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{- post.url | relative_url | uri_escape -}}">{{- post.title | strip | normalize_whitespace | xml_escape -}}</a>
|
<a href="{{- post.url | relative_url | url_escape -}}">{{- post.title | strip | normalize_whitespace | xml_escape -}}</a>
|
||||||
(<time datetime="{{- post.date | date_to_xmlschema -}}">{{- post.date | date: '%d-%m-%Y' | strip | normalize_whitespace | xml_escape -}}</time>)
|
(<time datetime="{{- post.date | date_to_xmlschema | xml_escape -}}">{{- post.date | date: '%d-%m-%Y' | strip | normalize_whitespace | xml_escape -}}</time>)
|
||||||
</li>
|
</li>
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
</ul>
|
</ul>
|
@ -3,5 +3,5 @@
|
|||||||
{%- endcapture -%}
|
{%- endcapture -%}
|
||||||
|
|
||||||
{%- unless words contains '-' -%}
|
{%- unless words contains '-' -%}
|
||||||
{{- words | plus: 150 | divided_by: 150 | append: ' min read' -}}
|
{{- words | plus: 150 | divided_by: 150 | append: ' min read' | xml_escape -}}
|
||||||
{%- endunless -%}
|
{%- endunless -%}
|
@ -8,10 +8,10 @@ layout: default
|
|||||||
<p>
|
<p>
|
||||||
<small>
|
<small>
|
||||||
Posted
|
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 | xml_escape -}}">{{- page.date | date: '%B %e, %Y' | strip | normalize_whitespace | xml_escape -}}</time>
|
||||||
by
|
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 | uri_escape -}}">Valentin Popov</a>
|
||||||
‐
|
‐
|
||||||
<strong>{%- include reading-time.html -%}</strong>
|
<strong>{%- include reading-time.html -%}</strong>
|
||||||
</small>
|
</small>
|
||||||
</p>
|
</p>
|
||||||
|
@ -8,6 +8,6 @@ permalink: /404.html
|
|||||||
<p><strong>Page not found.</strong></p>
|
<p><strong>Page not found.</strong></p>
|
||||||
|
|
||||||
<small>
|
<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 | uri_encode -}}">let me know</a>.</p>
|
||||||
</small>
|
</small>
|
||||||
</div>
|
</div>
|
@ -11,9 +11,9 @@ permalink: /blog.html
|
|||||||
<ul>
|
<ul>
|
||||||
{%- for post in site.posts -%}
|
{%- for post in site.posts -%}
|
||||||
<li>
|
<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 | xml_escape -}}">{{- post.date | date: '%Y/%m/%d' | strip | normalize_whitespace | xml_escape -}}</time>
|
||||||
<span>—</span>
|
<span>—</span>
|
||||||
<a href="{{- post.url | relative_url | uri_escape -}}">{{- post.title | strip | normalize_whitespace | xml_escape -}}</a>
|
<a href="{{- post.url | relative_url | url_escape -}}">{{- post.title | strip | normalize_whitespace | xml_escape -}}</a>
|
||||||
</li>
|
</li>
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -4,6 +4,6 @@ permalink: /robots.txt
|
|||||||
---
|
---
|
||||||
|
|
||||||
User-agent: *
|
User-agent: *
|
||||||
Disallow: {{- "/404.html" | relative_url | uri_escape -}}
|
Disallow: {{- "/404.html" | relative_url | url_escape -}}
|
||||||
Allow: /
|
Allow: /
|
||||||
Sitemap: {{- "sitemap.xml" | absolute_url | uri_escape -}}
|
Sitemap: {{- "sitemap.xml" | absolute_url | url_escape -}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user