{% extends "_default/base.html" %} {% block content %} {% if page.taxonomies.people %} {% set people = get_section(path="people/_index.md") %} {% set pages_str = people.pages | json_encode() | as_str %} {% if pages_str is containing(page.taxonomies.people[0]) %} {% set author_path = 'people/' ~ page.taxonomies.people[0] ~ '/index.md' %} {% set author = get_page(path=author_path) %} {% endif %} {% endif %} {% set split = page.content | split(pat="ourphone.tf") %} {% if split | length < 2 %} {% set content=page.content %} {% else %} {% set content="" %} {% for part in split %} {% if part is starting_with("/product") %} {% set split_part=part | split(pat='/">' ) %} {% set link=split_part[0] %} {% set link=link | replace(from="/product/post" , to="/product" ) %} {% set link=link | replace(from="_" , to="-" ) %} {% set rest_part=split_part | slice(start=1) | join(sep='/"' ) %} {% set part=link ~ '/">' ~ rest_part %} {% endif %} {% if loop.first %} {% set_global content=part%} {% else %} {% set_global content=content ~ "ourphone.tf" ~ part%} {% endif %} {% endfor %} {% endif %}

{{ page.title }}

{{ page.description }}

{% set img_url = get_url(path='/' ~ page.relative_path | replace(from='_', to='-') | replace(from='index.md', to=page.extra.imgPath)) %} {{page.title ~ 'Picture'}}
{{ content | safe }}
{% endblock content %}