feat: Настройка дизайна сайта. Удаление картинок-превью.
This commit is contained in:
+36
-35
@@ -6,12 +6,12 @@
|
||||
# https://blowfish.page/docs/configuration/#theme-parameters
|
||||
|
||||
colorScheme = "blowfish"
|
||||
defaultAppearance = "dark" # valid options: light or dark
|
||||
autoSwitchAppearance = false
|
||||
defaultAppearance = "light" # valid options: light or dark
|
||||
autoSwitchAppearance = true
|
||||
|
||||
enableA11y = false
|
||||
enableA11y = true
|
||||
enableSearch = true
|
||||
enableCodeCopy = false
|
||||
enableCodeCopy = true
|
||||
enableStructuredBreadcrumbs = false
|
||||
# enableStyledScrollbar = true # disable to use native scrollbar style (defaults to true)
|
||||
|
||||
@@ -20,18 +20,19 @@ replyByEmail = false
|
||||
# mainSections = ["section1", "section2"]
|
||||
# robots = ""
|
||||
|
||||
disableImageOptimization = false
|
||||
disableImageOptimizationMD = false
|
||||
disableImageZoom = true
|
||||
disableImageOptimization = true
|
||||
# disableImageOptimizationMD = false
|
||||
disableTextInHeader = true
|
||||
# backgroundImageWidth = 1200
|
||||
|
||||
defaultBackgroundImage = "/img/background.png" # used as default for background images
|
||||
defaultFeaturedImage = "/img/background.png" # used as default for featured images in all articles
|
||||
defaultBackgroundImage = "/img/background.svg" # used as default for background images
|
||||
# defaultFeaturedImage = "/img/background.png" # used as default for featured images in all articles
|
||||
# defaultSocialImage = "/android-chrome-512x512.png" # used as default for social media sharing (Open Graph and Twitter)
|
||||
hotlinkFeatureImage = false
|
||||
# imagePosition = "50% 50%"
|
||||
|
||||
# highlightCurrentMenuArea = true
|
||||
highlightCurrentMenuArea = true
|
||||
# smartTOC = true
|
||||
# smartTOCHideUnfocusedChildren = true
|
||||
|
||||
@@ -58,42 +59,42 @@ forgejoDefaultServer = "https://v11.next.forgejo.org"
|
||||
showMoreLink = true
|
||||
showMoreLinkDest = "/posts"
|
||||
cardView = false
|
||||
cardViewScreenWidth = true
|
||||
cardViewScreenWidth = false
|
||||
layoutBackgroundBlur = true # only used when layout equals background
|
||||
disableHeroImageFilter = false # only used when layout equals hero
|
||||
disableHeroImageFilter = true # only used when layout equals hero
|
||||
|
||||
[article]
|
||||
showDate = true
|
||||
showViews = false
|
||||
showLikes = false
|
||||
showDateOnlyInArticle = false
|
||||
showDateUpdated = false
|
||||
# showViews = false
|
||||
# showLikes = false
|
||||
# showDateOnlyInArticle = false
|
||||
# showDateUpdated = false
|
||||
showAuthor = true
|
||||
# showAuthorBottom = false
|
||||
showHero = true
|
||||
heroStyle = "background" # valid options: basic, big, background, thumbAndBackground
|
||||
layoutBackgroundBlur = true # only used when heroStyle equals background or thumbAndBackground
|
||||
layoutBackgroundHeaderSpace = true # only used when heroStyle equals background
|
||||
showBreadcrumbs = false
|
||||
#showBreadcrumbs = false
|
||||
showDraftLabel = true
|
||||
showEdit = false
|
||||
#showEdit = false
|
||||
# editURL = "https://github.com/username/repo/"
|
||||
editAppendPath = true
|
||||
# editAppendPath = true
|
||||
seriesOpened = true
|
||||
showHeadingAnchors = true
|
||||
showPagination = true
|
||||
invertPagination = false
|
||||
# invertPagination = false
|
||||
showReadingTime = true
|
||||
showTableOfContents = true
|
||||
showRelatedContent = true
|
||||
relatedContentLimit = 6
|
||||
showTaxonomies = true # use showTaxonomies OR showCategoryOnly, not both
|
||||
showCategoryOnly = false # use showTaxonomies OR showCategoryOnly, not both
|
||||
relatedContentLimit = 3
|
||||
# showTaxonomies = true # use showTaxonomies OR showCategoryOnly, not both
|
||||
showCategoryOnly = true # use showTaxonomies OR showCategoryOnly, not both
|
||||
showAuthorsBadges = false
|
||||
showWordCount = false
|
||||
# showWordCount = false
|
||||
# sharingLinks = [ "linkedin", "twitter", "bluesky", "mastodon", "reddit", "pinterest", "facebook", "email", "whatsapp", "telegram", "line"]
|
||||
sharingLinks = [ "reddit", "email", "telegram"]
|
||||
showZenMode = false
|
||||
# showZenMode = false
|
||||
# externalLinkForceNewTab = false # disable to allow external links in the same tab (defaults to true)
|
||||
# showComments = true
|
||||
|
||||
@@ -102,17 +103,17 @@ forgejoDefaultServer = "https://v11.next.forgejo.org"
|
||||
heroStyle = "background" # valid options: basic, big, background, thumbAndBackground
|
||||
layoutBackgroundBlur = true # only used when heroStyle equals background or thumbAndBackground
|
||||
layoutBackgroundHeaderSpace = true # only used when heroStyle equals background
|
||||
showBreadcrumbs = false
|
||||
showSummary = false
|
||||
showViews = false
|
||||
showLikes = false
|
||||
showTableOfContents = false
|
||||
showCards = false
|
||||
orderByWeight = false
|
||||
groupByYear = false
|
||||
cardView = false
|
||||
cardViewScreenWidth = false
|
||||
constrainItemsWidth = false
|
||||
# showBreadcrumbs = false
|
||||
showSummary = true
|
||||
# showViews = false
|
||||
# showLikes = false
|
||||
# showTableOfContents = false
|
||||
showCards = true
|
||||
# orderByWeight = false
|
||||
# groupByYear = false
|
||||
# cardView = false
|
||||
# cardViewScreenWidth = false
|
||||
# constrainItemsWidth = false
|
||||
|
||||
[sitemap]
|
||||
excludedKinds = ["taxonomy", "term"]
|
||||
|
||||
Reference in New Issue
Block a user