mirror of https://github.com/onweru/compose.git

weru
27.02.2020 eafb88c4a6f9db03e4e1deb9898d70b4ed951bbc
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
baseURL = "https://example.com/"
title = "Compose Docs"
enableRobotsTXT = true
# this example loads the theme as hugo module
# comment out line below, and uncomment the line after it if you prefer to load the theme normally
theme = ["github.com/onweru/compose"] # edit this if you'ld rather use a fork of this repo
# theme = "compose"
enableGitInfo = true
 
disableKinds = ["taxonomy", "taxonomyTerm"]
 
#  menu items
[[menu.main]]
    name = "Docs"
    weight = 2
    url = "docs/"
 
[[menu.main]]
    name = "Example"
    weight = 3
    url = "https://docs.neuralvibes.com"
 
[markup]
  [markup.goldmark]
    [markup.goldmark.renderer]
      unsafe = true
    [markup.goldmark.extensions]
      typographer = false
  [markup.highlight]
    codeFences = true
    guessSyntax = false
    hl_Lines = ""
    lineNoStart = 1
    lineNos = true
    lineNumbersInTable = false
    noClasses = false
    style = "monokai"
    tabWidth = 2
  [markup.tableOfContents]
    endLevel = 4
    ordered = false
    startLevel = 2
 
# Everything below this are Site Params
 
[params]
 
  repo = "https://github.com/onweru/compose"
 
  time_format_blog = "Monday, January 02, 2006"
  time_format_default = "January 2, 2006"
  enableDarkMode = true # set to false to disable darkmode by default # user will still have the option to use dark mode
 
  # sets the maximum number of lines per codeblock. The codeblock will however be scrollable and expandable.
  codeMaxLines = 7
 
  # disable showing line numbers by default. Switch to `true` if you'd rather have them on.
  codeLineNumbers = false
 
  # Site logo
  [params.logo]
    lightMode = "compose.svg"
    darkMode = "compose-light.svg"
 
  [params.source]
    name = "GitHub"
    icon = "github.svg"
    url = "https://github.com/onweru/compose/"
 
  # optional
  # attribution. Feel free to delete this
  [params.author]
    name = "Weru"
    url = "https://neuralvibes.com/author/"