~captainepoch/blogtheme

blogtheme/config.toml -rw-r--r-- 2.1 KiB
a236c7d2 — Adolfo Santiago Removed pagination, added Categories taxonomy 4 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
# Basic configuration
baseurl = "https://domain.tld"
title = "TITLE"
languageCode = "en"
defaultContentLanguage = "en-us"
enableInlineShortcodes = true
footnoteReturnLinkContents = "^"

# Theme to use
theme = "blogtheme"

# Copyright
copyright = "© 2014-present. Author Surname. All rights reserved."

# Blog params
[params]
  referrer = "always"
  dateFmt  = "January 2, 2006"
  author = "Author Surname"
  description = """
  Long descrption
  """
  keywords = "key1, key2, key3"
  favicon = "/img/favicon.ico"

  # SourceHut mailbox comment
  srht_public_inbox = "https://lists.sr.ht/~USER/PUBLIC_INBOX"
  srht_mail = "~USER/PUBLIC_INBOX@lists.sr.ht"
  srht_subject = true

# Taxonomies
[taxonomies]
  category = "categories"

# Links format
[permalinks]
  post = "/:year/:month/:day/:slug"
  page = "/:slug"

# Menu
[menu]
  [[menu.header]]
    url = "https://git.sr.ht/"
	name = "Git"
	weight = 1
  [[menu.header]]
    url = "/misc"
	name = "Misc"
	weight = 2
  [[menu.header]]
    url = "/contact"
	name = "Contact"
	weight = 3
  [[menu.header]]
    url = "/index.xml"
    name = "RSS"
    weight = 4

  [[menu.footer]]
    url = "/license"
    name = "License"
    weight = 1
  [[menu.footer]]
    url = "/privacy-policy"
    name = "Privacy Policy"
    weight = 2

# Output formats
[outputFormats]
  [outputFormats.RSS]
    mediatype = "application/rss"
    baseName = "index"

# Setup goldmark
[markup]
  defaultMarkdownHandler = "goldmark"
  [markup.goldmark]
    [markup.goldmark.extensions]
      definitionList = true
      footnote = true
      linkify = true
      strikethrough = true
      table = true
      taskList = true
      typographer = true
    [markup.goldmark.parser]
      attribute = true
      autoHeadingID = true
      autoHeadingIDType = "github"
	[markup.goldmark.renderer]
      hardWraps = false
      unsafe = false
      xhtml = false
  [markup.highlight]
    codeFences = true
    guessSyntax = false
    hl_Lines = ""
    lineNoStart = 1
    lineNos = false
	lineNumbersInTable = true
    noClasses = true
    style = "friendly"
    tabWidth = 4
  [markup.tableOfContents]
    endLevel = 3
    ordered = false
    startLevel = 2