hugosoucycc

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

commit a99dffec56b165bda4d1cc05c95beedb42684638
parent a300dc3d4b32fd10842a1bc80bb40f138b4edfc3
Author: Hugo Soucy <hugo.soucy@savoirfairelinux.com>
Date:   Thu, 28 Jul 2016 08:42:00 -0400

Change var names.

Diffstat:
Marchetypes/note.md | 2+-
Mconfig/config.sh | 5+++--
2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/archetypes/note.md b/archetypes/note.md @@ -1,7 +1,7 @@ --- title: date: {{ NOW_DATE }} -datetime: {{ NOW_TIME }} +datetime: {{ NOW_DATETIME }} --- ... diff --git a/config/config.sh b/config/config.sh @@ -1,11 +1,12 @@ #!/bin/bash +export NOW_DATE="$(date +%Y-%m-%d)" +export NOW_DATETIME="$(date +%H:%M:%S)" + # Site configuration file export SITE_DOMAINNAME="hugo.soucy.cc" export SITE_URL="http://${SITE_DOMAINNAME}" export SITE_LANGUAGE="fr" -export SITE_LASTMOD_DATE="$(date +%Y-%m-%d)" -export SITE_LASTMOD_DATETIME="$(date +%Y-%m-%dT%H:%M)" # Templates folders export MUSTACHE=templates/mustache