about summary refs log tree commit diff stats
path: root/tmpl.index.htm
blob: 9dd605bb82226fad4057b48c10649887f3280cdd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$(sed 's#$(title)#acdw.casa#' _head.htm)
<header>
    <h1>mi casa es su casa</h1>
</header>
<main>
    <section id="welcome">
        $(htt _index.htm)
    </section>
    <section id="pages">
        <h2>pages here</h2>
        <ul>
            $(: > .tmp/index-list;
            for p in .tmp/*.env; do date() { echo "2022-05-01"; }; title() { :; }; . "$p";
            print "<li><!-- $(date) --><a href=\"$HTOUT\">$(title)</a></li>" \
            >> .tmp/index-list; done)
            $(sort -r .tmp/index-list)
        </ul>
    </section>
</main>
$(htt _foot.htm)