Преглед на файлове

Add RSS autodiscovery tag

.RSSLink uses the RSS URL for the given context: the site feed for the home page, the tag feed for tag pages, no URL given for single pages.
master
Adrian Short преди 6 години
родител
ревизия
7c3134ca08
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. +2
    -0
      layouts/partials/header.html

+ 2
- 0
layouts/partials/header.html Целия файл

@@ -6,6 +6,8 @@
{{ "<!-- Tumble theme for Hugo: https://github.com/adrianshort/tumble -->" | safeHTML }}
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="{{ relURL "/css/main.css" }}">
<link rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}"
href="{{ .RSSLink }}">
</head>
<body>
<h1 id="site-title"><a href="{{ relURL "/" }}">{{ .Site.Title }}</a></h1>

Зареждане…
Отказ
Запис