Commit 96f7477c authored by alexandre's avatar alexandre

Fix issue with flatpage base url

parent ef65eabe
{% load flatpages %}
{% get_flatpages '/la-notation-w/' as about_pages_fr %}
{% get_flatpages '/la-notation-w/en/' as about_pages_en %}
{% get_flatpages '/fr/la-notation-w/' as about_pages_fr %}
{% get_flatpages '/en/la-notation-w/' as about_pages_en %}
<div class="is-en">
{% for page in about_pages %}
......
{% load flatpages %}
{% get_flatpages '/credits/' as credits_pages_fr %}
{% get_flatpages '/credits/en/' as credits_pages_en %}
{% get_flatpages '/fr/credits/' as credits_pages_fr %}
{% get_flatpages '/en/credits/' as credits_pages_en %}
<div class="is-fr">
{% for page in credits_pages_fr %}
......
{% load flatpages %}
{% get_flatpages '/introduction/' as intro_pages_fr %}
{% get_flatpages '/introduction/en/' as intro_pages_en %}
{% get_flatpages '/fr/introduction/' as intro_pages_fr %}
{% get_flatpages '/en/introduction/' as intro_pages_en %}
<div class="intro body-text body-text--about">
{# Poor man translation: only show selected language using CSS #}
......
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