From 39eb7c48b9386a72fefc531ea58c5efef40505d2 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 10 Apr 2023 19:20:55 -0300 Subject: v2: Generate sitemap.xml --- v2/src/bin/makemake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'v2/src/bin/makemake') diff --git a/v2/src/bin/makemake b/v2/src/bin/makemake index 22e92c9..c6e3407 100755 --- a/v2/src/bin/makemake +++ b/v2/src/bin/makemake @@ -71,6 +71,7 @@ EXTENSIONS=' .html .snippets .htmlbody +.mapentry ' COLL_EXTENSIONS=' @@ -119,7 +120,7 @@ for lang in $(langs); do exts | sed "s|^\(.*\)\$|$c.$lang\1 = \$($c.$lang.md:.md=\1)|" exts | sed "s|^\(.*\)\$|\$($c.$lang\1)|" | varlist "$c.$lang" - mds | sed 's/^\(.*\)\.md$/\1.conf \1.content: \1.md/' + mds | sed 's/^\(.*\)\.md$/\1.mapentry \1.conf \1.content: \1.md/' mds | sed 's/^\(.*\)\.md$/\1.categoryentry \1.indexentry \1.html: \1.conf \1.content/' mds | sed 's/^\(.*\)\.md$/\1.snippets \1.htmlbody: \1.html/' if [ "$c" = 'pages' ]; then -- cgit v1.2.3