Ver código fonte

add Hugo RSS Link

tags/v1.1
Bud Parr 8 anos atrás
pai
commit
1871755a89
Nenhuma conta vinculada ao e-mail do autor do commit
1 arquivos alterados com 5 adições e 0 exclusões
  1. 5
    0
      layouts/_default/baseof.html

+ 5
- 0
layouts/_default/baseof.html Ver arquivo

@@ -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" . -}}

Carregando…
Cancelar
Salvar