aboutsummaryrefslogtreecommitdiff
path: root/_pages/blog.html
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2024-02-14 02:38:59 +0300
committerValentin Popov <valentin@popov.link>2024-02-14 02:38:59 +0300
commite68f7cf6c7fadb1bceea955a4caf40954d9b024e (patch)
tree5fe6a1ac66ed98571674ab6686e1742a46812eb8 /_pages/blog.html
parentedaeaf08b8750e8278b18484ff8e0aa180fe3fab (diff)
downloadpopov.link-e68f7cf6c7fadb1bceea955a4caf40954d9b024e.tar.xz
popov.link-e68f7cf6c7fadb1bceea955a4caf40954d9b024e.zip
Moved actual template site
Diffstat (limited to '_pages/blog.html')
-rw-r--r--_pages/blog.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/_pages/blog.html b/_pages/blog.html
new file mode 100644
index 0000000..847129e
--- /dev/null
+++ b/_pages/blog.html
@@ -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>&mdash;</span>
+ <a href="{{ post.url | relative_url | uri_escape }}">{{ post.title | strip | normalize_whitespace | xml_escape }}</a>
+ </li>
+ {% endfor %}
+ </ul>
+</section> \ No newline at end of file