-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
242 lines (211 loc) · 5.83 KB
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
baseURL: "/"
title: "🔥"
paginate: 20
theme: hugo-PaperMod
permalinks:
posts: "/:title"
enableInlineShortcodes: true
enableRobotsTXT: true
buildDrafts: true
buildFuture: true
buildExpired: false
enableEmoji: false
# googleAnalytics: UA-123-45
hidemeta: true
hideSummary: true
minify:
disableXML: true
# minifyOutput: true
languages:
en:
languageName: "English"
weight: 1
# menu:
# main:
# - name: Archive
# url: archives
# weight: 5
# - name: Search
# url: search/
# weight: 10
# - name: Tags
# url: tags/
# weight: 10
# - name: Categories
# url: categories/
# weight: 10
# fr:
# languageName: "fr"
# languageAltTitle: French
# weight: 2
# title: Off
# profileMode:
# enabled: true
# title: PaperMod
# # imageUrl: "#"
# # imageTitle: my image
# # imageWidth: 120
# # imageHeight: 120
# subtitle: "☄️ Fast | ☁️ Fluent | 🌙 Smooth | 📱 Responsive"
# buttons:
# - name: Blog
# url: posts
# - name: Tags
# url: tags
# menu:
# main:
# - name: Archive
# url: archives/
# weight: 5
# - name: Tags
# url: tags
# weight: 10
# - name: Categories
# url: categories
# weight: 10
# - name: Series
# url: series
# weight: 10
# - name: NullLink
# url: "#"
# - name: NullLink2
# url: "#"
# - name: NullLink3
# url: "#"
# fa:
# languagedirection: rtl
# weight: 3
# title: PaperMod RTL
# homeInfoParams:
# Title: "Hi there \U0001F44B"
# Content: Welcome to RTL layout
# menu:
# main:
# - name: Tags
# url: tags
# weight: 10
outputs:
home:
- HTML
- RSS
- JSON
params:
env: production # to enable google analytics, opengraph, twitter-cards and schema.
description: "Publish hidden posts with this Hugo theme"
canonicalURL: "https://hugo-hidden-post.netlify.app/"
# author:
# author: ["Me", "You"] # multiple authors
hidemeta: true
hideSummary: true
defaultTheme: dark
# disableThemeToggle: true
ShowShareButtons: false
ShowReadingTime: true
# disableSpecial1stPost: true
displayFullLangName: true
ShowPostNavLinks: false
ShowBreadCrumbs: false
ShowCodeCopyButtons: true
ShowToc: false
# comments: false
images: ["papermod-cover.png"]
profileMode:
enabled: false
title: PaperMod
imageUrl: "#"
imageTitle: my image
# imageWidth: 120
# imageHeight: 120
buttons:
- name: Archives
url: archives
- name: Tags
url: tags
homeInfoParams:
Title: "Hugo theme \"Off the Record\""
Content: >
### Publish hidden posts with Hugo.
-
- This demo includes two public posts below but also hides [another post](waldo), visible only for visitors possessing the secret URL.
-
- See [the documentation](https://roneo.org/en/hugo-hidden-posts/) for details
socialIcons:
# - name: github
# url: "https://github.com/adityatelange/hugo-PaperMod"
# - name: KoFi
# url: "https://ko-fi.com/adityatelange"
# - name: RsS
# url: "index.xml"
# editPost:
# URL: "https://github.com/adityatelange/hugo-PaperMod/tree/exampleSite/content"
# Text: "Suggest Changes" # edit text
# appendFilePath: true # to append file path to Edit link
# label:
# text: "Home"
# icon: icon.png
# iconHeight: 35
# analytics:
# google:
# SiteVerificationTag: "XYZabc"
# assets:
# favicon: "<link / abs url>"
# favicon16x16: "<link / abs url>"
# favicon32x32: "<link / abs url>"
# apple_touch_icon: "<link / abs url>"
# safari_pinned_tab: "<link / abs url>"
# cover:
# hidden: true # hide everywhere but not in structured data
# hiddenInList: true # hide on list pages and home
# hiddenInSingle: true # hide on single page
# fuseOpts:
# isCaseSensitive: false
# shouldSort: true
# location: 0
# distance: 1000
# threshold: 0.4
# minMatchCharLength: 0
# keys: ["title", "permalink", "summary", "content"]
menu:
main:
- identifier: search
name: Search
url: /search/
weight: 10
- identifier: source
name: Source
url: https://roneo.org/en/hugo-hidden-posts/
weight: 10
taxonomies:
# category: categories
# tag: tags
series: series
markup:
goldmark:
renderer:
unsafe: true
# highlight:
# # anchorLineNos: true
# codeFences: true
# guessSyntax: true
# lineNos: true
# # noClasses: false
# style: monokai
privacy:
vimeo:
disabled: false
simple: true
twitter:
disabled: false
enableDNT: true
simple: true
instagram:
disabled: false
simple: true
youtube:
disabled: false
privacyEnhanced: true
services:
instagram:
disableInlineCSS: true
twitter:
disableInlineCSS: true