diff options
| author | Joe Carstairs <me@joeac.net> | 2026-09-08 18:25:17 +0100 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2026-09-08 18:25:17 +0100 |
| commit | 1816e9e0a11f20d2223600dfabba5263a1c2ce55 (patch) | |
| tree | f6f5d84b37f6e4dae4e5b6ec86281c8f6dde2a00 /http/src | |
| parent | 4c61414d3fe57829e177151939a97d72d603d636 (diff) | |
microlog and blog indices don't use .html in post links
Diffstat (limited to 'http/src')
| -rw-r--r-- | http/src/blog.upphtml | 2 | ||||
| -rw-r--r-- | http/src/microlog.upphtml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/http/src/blog.upphtml b/http/src/blog.upphtml index 8c0e429..f96f1df 100644 --- a/http/src/blog.upphtml +++ b/http/src/blog.upphtml @@ -53,7 +53,7 @@ for post in $POSTS; do if [ "$(echo "${post}" | cut -c1-4)" = "$year" ]; then title="$(grep "^export TITLE=" "${SRC}/blog/${post}" | cut -c15-)" title="$(echo ${title} | cut -c1-$(( ${#title} - 16 )) )" date_published="$(echo "${post}" | cut -c1-10)" -href="${SITE_URL}/blog/$(echo "$post" | cut -c1-10).html" +href="${SITE_URL}/blog/$(echo "$post" | cut -c1-10)" #! <li class='h-entry'> diff --git a/http/src/microlog.upphtml b/http/src/microlog.upphtml index aa3cfea..55c1dfc 100644 --- a/http/src/microlog.upphtml +++ b/http/src/microlog.upphtml @@ -55,7 +55,7 @@ for post in $POSTS; do if [ "$(echo "${post}" | cut -c1-4)" = "$year" ]; then title="$(grep "^export TITLE=" "${SRC}/microlog/${post}" | cut -c15-)" title="$(echo "${title}" | cut -c1-$(( ${#title} - 16)) )" date_published="$(echo "${post}" | cut -c1-10)" -href="${SITE_URL}/microlog/$(echo ${post} | cut -c1-$(( ${#post} - 17 )) ).html" +href="${SITE_URL}/microlog/$(echo ${post} | cut -c1-$(( ${#post} - 17 )) )" #! <li class='h-entry'> |
