title and ds_store
This commit is contained in:
parent
2fe3d14c27
commit
a67b9c992b
|
|
@ -1,4 +1,5 @@
|
||||||
.venv
|
.venv
|
||||||
settings.yml
|
settings.yml
|
||||||
out
|
out
|
||||||
uv.lock
|
uv.lock
|
||||||
|
**/.DS_Store
|
||||||
|
|
|
||||||
|
|
@ -2,11 +2,14 @@ input=$1
|
||||||
output=$input/out
|
output=$input/out
|
||||||
outformat=markdown+hard_line_breaks+autolink_bare_uris+lists_without_preceding_blankline
|
outformat=markdown+hard_line_breaks+autolink_bare_uris+lists_without_preceding_blankline
|
||||||
index=$output/index.html
|
index=$output/index.html
|
||||||
|
title=Texts
|
||||||
|
|
||||||
rm -rf $output/*
|
rm -rf $output/*
|
||||||
|
|
||||||
cp style.css $output/style.css
|
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
|
for f in $input/*.md
|
||||||
do
|
do
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue