From 27059b8d8abc313d61e08f77ccb271bb4b531808 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Tue, 26 Apr 2022 06:10:20 +0300 Subject: [PATCH] rename rss to /rss.xml --- config.yaml | 8 ++++++-- scripts/upload | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/config.yaml b/config.yaml index f1c5e94..84319b7 100644 --- a/config.yaml +++ b/config.yaml @@ -1,6 +1,6 @@ baseURL: 'https://jakstys.lt/' languageCode: en-us -title: Public record of Motiejus Jakštys +title: Motiejus Jakštys Public Record theme: default author: Motiejus Jakštys Menus: @@ -10,7 +10,7 @@ Menus: - Name: Contact URL: /contact/ - Name: RSS - URL: /log/index.xml + URL: /rss.xml permalinks: log: '/:year/:title/' Params: @@ -20,3 +20,7 @@ outputs: - HTML - RSS disableKinds: [taxonomy, term] +outputFormats: + RSS: + mediatype: "application/rss" + baseName: "rss" diff --git a/scripts/upload b/scripts/upload index 7af8324..9a744eb 100755 --- a/scripts/upload +++ b/scripts/upload @@ -2,4 +2,4 @@ set -xeuo pipefail 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/