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-17 21:23:06 +0100
commit3ef6d46bf8f86dcb2bb40abcb61f8f31847cc419 (patch)
tree32486be56458a21b500c97e657d5d19c1059c39a /packages/gemfeed.source.sh
parent944b6b1e820542406ccc3fc19808c624a033c608 (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 c68c5070..182d6eb0 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"