diff options
| author | Paul Buetow <paul@buetow.org> | 2022-01-13 10:09:54 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2022-01-13 10:09:54 +0000 |
| commit | 34d6555bb0d8c46c977660c1af36e3cfb445818b (patch) | |
| tree | 75eb8e37f9e516b074e3e638fc00182403f35a49 | |
| parent | 0578abd23e99bac6c8af27b9107d9b7ac6bea0ab (diff) | |
add support for codeberg page
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | lib/generate.source.sh | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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 & |
