mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 15:28:57 +00:00
📝 Docs: update default outputs config
This commit is contained in:
@@ -293,7 +293,7 @@ enableEmoji = true
|
||||
# taxonomy = ["html"]
|
||||
# term = ["html", "rss"]
|
||||
[outputs]
|
||||
home = ["html", "rss", "archives", "search"]
|
||||
home = ["html", "rss", "archives", "offline", "search"]
|
||||
page = ["html", "markdown"]
|
||||
section = ["html", "rss"]
|
||||
taxonomy = ["html"]
|
||||
|
||||
@@ -32,7 +32,8 @@
|
||||
{{- range .AlternativeOutputFormats -}}
|
||||
{{- printf `<link rel=%q type=%q href=%q title=%q>` .Rel .MediaType.Type .Permalink $title | safeHTML -}}
|
||||
{{- end -}}
|
||||
{{- with .OutputFormats.Get "feed" -}}
|
||||
{{- /* Compatible with https://github.com/hugo-fixit/hugo-json-feed */ -}}
|
||||
{{- with .OutputFormats.Get "jsonfeed" -}}
|
||||
<link rel="alternate" type="application/feed+json" href="{{ .Permalink }}" title="{{ $title }}" />
|
||||
{{- end -}}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{{- .Scratch.Set "version" "v0.3.10-08d4c12c" -}}
|
||||
{{- .Scratch.Set "version" "v0.3.10-3ffef8ac" -}}
|
||||
{{- .Scratch.Set "this" dict -}}
|
||||
|
||||
{{- partial "init/detection-env.html" . -}}
|
||||
|
||||
Reference in New Issue
Block a user