commit ee38060a58c32f2fe3ecfd45078cf7c75f801176
parent 0b7aac8d095758c444aafedb8a20843fd943c07a
Author: Hugo Soucy <hugo@soucy.cc>
Date: Tue, 19 Jul 2016 20:58:05 -0400
Add path for assets + link rel=me
Diffstat:
3 files changed, 15 insertions(+), 3 deletions(-)
diff --git a/config/config.sh b/config/config.sh
@@ -11,9 +11,12 @@ export SITE_LASTMOD_DATETIME="$(date +%Y-%m-%dT%H:%M)"
export MUSTACHE=templates/mustache
export PANDOC=templates/pandoc
-# Content folder
+# Content folder (markdown files)
export CONTENT=content
+# Assets folder
+export ASSETS=static/prod
+
# Public HTML folder
export PUBLICHTML=public_html
@@ -30,6 +33,9 @@ export TPL_PANDOC_PATH=$PANSTASH_PATH/$PANDOC
# 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
@@ -43,7 +49,7 @@ 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="Panstash : Pandoc + Mustache + Bash"
+export SITE_GENERATOR="Pandoc + (Mustache + Bash) = Panstash"
export SITE_AUTHOR="Hugo Soucy"
export SITE_AUTHOR_TITLE="Développeur Web frontend"
diff --git a/panstash.sh b/panstash.sh
@@ -138,7 +138,7 @@ rsync -avmh --include='*.html' -f 'hide,! */' $CONTENT_PATH/ $PUBLICHTML_PATH/
# Rsync the static files into the public_html/ folder
echo "06) Rsync the static files into the public_html/ folder"
-rsync -avmh static/ $PUBLICHTML_PATH/
+rsync -avmh $ASSETS_PATH/ $PUBLICHTML_PATH/
# Then remove those in the content folder
echo "07) Clean the content/ folder from all the HTML files"
diff --git a/templates/mustache/partials/head.mustache b/templates/mustache/partials/head.mustache
@@ -8,7 +8,13 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="{{ BASE_URL }}/css/styles.css">
+
<link rel="me" href="http://shr.soucy.cc/">
+ <link rel="me" href="https://bandcamp.com/hs0ucy">
+ <link rel="me" href="https://framasphere.org/u/hs0ucy">
+ <link rel="me" href="http://twitter.com/hs0ucy">
+ <link rel="me" href="https://github.com/hs0ucy">
+ <link rel="me" href="sms:+15819966481">
<meta name="robots" content="noindex, nofollow">
<meta name="description" content="{{ SITE_DESCRIPTION }}">