Ability for latex in page
@@ -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
-----
@@ -45,3 +45,4 @@ def register():
Plugin registration
"""
signals.article_generate_context.connect(addLatex)
+ signals.pages_generate_context.connect(addLatex)