Blog posts
+ +-
{% for item in pagination.items %}
-
diff --git a/src/blog/tag.html b/src/blog/tag.html
index c62e2ec..69bfa96 100644
--- a/src/blog/tag.html
+++ b/src/blog/tag.html
@@ -1,18 +1,32 @@
----
-title: Blog
-layout: base.njk
-pagination:
- data: collections.tags
- size: 1
- alias: tag
-eleventyComputed:
- permalink: "/post/tag/{{ tag }}/"
- feed: "/post/tag/{{ tag }}/feed/"
+---json
+{
+ "title": "Blog",
+ "layout": "base.njk",
+ "pagination": {
+ "data": "collections.tags",
+ "size": 1,
+ "alias": "tag"
+ },
+ "eleventyComputed": {
+ "permalink": "/post/tag/{{ tag }}/",
+ "feed": {
+ "rss": "{{ page.url }}rss.xml",
+ "atom": "{{ page.url }}atom.xml",
+ "json": "{{ page.url }}feed.json"
+ }
+ }
+}
---
Posts tagged “{{ tag }}”
+ +-
{% set posts = collections.posts | filterBy(tag) | reverse %}
{% for item in posts %}
diff --git a/src/css/globals.css b/src/css/globals.css
index 44eb359..c54e5f7 100644
--- a/src/css/globals.css
+++ b/src/css/globals.css
@@ -133,4 +133,11 @@ footer {
outline: 1px solid var(--color-primary);
border-radius: 5px;
outline-offset: 4px;
+}
+
+aside {
+ width: 100%;
+ background-color: var(--color-primary);
+ color: var(--color-secondary);
+ padding: var(--space-size-s);
}
\ No newline at end of file