hugosoucycc

[ARCHIVED] Another old source code of <hugo.soucy.cc>.
Log | Files | Refs | Submodules

commit be89db97daceab1bd8ba74e6519a824afbce659e
parent 5cad0077382cdf9b3385c74f8cad80e6855de3e1
Author: Hugo Soucy <hugo@soucy.cc>
Date:   Sun, 31 Jul 2016 14:48:02 -0400

Include the mo module in panstash.

Diffstat:
Mfunctions/build-pandoc-templates.sh | 2+-
Mpanstash.sh | 3+++
2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/functions/build-pandoc-templates.sh b/functions/build-pandoc-templates.sh @@ -11,7 +11,7 @@ build_pandoc_templates () { # Remove files path mustachename=$(basename "$mustache") # And then the convertion without the mustache extension - $PANSTASH_PATH/lib/mo/mo $mustache > $TPL_PANDOC_PATH/${mustachename%.*}.html + mo $mustache > $TPL_PANDOC_PATH/${mustachename%.*}.html done # End diff --git a/panstash.sh b/panstash.sh @@ -11,6 +11,9 @@ # Include the main configuration file . config/config.sh +# Include mustache for bash +. lib/mo/mo + # Include parse_yaml function . lib/parse_yaml.sh