This commit is contained in:
Alexander 2025-06-14 09:15:37 -04:00
parent 1e88f77d79
commit 9ff0f33180
5 changed files with 42 additions and 35 deletions

View file

@ -0,0 +1,27 @@
[index]
index = true
# sort_descending = true
# sort_type = "calendar"
# date_formats = ["%F"]
# strict_sort = true
[index.fields]
[index.fields.title]
selector = ["h1"]
# [index.fields.date]
# selector = ["time"]
# extract_attribute = "datetime"
# fallback_to_content = true
[index.fields.abstract]
selector = ["p"]
[index.views.writings-index]
index_selector = "#writings"
section = "writings"
index_item_template = """
<p><a href="{{url}}">{{title}}</a>
<br>{{abstract}}</p>
"""