hugosoucycc

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

commit 877c734bc700138d408415f5797ff97de52e8cd3
parent e67a4ef94c811aeb7100e1b5585931ab8e225e6e
Author: Hugo Soucy <hugo.soucy@savoirfairelinux.com>
Date:   Mon, 26 Jun 2017 08:27:57 -0400

Chnage the URLs of the symlinks

Diffstat:
Mcontent/note/appnet-is-shuttingdown-20170315.jpg | 4++--
Mcontent/note/dbd-20161109T222000-ebg8v2e.png | 4++--
Mcontent/note/mr-fuck-society-700x6786.jpg | 4++--
Mfunctions/create-html-sections | 2+-
4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/content/note/appnet-is-shuttingdown-20170315.jpg b/content/note/appnet-is-shuttingdown-20170315.jpg @@ -1 +1 @@ -/2017/03/appnet-is-shuttingdown-20170315.jpg- \ No newline at end of file +./2017/03/appnet-is-shuttingdown-20170315.jpg+ \ No newline at end of file diff --git a/content/note/dbd-20161109T222000-ebg8v2e.png b/content/note/dbd-20161109T222000-ebg8v2e.png @@ -1 +1 @@ -/2016/11/dbd-20161109T222000-ebg8v2e.png- \ No newline at end of file +./2016/11/dbd-20161109T222000-ebg8v2e.png+ \ No newline at end of file diff --git a/content/note/mr-fuck-society-700x6786.jpg b/content/note/mr-fuck-society-700x6786.jpg @@ -1 +1 @@ -/2016/02/mr-fuck-society-700x6786.jpg- \ No newline at end of file +./2016/02/mr-fuck-society-700x6786.jpg+ \ No newline at end of file diff --git a/functions/create-html-sections b/functions/create-html-sections @@ -60,7 +60,7 @@ create_html_sections () { for img in $(find "$indexsubdir/" -type f \( -name "*.jpg" -or -name "*.png" \)); do rel_img_path=${img#$indexsubdir} - $(ln -s -f "$rel_img_path" "$indexsubdir") + $(ln -s -f ".$rel_img_path" "$indexsubdir") done if test "$(ls -A "$tmp_folder/")"; then