{% 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 head %} {% if config.markdown.highlight_theme == "css" %} {% endif %} {% if section.extra.math %} {% endif %} {% endblock head %} {% block content %}
avatar
{{ config.extra.name }} {% if config.extra.display_id -%} @{{ config.extra.id }} {% endif -%}
{{ 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 %}
{% endblock content %} {% block script %} {% if section.extra.mermaid %} {% endif %} {% endblock script %}