summaryrefslogtreecommitdiff
path: root/.templates
diff options
context:
space:
mode:
Diffstat (limited to '.templates')
-rw-r--r--.templates/base.html2
-rw-r--r--.templates/document.html4
2 files changed, 6 insertions, 0 deletions
diff --git a/.templates/base.html b/.templates/base.html
index a6ecffd..a3e3f7a 100644
--- a/.templates/base.html
+++ b/.templates/base.html
@@ -11,7 +11,9 @@
{{ config['wiki-name']|e }} —
{% endif %}
Powered by <a href="http://markdoc.org/">Markdoc</a>.
+ {% block github_info %}
<a href="https://github.com/ojacobson/grimoiredotca">See it on GitHub</a>.
+ {% endblock %}
</p>
</div>
{% endblock %} \ No newline at end of file
diff --git a/.templates/document.html b/.templates/document.html
index 8051277..cb57103 100644
--- a/.templates/document.html
+++ b/.templates/document.html
@@ -17,4 +17,8 @@
<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
</div>
{{ super() }}
+{% endblock %}
+
+{% block github_info %}
+<a href="https://raw.github.com/ojacobson/grimoiredotca/master/wiki/{{ path }}.md">See this page on GitHub</a> (<a href="https://github.com/ojacobson/grimoiredotca/commits/master/wiki/{{ path }}.md">history</a>).
{% endblock %} \ No newline at end of file