summaryrefslogtreecommitdiffstats
path: root/exampleSite/config.toml
blob: 998bf5a4da8d1dcc5e2d0281255aed6f3478795e (plain)
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
baseURL = 'https://example.com/'

languageCode = 'en-us'
defaultContentLanguage = 'en'
title = 'Ed.'
theme = ['github.com/sergeyklay/gohugo-theme-ed']
resourceDir = '../resources'

[languages]
  [languages.en]
    weight = 1
    # "rtl" for Right-To-Left languages
    languageDirection = "ltr"

[params]
  # Site author name. For multiple authors use: ['Me', 'You']
  author = 'John Doe'
  # Site description. Used in meta description
  description = 'Ed is a Hugo theme designed for textual editors based on minimal computing principles, and focused on legibility and flexibility.'
  # Color scheme. Options: red, orange, magenta, cyan, blue, brown
  color_scheme = ''
  # Used in site header
  tagline = 'a Hugo theme for minimal editions'
  # Custom footer text
  footer = ''
  # Sections to be displayed in the main page
  main_sections = ['posts', 'dramas', 'narratives', 'poems']
  # Order of post meta information
  post_meta = ['date']
  # Posts date format, for example: 2006-01-02
  dateformat = 'January 02, 2006'
  # Show "Read more" button in list if true
  readmore = true

  [params.assets]
    # Site icons, relative to ./static
    favicon = '' # favicon.ico for legacy browsers
    svgicon = '' # A single SVG icon with a light/dark version for modern browsers
    apple_touch_icon = '' # 180×180 PNG image for Apple devices
    webmanifest = '' # Web app manifest with 192×192 and 512×512 PNG icons for modern browsers

    disable_fingerprinting = false

[social]
  # Facebook Page Admin ID for Domain Insights
  facebook_admin = ''
  facebook_id = ''

# https://gohugo.io/content-management/menus/
[menu]
  [[menu.main]]         # sections in the website sidebar
    identifier = 'home' # section id
    name = 'Home'       # section display title
    url = '/'           # path to the section
    weight = 1          # order of sections
  [[menu.main]]
    identifier = 'about'
    name = 'About'
    url = '/about/'
    weight = 2
  [[menu.main]]
    identifier = 'credits'
    name = 'Credits'
    url = '/credits/'
    weight = 3
  [[menu.main]]
    identifier = 'documentation'
    name = 'Documentation'
    url = '/documentation/'
    weight = 4
  [[menu.main]]
    identifier = 'github'
    name = 'GitHub Project'
    url = 'https://github.com/sergeyklay/gohugo-theme-ed/'
    weight = 20
    [menu.main.params]
      external = true

# https://gohugo.io/getting-started/configuration-markup/
[markup]
  defaultMarkdownHandler = 'goldmark'

  [markup.highlight]
    # Syntax highlight style, see https://xyproto.github.io/splash/docs/
    style = 'emacs'

  [markup.goldmark]
    [markup.goldmark.parser]
      [markup.goldmark.parser.attribute]
        # Enable custom attribute support for blocks
        block = true