From ce3c9ac0ee5609ae6a42f8729cfcb10e395c0e08 Mon Sep 17 00:00:00 2001 From: leiyu3 Date: Thu, 17 Jul 2025 13:51:48 -0400 Subject: deploy --- deploy.sh | 10 ++++++ hugo.toml | 5 +-- layouts/_default/list.html | 81 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 94 insertions(+), 2 deletions(-) create mode 100755 deploy.sh create mode 100644 layouts/_default/list.html diff --git a/deploy.sh b/deploy.sh new file mode 100755 index 0000000..c6e5996 --- /dev/null +++ b/deploy.sh @@ -0,0 +1,10 @@ +#!/bin/sh +USER=root +HOST=letsworship.xyz +DIR=/var/www/letsworship + +rm -rf public + +hugo && rsync -avz --delete public/ ${USER}@${HOST}:${DIR} + +exit 0 \ No newline at end of file diff --git a/hugo.toml b/hugo.toml index 3932508..9884a40 100644 --- a/hugo.toml +++ b/hugo.toml @@ -12,9 +12,10 @@ colorPalette = 'primary' hideHeader = false # Lists parameters -paginationSize = 15 listSummaries = false listDateFormat = '2006 Jan 02' # Breadcrumbs -breadcrumbs = false \ No newline at end of file +breadcrumbs = false + +disableKinds = ["taxonomy", "tags"] \ No newline at end of file diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 0000000..52db7eb --- /dev/null +++ b/layouts/_default/list.html @@ -0,0 +1,81 @@ +{{ define "main" }} + + +
+ + + {{ $tagsPage := eq .Title "Tags"}} + +

What do you want to sing?

+
+
+ + +
+
+ + +
+ +
+ {{ .Content }} +
+ +
+ + back to top + +
+ +{{ end }} \ No newline at end of file -- cgit v1.2.3