From 9886716365c1bcd7291745d1c7793e6279dc748a Mon Sep 17 00:00:00 2001 From: "Bradley M. Kuhn" Date: Sun, 29 Jun 2025 18:27:44 -0700 Subject: [PATCH 1/3] Add link to @next@copyleft.org on fediverse/mastodon --- content/pages/02_contribute.md | 6 ++++++ themes/next.copyleft.org/templates/base.html | 10 +++++++--- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/content/pages/02_contribute.md b/content/pages/02_contribute.md index 805abf6..4648211 100644 --- a/content/pages/02_contribute.md +++ b/content/pages/02_contribute.md @@ -47,6 +47,12 @@ You can submit issues at or on the mailing list. +## Fediverse / Mastodon + +We encourage you to +[follow @next@copyleft.org](https://fedi.copyleft.org/@next) the Fediverse +via our Mastodon server. + ## Real-Time Chat We previously had real-time chat locations, but the archives were not well diff --git a/themes/next.copyleft.org/templates/base.html b/themes/next.copyleft.org/templates/base.html index 78717ab..63051d6 100644 --- a/themes/next.copyleft.org/templates/base.html +++ b/themes/next.copyleft.org/templates/base.html @@ -127,9 +127,13 @@
- We thank Software Freedom Conservancy (SFC) for donating - infrastructure to copyleft-next
- Software Freedom Conservancy logo +
+

Follow @next@copyleft.org on the Fediverse

+

+

Software Freedom Conservancy logo + We thank Software Freedom Conservancy (SFC) for donating infrastructure to copyleft-next +

+

Website License details:

No Rights Reserved — CC0 1.0 Universal

Jost font is copyright 2020 The Jost Project Authors, SIL Open Font License v1.1
Tachyons CSS is copyright 2020 Adam Morse & John Otander, MIT License
From 0a73175956d167bb935919e76b91462ea1bb7f07 Mon Sep 17 00:00:00 2001 From: "Bradley M. Kuhn" Date: Sun, 29 Jun 2025 18:28:02 -0700 Subject: [PATCH 2/3] Add link to website sources. --- themes/next.copyleft.org/templates/base.html | 1 + 1 file changed, 1 insertion(+) diff --git a/themes/next.copyleft.org/templates/base.html b/themes/next.copyleft.org/templates/base.html index 63051d6..a0c8cbe 100644 --- a/themes/next.copyleft.org/templates/base.html +++ b/themes/next.copyleft.org/templates/base.html @@ -139,6 +139,7 @@ Tachyons CSS is copyright 2020 Adam Morse & John Otander, MIT License
Velocity JS is copyright 2014 Julian Shapiro, MIT License
Pelican is copyright 2007 Free Software Foundation, Inc, GNU AGPL v3.0

+

Website Sources

{% if output_file == 'index.html' %} From 1f1181a8ff5ebf662e280ea594ad71d758cf0ceb Mon Sep 17 00:00:00 2001 From: "Bradley M. Kuhn" Date: Sun, 29 Jun 2025 18:28:09 -0700 Subject: [PATCH 3/3] permission change is necessary on rsync/scp/sftp uploads to server --- Makefile | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 5a30f19..121b71f 100644 --- a/Makefile +++ b/Makefile @@ -76,14 +76,24 @@ devserver-global: publish: "$(PELICAN)" "$(INPUTDIR)" -o "$(OUTPUTDIR)" -s "$(PUBLISHCONF)" $(PELICANOPTS) -ssh_upload: publish +ssh_upload: ssh_copy fix_remote_permissions + +ssh_copy: publish scp -P $(SSH_PORT) -r "$(OUTPUTDIR)"/* "$(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR)" -sftp_upload: publish +sftp_upload: sftp_copy fix_remote_permissions + +sftp_copy: publish printf 'put -r $(OUTPUTDIR)/*' | sftp $(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR) -rsync_upload: publish +rsync_upload: rsync_copy fix_remote_permissions + +rsync_copy: publish rsync -e "ssh -p $(SSH_PORT)" -P -rvzc --include tags --cvs-exclude --delete "$(OUTPUTDIR)"/ "$(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR)" +fix_remote_permissions: + ssh -p $(SSH_PORT) $(SSH_USER)@$(SSH_HOST) "find ${SSH_TARGET_DIR} -exec chmod gou+r {} \;" + ssh -p $(SSH_PORT) $(SSH_USER)@$(SSH_HOST) "find ${SSH_TARGET_DIR} -type d -exec chmod gou+rx {} \;" + .PHONY: html help clean regenerate serve serve-global devserver publish ssh_upload rsync_upload