summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorStarfall <us@starfall.systems>2023-05-17 22:47:47 -0500
committerStarfall <us@starfall.systems>2023-05-24 12:51:23 -0500
commit59b4b8a05c0db82ffec953f0e2e6e484c6e74b45 (patch)
tree6b62bbca84484cb3c255cf2653738f8ee5f5253b /src
parentb126dfeea7f1f163e86cad3b174c91a82a2387e3 (diff)
small styling changes
- make article use section styling
- remove bottom margin from h2
- add hover to timestamp
- fix indentation in terminal.css
Diffstat (limited to 'src')
-rw-r--r--src/blog.njk6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/blog.njk b/src/blog.njk
index a8ec510..84c6f03 100644
--- a/src/blog.njk
+++ b/src/blog.njk
@@ -7,9 +7,11 @@ size = 20
 reverse = true
 ---
 {% for post in posts %}
-<article>
+<article class=blogpost>
 	<h2><a href="{{ post.url | url }}">{{ post.data.title }}</a></h2>
-	<time datetime="{{ post.date | rfc3339_datetime }}">{{ post.date | local_date }}</time>
+	<time datetime="{{ post.date | rfc3339_datetime }}" title="{{ post.date | rfc3339_datetime}}">
+		{{ post.date | local_date }}
+	</time>
 	{%- if post.data.page.excerpt -%}
 		<p>{{ post.data.page.excerpt | safe }}
 	{%- endif -%}