Настройка favicon и исправление структуры hugo.toml

This commit is contained in:
2026-03-06 13:51:11 +03:00
parent 3a05fee728
commit e936bcc339
2 changed files with 23 additions and 8 deletions
+10
View File
@@ -1,3 +1,13 @@
/public/
.DS_Store
Thumbs.db
# Favicon — только необходимые файлы
static/images/favicon/favicongenerator.com/
static/images/favicon/*.zip
static/images/favicon/*.piscel
static/images/favicon/README.MD
static/images/favicon/dwarffortress*
static/images/favicon/android-chrome*
static/images/favicon/site.webmanifest
static/images/favicon/apple-touch-icon.png
+8 -3
View File
@@ -7,16 +7,16 @@ theme = 'rDedInit'
# disableKinds = ['taxonomy']
preserveTaxonomyNames = true
#Включаем формат Frontmatter для новых файлов
# Включаем формат Frontmatter для новых файлов
metaDataFormat = "yaml"
#Переопределяем значения по-умолчанию в frontmatter
# Переопределяем значения по-умолчанию в frontmatter
[frontmatter]
date = ["date", "publishDate", "lastmod"]
lastmod = ["lastmod", ":git", "date", "publishDate"]
publishDate = ["publishDate", "date"]
expiryDate = ["expiryDate"]
draft = false
draft = false
[params]
env = "production"
@@ -49,6 +49,11 @@ draft = false
# Убираем использование .Site.Social, так как устарело
# Social = {twitter = "username"}
[params.assets]
favicon = "images/favicon/favicon48x48.ico"
favicon16x16 = "images/favicon/favicon-16x16.png"
favicon32x32 = "images/favicon/favicon-32x32.png"
[outputs]
home = ["HTML", "RSS"]
page = ["HTML"]