From: Oleksandr G. <gav...@gm...> - 2016-02-22 00:15:55
|
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/ |