Skip to content

Commit 3d7795d

Browse files
committed
setup config.yaml
1 parent e0d9c8d commit 3d7795d

File tree

1 file changed

+95
-4
lines changed

1 file changed

+95
-4
lines changed

config.yaml

Lines changed: 95 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,95 @@
1-
baseURL: https://example.org/
2-
languageCode: ru-ru
3-
title: My New Hugo Site
4-
theme: ["PaperMod"]
1+
# Meta data
2+
baseURL: "https://example.org/"
3+
4+
defaultContentLanguage: ru
5+
languages:
6+
en:
7+
disabled: false
8+
ru:
9+
disabled: false
10+
11+
title: "tem [notes]"
12+
theme: PaperMod
13+
14+
# Site config
15+
enableRobotsTXT: true
16+
buildDrafts: false
17+
buildFuture: false
18+
buildExpired: false
19+
20+
minify:
21+
disableXML: true
22+
minifyOutput: true
23+
24+
params:
25+
env: production
26+
title: "tem [notes]"
27+
description: "Notes and stuff by @tembeon"
28+
keywords: [ Blog, tem_notes ]
29+
author: "Tembeon"
30+
DateFormat: "January 2, 2006"
31+
defaultTheme: auto # dark, light
32+
disableThemeToggle: false
33+
34+
# Post settings
35+
ShowReadingTime: false
36+
ShowShareButtons: true
37+
ShowPostNavLinks: true
38+
ShowBreadCrumbs: true
39+
ShowCodeCopyButtons: true
40+
ShowWordCount: true
41+
ShowRssButtonInSectionTermList: true
42+
UseHugoToc: true
43+
disableSpecial1stPost: false
44+
disableScrollToTop: false
45+
comments: false
46+
hidemeta: false
47+
hideSummary: false
48+
showtoc: false
49+
tocopen: false
50+
51+
# home page settings
52+
homeInfoParams:
53+
Title: Welcome to tem [notes]
54+
Content: "Notes and stuff by @tembeon"
55+
56+
socialIcons:
57+
- name: "telegram channel"
58+
url: "https://t.me/tembeon_notes"
59+
- name: "telegram"
60+
url: "https://t.me/tembeon"
61+
62+
editPost:
63+
URL: "https://github.com/Tembeon/tem_notes/content"
64+
Text: "Suggest Changes" # edit text
65+
appendFilePath: true
66+
67+
# for search
68+
# https://fusejs.io/api/options.html
69+
fuseOpts:
70+
isCaseSensitive: false
71+
shouldSort: true
72+
location: 0
73+
distance: 1000
74+
threshold: 0.4
75+
minMatchCharLength: 0
76+
limit: 10 # refer: https://www.fusejs.io/api/methods.html#search
77+
keys: [ "title", "permalink", "summary", "content" ]
78+
79+
outputs:
80+
home:
81+
- HTML
82+
- RSS
83+
- JSON # necessary for search
84+
85+
menu:
86+
main:
87+
- identifier: search
88+
name: search
89+
url: /search/
90+
weight: 10
91+
- identifier: tags
92+
name: tags
93+
url: /tags/
94+
weight: 20
95+

0 commit comments

Comments
 (0)