{% extends "_base.html" %} {% block page %}homepage{% endblock page%} {% block lang %}{% if section.extra.lang %}{{ section.extra.lang }}{% else %}{{ section.lang }}{% endif %}{% endblock lang %} {% block title %}{{ config.title }}{% endblock title %} {% block desc %} {% endblock desc %} {% block seo -%} {{ super() }} {%- set home = "Home" -%} {% set og_title = home -%} {% if config.title -%} {% set title = home ~ " | " ~ config.title -%} {% else -%} {% set title = home -%} {% endif -%} {{ macros::seo(title=title, og_title=og_title, author=author, description=description, site_url=site_url, image=image, image_height=image_height, image_width=image_width) }} {%- endblock seo %} {% block head %} {% if config.markdown.highlight_theme == "css" %} {% endif %} {% if section.extra.math %} {% endif %} {% endblock head %} {% block content %}
avatar
{{ config.extra.blog_name }}
{{ config.extra.bio }}
{% if config.extra.homepage_layout == 'about' %}
{{ section.content | trim | safe }}
{% elif config.extra.homepage_layout == 'list' %} {% set blog_section_path = config.extra.blog_section_path | trim_start_matches(pat="/") %} {% set section_md_path = blog_section_path ~ "/_index.md" %} {% set blog_section = get_section(path=section_md_path) %}
{% if config.extra.blog_categorized %} {% for category,posts in blog_section.pages | group_by(attribute="taxonomies.categories.0") -%}
{{ category }}
{% for post in posts %} {{ post.title }} {{ post.date | date}} {% endfor %}
{% endfor %} {% else %}
{% for post in blog_section.pages %} {{ post.title }} {{ post.date | date}} {% endfor %}
{% endif %}
{% endif %} {% include "_footer.html" %}
{% endblock content %} {% block script %} {% if section.extra.mermaid %} {% endif %} {% endblock script %}