/usr/lib/python3/dist-packages/pweave/templates.py is in python3-pweave 0.25-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | from __future__ import print_function, division, absolute_import, unicode_literals
htmltemplate = {}
htmltemplate["header"] = \
"""
<!DOCTYPE html>
<HTML>
<HEAD>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
extensions: ["tex2jax.js"],
jax: ["input/LaTeX", "output/HTML-CSS"],
"HTML-CSS": { availableFonts: ["TeX"] }
});
</script>
<script type="text/javascript"
src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
</script>
<style>
%(theme_css)s
</style>
<style>
%(pygments_css)s
</style>
<style>
h1.title {margin-top : 20px}
img {max-width : 100%%}
</style>
</HEAD>
<BODY>
<div class ="container">
<div class = "row">
<div class = "col-md-12 twelve columns">
"""
htmltemplate["footer"]="""
<HR/>
<div class="footer">
<p>Published from <a href="%(source)s">%(source)s</a>
using <a href="http://mpastell.com/pweave">Pweave</a> %(version)s
on %(time)s.<p></div>
</div>
</div>
</div>
</BODY>
</HTML>
"""
|