aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xblarg2
1 files changed, 1 insertions, 1 deletions
diff --git a/blarg b/blarg
index 0ff018c..09d5b55 100755
--- a/blarg
+++ b/blarg
@@ -44,7 +44,7 @@ atom_xml() {
cat <<EOF
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
- <title>$(sed -n '/^# /{s/# //p; q}' index.md)</title>
+ <title>$(grep -o '<title>.*</title>' header.html | sed 's/\(<title>\|<\/title>\)//g')</title>
<link href="$uri" rel="self" />
<updated>$(date --iso=seconds)</updated>
<author>