From fe7dc4e8e44654a4691165a87818d15e77d09caa Mon Sep 17 00:00:00 2001 From: "Hristos N. Triantafillou" Date: Tue, 5 Jan 2021 15:50:41 -0600 Subject: [PATCH] More comments, and some cleanup --- soupault.conf | 30 ++++++++++++++++++++++++++---- 1 file changed, 26 insertions(+), 4 deletions(-) diff --git a/soupault.conf b/soupault.conf index d8efd94..33e5f61 100644 --- a/soupault.conf +++ b/soupault.conf @@ -44,6 +44,9 @@ date_formats = ["%F"] extract_after_widgets = ['last-modified'] +# +# What fields do I care about, and where do they come from? +# [index.fields] date = { selector = [ "#post-date", "time" ] } excerpt = { selector = [ "#post-excerpt", "p" ] } @@ -67,13 +70,26 @@ index_selector = "div#blog-all" index_item_template = """
-

{{title}}

-

Posted:

-

{{excerpt}}

-Read more... +

+ + {{title}} + +

+

+ Posted: +

+

+ {{excerpt}} +

+ + Read more... +
""" +# +# Generate an Atom feed from an index that's been rendered to a page. +# [widgets.atom] widget = "atom" profile = "live" @@ -87,6 +103,9 @@ feed_subtitle = "The personal website of Hristos N. Triantafillou" feed_logo = "https://hristos.co/img/slime.png" +# +# Generate a sitemap from the main index. +# [widgets.sitemap] widget = "sitemap" profile = "live" @@ -108,6 +127,9 @@ selector = "nav" active_link_class = "bold" +# +# Provide a link to the source code of a given page. +# [widgets.source-link] widget = "source-link" selector = "div#source-link" -- 2.30.2