]> git.draconx.ca Git - homepage.git/blobdiff - content/weblog.md
Let's start a blog!
[homepage.git] / content / weblog.md
diff --git a/content/weblog.md b/content/weblog.md
new file mode 100644 (file)
index 0000000..08bb3c8
--- /dev/null
@@ -0,0 +1,18 @@
+---
+title: Tavern
+copyright: 2020 Nick Bowler
+license: cc-by-nd-4.0
+---
+
+The bartender greets you heartily as you enter the bustling tavern.  With a
+delicious pint in hand, you can overhear discussions taking place on a variety
+of topics.
+
+<% sorted_articles.each do |item|
+  next unless item[:title]
+%>
+* <span><%= if item[:published]
+  then attribute_to_time(item[:published]).strftime("%Y-%m-%d")
+  else '<small>\[unpublished\]</small>'
+  end %>:&#xa0;</span>[<%= item[:title] %>](<%= item_uri(item) %>)
+<% end %> {: class="ordered"}