better index for gmi

This commit is contained in:
Yann Esposito (Yogsototh) 2021-05-02 21:24:37 +02:00
parent c925082fa0
commit b151370ba7
Signed by untrusted user who does not match committer: yogsototh
GPG Key ID: 7B19A4C650D59646
3 changed files with 10 additions and 3 deletions

View File

@ -68,6 +68,15 @@ $(DST_DIR)/%.gmi: $(SRC_DIR)/%.org $(GMI) engine/org2gemini_step1.sh
mkdir -p $(dir $@)
$(GMI) "$<" "$@"
# GEMINI INDEX
GMI_INDEX := $(DST_DIR)/index.gmi
MK_GMI_INDEX := engine/mk-gemini-index.sh
$(GMI_INDEX): $(DST_GMI_FILES) $(MK_GMI_INDEX)
mkdir -p $(DST_DIR)
$(MK_GMI_INDEX)
ALL += $(GMI_INDEX)
# OPTIM PHASE

View File

@ -2,7 +2,7 @@
cd "$(git rev-parse --show-toplevel)" || exit 1
# Directory
webdir="_optim"
webdir="_site"
postsdir="$webdir/posts"
indexfile="$webdir/index.gmi"

View File

@ -14,7 +14,5 @@ echo "Optim HTML size"
# ./engine/update-file-size.sh
echo "Building RSS"
./engine/mkrss.sh
echo "Building Gemini Index"
./engine/mk-gemini-index.sh
echo "Building Gemini Atom"
./engine/mk-gemini-atom.sh