Add link to RSS feed to <head>
This commit is contained in:
parent
d5a2f75647
commit
ebedef09ab
@ -6,6 +6,9 @@
|
||||
<title>{{ block "title" . }}{{ .Title }} | {{ .Site.Title }}{{ end }}</title>
|
||||
{{ $favicon := resources.Get "img/favicon.ico" }}
|
||||
<link rel="icon" href="{{ $favicon.Permalink }}" type="image/ico">
|
||||
{{ with .OutputFormats.Get "rss" -}}
|
||||
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink }}" title="{{ $.Site.Title }}">
|
||||
{{- end }}
|
||||
{{ block "css" . -}}
|
||||
<link rel="stylesheet" href="https://unpkg.com/firacode@1.206.0/distr/fira_code.css">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.min.css" integrity="sha256-+N4/V/SbAFiW1MPBCXnfnP9QSN3+Keu+NlB+0ev/YKQ=" crossorigin="anonymous" />
|
||||
|
Loading…
Reference in New Issue
Block a user