diff options
author | Mark Powers <mark@marks.kitchen> | 2024-10-28 20:16:15 -0500 |
---|---|---|
committer | Mark Powers <mark@marks.kitchen> | 2024-10-28 20:16:15 -0500 |
commit | cfa56ed5ca165a3a2e2b4bedf2076cd101935fe4 (patch) | |
tree | 3502ba5b04e4ba9479c3cf3d6ff0855256a96b80 /layouts/shortcodes | |
parent | 2533c0fbbea6f3bf52cf54861fce1f43a529c60f (diff) |
Update layout
Diffstat (limited to 'layouts/shortcodes')
-rw-r--r-- | layouts/shortcodes/recent_blog.html | 9 |
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 |