summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2022-01-13 10:09:54 +0000
committerPaul Buetow <paul@buetow.org>2022-01-13 10:09:54 +0000
commit34d6555bb0d8c46c977660c1af36e3cfb445818b (patch)
tree75eb8e37f9e516b074e3e638fc00182403f35a49
parent0578abd23e99bac6c8af27b9107d9b7ac6bea0ab (diff)
add support for codeberg page
-rw-r--r--README.md2
-rw-r--r--lib/generate.source.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 03d0bf8..3efeda2 100644
--- a/README.md
+++ b/README.md
@@ -65,7 +65,7 @@ You will find the `./header.html.part` and `./footer.html.part` files, they are
### Special Markdown configuration
-`gemtexter` will never touch the `../$BASE_CONTENT_DIR/md/_config.yml` file (if it exists). That's a particular configuration file for GitHub Pages. `gemtexter` also will never modify the file `../$BASE_CONTENT_DIR/md/CNAME`, as this is also a file required by GitHub pages for using custom domains.
+`gemtexter` will never touch the `../$BASE_CONTENT_DIR/md/_config.yml` file (if it exists). That's a particular configuration file for GitHub Pages. `gemtexter` also will never modify the file `../$BASE_CONTENT_DIR/md/CNAME`, as this is also a file required by GitHub pages for using custom domains. Same applies to `../$BASE_CONTENT_DIR/html/.domains`, as this is a required file for a Codeberg page.
## Store all formats in Git
diff --git a/lib/generate.source.sh b/lib/generate.source.sh
index 8a776e9..d3ff584 100644
--- a/lib/generate.source.sh
+++ b/lib/generate.source.sh
@@ -147,7 +147,7 @@ generate::fromgmi () {
# Anoter note: The CNAME file is required by GitHub pages as well for custom domains.
for format in "$@"; do
find "$CONTENT_BASE_DIR/$format" -type f |
- $GREP -E -v '(\.git.*|_config.yml|CNAME)$'|
+ $GREP -E -v '(\.git.*|_config.yml|CNAME|.domains)$'|
while read -r src; do
generate::fromgmi_cleanup_docs "$src" "$format"
done &