diff _layouts/post.html @ 86:1fed81c848a5

html: add plugs
author Paper <paper@paper.us.eu.org>
date Sun, 09 Jun 2024 22:07:26 -0400
parents eb3bbc61bc17
children
line wrap: on
line diff
--- a/_layouts/post.html	Sun Jun 09 18:20:45 2024 -0400
+++ b/_layouts/post.html	Sun Jun 09 22:07:26 2024 -0400
@@ -3,11 +3,14 @@
 ---
 <div class="content drop-shadow-box drop-shadow-text">
 	<h2>{{ page.title }}</h2>
+	<span class="blog-footer"><i>[{{ page.author }}], {{ page.date | date_to_string }}</i></span>
 	<hr class="project-separator">
 
 	{{ content }}
 
 	<br>
 
-	<span class="blog-footer"><i>Written on {{ page.date | date_to_string }} by {{ page.author }}</i></span>
+	{% if page.nowplaying %}
+	<span class="blog-footer"><i>Now playing: <b>{{ page.nowplaying }}</b></i></span><br>
+	{% endif %}
 </div>