summaryrefslogtreecommitdiff
path: root/packages/gemfeed.source.sh
diff options
context:
space:
mode:
authorPaul Buetow <git@mx.buetow.org>2021-05-17 21:23:06 +0100
committerPaul Buetow <git@mx.buetow.org>2021-05-21 05:11:05 +0100
commit6aee04354e443e2121bf6c558be227388a10e7b2 (patch)
treef3fe1faccbcc3fb1ecffcb8ba75d74379d25537a /packages/gemfeed.source.sh
parentf6deb276c7c5e7b3617d9ecd35193b43ae32ccbf (diff)
reword comments
Diffstat (limited to 'packages/gemfeed.source.sh')
-rw-r--r--packages/gemfeed.source.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/gemfeed.source.sh b/packages/gemfeed.source.sh
index c68c507..182d6eb 100644
--- a/packages/gemfeed.source.sh
+++ b/packages/gemfeed.source.sh
@@ -1,4 +1,4 @@
-# Filters out blog posts from other files in the gemfeed dir.
+# Filter out blog posts from other files in the gemfeed dir.
gemfeed::get_posts () {
local -r gemfeed_dir="$CONTENT_DIR/gemtext/gemfeed"
local -r gmi_pattern='^[0-9]{4}-[0-9]{2}-[0-9]{2}-.*\.gmi$'
@@ -7,7 +7,7 @@ gemfeed::get_posts () {
ls "$gemfeed_dir" | grep -E "$gmi_pattern" | grep -E -v "$draft_pattern" | sort -r
}
-# Adds the links from gemfeed/index.gmi to the main index site.
+# Add the links from gemfeed/index.gmi to the main index site.
gemfeed::updatemainindex () {
local -r index_gmi="$CONTENT_DIR/gemtext/index.gmi"
local -r gemfeed_dir="$CONTENT_DIR/gemtext/gemfeed"
@@ -23,7 +23,7 @@ gemfeed::updatemainindex () {
test "$ADD_GIT" == yes && git add "$index_gmi"
}
-# This generates a index.gmi in the ./gemfeed subdir.
+# Generate a index.gmi in the ./gemfeed subdir.
gemfeed::generate () {
local -r gemfeed_dir="$CONTENT_DIR/gemtext/gemfeed"
log INFO "Generating Gemfeed index for $gemfeed_dir"