deltas
This commit is contained in:
parent
1e88f77d79
commit
9ff0f33180
5 changed files with 42 additions and 35 deletions
27
acl.cool/soupault.toml.frag
Normal file
27
acl.cool/soupault.toml.frag
Normal 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>
|
||||
"""
|
|
@ -1,34 +0,0 @@
|
|||
--- 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>
|
||||
+ """
|
Loading…
Add table
Add a link
Reference in a new issue