fakestache-ssg

[Archived] A static site generator in Bash 4.
Log | Files | Refs | Submodules | README

commit e9ad05cb67b3dad82ce76b84b76f0b3714304704
parent 9cc52bf93510cd6ac6ab23d051415cdc2769a565
Author: Hugo Soucy <hugo.soucy@savoirfairelinux.com>
Date:   Fri,  4 Nov 2016 19:37:47 -0400

Replace blogitem by pageitem.

Diffstat:
Mfunctions/create-html-pages | 12++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/functions/create-html-pages b/functions/create-html-pages @@ -57,14 +57,14 @@ create_html_pages () { sort -nr fakestache.tmp.db > fakestache.db - while read BLOGITEM; do - ITEM1=`echo $BLOGITEM | cut -d "|" -f 1` - ITEM2=`echo $BLOGITEM | cut -d "|" -f 2` - ITEM3=`echo $BLOGITEM | cut -d "|" -f 3` + # while read PAGEITEM; do + # ITEM1=`echo $PAGEITEM | cut -d "|" -f 1` + # ITEM2=`echo $PAGEITEM | cut -d "|" -f 2` + # ITEM3=`echo $PAGEITEM | cut -d "|" -f 3` - echo $ITEM1 + # echo "$ITEM1" - done < fakestache.db + # done < fakestache.db move_html_to_publichtml }