~hristoast/hristoast

fe7dc4e8e44654a4691165a87818d15e77d09caa — Hristos N. Triantafillou 4 months ago ebcd79e
More comments, and some cleanup
1 files changed, 26 insertions(+), 4 deletions(-)

M soupault.conf
M soupault.conf => soupault.conf +26 -4
@@ 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 = """
<div class="entry">
<h4><a href="{{url}}">{{title}}</a></h4>
<p>Posted: <time>{{date}}</time></p>
<p>{{excerpt}}</p>
<a href="{{url}}">Read more...</a>
  <h4>
    <a href="{{url}}">
      {{title}}
    </a>
  </h4>
  <p>
    Posted: <time>{{date}}</time>
  </p>
  <p>
    {{excerpt}}
  </p>
  <a href="{{url}}">
    Read more...
  </a>
</div>
"""

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