Parcourir la source

add Hugo RSS Link

tags/v1.1
Bud Parr il y a 8 ans
Parent
révision
1871755a89
Aucun compte lié à l'adresse e-mail de l'auteur
1 fichiers modifiés avec 5 ajouts et 0 suppressions
  1. 5
    0
      layouts/_default/baseof.html

+ 5
- 0
layouts/_default/baseof.html Voir le fichier

@@ -19,6 +19,11 @@

<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 */}}
{{- template "_internal/opengraph.html" . -}}
{{- template "_internal/google_news.html" . -}}

Chargement…
Annuler
Enregistrer