Change parmalinks, canonical URLs and RSS URL

master
Jakub Valenta 4 years ago
parent 6814f6eea6
commit 617eea09e3

@ -1,5 +1,25 @@
{
"DefaultContentLanguage": "cs",
"permalinks": {
"posts": "/:year/:month/:day/:filename"
},
"uglyURLs": true,
"canonifyURLs": true,
"rssLimit": 10,
"outputs": {
"home": ["HTML", "RSS"]
},
"mediaTypes": {
"application/rss": {
"suffixes": ["xml"]
}
},
"outputFormats": {
"RSS": {
"mediatype": "application/rss",
"baseName": "feed"
}
},
"languages": {
"cs": {
"baseURL": "https://strategie.jakubvalenta.cz",
@ -17,13 +37,12 @@
}
},
"Params": {
"staticURL": "http://files.jakubvalenta.cz/novinky/",
"author": "Jakub Valenta",
"artform": "text",
"dateCreated": "2015",
"dateCreatedFormatted": "2015",
"codeRepositories": {
"texts, exports and website": "https://lab.jakubvalenta.cz/jakub/art-strategies"
"texts, exports and website": "https://lab.saloun.cz/jakub/art-strategies"
}
},
"blackfriday": {

@ -13,7 +13,7 @@
{{ $all_styles := slice $style_normalize $style_main -}}
{{ $bundle_styles := $all_styles | resources.Concat "css/main.css" | resources.Minify | resources.Fingerprint -}}
<link rel="stylesheet" href="{{ $bundle_styles.Permalink }}">
<link rel="alternate" type="application/rss+xml" href="{{ "/index.xml" | absURL }}" title="{{ .Site.Title }}" />
<link rel="alternate" type="application/rss+xml" href="/feed.xml" title="{{ .Site.Title }}" />
</head>
<body>
{{ block "main" . }}

@ -12,7 +12,7 @@
</p>
<meta itemprop="artform" content="{{ .Site.Params.artform }}">
<p>
<a href="{{ "/index.xml" | absURL }}">RSS</a>
<a href="/feed.xml">RSS</a>
</p>
<p>
code:

Loading…
Cancel
Save