Remove link to GitHub sponsors
[openssl-web.git] / bin / md-to-html5
1 #! /bin/sh
2
3 template="$0.tmpl.html5"
4
5 for f in "$@"; do
6     b=`basename "$f" .md`
7     d=`dirname "$f"`
8     if [ "$f" != "$b" ]; then
9         t="$d/$b.tmpl.html5"
10         if [ ! -f "$t" ]; then
11             t="$template"
12         fi
13         pandoc -t html5 --template="$t" "$f" > "$d/$b.html"
14     fi
15 done