Merge pull request #22 from barrysteyn/master

Ability for latex in page
This commit is contained in:
Alexis Metaireau
2013-05-16 22:13:35 -07:00
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 %}
{{ page.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)