~jhn/pwd.re

ref: 3bbdeeb4cac0a5c2172f0b02cecf048c36a4b237 pwd.re/soupault.toml -rw-r--r-- 1.3 KiB
3bbdeeb4 — Johan Add build manifest 8 months 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
[settings]
  soupault_version = "3.2.0"
  strict = true
  verbose = false
  debug = false
  site_dir = "site"
  build_dir = "build"
  page_file_extensions = ["htm", "html", "md", "rst", "adoc"]
  ignore_extensions = ["draft"]
  generator_mode = true
  complete_page_selector = "html"
  default_template_file = "templates/main.html"
  default_content_selector = "article"
  default_content_action = "append_child"
  keep_doctype = true
  doctype = "<!DOCTYPE html>"
  pretty_print_html = true
  clean_urls = false
  plugin_discovery = true
  plugin_dirs = ["plugins"]

[custom_options]
  base_url = "https://pwd.re"

[index]
  index = true
  force_indexing_path_regex = "(etc|writings)"

[index.fields]
  publish_date = { selector = ["span#publish-date"] }
  updated_date = { selector = ["span#updated-date"] }

# Takes the content of the first <h1> and inserts it into the <title>
[widgets.page-title]
  widget = "title"
  selector = "h1"
  default = "Homepage"
  append = " &mdash; pwd.re"
  force = false

# Inserts a generator meta tag in the page <head>
[widgets.generator-meta]
  widget = "insert_html"
  html = '<meta name="generator" content="soupault">'
  selector = "head"

[widgets.check-links]
  widget = "check_links"

[widgets.sitemap]
  widget = "sitemap"
  sitemap_file = "sitemap.xml"