{% import "macros/feed.html" as feed_macros %} {%- block title -%} {% if page.title %}{{ page.title }} {% elif section.title %}{{ section.title }} {% elif config.title %}{{ config.title }} {% endif %} {%- endblock -%} {%- if config.generate_feeds %} {%- for feed in config.feed_filenames -%} {{ feed_macros::link_alternate(filename=feed, title=config.title) }} {% endfor -%} {%- block feeds -%}{%- endblock -%} {% endif %} {% set css = load_data(path="style.css") %} {%- if page.extra.stylesheets or section.extra.stylesheets %} {%- for stylesheet in page.extra.stylesheets | default(value=section.extra.stylesheets) %} {% endfor -%} {%- endif %} {%- if config.extra.favicon %} {% set image_meta = get_image_metadata(path=config.extra.favicon) -%} {%- if image_meta.mime is ending_with("png") %} {% set resized_image = resize_image(path=config.extra.favicon, width=180, height=180, op="fit") -%} {%- endif -%} {%- elif config.extra.favicon_emoji %} {%- endif %} {% if current_url %} {% endif %} {% if page -%} {% else -%} {% endif -%} {% if page.title %} {% endif %} {% if page.extra.preview_img %} {% endif %} {%- if page.authors -%} {%- for author in page.authors %} {%- endfor -%} {%- elif page and config.author %} {%- endif %} {%- block description -%} {%- if config.description %} {%- endif %} {%- endblock %} {%- if page.description -%} {% elif page.summary -%} {%- set inline_summary = page.summary | linebreaksbr | replace(from="
", to=" ") | striptags -%} {%- elif section.description -%} {% elif config.description -%} {% endif -%} {%- if page.date %} {%- endif -%} {%- if page.updated %} {%- endif -%} {%- if page.taxonomies and page.taxonomies.categories %} {%- endif -%} {%- if page.taxonomies and page.taxonomies.tags -%} {%- for tag in page.taxonomies.tags %} {%- endfor -%} {%- endif -%}
{% filter indent -%}{%- filter indent -%} {%- block header -%} {% include "partials/header.html" %} {%- endblock -%} {%- endfilter -%}{%- endfilter %}
{% block main %}{% endblock %}
{% set script = load_data(path="js/script.js") %}