summaryrefslogtreecommitdiff
path: root/buetow.org.sh
diff options
context:
space:
mode:
authorPaul Buetow <git@mx.buetow.org>2021-05-01 12:30:48 +0100
committerPaul Buetow <git@mx.buetow.org>2021-05-01 12:30:48 +0100
commit1b94453d263eaa733b636f8082b9eccfddde3562 (patch)
tree8097f13f82ef4c8b56233b0ba8933c4b9abffed1 /buetow.org.sh
parentf7e6b7c9a9f5b290bfcc663169323a6f7c5c84ca (diff)
Use HTTPS instead of HTTP
Diffstat (limited to 'buetow.org.sh')
-rwxr-xr-xbuetow.org.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/buetow.org.sh b/buetow.org.sh
index 035f61ce..a08069ba 100755
--- a/buetow.org.sh
+++ b/buetow.org.sh
@@ -258,7 +258,7 @@ html::generate () {
done
# Add atom feed for HTML
- sed 's|.gmi|.html|g; s|gemini://|http://|g' \
+ sed 's|.gmi|.html|g; s|gemini://|https://|g' \
< $CONTENT_DIR/gemtext/gemfeed/atom.xml \
> $CONTENT_DIR/html/gemfeed/atom.xml
git add $CONTENT_DIR/html/gemfeed/atom.xml
@@ -290,9 +290,9 @@ html::test () {
line="> This is a quote"
assert::equals "$(html::quote "$line")" "<pre>This is a quote</pre>"
- line="=> http://example.org"
+ line="=> https://example.org"
assert::equals "$(html::link "$line")" \
- "<a class=\"textlink\" href=\"http://example.org\">http://example.org</a><br />"
+ "<a class=\"textlink\" href=\"https://example.org\">https://example.org</a><br />"
line="=> index.gmi"
assert::equals "$(html::link "$line")" \