Skip to content
Permalink
Browse files
Avoid undefined variables.
  • Loading branch information
felixfontein committed Jun 16, 2017
1 parent 342779a commit 5f5f6db1a1058700d88ed5b058ae8a293f582a19
@@ -42,7 +42,7 @@ lang="{{ lang }}">
{% if meta_generator_tag %}
<meta name="generator" content="Nikola (getnikola.com)">
{% endif %}
{{ feeds_translations.head(classification=None, kind=kind, other=False) }}
{{ feeds_translations.head(classification=None, kind='index', other=False) }}
<link rel="canonical" href="{{ abs_link(permalink) }}">

{% if favicons %}
@@ -101,7 +101,7 @@ lang="{{ lang }}">

{# This function is deprecated; use feed_helper directly. #}
{% macro html_feedlinks() %}
{{ feeds_translations.head(classification=None, kind=kind, other=False) }}
{{ feeds_translations.head(classification=None, kind='index', other=False) }}
{% endmacro %}

{% macro html_translations() %}
@@ -42,7 +42,7 @@ lang="${lang}">
% if meta_generator_tag:
<meta name="generator" content="Nikola (getnikola.com)">
% endif
${feeds_translations.head(classification=None, kind=kind, other=False)}
${feeds_translations.head(classification=None, kind='index', other=False)}
<link rel="canonical" href="${abs_link(permalink)}">

%if favicons:
@@ -101,7 +101,7 @@ lang="${lang}">

### This function is deprecated; use feed_helper directly.
<%def name="html_feedlinks()">
${feeds_translations.head(classification=None, kind=kind, other=False)}
${feeds_translations.head(classification=None, kind='index', other=False)}
</%def>

<%def name="html_translations()">
@@ -45,7 +45,7 @@ lang="{{ lang }}">
{% if meta_generator_tag %}
<meta name="generator" content="Nikola (getnikola.com)">
{% endif %}
{{ feeds_translations.head(classification=None, kind=kind, other=False) }}
{{ feeds_translations.head(classification=None, kind='index', other=False) }}
<link rel="canonical" href="{{ abs_link(permalink) }}">

{% if favicons %}
@@ -156,7 +156,7 @@ lang="{{ lang }}">
{% endmacro %}

{% macro html_feedlinks() %}
{{ feeds_translations.head(classification=None, kind=kind, other=False) }}
{{ feeds_translations.head(classification=None, kind='index', other=False) }}
{% endmacro %}

{% macro html_translations() %}
@@ -45,7 +45,7 @@ lang="${lang}">
% if meta_generator_tag:
<meta name="generator" content="Nikola (getnikola.com)">
% endif
${feeds_translations.head(classification=None, kind=kind, other=False)}
${feeds_translations.head(classification=None, kind='index', other=False)}
<link rel="canonical" href="${abs_link(permalink)}">

%if favicons:
@@ -156,7 +156,7 @@ lang="${lang}">
</%def>

<%def name="html_feedlinks()">
${feeds_translations.head(classification=None, kind=kind, other=False)}
${feeds_translations.head(classification=None, kind='index', other=False)}
</%def>

<%def name="html_translations()">

0 comments on commit 5f5f6db

Please sign in to comment.