olddoc user/dev discussion/patches/bugs/etc
 help / color / mirror / code / Atom feed
From: Eric Wong <e@80x24.org>
To: olddoc-public@80x24.org
Cc: Eric Wong <e@80x24.org>
Subject: [PATCH 4/4] head: use old-style <meta> tags for compatibility
Date: Thu,  7 Jan 2016 01:36:36 +0000	[thread overview]
Message-ID: <20160107013636.9998-5-e@80x24.org> (raw)
In-Reply-To: <20160107013636.9998-1-e@80x24.org>

This wastes some bandwidth, but we are olddoc, after all,
and care about old browsers more than new ones.
---
 lib/oldweb/_head.rhtml | 10 +++++++---
 1 file 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 %>">
-- 
EW


  parent reply	other threads:[~2016-01-07  1:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-07  1:36 [PATCH 0/4] bunch of updates for 1.2 Eric Wong
2016-01-07  1:36 ` [PATCH 1/4] bold class bar to highlight current page Eric Wong
2016-01-07  1:36 ` [PATCH 2/4] copyright updates for 2016 Eric Wong
2016-01-07  1:36 ` [PATCH 3/4] tail: shorten the footer section Eric Wong
2016-01-07  1:36 ` Eric Wong [this message]
2016-01-07  3:37 ` [PATCH 5/4] nodoc some internals Eric Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://80x24.org/olddoc/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160107013636.9998-5-e@80x24.org \
    --to=e@80x24.org \
    --cc=olddoc-public@80x24.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/olddoc.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).