
[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>
  """