hugosoucycc

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

commit c3ca74838888b842ef17e55997e0869ec34782c6
parent ab325e87ef80023d3312a1fbee8266d4cbf1e025
Author: Hugo Soucy <hugo.soucy@savoirfairelinux.com>
Date:   Sun,  6 Nov 2016 19:34:24 -0500

Rename config.sh in config

Diffstat:
Dconfig/config.sh | 70----------------------------------------------------------------------
1 file changed, 0 insertions(+), 70 deletions(-)

diff --git a/config/config.sh b/config/config.sh @@ -1,70 +0,0 @@ -#!/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" - -# Templates folders -export MUSTACHE=templates/mustache -export PANDOC=templates/pandoc - -# Archetypes folder (markdown files) -export ARCHETYPES=archetypes - -# Content folder (markdown files) -export CONTENT=content - -# Assets folder -export ASSETS=static/prod - -# Public HTML folder -export PUBLICHTML=public_html - -# PATHS -# To the current absolute path -export PANSTASH_PATH=$(pwd) - -# To the mustache templates -export TPL_MUSTACHE_PATH=$PANSTASH_PATH/$MUSTACHE - -# To the pandoc templates -export TPL_PANDOC_PATH=$PANSTASH_PATH/$PANDOC - -# To the archetypes files -export ARCHETYPES_PATH=$PANSTASH_PATH/$ARCHETYPES - -# To the content files -export CONTENT_PATH=$PANSTASH_PATH/$CONTENT - -# To the assets files -export ASSETS_PATH=$PANSTASH_PATH/$ASSETS - -# To the public_html folder -export PUBLICHTML_PATH=$PANSTASH_PATH/$PUBLICHTML - -# To the temporary folder -export TMP_PATH="/tmp" - -# Base URL -export BASE_URL=$SITE_URL -arg1=$1 - -if [[ -n "$arg1" ]] && [[ "$arg1" == "dev" ]]; then - # export BASE_URL=$PUBLICHTML_PATH - export BASE_URL="http://localhost:8181" -fi - -# Metas -export SITE_DESCRIPTION="Développeur Web frontend ayant plus de 10 ans d'expérience dans le milieu des technologies de l'information. Il habite dans le quartier Limoilou à Québec." -export SITE_GENERATOR="Pandoc + (Mustache + Bash) = Panstash" - -export SITE_AUTHOR="Hugo Soucy" -export SITE_AUTHOR_TITLE="Développeur Web frontend" -export SITE_AUTHOR_EMAIL="hugo@soucy.cc" -export SITE_AUTHOR_PHONE="581-996-6481" -export SITE_AUTHOR_LOCALITY="Québec" -export SITE_AUTHOR_REGION="Qc"