Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Jinja2 macro definitions requires an argument.

Signed-off-by: Rasmus Andersson <rasmus@flajm.com>
  • Loading branch information...
commit 314c6b130e4464c5ff826fc654ddb1be5d92c551 1 parent 9c2f1fd
@lemonad lemonad authored committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/source/_templates/layout.html
View
4 docs/source/_templates/layout.html
@@ -4,7 +4,7 @@
{%- endblock %}
{%- set reldelim1 = reldelim1 is not defined and '&nbsp;&rarr;&nbsp;&nbsp;' or reldelim1 %}
{%- set reldelim2 = reldelim2 is not defined and '&nbsp;&nbsp;' or reldelim2 %}
-{%- macro relbar %}
+{%- macro relbar() %}
<div class="related">
<h3>Navigation</h3>
<ul>
@@ -28,7 +28,7 @@
</ul>
</div>
{%- endmacro %}
-{%- macro sidebar %}
+{%- macro sidebar() %}
{%- if builder != 'htmlhelp' %}
<div class="sphinxsidebar">
<div class="sphinxsidebarwrapper">
Please sign in to comment.
Something went wrong with that request. Please try again.