summaryrefslogtreecommitdiff
path: root/légal.sh
blob: f2c6a531480b075ef8a751269e1fc285c32b8ed2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
add-legal ()
{
    sed -i                                      \
        -e /'{LEGAL}'/'r '<(${pandoc} légal.md)    \
        -e /'{LEGAL}'/'c\'                      \
        $1
}

title='Mentions légales'
stylesheets=(légal)
transforms=()                   # TODO: highlight footer link
postprocess=add-legal
translation=legal