@@ -31,6 +32,7 @@

{{ title }}

+ {% if author %} {% for author_name in author %} {% set author_data = SITE_AUTHORS | selectattr("name", "equalto", author_name) | first %} {% if author_data and author_data.bio %} @@ -39,6 +41,7 @@

About {{author_data.name}}

{{author_data.bio|e}}

{% endif %} {% endfor %} + {% endif %}
{% endblock %} From 2c0bc95b4c582f994726de1316a934c78a9e4e48 Mon Sep 17 00:00:00 2001 From: Jay Miller Date: Sat, 17 Jan 2026 10:47:26 -0500 Subject: [PATCH 3/4] Allow missing author field, but enforce non-empty list if present --- .frontmatter_check.yaml | 1 - scripts/check_author_list.py | 5 +++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.frontmatter_check.yaml b/.frontmatter_check.yaml index a28e91b..8dd683e 100644 --- a/.frontmatter_check.yaml +++ b/.frontmatter_check.yaml @@ -8,4 +8,3 @@ patterns: - field_name: lang - field_name: layout - field_name: title - - field_name: author diff --git a/scripts/check_author_list.py b/scripts/check_author_list.py index 8ba6db4..f02b2a4 100644 --- a/scripts/check_author_list.py +++ b/scripts/check_author_list.py @@ -17,6 +17,11 @@ def check_authors(): if not isinstance(author, list): print(f"Error: Author in {file_path} is not a list: {author}") failed = True + elif len(author) == 0: + print( + f"Error: Author list in {file_path} is empty. Remove the field if there is no author." + ) + failed = True except Exception as e: print(f"Error processing {file_path}: {e}") failed = True From 0c2960b1d7b61e6962080bc22d6f51462e85cb25 Mon Sep 17 00:00:00 2001 From: Jay Miller Date: Sat, 17 Jan 2026 10:49:04 -0500 Subject: [PATCH 4/4] Handle missing author field in event list template --- _layouts/event-list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_layouts/event-list.html b/_layouts/event-list.html index d3a71a6..b943160 100644 --- a/_layouts/event-list.html +++ b/_layouts/event-list.html @@ -7,7 +7,7 @@

{{title}}

{{ page.title }}

- {{page.author}} {{page.date}} + {% if page.author %}{{page.author | join(", ")}} {% endif %}{{page.date}} {% endfor %}