title and ds_store
This commit is contained in:
parent
2fe3d14c27
commit
a67b9c992b
|
|
@ -1,4 +1,5 @@
|
|||
.venv
|
||||
settings.yml
|
||||
out
|
||||
uv.lock
|
||||
uv.lock
|
||||
**/.DS_Store
|
||||
|
|
|
|||
|
|
@ -2,11 +2,14 @@ input=$1
|
|||
output=$input/out
|
||||
outformat=markdown+hard_line_breaks+autolink_bare_uris+lists_without_preceding_blankline
|
||||
index=$output/index.html
|
||||
title=Texts
|
||||
|
||||
rm -rf $output/*
|
||||
|
||||
cp style.css $output/style.css
|
||||
echo '<!DOCTYPE html><html><head><link rel="stylesheet" type="text/css" href="style.css"></head><body><div><a href="index.html">Home</a></div><hr>' >> $index
|
||||
echo '<!DOCTYPE html><html><head><title>' >> $index
|
||||
echo $title >> $index
|
||||
echo '</title><link rel="stylesheet" type="text/css" href="style.css"></head><body><div><a href="index.html">Home</a></div><hr>' >> $index
|
||||
|
||||
for f in $input/*.md
|
||||
do
|
||||
|
|
|
|||
Loading…
Reference in New Issue