{{ post.title }}
{% if post.metadata.get('description') %}{{ post.metadata.get('description') }}
{% endif %} {% if post.tags %} {% endif %}{% extends "base.html" %} {# Author Archive Template Displays all posts/pages by a specific author with stats and bio. Uses query indexes for O(1) author lookups. URL Pattern: /authors/jane-smith/ Required page metadata: - author_name: "Jane Smith" (the author key to look up) Optional metadata: - avatar: "/images/jane.jpg" - bio: "Author bio text" - social: {twitter: "@jane", github: "janesmith"} - section_filter: "blog" (only show posts from specific section) Usage: Create content/authors/jane-smith.md: --- title: "Jane Smith" author_name: "Jane Smith" avatar: "/images/jane.jpg" bio: "Senior developer and technical writer" template: author.html social: twitter: "@janesmith" github: "janesmith" email: "jane@example.com" --- Context variables: - page: Current author page - page.metadata.author_name: The author to query - site.indexes.author: Author index #} {% from 'partials/navigation-components.html' import breadcrumbs %} {% from 'partials/content-components.html' import tag_list %} {% set author_name = page.metadata.author_name | default(page.title) %} {% set section_filter = page.metadata.get('section_filter') %} {% block content %} {{ breadcrumbs(page) }}
{% endblock %}