aboutsummaryrefslogblamecommitdiff
path: root/hugo.yaml
blob: 6878cfc45e4149da11b97065702cd9e87899dc61 (plain) (tree)
1
2
3
4
5

                             
                          

                         




































































































                                                                   








                                               
 







              
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: /pages/guestbook
        - name: Проекты
          URL: /pages/projects
        - name: Обо мне
          URL: /pages/me
        - name: RSS
          URL: https://neonxp.ru/post/index.xml

outputs:
    page:
        - html
    home:
        - html
    sections:
        - html
        - rss