From c5a9940e81854ad64b4a256bb5f90fec13a7fe58 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Tue, 5 Jun 2018 10:04:41 +0100 Subject: [PATCH] Add xanadoc realize template. --- sourcing/templates/realize.html | 49 +++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 sourcing/templates/realize.html diff --git a/sourcing/templates/realize.html b/sourcing/templates/realize.html new file mode 100644 index 0000000..522e75e --- /dev/null +++ b/sourcing/templates/realize.html @@ -0,0 +1,49 @@ +{% extends "base.html" %} + +{% block title %}{{ item.title() }}{% endblock %} + +{% block content %} + + + +

{{ self.title() }}

+ +
+
+ {%- for start, line in iter_lines(doc) if line != '\r\n' -%} + {#

{% if line != "\n" and line != "\r\n" %}{{ line }}{% else %} {% endif +%}

#} +

{{ nbsp_at_start(line) }}

+ {%- endfor -%} +
+
+{% endblock %} + +{% block scripts %} + + +{% endblock %}