Commit e80edc8c authored by Goutte's avatar Goutte

Fix that ugly thing right before it disappears.

(while solving another goulish git merge)
parent 4013c59d
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
{% set show_language = true %} {% set show_language = true %}
{% if uri.paths(0) == "lesson" %} {% if uri.paths and uri.paths(0) == "lesson" %}
{% set base_lang_url = base_url_simple ~ grav.language.getLanguageURLPrefix(language) %} {% set base_lang_url = base_url_simple ~ grav.language.getLanguageURLPrefix(language) %}
{% set lang_url = base_lang_url ~ uri.path %} {% set lang_url = base_lang_url ~ uri.path %}
{% else %} {% else %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment