~sircmpwn/wersh

ref: bcc3fbaf8d1e19c262290916967a524cb2111d37 wersh/example/_config.sh -rw-r--r-- 299 bytes
bcc3fbafDrew DeVault Initial commit 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
function hoedown() {
    /usr/bin/hoedown --tables --fenced-code
}

pages="page-one.html.sh page-two.html.sh"

function page_title() {
    case $1 in
        page-one.html.sh)
            echo "Page one"
            ;;
        page-two.html.sh)
            echo "Page two"
            ;;
    esac
}