summaryrefslogtreecommitdiff
path: root/hugo.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'hugo.yaml')
-rw-r--r--hugo.yaml26
1 files changed, 24 insertions, 2 deletions
diff --git a/hugo.yaml b/hugo.yaml
index 3351986..b5749a8 100644
--- a/hugo.yaml
+++ b/hugo.yaml
@@ -10,27 +10,39 @@ menus:
main:
- name: Главная
pageRef: /
+ pre: <img src="/img/home.svg" class="menu-icon" />
weight: 10
- name: Блог
pageRef: /posts
+ pre: <img src="/img/notebook.svg" class="menu-icon" />
weight: 20
- name: Теги
pageRef: /tags
+ pre: <img src="/img/tag.svg" class="menu-icon" />
weight: 25
- name: Категории
pageRef: /categories
+ pre: <img src="/img/star.svg" class="menu-icon" />
weight: 26
- name: Проекты
pageRef: /projects
+ pre: <img src="/img/project.svg" class="menu-icon" />
weight: 30
- name: Разное
pageRef: /pages
+ pre: <img src="/img/other.svg" class="menu-icon" />
weight: 40
+ - name: Git
+ url: https://git.neonxp.ru/
+ pre: <img src="/img/git.svg" class="menu-icon" />
+ weight: 50
- name: Go
url: https://go.neonxp.ru/
- weight: 50
+ pre: <img src="/img/golang.svg" class="menu-icon" />
+ weight: 55
- name: Я
pageRef: /me
+ pre: <img src="/img/logo.svg" class="menu-icon" />
weight: 60
- name: Atom
url: /feed/
@@ -63,6 +75,7 @@ outputs:
section:
- html
- atom
+ - feed
page:
- html
taxonomy:
@@ -78,11 +91,21 @@ outputFormats:
isPlainText: false
noUgly: true
rel: "alternate"
+ feed:
+ mediaType: "application/json"
+ baseName: "feed"
+ isHTML: false
+ isPlainText: false
+ noUgly: true
+ rel: "alternate"
mediaTypes:
application/atom+xml:
suffixes:
- xml
+ application/json:
+ suffixes:
+ - json
enableRobotsTXT: true
@@ -91,4 +114,3 @@ imaging:
quality: 75
hint: photo
anchor: Smart
- compression: lossless