You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
66 lines
1.7 KiB
66 lines
1.7 KiB
{#!
|
|
# SeaCMS 1.0.0-alpha.2 (https://git.defis.info/SeaCMS/seacms)
|
|
# Licensed under EUPL (https://git.defis.info/SeaCMS/seacms/src/branch/master/LICENCE)
|
|
#}
|
|
{% set index = pages["index"].meta %}
|
|
|
|
{% if current_page.id != "index" %}
|
|
{% set single_page_mode = true %}
|
|
{% endif %}
|
|
|
|
{% if not index.portfolio.disabled %}
|
|
{% set portfolio_items = [] %}
|
|
{% for page in pages() %}
|
|
{% if not page.hidden %}
|
|
{% set portfolio_items = portfolio_items|merge([page]) %}
|
|
{% endif %}
|
|
{% endfor %}
|
|
|
|
{% if not portfolio_items or "Pico is a stupidly simple" in index.description %}
|
|
{% set portfolio_items = config.theme_config.demo.portfolio_items %}
|
|
{% endif %}
|
|
{% endif %}
|
|
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
{% include "includes/head.twig" %}
|
|
|
|
<body id="page-top">
|
|
|
|
{% include "includes/yaml_error.twig" %}
|
|
|
|
{% include "includes/header.twig" %}
|
|
|
|
{% if current_page.title == "Welcome" %}
|
|
{% include "includes/home.twig" %}
|
|
{% endif %}
|
|
|
|
{#!
|
|
|
|
{% if single_page_mode %}
|
|
{% include "includes/content.twig" %}
|
|
{% endif %}
|
|
|
|
{% if not index.portfolio.disabled and not single_page_mode %}
|
|
{% include "includes/portfolio.twig" %}
|
|
{% endif %}
|
|
|
|
{% if not index.about.disabled and not single_page_mode %}
|
|
{% include "includes/about.twig" %}
|
|
{% endif %}
|
|
|
|
{% if not index.contact.disabled and not single_page_mode %}
|
|
{% include "includes/contact.twig" %}
|
|
{% endif %}
|
|
|
|
{% if not index.portfolio.disabled and not single_page_mode %}
|
|
{% include "includes/portfolio_modals.twig" %}
|
|
{% endif %}
|
|
|
|
#}
|
|
|
|
{% include "includes/footer.twig" %}
|
|
|
|
</body>
|
|
</html>
|
|
|