Oleksandr Gavenko
2016-02-22 00:15:33 UTC
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
_______________________________________________
Docutils-users mailing list
Docutils-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/docutils-users
Please use "Reply All" to reply to the list.
<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
_______________________________________________
Docutils-users mailing list
Docutils-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/docutils-users
Please use "Reply All" to reply to the list.