mirror of
https://github.com/valentineus/popov.link.git
synced 2025-07-03 16:10:26 +03:00
Moved actual template site
This commit is contained in:
@ -1,7 +1,13 @@
|
||||
---
|
||||
layout: page
|
||||
permalink: "404.html"
|
||||
title: "404: Not Found"
|
||||
permalink: /404.html
|
||||
---
|
||||
|
||||
<p>Sorry, this page doesn't exist.</p>
|
||||
<div style="text-align:center;">
|
||||
<h1>404</h1>
|
||||
<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>
|
||||
</small>
|
||||
</div>
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
layout: null
|
||||
permalink: "atom.xml"
|
||||
title: "RSS"
|
||||
permalink: /atom.xml
|
||||
---
|
||||
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
20
_pages/blog.html
Normal file
20
_pages/blog.html
Normal file
@ -0,0 +1,20 @@
|
||||
---
|
||||
layout: page
|
||||
permalink: /blog.html
|
||||
---
|
||||
|
||||
<section>
|
||||
<h1>Latest posts</h1>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<ul>
|
||||
{% 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>
|
||||
<span>—</span>
|
||||
<a href="{{ post.url | relative_url | uri_escape }}">{{ post.title | strip | normalize_whitespace | xml_escape }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</section>
|
@ -1,9 +1,8 @@
|
||||
---
|
||||
layout: page
|
||||
permalink: "index.html"
|
||||
title: ""
|
||||
permalink: /index.html
|
||||
---
|
||||
|
||||
{% include contacts.html %}
|
||||
{% include links.html %}
|
||||
{% include posts.html %}
|
||||
{% include posts.html %}
|
@ -1,9 +1,9 @@
|
||||
---
|
||||
permalink: "robots.txt"
|
||||
layout: null
|
||||
permalink: /robots.txt
|
||||
---
|
||||
|
||||
User-agent: *
|
||||
Allow: {{ site.baseurl | relative_url | uri_escape }}
|
||||
Disallow: {{ "/404.html" | relative_url | uri_escape }}
|
||||
Allow: /
|
||||
Sitemap: {{ "sitemap.xml" | absolute_url | uri_escape }}
|
||||
|
@ -1,24 +0,0 @@
|
||||
---
|
||||
layout: null
|
||||
permalink: "sitemap.xml"
|
||||
---
|
||||
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
|
||||
{% for item in site.html_pages %}
|
||||
<url>
|
||||
<loc>{{ item.url | absolute_url | xml_escape }}</loc>
|
||||
<lastmod>{{ site.time | date_to_xmlschema }}</lastmod>
|
||||
</url>
|
||||
{% endfor %}
|
||||
|
||||
{% for item in site.posts %}
|
||||
<url>
|
||||
<loc>{{ item.url | absolute_url | xml_escape }}</loc>
|
||||
<lastmod>{{ item.date | date_to_xmlschema }}</lastmod>
|
||||
</url>
|
||||
{% endfor %}
|
||||
|
||||
</urlset>
|
Reference in New Issue
Block a user