Merge pull request 'don't hard-code page weight' (#1118) from fricklerhandwerk/clan-core:doc-contributing into main
All checks were successful
checks / check-links (push) Successful in 13s
checks / checks-impure (push) Successful in 1m49s
checks / checks (push) Successful in 3m48s

This commit is contained in:
clan-bot 2024-04-10 13:35:50 +00:00
commit f33c3ece3d

View File

@ -50,7 +50,7 @@
name: md: ''
# generate header for zola with title, template, weight
title="${name}"
echo -e "+++\ntitle = \"$title\"\ntemplate = \"docs/page.html\"\nweight = 0\n+++" > "$out/${name}.md"
echo -e "+++\ntitle = \"$title\"\ntemplate = \"docs/page.html\"\n+++" > "$out/${name}.md"
cat <<EOF >> "$out/${name}.md"
${makeIntro name}
EOF