summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authormms <git@sapka.me>2024-11-13 00:38:58 +0100
committermms <git@sapka.me>2024-11-13 00:38:58 +0100
commitec5f701441691b9942354541828ff58cd7c92346 (patch)
tree60b5b13f58437366bcc3ad3e6180d39b27d5ac44 /layouts
parente4514d99e219772f97bfe669b3480aeecc8bb740 (diff)
feat: chotto
Diffstat (limited to 'layouts')
l---------layouts/partials/reviews/.#metrics.html1
l---------layouts/shortcodes/.#review-table.html1
-rw-r--r--layouts/shortcodes/latest-release.html9
3 files changed, 9 insertions, 2 deletions
diff --git a/layouts/partials/reviews/.#metrics.html b/layouts/partials/reviews/.#metrics.html
deleted file mode 120000
index 8a2a5d0..0000000
--- a/layouts/partials/reviews/.#metrics.html
+++ /dev/null
@@ -1 +0,0 @@
-mms@voyager.local.23203:1731088680 \ No newline at end of file
diff --git a/layouts/shortcodes/.#review-table.html b/layouts/shortcodes/.#review-table.html
deleted file mode 120000
index 8a2a5d0..0000000
--- a/layouts/shortcodes/.#review-table.html
+++ /dev/null
@@ -1 +0,0 @@
-mms@voyager.local.23203:1731088680 \ No newline at end of file
diff --git a/layouts/shortcodes/latest-release.html b/layouts/shortcodes/latest-release.html
new file mode 100644
index 0000000..df25e3e
--- /dev/null
+++ b/layouts/shortcodes/latest-release.html
@@ -0,0 +1,9 @@
+{{ $caption := .Inner }}
+{{ $page := .Page }}
+{{ range (where $page.Site.RegularPages.ByDate.Reverse ".Section" $page.Section ).Limit 1 }}
+<h2>Latest release (
+ <a href="{{ .Permalink }}">
+ {{ .PublishDate.Format "2006-01-02" }}
+ )</a></h2>
+<p> {{ .Content }}</p>
+{{ end }}