chore: remove rss link from header (#202)

This commit is contained in:
Robert Kaussow 2021-09-08 21:35:43 +02:00 committed by GitHub
parent f1a713d59a
commit fff483ea9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 4 deletions

View File

@ -23,6 +23,18 @@ markup:
taxonomies: taxonomies:
tag: tags tag: tags
outputs:
home:
- HTML
page:
- HTML
section:
- HTML
taxonomy:
- HTML
term:
- HTML
params: params:
# geekdocMenuBundle: true # geekdocMenuBundle: true
geekdocToC: 3 geekdocToC: 3

View File

@ -15,10 +15,6 @@
<link rel="preload" href="{{ index .Site.Data.assets "custom.css" | relURL }}" as="style"> <link rel="preload" href="{{ index .Site.Data.assets "custom.css" | relURL }}" as="style">
<link rel="stylesheet" href="{{ index .Site.Data.assets "custom.css" | relURL }}" media="all"> <link rel="stylesheet" href="{{ index .Site.Data.assets "custom.css" | relURL }}" media="all">
{{ with .OutputFormats.Get "rss" -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}
{{ if (default false $.Site.Params.GeekdocOverwriteHTMLBase) }} {{ if (default false $.Site.Params.GeekdocOverwriteHTMLBase) }}
<base href="{{ .Site.BaseURL }}"> <base href="{{ .Site.BaseURL }}">
{{ end }} {{ end }}