You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/bin/zsh
|
|
cat templates/index-before.html > index.md
|
|
|
|
for file in $(ls -1 content/*.md | sort -r)
|
|
do
|
|
dest="${$(basename $file)/md/html}"
|
|
pandoc --template=templates/blog-list-item.template --variable=url:$dest $file >> index.md
|
|
done
|