Browse Source

add Hugo RSS Link

tags/v1.1
Bud Parr 7 years ago
parent
commit
1871755a89
No account linked to committer's email address
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      layouts/_default/baseof.html

+ 5
- 0
layouts/_default/baseof.html View File



<link href='{{ "dist/main.css" | absURL }}' rel='stylesheet' type="text/css" /> <link href='{{ "dist/main.css" | absURL }}' rel='stylesheet' type="text/css" />


{{ if .RSSLink }}
<link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
<link href="{{ .RSSLink }}" rel="feed" type="application/rss+xml" title="{{ .Site.Title }}" />
{{ end }}

{{/* NOTE: These Hugo Internal Templates can be found starting at https://github.com/spf13/hugo/blob/master/tpl/tplimpl/template_embedded.go#L158 */}} {{/* NOTE: These Hugo Internal Templates can be found starting at https://github.com/spf13/hugo/blob/master/tpl/tplimpl/template_embedded.go#L158 */}}
{{- template "_internal/opengraph.html" . -}} {{- template "_internal/opengraph.html" . -}}
{{- template "_internal/google_news.html" . -}} {{- template "_internal/google_news.html" . -}}

Loading…
Cancel
Save