mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-10-25 01:16:23 -04:00
make the main content/blog section configurable instead of hardcoded to notes
This commit is contained in:
12 files changed
+25
-21
No files matched your search
@@ -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