Update configuration
This commit is contained in:
parent
8173de7bd1
commit
b6862fd08f
2 changed files with 61 additions and 15 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,3 +1,3 @@
|
|||
resources
|
||||
.hugo_build.lock
|
||||
public
|
||||
out
|
||||
|
|
74
hugo.toml
74
hugo.toml
|
@ -1,8 +1,17 @@
|
|||
baseURL = '/'
|
||||
languageCode = 'en-us'
|
||||
title = 'StarOpenSource'
|
||||
theme = 'terminal'
|
||||
baseURL = "/"
|
||||
copyright = "Copyright (c) 2025 The StarOpenSource Website Authors. Licensed under the GNU General Public License, version 3."
|
||||
languageCode = "en-us"
|
||||
enableEmoji = false
|
||||
enableGitInfo = true
|
||||
enableRobotsTXT = true
|
||||
publishDir = "out"
|
||||
timeZone = "Etc/UTC"
|
||||
title = "StarOpenSource"
|
||||
titleCaseStyle = "none"
|
||||
theme = "terminal"
|
||||
|
||||
|
||||
# Theme settings
|
||||
[params]
|
||||
# dir name of your main content (default is `content/posts`).
|
||||
# the list of set content will show up on your index page (baseurl).
|
||||
|
@ -47,14 +56,51 @@ theme = 'terminal'
|
|||
# whether to show a table of contents
|
||||
# can be overridden in a page's front-matter
|
||||
# Toc = false # default
|
||||
|
||||
# set title for the table of contents
|
||||
# can be overridden in a page's front-matter
|
||||
# TocTitle = "Table of Contents" # default
|
||||
|
||||
# Translation
|
||||
[languages]
|
||||
[languages.en]
|
||||
[languages.en.menu]
|
||||
[language.en.params.logo]
|
||||
[languages.en.params.logo]
|
||||
logoText = "The StarOpenSource Project"
|
||||
[languages.en]
|
||||
languageName = "English"
|
||||
[languages.en.params]
|
||||
subtitle = "Libre software development."
|
||||
[languages.en.params.logo]
|
||||
logoText = "The StarOpenSource Project"
|
||||
logoHomeLink = "/"
|
||||
|
||||
|
||||
# Minification
|
||||
[minify]
|
||||
disableCSS = false
|
||||
disableHTML = false
|
||||
disableJS = false
|
||||
disableJSON = false
|
||||
disableSVG = false
|
||||
disableXML = false
|
||||
minifyOutput = true
|
||||
[minify.tdewolff]
|
||||
[minify.tdewolff.css]
|
||||
inline = false
|
||||
keepCSS2 = true
|
||||
precision = 0
|
||||
[minify.tdewolff.html]
|
||||
keepComments = false
|
||||
keepConditionalComments = false
|
||||
keepDefaultAttrVals = true
|
||||
keepDocumentTags = true
|
||||
keepEndTags = true
|
||||
keepQuotes = false
|
||||
keepSpecialComments = true
|
||||
keepWhitespace = false
|
||||
templateDelims = ['', '']
|
||||
[minify.tdewolff.js]
|
||||
keepVarNames = false
|
||||
precision = 0
|
||||
version = 2022
|
||||
[minify.tdewolff.json]
|
||||
keepNumbers = false
|
||||
precision = 0
|
||||
[minify.tdewolff.svg]
|
||||
inline = false
|
||||
keepComments = false
|
||||
precision = 0
|
||||
[minify.tdewolff.xml]
|
||||
keepWhitespace = false
|
||||
|
|
Loading…
Add table
Reference in a new issue