rename rss to /rss.xml

This commit is contained in:
Motiejus Jakštys 2022-04-26 06:10:20 +03:00
parent 423a07df8f
commit 27059b8d8a
2 changed files with 7 additions and 3 deletions

View File

@ -1,6 +1,6 @@
baseURL: 'https://jakstys.lt/' baseURL: 'https://jakstys.lt/'
languageCode: en-us languageCode: en-us
title: Public record of Motiejus Jakštys title: Motiejus Jakštys Public Record
theme: default theme: default
author: Motiejus Jakštys author: Motiejus Jakštys
Menus: Menus:
@ -10,7 +10,7 @@ Menus:
- Name: Contact - Name: Contact
URL: /contact/ URL: /contact/
- Name: RSS - Name: RSS
URL: /log/index.xml URL: /rss.xml
permalinks: permalinks:
log: '/:year/:title/' log: '/:year/:title/'
Params: Params:
@ -20,3 +20,7 @@ outputs:
- HTML - HTML
- RSS - RSS
disableKinds: [taxonomy, term] disableKinds: [taxonomy, term]
outputFormats:
RSS:
mediatype: "application/rss"
baseName: "rss"

View File

@ -2,4 +2,4 @@
set -xeuo pipefail set -xeuo pipefail
cd "$(git rev-parse --show-toplevel)/jakstys.lt" cd "$(git rev-parse --show-toplevel)/jakstys.lt"
rsync --info=progress2 -a --partial public/ jakstys.lt:/data/public_html/ rsync --info=progress2 -a --partial --delete public/ jakstys.lt:/data/public_html/