Content: add latest of blog shortcode

beep
Jae Lo Presti 2 months ago
parent 8431cc9490
commit db2eb982ab
Signed by: jae
SSH Key Fingerprint: SHA256:hmKix/+XG+9GEGHgDdiqXfmB2O7BU4CPVOoQoIYIQ2Y
  1. 6
      content/_index.md
  2. 5
      layouts/shortcodes/postlist.html

@ -26,6 +26,12 @@ Matrix will likely get you the fastest response tho I read and respond to every
---
## Latest of the blog
{{< postlist >}}
---
## Public Services
All the services listed are Open-Source and hosted by myself. A [status page](https://status.jae.fi) is also available and will display all upcoming maintenances and current problems.

@ -0,0 +1,5 @@
<ul>
{{ range ( first 5 ( where .Site.Pages "Type" "blog" ).ByDate.Reverse ) }}
<li><a href="{{ .Permalink }}">{{ .Title }}</a></li>
{{ end }}
</ul>