From 40213ad72ebf72298e0eb6c7ded9729c36fd13c8 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Tue, 19 Aug 2025 15:44:36 +0300 Subject: feat(generate.sh): Improve implementation and add tiny website generation --- meta/meta.awk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'meta') diff --git a/meta/meta.awk b/meta/meta.awk index 7688d6a..f586fef 100644 --- a/meta/meta.awk +++ b/meta/meta.awk @@ -10,7 +10,7 @@ BEGIN { HEADER = getfile(ENVIRON["HEADER"]) FOOTER = getfile(ENVIRON["FOOTER"]) - sitemap = ENVIRON["GEN_DIR"] "/sitemap.xml" + sitemap = ENVIRON["DST"] "/sitemap.xml" print "" ORS \ " ARGV[i] #-- Add to sitemap --# - print "" ENVIRON["URL"] substr(ARGV[i], length(ENVIRON["GEN_DIR"]) + 1) "" date "1.0" > sitemap + print "" ENVIRON["URL"] substr(ARGV[i], length(ENVIRON["DST"]) + 1) "" date "1.0" > sitemap } print "" > sitemap -- cgit v1.3.1-26-gb76a