summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md8
-rw-r--r--footer.html.part2
-rw-r--r--lib/generate.source.sh2
-rw-r--r--style.css2
4 files changed, 9 insertions, 5 deletions
diff --git a/README.md b/README.md
index 3efeda2..e6ed661 100644
--- a/README.md
+++ b/README.md
@@ -63,9 +63,13 @@ Whereas you only want to edit the content in the `gemtext` folder directly. The
You will find the `./header.html.part` and `./footer.html.part` files, they are minimal template files for the HTML generation. There's also the `style.css` for HTML.
-### Special Markdown configuration
+### Special HTML configuration
+
+`gemtexter` will never touch the `../$BASE_CONTENT_DIR/html/.domains`, as this is a required file for a Codeberg page. Furthermore, the `robots.txt` file won't be overridden as well.
+
+### Special Markdown configuration for GitHub pages
-`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.
+`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.
## Store all formats in Git
diff --git a/footer.html.part b/footer.html.part
index a280ddc..57b0cb2 100644
--- a/footer.html.part
+++ b/footer.html.part
@@ -1,7 +1,7 @@
<p class="footer">
Generated with <a href="https://codeberg.org/snonux/gemtexter">Gemtexter</a> |
served by <a href="https://www.OpenBSD.org">OpenBSD</a>/<a href="https://man.openbsd.org/httpd.8">httpd(8)</a> |
-<a href="//%%DOMAIN%%/site-mirrors.html">Site Mirrors</a>
+<a href="https://www2.%%DOMAIN%%/site-mirrors.html">Site Mirrors</a>
</p>
</body>
</html>
diff --git a/lib/generate.source.sh b/lib/generate.source.sh
index 53e7a6b..c3fc766 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|.domains)$'|
+ $GREP -E -v '(\.git.*|_config.yml|CNAME|.domains|robots.txt)$'|
while read -r src; do
generate::fromgmi_cleanup_docs "$src" "$format"
done &
diff --git a/style.css b/style.css
index 686d63d..956541d 100644
--- a/style.css
+++ b/style.css
@@ -53,7 +53,7 @@ pre {
a.textlink:before {
content: " ⇒ ";
- padding-left: 2px;
+ padding-left: 11px;
}
p.quote {