Merge pull request #22 from barrysteyn/master
Ability for latex in page
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user