Simplified rss feed handling by directing directly to the blog section
This commit is contained in:
parent
0457e2249a
commit
da9e4060c3
3 changed files with 3 additions and 3 deletions
|
@ -5,7 +5,7 @@ description = "The personal space of yet another sysadmin"
|
||||||
enableRobotsTXT = true
|
enableRobotsTXT = true
|
||||||
enableGitInfo = true
|
enableGitInfo = true
|
||||||
paginate = 32
|
paginate = 32
|
||||||
rssLimit = 32
|
rssLimit = 16
|
||||||
|
|
||||||
# Highlighting config
|
# Highlighting config
|
||||||
pygmentsCodeFences = true
|
pygmentsCodeFences = true
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
{{- printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }}
|
{{- printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }}
|
||||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||||
<channel>
|
<channel>
|
||||||
<title>{{ if or (eq .Title .Site.Title) (eq .Title "Home") }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title>
|
<title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ .Site.Title }} - {{ .Title }}{{ end }}</title>
|
||||||
<link>{{ .Permalink }}</link>
|
<link>{{ .Permalink }}</link>
|
||||||
<description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description>
|
<description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description>
|
||||||
<generator>Hugo -- gohugo.io</generator>{{ with .Site.LanguageCode }}
|
<generator>Hugo -- gohugo.io</generator>{{ with .Site.LanguageCode }}
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<nav>
|
<nav>
|
||||||
<ul>
|
<ul>
|
||||||
<li class="nav-menu-title"><a href="/">{{ .Site.Title }}</a></li>
|
<li class="nav-menu-title"><a href="/">{{ .Site.Title }}</a></li>
|
||||||
<li><a href="/index.xml">RSS</a></li>
|
<li><a href="/blog/index.xml">RSS</a></li>
|
||||||
<li><a href="/tags/">Tags</a></li>
|
<li><a href="/tags/">Tags</a></li>
|
||||||
{{- $p := . -}}
|
{{- $p := . -}}
|
||||||
{{- range .Site.Menus.main.ByWeight -}}
|
{{- range .Site.Menus.main.ByWeight -}}
|
||||||
|
|
Loading…
Add table
Reference in a new issue