summaryrefslogtreecommitdiff
path: root/layouts/shortcodes/recent_games.html
diff options
context:
space:
mode:
authorMark Powers <mark@marks.kitchen>2025-05-10 20:56:19 -0500
committerMark Powers <mark@marks.kitchen>2025-05-10 20:56:19 -0500
commita74c9b3a93019792b223b3576cd32ae90783091e (patch)
tree2e65be89f8aaa2fe6cb6ba74ca26caa75a8fd7b4 /layouts/shortcodes/recent_games.html
parent5909f573d069fe1095cd2e1cedb2b7924d9043e4 (diff)
Refactor games due to broken serverHEADmaster
Diffstat (limited to 'layouts/shortcodes/recent_games.html')
-rw-r--r--layouts/shortcodes/recent_games.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/layouts/shortcodes/recent_games.html b/layouts/shortcodes/recent_games.html
new file mode 100644
index 0000000..54d5d4f
--- /dev/null
+++ b/layouts/shortcodes/recent_games.html
@@ -0,0 +1,8 @@
+<ul>
+{{ range first 3 (where .Site.RegularPages "Section" "games") }}
+ <li class="post">
+ {{.BundleType}}
+ <span><a href="{{ .Permalink }}">{{ .Title }}</a></span> - <span>{{ .Date.Format "January 2, 2006" }}</span>
+ </li>
+{{ end }}
+</ul> \ No newline at end of file