Ability to add latex to pages

This commit is contained in:
Barry Steyn
2013-05-09 21:20:21 -04:00
parent a4df915490
commit 86c0725f24
2 changed files with 4 additions and 0 deletions

View File

@@ -30,6 +30,9 @@ between the `<head>` parameters (for the NotMyIdea template, this file is base.h
{% if article and article.latex %}
{{ article.latex }}
{% endif %}
{% if page and page.latex %}
{{ article.latex }}
{% endif %}
Usage
-----

View File

@@ -45,3 +45,4 @@ def register():
Plugin registration
"""
signals.article_generate_context.connect(addLatex)
signals.pages_generate_context.connect(addLatex)