mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2025-12-08 08:20:23 +00:00
parent
91552d5841
commit
d9c51c967d
3 changed files with 10 additions and 10 deletions
|
|
@ -43,17 +43,17 @@
|
|||
|
||||
{{ $items := (where site.RegularPages "Type" "blog").ByDate }}
|
||||
{{ range last 1 $items }}
|
||||
<p><strong>Blog Post: </strong><a href="{{ .RelPermalink }}">{{ .Title }}</a></p>
|
||||
<p><strong>Blog Post: </strong><a href="{{ .Permalink }}">{{ .Title }}</a></p>
|
||||
{{ end }}
|
||||
|
||||
{{ $items := (where site.RegularPages "Type" "paper").ByDate }}
|
||||
{{ range last 1 $items }}
|
||||
<p><strong>Publication: </strong><a href="{{ .RelPermalink }}">{{ .Title }}</a></p>
|
||||
<p><strong>Publication: </strong><a href="{{ .Permalink }}">{{ .Title }}</a></p>
|
||||
{{ end }}
|
||||
|
||||
{{ $items := (where site.RegularPages "Type" "tracks").ByDate }}
|
||||
{{ range last 1 $items }}
|
||||
<p><strong>Recorded Walk: </strong><a href="{{ .RelPermalink }}">{{ .Title }}</a></p>
|
||||
<p><strong>Recorded Walk: </strong><a href="{{ .Permalink }}">{{ .Title }}</a></p>
|
||||
{{ end }}
|
||||
|
||||
{{ $items := (where site.RegularPages "Type" "observations").ByDate }}
|
||||
|
|
@ -64,13 +64,13 @@
|
|||
{{ else }}
|
||||
{{ $name = .Params.taxon.name }}
|
||||
{{ end }}
|
||||
<p><strong>Nature Observation: </strong><a href="{{ .RelPermalink }}">{{ title $name }}</a></p>
|
||||
<p><strong>Nature Observation: </strong><a href="{{ .Permalink }}">{{ title $name }}</a></p>
|
||||
{{ end }}
|
||||
|
||||
|
||||
{{ $items := (where site.RegularPages "Type" "menu").ByDate }}
|
||||
{{ range last 1 $items }}
|
||||
<p><strong>Recipe: </strong><a href="{{ .RelPermalink }}">{{ .Title }}</a></p>
|
||||
<p><strong>Recipe: </strong><a href="{{ .Permalink }}">{{ .Title }}</a></p>
|
||||
{{ end }}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue