Настройка favicon и исправление структуры hugo.toml
This commit is contained in:
+10
@@ -1,3 +1,13 @@
|
|||||||
/public/
|
/public/
|
||||||
.DS_Store
|
.DS_Store
|
||||||
Thumbs.db
|
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
|
||||||
@@ -7,10 +7,10 @@ theme = 'rDedInit'
|
|||||||
# disableKinds = ['taxonomy']
|
# disableKinds = ['taxonomy']
|
||||||
preserveTaxonomyNames = true
|
preserveTaxonomyNames = true
|
||||||
|
|
||||||
#Включаем формат Frontmatter для новых файлов
|
# Включаем формат Frontmatter для новых файлов
|
||||||
metaDataFormat = "yaml"
|
metaDataFormat = "yaml"
|
||||||
|
|
||||||
#Переопределяем значения по-умолчанию в frontmatter
|
# Переопределяем значения по-умолчанию в frontmatter
|
||||||
[frontmatter]
|
[frontmatter]
|
||||||
date = ["date", "publishDate", "lastmod"]
|
date = ["date", "publishDate", "lastmod"]
|
||||||
lastmod = ["lastmod", ":git", "date", "publishDate"]
|
lastmod = ["lastmod", ":git", "date", "publishDate"]
|
||||||
@@ -49,6 +49,11 @@ draft = false
|
|||||||
# Убираем использование .Site.Social, так как устарело
|
# Убираем использование .Site.Social, так как устарело
|
||||||
# Social = {twitter = "username"}
|
# Social = {twitter = "username"}
|
||||||
|
|
||||||
|
[params.assets]
|
||||||
|
favicon = "images/favicon/favicon48x48.ico"
|
||||||
|
favicon16x16 = "images/favicon/favicon-16x16.png"
|
||||||
|
favicon32x32 = "images/favicon/favicon-32x32.png"
|
||||||
|
|
||||||
[outputs]
|
[outputs]
|
||||||
home = ["HTML", "RSS"]
|
home = ["HTML", "RSS"]
|
||||||
page = ["HTML"]
|
page = ["HTML"]
|
||||||
|
|||||||
Reference in New Issue
Block a user