deltas for soupault config

This commit is contained in:
Alexander 2025-06-13 19:43:00 -04:00
parent afd9958eea
commit 1e88f77d79
3 changed files with 34 additions and 166 deletions

View file

@ -0,0 +1,34 @@
--- soupault.toml 2025-06-13 19:27:38.166061625 -0400
+++ acl.cool/soupault.toml 2025-06-13 19:34:23.112853727 -0400
@@ -134,3 +134,31 @@
# By default this widget deletes all elements matching the selector,
# but you can set this option to false to delete just the first one
delete_all = true
+
+[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>
+ """