aboutsummaryrefslogtreecommitdiff
path: root/hugo.yaml
blob: 0d36a44394e564ddcbc842b73fd18ab160c4847e (plain) (blame)
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
108
109
110
111
112
113
114
baseURL: 'https://neonxp.ru/'
languageCode: 'ru-RU'
DefaultContentLanguage: ru
title: '~/neonxp.log'
theme: 'hugo-theme-stack'
enableRobotsTXT: true

params:
    favicon: /img/logo.png
    widgets:
        homepage:
            - type: search
            - type: archives
              params:
                  limit: 5
            - type: categories
              params:
                  limit: 10
            - type: tag-cloud
              params:
                  limit: 10
        page:
            - type: toc
    sidebar:
        emoji: 👨🏻‍💻
        subtitle: Дневник разработчика
        avatar:
            enabled: true
            local: true
            src: /img/logo.png

    article:
        math: false
        toc: true
        readingTime: true
        license:
            enabled: true
            default: Licensed under CC BY-NC-SA 4.0

    imageProcessing:
        cover:
            enabled: true
        content:
            enabled: true
    footer:
        since: 2007
        customText: Александр NeonXP Кирюхин

    dateFormat:
        published: 02.01.2006
        lastUpdated: 15:04 02.01.2006

    comments:
        enabled: true
        provider: remark42

        remark42:
            host: https://comments.neonxp.ru
            site: neonxp_ru
            locale: ru
permalinks:
    post: /p/:slug/
    page: /:slug/

related:
    includeNewer: true
    threshold: 60
    toLower: false
    indices:
        - name: tags
          weight: 100

        - name: categories
          weight: 200

markup:
    goldmark:
        extensions:
            passthrough:
                enable: true
                delimiters:
                    block:
                        - - \[
                          - \]
                        - - $$
                          - $$
                    inline:
                        - - \(
                          - \)
        renderer:
            ## Set to true if you have HTML content inside Markdown
            unsafe: true
    tableOfContents:
        endLevel: 4
        ordered: true
        startLevel: 2
    highlight:
        noClasses: false
        codeFences: true
        guessSyntax: true
        lineNoStart: 1
        lineNos: true
        lineNumbersInTable: true
        tabWidth: 4

menus:
  main:
    - name: Главная
      URL: /
    - name: Проекты
      URL: /pages/projects
    - name: Обо мне
      URL: /pages/me