summaryrefslogtreecommitdiff
path: root/layouts/shortcodes/recent_blog.html
diff options
context:
space:
mode:
authorMark Powers <mark@marks.kitchen>2024-10-28 20:16:15 -0500
committerMark Powers <mark@marks.kitchen>2024-10-28 20:16:15 -0500
commitcfa56ed5ca165a3a2e2b4bedf2076cd101935fe4 (patch)
tree3502ba5b04e4ba9479c3cf3d6ff0855256a96b80 /layouts/shortcodes/recent_blog.html
parent2533c0fbbea6f3bf52cf54861fce1f43a529c60f (diff)
Update layout
Diffstat (limited to 'layouts/shortcodes/recent_blog.html')
-rw-r--r--layouts/shortcodes/recent_blog.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/layouts/shortcodes/recent_blog.html b/layouts/shortcodes/recent_blog.html
new file mode 100644
index 0000000..8a4ec89
--- /dev/null
+++ b/layouts/shortcodes/recent_blog.html
@@ -0,0 +1,9 @@
+<ul>
+{{ range first 3 (where .Site.RegularPages "Section" "blog") }}
+ <li class="post">
+ {{.BundleType}}
+ <span><a href="{{ .Permalink }}">{{ .Title }}</a></span> - <span>{{ .Date.Format "January 2, 2006" }}</span>
+ <p>{{ .Summary }}</p>
+ </li>
+{{ end }}
+</ul> \ No newline at end of file