app.cfg (1095B)
1 #!/bin/bash 2 # FakeStache SSG configuration file 3 4 export NOW_DATE="$(date +%Y-%m-%d)" 5 export NOW_DATETIME="$(date +%H:%M:%S)" 6 7 # Flat Database Name 8 export DB=fakestache.db 9 10 # Templates folders 11 export MUSTACHE=templates/mustache 12 export PANDOC=templates/pandoc 13 14 # Archetypes folder (markdown files) 15 export ARCHETYPES=archetypes 16 17 # Content folder (markdown files) 18 export CONTENT=content 19 20 # Assets folder 21 export ASSETS=static 22 23 # Public HTML folder 24 export PUBLICHTML=public_html 25 26 # PATHS 27 # To the current absolute path 28 export FAKESTACHE_PATH=$(pwd) 29 30 # To the mustache templates 31 export TPL_MUSTACHE_PATH=$FAKESTACHE_PATH/$MUSTACHE 32 33 # To the pandoc templates 34 export TPL_PANDOC_PATH=$FAKESTACHE_PATH/$PANDOC 35 36 # To the archetypes files 37 export ARCHETYPES_PATH=$FAKESTACHE_PATH/$ARCHETYPES 38 39 # To the content files 40 export CONTENT_PATH=$FAKESTACHE_PATH/$CONTENT 41 42 # To the assets files 43 export ASSETS_PATH=$FAKESTACHE_PATH/$ASSETS 44 45 # To the public_html folder 46 export PUBLICHTML_PATH=$FAKESTACHE_PATH/$PUBLICHTML 47 48 # To the temporary folder 49 export TMP_PATH="/tmp/fakestache" 50 51 # Base URL 52 export BASE_URL=$SITE_URL