diff options
| -rw-r--r-- | .gitignore | 1 | ||||
| -rwxr-xr-x | build.sh | 1 |
2 files changed, 1 insertions, 1 deletions
| @@ -1,4 +1,3 @@ | |||
| 1 | http | 1 | http |
| 2 | gemini | 2 | gemini |
| 3 | BLOG-IDEAS | ||
| 4 | HTML-TIPS | 3 | HTML-TIPS |
| @@ -14,6 +14,7 @@ recursivebuild() { | |||
| 14 | extension=$(echo "$file" | sed 's/.*\.//') | 14 | extension=$(echo "$file" | sed 's/.*\.//') |
| 15 | if [ "$extension" = "md" ]; then | 15 | if [ "$extension" = "md" ]; then |
| 16 | sed "s/TITLE/$(grep '^\# ' < "$1/$file" \ | 16 | sed "s/TITLE/$(grep '^\# ' < "$1/$file" \ |
| 17 | | head -n 1 \ | ||
| 17 | | sed 's/^\# //')/" < top.html \ | 18 | | sed 's/^\# //')/" < top.html \ |
| 18 | > "$destdir/index.html" | 19 | > "$destdir/index.html" |
| 19 | lowdown "$1/$file" >> "$destdir/index.html" | 20 | lowdown "$1/$file" >> "$destdir/index.html" |
