diff options
author | Eric Wong <e@80x24.org> | 2016-01-07 01:19:11 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-01-07 01:33:37 +0000 |
commit | c98abe82b6b3d16d5f9e32b4ecdb017eabcdd83e (patch) | |
tree | 7259cefb898e29bcc1994d35f8b7f926fd1cfcbf | |
parent | 73c6144ed3dc04a124d499fd19ca44c2ec5a13f7 (diff) | |
download | olddoc-c98abe82b6b3d16d5f9e32b4ecdb017eabcdd83e.tar.gz |
head: use old-style <meta> tags for compatibility
This wastes some bandwidth, but we are olddoc, after all, and care about old browsers more than new ones.
-rw-r--r-- | lib/oldweb/_head.rhtml | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/oldweb/_head.rhtml b/lib/oldweb/_head.rhtml index 9a9242c..ae4d5e9 100644 --- a/lib/oldweb/_head.rhtml +++ b/lib/oldweb/_head.rhtml @@ -1,7 +1,11 @@ -<meta charset="<%= @options.charset %>"><title><%= h @title %></title><% -if rdoc_url = @old_cfg['rdoc_url'] %><link +<title><%= h @title %></title><% +if rdoc_url = @old_cfg['rdoc_url'] +%><link rel="alternate" title="Atom feed" href="<%= rdoc_url %>NEWS.atom.xml" type="application/atom+xml" /><% -end %> +end +%><meta +http-equiv="Content-Type" +content="text/html; <%= @options.charset %>"> |