hugosoucycc

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

commit 9ade27adc6b104041d74db37ce8756b1321b7e8d
parent fd6be04e39299be910bef8ad617e42281adb8457
Author: Hugo Soucy <hugo.soucy@savoirfairelinux.com>
Date:   Sat, 12 Nov 2016 19:12:30 -0500

Rsync images not just html

Diffstat:
Acontent/note/2016/11/dbd-20161109T222000-ebg8v2e.png | 0
Acontent/note/2016/11/would-the-web-s-inventor-give-up-on-free-standards.md | 11+++++++++++
Mfunctions/move-html-to-publichtml | 6+++++-
3 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/content/note/2016/11/dbd-20161109T222000-ebg8v2e.png b/content/note/2016/11/dbd-20161109T222000-ebg8v2e.png Binary files differ. diff --git a/content/note/2016/11/would-the-web-s-inventor-give-up-on-free-standards.md b/content/note/2016/11/would-the-web-s-inventor-give-up-on-free-standards.md @@ -0,0 +1,11 @@ +--- +title: Would the Web's inventor give up on free standards? +date: 2016-11-10 +datetime: 13:28:43 +template: note +bridgy: true +--- + +«Would the Web's inventor give up on free standards?» ~ <https://u.fsf.org/1zg> #WhatWouldTimblDo #EME + +![](http://assets.soucy.cc/images/varia/dbd-20161109T222000-ebg8v2e.png) diff --git a/functions/move-html-to-publichtml b/functions/move-html-to-publichtml @@ -4,5 +4,9 @@ move_html_to_publichtml () { echo "- Rsync all HTML files and folders to the public_html/ folder" - rsync -avmh --include='*.html' -f 'hide,! */' "$CONTENT_PATH/" "$PUBLICHTML_PATH/" + rsync -avmh \ + --include='*.html' \ + --include='*.png' \ + --include='*.jpg' \ + -f 'hide,! */' "$CONTENT_PATH/" "$PUBLICHTML_PATH/" }