mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-10-23 06:44:27 -04:00
make the main content/blog section configurable instead of hardcoded to notes
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
{{ partialCached "head/feeds" . -}}
|
||||
{{ partialCached "head/webmention" . -}}
|
||||
<link rel="author" href="{{ "humans.txt" | absURL }}">
|
||||
{{ if and .IsPage (eq .Type "notes") }}
|
||||
{{ if and .IsPage (eq .Type .Site.Params.mainSection) }}
|
||||
{{- with .OutputFormats.Get "amp" -}}
|
||||
<link rel="amphtml" href="{{ .Permalink }}">
|
||||
{{- end }}
|
||||
|
Reference in New Issue
Block a user