title and ds_store

This commit is contained in:
quenousimporte 2026-03-07 12:26:43 +01:00
parent 2fe3d14c27
commit a67b9c992b
2 changed files with 6 additions and 2 deletions

3
.gitignore vendored
View File

@ -1,4 +1,5 @@
.venv
settings.yml
out
uv.lock
uv.lock
**/.DS_Store

5
st/st.sh Normal file → Executable file
View File

@ -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