summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/gemfeed.source.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gemfeed.source.sh b/lib/gemfeed.source.sh
index 6cb9a5a..a0c0b09 100644
--- a/lib/gemfeed.source.sh
+++ b/lib/gemfeed.source.sh
@@ -3,7 +3,7 @@ gemfeed::get_posts () {
local -r gemfeed_dir="$CONTENT_BASE_DIR/gemtext/gemfeed"
local -r gmi_pattern='^[0-9]{4}-[0-9]{2}-[0-9]{2}-.*\.gmi$'
- ls "$gemfeed_dir" | $GREP -f -v DRAFT- | $GREP -E "$gmi_pattern" | sort -r
+ ls "$gemfeed_dir" | $GREP -F -v DRAFT- | $GREP -E "$gmi_pattern" | sort -r
}
# Add the links from gemfeed/index.gmi to the main index site.
@@ -61,5 +61,6 @@ GEMFEED
mv "$gemfeed_dir/index.gmi.tmp" "$gemfeed_dir/index.gmi"
+
gemfeed::updatemainindex
}