diff --git a/gen_blogpost.sh b/gen_blogpost.sh index a4d4061..d696ce7 100755 --- a/gen_blogpost.sh +++ b/gen_blogpost.sh @@ -16,16 +16,16 @@ for dir in "$archive" "$archive/$year" "$archive/$year/$month"; do if [ "$name" = archive ]; then name=Archive fi - <<-EOF cat - >"$dir/index.rst" + <<-EOF cat - >"$dir/index.md" # $name \`\`\`{toctree} --- - $(printf '\t')glob - $(printf '\t')maxdepth: 1 + maxdepth: 1 + glob: --- - $(printf '\t')*/index + */index \`\`\` EOF fi