mirror of
https://github.com/Brandon-Rozek/website.git
synced 2025-08-03 23:31:59 +00:00
Added postroll item to homepage
This commit is contained in:
parent
c6d5197753
commit
b7d08ad031
1 changed files with 4 additions and 0 deletions
|
@ -90,6 +90,10 @@
|
|||
<p><strong>Recipe: </strong><a href="{{ .Permalink }}">{{ .Title }}</a></p>
|
||||
{{ end }}
|
||||
|
||||
{{ $items := (where site.RegularPages "Type" "postroll").ByDate }}
|
||||
{{ range last 1 $items }}
|
||||
<p><strong>Outside Post Read: </strong><a href="{{ .Permalink }}">{{ .Title }}</a></p>
|
||||
{{ end }}
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue