summaryrefslogtreecommitdiff
path: root/.templates
diff options
context:
space:
mode:
authorOwen Jacobson <owen.jacobson@grimoire.ca>2013-01-17 10:51:53 -0500
committerOwen Jacobson <owen.jacobson@grimoire.ca>2013-01-17 10:51:53 -0500
commitbe4a448f4c831fdcd5c7da82d244bd5be2495fc1 (patch)
treecb0dcd41e0f8e6f4f597c8f41013215ff9b984ae /.templates
parent6cc8806d559f5ab884f6104a8dfdc6639e022258 (diff)
Document Github info now links to page history and raw markdown.
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