summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rw-r--r--gemtexter.conf6
-rw-r--r--htmlextras/footer.html.part (renamed from footer.html.part)0
-rw-r--r--htmlextras/header.html.part (renamed from header.html.part)0
-rw-r--r--htmlextras/style.css (renamed from style.css)0
-rw-r--r--htmlextras/style1.css (renamed from style1.css)0
-rw-r--r--htmlextras/style2.css (renamed from style2.css)0
-rw-r--r--htmlextras/style3.css (renamed from style3.css)0
-rw-r--r--lib/generate.source.sh3
9 files changed, 6 insertions, 5 deletions
diff --git a/README.md b/README.md
index a41fdb8..f093b2b 100644
--- a/README.md
+++ b/README.md
@@ -61,7 +61,7 @@ Whereas you only want to edit the content in the `gemtext` folder directly. The
### Special HTML configuration
-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.
+You will find the `./htmlextras/header.html.part` and `./htmlextras/footer.html.part` files, they are minimal template files for the HTML generation. There's also the `./htmlextras/style.css` for HTML.
### Special HTML configuration
diff --git a/gemtexter.conf b/gemtexter.conf
index ea808b5..57a77cb 100644
--- a/gemtexter.conf
+++ b/gemtexter.conf
@@ -5,6 +5,6 @@ declare -xr EMAIL='comments@mx.buetow.org'
declare -xr IMAGE_PATTERN='\.(jpg|png|gif)$'
declare -xr ATOM_MAX_ENTRIES=42
declare -xr CONTENT_BASE_DIR=../foo.zone-content
-declare -xr HTML_HEADER=./header.html.part
-declare -xr HTML_FOOTER=./footer.html.part
-declare -xr HTML_CSS_STYLE=./style.css
+declare -xr HTML_HEADER=./htmlextras/header.html.part
+declare -xr HTML_FOOTER=./htmlextras/footer.html.part
+declare -xr HTML_CSS_STYLE=./htmlextras/style.css
diff --git a/footer.html.part b/htmlextras/footer.html.part
index 997364c..997364c 100644
--- a/footer.html.part
+++ b/htmlextras/footer.html.part
diff --git a/header.html.part b/htmlextras/header.html.part
index f2592b3..f2592b3 100644
--- a/header.html.part
+++ b/htmlextras/header.html.part
diff --git a/style.css b/htmlextras/style.css
index 0f23916..0f23916 100644
--- a/style.css
+++ b/htmlextras/style.css
diff --git a/style1.css b/htmlextras/style1.css
index 956541d..956541d 100644
--- a/style1.css
+++ b/htmlextras/style1.css
diff --git a/style2.css b/htmlextras/style2.css
index 0f23916..0f23916 100644
--- a/style2.css
+++ b/htmlextras/style2.css
diff --git a/style3.css b/htmlextras/style3.css
index d62b6ae..d62b6ae 100644
--- a/style3.css
+++ b/htmlextras/style3.css
diff --git a/lib/generate.source.sh b/lib/generate.source.sh
index dedbe31..4f40101 100644
--- a/lib/generate.source.sh
+++ b/lib/generate.source.sh
@@ -137,7 +137,7 @@ generate::fromgmi () {
for format in "$@"; do
generate::fromgmi_add_docs "$src" "$format" &
done
- done < <(find "$CONTENT_BASE_DIR/gemtext" -type f | $GREP -E -v '(\.git.*|\.gmi|atom.xml|\.tmp)$')
+ done < <(find "$CONTENT_BASE_DIR/gemtext" -type f | $GREP -E -v '(\.git.*|\.gmi|atom.xml|\.tmp|style.css)$')
wait
log INFO "Added $num_doc_files other documents to each of $*"
@@ -156,6 +156,7 @@ generate::fromgmi () {
done &
done
wait
+ rm $CONTENT_BASE_DIR/gemtext/style.css
if [[ -z "$GIT_COMMIT_MESSAGE" ]]; then
GIT_COMMIT_MESSAGE='Publishing new version'