~hristoast/hristoast

ref: 49893c9af5470d894990de5bd58734de8c714061 hristoast/soupault.conf -rw-r--r-- 1.9 KiB
49893c9aHristos N. Triantafillou Filter out pages without a title as well as a date 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# -*- toml -*-
# hristoast - soupault.conf
# Copyright (C) 2019  Hristos N. Triantafillou
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

[settings]
  clean_urls = true
  generator_mode = true
  strict = true
  site_dir = "site"
  build_dir = "build"
  page_file_extensions = ["html"]
  ignore_extensions = ["draft"]
  complete_page_selector = "html"
  default_template = "templates/main.html"
  content_selector = "div#content"
  doctype = "<!DOCTYPE html>"

[index]
  index = true
  index_selector = "#blog-index"
  index_processor = "scripts/index.py"
  index_title_selector = "h1#title"
  index_date_selector = ["time#post-date", "time"]
  index_excerpt_selector = ["p#post-excerpt", "p"]
  newest_entries_first = true

[plugins.insert-if]
  file = "plugins/insert-if.lua"

[widgets.asciinema-player-js]
  widget = "insert-if"
  html = "<script src='/asciinema/asciinema-player.js' type='text/javascript'></script>"
  selector = "body"
  check_selector = "asciinema-player"

[widgets.page-title]
  widget = "title"
  selector = "h1#title"
  default = "Hristos N. Triantafillou"
  append = " | Hristos N. Triantafillou"

[widgets.table-of-contents]
  widget = "toc"
  selector = "#toc"
  heading_links = true
  heading_link_text = "→ "
  heading_link_class = "here"
  min_level = 2
  numbered_list = false
  toc_list_class = "toc"
  toc_class_levels = false
  use_heading_slug = true