aboutsummaryrefslogblamecommitdiff
path: root/hugo.toml
blob: bc8499b4ef45f4b1a260b08a1362c8a95f0a7c70 (plain) (tree)
1
2
3
4
5
6
7
8
9

                              

                             
                      



                    

        
                       







                                
                                     







                                   




                             




                       




                           

                             


              




                        

                       
           



                      
           
 
 

                           
                             
           
 
              

                       

           

                   
                    
           












                                                     
 






















































                                                   

                        
               










                         





                          
         




                                                   









                         
 









                        






                      
                           
baseURL = "https://neonxp.ru/"
languageCode = "ru-RU"
defaultContentLanguage = "ru"
title = "neonxp.log"
enableRobotsTXT = true
enableGitInfo = true
noBuildLock = true
noChmod = true


[params]
logo = "/img/logo.webp"

[params.imageProcessing.cover]
enabled = true

[params.imageProcessing.content]
enabled = true

[params.dateFormat]
published = "Monday, 02 January 2006"
lastUpdated = "15:04 02.01.2006"

[params.comments]
host = "https://comments.neonxp.ru"
site = "neonxp_ru"
locale = "ru"

[[menus.main]]
name = 'Бортжурнал'
pageRef = '/posts'
weight = 5

[[menus.main]]
name = 'Проекты'
pageRef = '/projects'
weight = 10

[[menus.main]]
name = 'Игры'
pageRef = '/projects/games'
weight = 15

[[menus.main]]
name = 'Git'
url = 'https://git.neonxp.ru'
weight = 20

[[menus.main]]
name = 'Go модули'
url = '/go/'
weight = 25

[[menus.main]]
name = 'Заметки'
pageRef = '/notes'
weight = 35

[[menus.main]]
name = 'Обо мне'
pageRef = '/pages/me'
weight = 40


[[menus.main]]
name = 'Гостевуха'
pageRef = '/pages/guestbook/'
weight = 45

[[menus.main]]
name = 'Заметки'
pageRef = '/notes'
weight = 50

[[menus.main]]
name = 'Архив'
pageRef = '/archive'
weight = 55


[permalinks]
post = "/post/:year/:month/:slug/"
page = "/pages/:slug/"

# [markup.goldmark.extensions.passthrough]
# enable = true

# [markup.goldmark.extensions.passthrough.delimiters]
# block = [["\\[", "\\]"], ["$$", "$$"]]
# inline = [["\\(", "\\)"]]


[markup]
[markup.goldmark]
duplicateResourceFiles = false
[markup.goldmark.extensions]
definitionList = true
footnote = true
linkify = true
linkifyProtocol = 'https'
strikethrough = true
table = true
taskList = true
[markup.goldmark.extensions.extras]
[markup.goldmark.extensions.extras.delete]
enable = false
[markup.goldmark.extensions.extras.insert]
enable = false
[markup.goldmark.extensions.extras.mark]
enable = false
[markup.goldmark.extensions.extras.subscript]
enable = false
[markup.goldmark.extensions.extras.superscript]
enable = false
[markup.goldmark.extensions.passthrough]
enable = false
[markup.goldmark.extensions.passthrough.delimiters]
block = []
inline = []
[markup.goldmark.extensions.typographer]
apostrophe = '’'
disable = false
ellipsis = '…'
emDash = '—'
enDash = '–'
leftAngleQuote = '«'
leftDoubleQuote = '“'
leftSingleQuote = '‘'
rightAngleQuote = '»'
rightDoubleQuote = '”'
rightSingleQuote = '’'
[markup.goldmark.parser]
autoHeadingID = true
autoHeadingIDType = 'github'
wrapStandAloneImageWithinParagraph = true
[markup.goldmark.parser.attribute]
block = false
title = true
[markup.goldmark.renderHooks]
[markup.goldmark.renderHooks.image]
enableDefault = false
[markup.goldmark.renderHooks.link]
enableDefault = false
[markup.goldmark.renderer]
hardWraps = false
unsafe = false
xhtml = false
[markup.tableOfContents]
endLevel = 4
ordered = false
startLevel = 1

[markup.highlight]
noClasses = false
codeFences = true
guessSyntax = true
lineNoStart = 1
lineNos = false
lineNumbersInTable = true
tabWidth = 4

[mediaTypes]
[mediaTypes."text/gemini"]
suffixes = ["gmi"]
[mediaTypes."text/plain"]
suffixes = ["txt"]

[outputs]
page = ["html", "gemini", "text"]
home = ["html", "json", "gemini", "text"]
section = ["html", "rss", "json", "gemini", "text"]
taxonomy = ["html", "gemini", "text"]
term = ["html", "gemini", "text"]

[outputFormats.Gemini]
name = "gemini"
mediaType = "text/gemini"
baseName = "index"
isPlainText = true
permalinkable = true
isHTML = false
protocol = "gemini://"
noUgly = true

[outputFormats.Text]
name = "text"
mediaType = "text/plain"
baseName = "index"
isPlainText = true
permalinkable = true
isHTML = false
protocol = "gopher://"
noUgly = true

[pagination]
disableAliases = false
pagerSize = 10
path = "page"

# [taxonomies]
#   tag = 'Тег'
#   category = "categories"