<commit_before># ensure audio file has been created
redo-ifchange $1.oga

TITLE=`vorbiscomment -l $1.oga|grep --only-matching --perl-regexp '(?<=^title=).*$'`
ARTIST=`vorbiscomment -l $1.oga|grep --only-matching --perl-regexp '(?<=^artist=).*$'`

cat << EOF >> $3
<!DOCTYPE html>
<meta charset=utf-8>
<title>$TITLE<title>

<style>
body, footer, hgroup, section { display: block; margin: 1em; }
body { margin: 1em auto; width: 34em; }
footer, h1, h2 { text-align: center; }
h1 { font-size: 2em; }
section > section > h1, h2 { font-size: 1.5em; }
</style>

<hgroup>
    <h1>$TITLE</h1>
    <h2>mit $ARTIST</h2>
</hgroup>

<audio controls>
    <source src="$1.oga">
    <a href="$1.oga">Download: <i>$1.oga</i></a>
</audio>

EOF

cat $1.description >> $3

cat << EOF >> $3
<section>
    <h1>Linkliste</h1>
    <section>
EOF

cat $1.linklist >> $3

cat << EOF >> $3
    </section>
</section>

<footer>
    Footertext.
</footer>
EOF
<commit_msg>* description is in a section element now<commit_after># ensure audio file has been created
redo-ifchange $1.oga

TITLE=`vorbiscomment -l $1.oga|grep --only-matching --perl-regexp '(?<=^title=).*$'`
ARTIST=`vorbiscomment -l $1.oga|grep --only-matching --perl-regexp '(?<=^artist=).*$'`

cat << EOF >> $3
<!DOCTYPE html>
<meta charset=utf-8>
<title>$TITLE<title>

<style>
body, footer, hgroup, section { display: block; margin: 1em; }
body { margin: 1em auto; width: 34em; }
footer, h1, h2 { text-align: center; }
h1 { font-size: 2em; }
section > section > h1, h2 { font-size: 1.5em; }
</style>

<hgroup>
    <h1>$TITLE</h1>
    <h2>mit $ARTIST</h2>
</hgroup>

<audio controls>
    <source src="$1.oga">
    <a href="$1.oga">Download: <i>$1.oga</i></a>
</audio>

<section>
    <h1>Beschreibung</h1>
EOF

cat $1.description >> $3

cat << EOF >> $3
</section>
<section>
    <h1>Linkliste</h1>
    <section>
EOF

cat $1.linklist >> $3

cat << EOF >> $3
    </section>
</section>

<footer>
    Footertext.
</footer>
EOF

{'fraction_non_alphanumeric': 0.2132992327365729, 'fraction_numerical': 0.03375959079283888, 'mean_word_length': 3.6906474820143886, 'pattern_counts': {'":': 0, '<': 77, '<?xml version=': 0, '>': 85, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '569278', 'n_tokens_mistral': 878, 'n_tokens_neox': 828, 'n_words': 200}