{#--------- the following block can be replaced ---------#} {# title is displayed in browser tab #} {%- block title %}{{config.extra.name}} | {%- if page %} {{page.title}} {%- elif section %} {{section.title}} {%- endif %} {%- endblock title %} {# meta description is sometimes used by search engines to provide description -#} {%- block description -%} {%- if page -%} {%- elif section -%} {%- else -%} {%- endif -%} {%- endblock description -%} {#- keyword helps some search engines knowing what the page is about -#} {%- block keywords %} {%- if page -%} {% if page.taxonomies.tags %}{% endif %} {%- elif section -%} {% if section.taxonomies.tags %}{% endif %} {%- else -%} {%- endif -%} {%- endblock keywords -%} {#- you can add meta tags in meta block -#} {% block meta %}{% endblock meta %} {# you can add extra things in the head #} {%- block extrahead %}{% endblock extrahead %} {#--------- the following are included in every page inheriting from index ---------#} {# add canonical url if the website is served at multiple places #} {%- if page -%} {%- elif section -%} {%- endif -%} {# -------- the following are only included if argument is given in front matter ---------#} {%- if page -%} {%- if page.extra.thumbnail %}{% endif %} {%- if page.extra.custom_css %}{% endif %} {%- elif section -%} {%- if section.extra.thumbnail %}{% endif %} {%- if section.extra.custom_css %}{% endif %} {%- else -%} {%- endif %} {% block header %}{% endblock header %} {% include "nav.html" %} {% block content %}{% endblock content %} {% include "footer.html" %}