add <meta> tag to rst2html?

Oleksandr Gavenko <[email protected]>
Newsgroups gmane.text.docutils.user
Organization Oleksandr Gavenko <[email protected]>, http://defun.work/
Message-ID <[email protected]>
Modern HTML5 text usually have:

  <meta name=viewport content="width=device-width, initial-scale=1">

in <head>.

I can't understand how can I pass this line to resulted template.

In ``rst2html --help`` there is:

  HTML-Specific Options
  ---------------------
  --template=<file>       Specify the template file (UTF-8 encoded).  Default is
                          "/usr/share/docutils/writers/html4css1/template.txt".

``template.txt`` is:

  %(head_prefix)s
  %(head)s
  %(stylesheet)s
  %(body_prefix)s
  %(body_pre_docinfo)s
  %(docinfo)s
  %(body)s
  %(body_suffix)s

What changes make to template in order to include additional <meta> tag?

*PS* I can precess HTML files with sed as quick solution.

-- 
http://defun.work/


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.