aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustine Smithies <justine@smithies.me.uk>2025-11-29 21:02:17 +0000
committerJustine Smithies <justine@smithies.me.uk>2025-11-29 21:02:17 +0000
commit3fb8bc354896691a72ca3bc630340010cb972bb0 (patch)
treeaa260d1a9ddbf987610209bb4862ad2fb6a87adc
parent83cbfd2dc5456ca9025126e62a02a1d55bad3d4e (diff)
Fixed issue of {{TITLE}} being left in index atom output
-rwxr-xr-xblarg2
1 files changed, 1 insertions, 1 deletions
diff --git a/blarg b/blarg
index 6d80dc8..cde347f 100755
--- a/blarg
+++ b/blarg
@@ -45,7 +45,7 @@ atom_xml() {
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<icon>https://justine.smithies.me.uk/public/favicon-32x32.png</icon>
- <title>$(grep -o '<title>.*</title>' header.html | sed 's/\(<title>\|{{TITLE}}<\/title>\)//g')</title>
+ <title>$(grep -o '<title>.*</title>' header.html | sed -e 's/{{TITLE}}//g')</title>
<link href="$uri" rel="self" />
<updated>$(date -Iseconds)</updated>
<author>