diff options
author | Mike Gerwitz <mtg@gnu.org> | 2019-02-21 21:50:18 -0500 |
---|---|---|
committer | Mike Gerwitz <mtg@gnu.org> | 2019-02-21 22:01:26 -0500 |
commit | f1497409c5f49f6aa74c3bbe207bce9cef053909 (patch) | |
tree | db6634d374b3d65b302fcf1c6d2a657c6cc945b3 /src | |
parent | f16c0f0f0e3dbb5d14f5b88d765886b23e3d55a7 (diff) | |
download | thoughts-f1497409c5f49f6aa74c3bbe207bce9cef053909.tar.gz thoughts-f1497409c5f49f6aa74c3bbe207bce9cef053909.tar.bz2 thoughts-f1497409c5f49f6aa74c3bbe207bce9cef053909.zip |
rss: Fix header link and redirect broken links
I noticed a lot of odd `/rss.xml' requests in my 404 log. As it turns out,
it was my fault. This both fixes it and adds a redirect in case someone
tries to do this manually. I suppose that'd be convenient.
Diffstat (limited to 'src')
-rw-r--r-- | src/header.tpl.htm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/header.tpl.htm b/src/header.tpl.htm index 67b8610..77b7cbc 100644 --- a/src/header.tpl.htm +++ b/src/header.tpl.htm @@ -3,7 +3,7 @@ <head> <meta charset="utf-8" /> <link rel="alternate" title="RSS Feed" - href="rss.xml" type="application/rss+xml" /> + href="/rss" type="application/rss+xml" /> <title>@PAGE_TITLE@Mike Gerwitz</title> <meta name="viewport" content="initial-scale=1.0" /> <style> |