mirror of https://github.com/theNewDynamic/gohugo-theme-ananke.git

Patrick Kollitsch
9 hours ago 7e54b1c5ae101e10700f594569e537a14694c6a7
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
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
[ananke]
responsive_image_widths = [480, 960, 1440, 1920] # header image widths in pixels
show_recent_posts = true # show recent posts on the homepage
show_categories = true # show categories terms on single pages
copy_code = true # show a copy-to-clipboard button on code blocks (progressive enhancement)
 
[ananke.home]
content_alignment = "center" # options: left, center, right
 
[ananke.header]
# Layout of the navigation bar. Each entry is a group of components. Groups are
# spread over the width of the bar: the first group at the start, the last group
# at the end, and any other groups in between. A group is a list of component
# names, or a single component name. Every component name `<name>` renders the
# hook partial `layouts/_partials/hooks/header/<name>.html`. The theme ships
# `logo`, `languages`, `menu`, and `social`. Add your own (for example `search`)
# by creating the matching hook partial in your site.
#
# Below 60em, the group with `menu` collapses behind the menu button, the group
# with `logo` shares the first row with that button, and every other group gets
# its own row. Keep `logo` and `menu` in different groups.
navigation = [
  ["logo"],
  ["languages", "menu", "social"],
]
# Components below the navigation bar, from top to bottom. The theme ships
# `title` and `description`.
content = ["title", "description"]
 
[ananke.navigation]
# Desktop behaviour (from 60em). Below 60em, the hamburger opens a list with
# all included child levels expanded and indented, without submenu controls.
# split: parent link and a separate submenu button (default).
# hover: also open on hover with a mouse on large screens; parent stays a link.
# click: parent becomes a button; its page is the first link in the submenu.
# toplevel: render only the top-level entries, without submenus.
submenu_mode = "split"
 
# Tachyons classes for the header navigation (layouts/_partials/site-navigation.html).
# An empty value uses the theme default shown in the comment. A value replaces the
# default classes of that element; its `ananke-nav-*` hook class always stays.
[ananke.navigation.classes]
nav = "" # <nav>: "pv3 ph3 ph4-ns"
inner = "" # row inside <nav>: "flex flex-wrap items-center justify-between center"
brand = "" # site title or logo link: "f3 fw2 hover-white white-90 dib no-underline"
toggle = "" # menu button below the -l breakpoint: "f5 white-90 hover-white"
group = "" # every group of [ananke.header] navigation except the panel: "flex-l items-center"
panel = "" # collapsible group, the one with the `menu` component: "flex-l items-center"
menu = "" # main menu <ul>: "pl0 mr3" ("pr0 ml3" for right-to-left)
item = "" # main menu <li>: "list f5 f4-ns fw4 dib pr3" ("pl3" for right-to-left)
link = "" # main menu link: "hover-white white-90 no-underline"
submenu_toggle = "" # submenu button: "hover-white white-90"
submenu = "" # submenu <ul>: "list ma0 pv2 ph0 br2 ba b--white-20" plus background_color_class
submenu_link = "" # submenu link: "db pv2 ph3 f5 white-90 hover-white hover-bg-white-10 no-underline"
 
[ananke.social]
icon_path = "ananke/socials/%s.svg"
 
[ananke.social.follow]
new_window_icon = false # show a little "opens in new window" icon next to the link
# add networks to this list in your local config to enable them, remove them to disable them.
# networks = [
#   "facebook",
#   "bluesky",
#   "linkedin"
# ]
 
[ananke.social.share]
icons = true # show icons for each share link
sharetext = true # show the share text
# add networks to this list in your local config to enable them, remove them to disable them.
# networks = [
#   "email",
#   "facebook",
#   "bluesky",
#   "linkedin"
# ]
 
# social media network setups
[ananke.social.networks.bluesky]
slug = "bluesky"
label = "Bluesky"
color = "#1185fe"
profile = "https://bsky.app/profile/%s"
icon = "bluesky" # font awesome brand icon name
link = "https://bsky.app/intent/compose"
[ananke.social.networks.bluesky.particles]
text = "permalink"
 
[ananke.social.networks.email]
slug = "email"
label = "Email"
profile = false
icon = "envelope" # font awesome free icon name
link = "mailto:"
[ananke.social.networks.email.particles]
body = "permalink"
subject = "title"
 
[ananke.social.networks.facebook]
slug = "facebook"
label = "Facebook"
color = "#3b5998"
profile = "https://www.facebook.com/%s"
icon = "facebook" # font awesome brand icon name
link = "https://facebook.com/sharer/sharer.php"
[ananke.social.networks.facebook.particles]
u = "permalink"
 
[ananke.social.networks.github]
slug = "github"
label = "GitHub"
color = "#6cc644"
profile = "https://github.com/%s/"
icon = "github" # font awesome brand icon name
 
[ananke.social.networks.gitlab]
slug = "gitlab"
label = "GitLab"
color = "#FC6D26"
profile = "https://gitlab.com/%s/"
icon = "gitlab" # font awesome brand icon name
 
[ananke.social.networks.hackernews]
slug = "hackernews"
label = "Hacker News"
color = "#ff4000"
profile = "https://news.ycombinator.com/user?id=%s"
icon = "hacker-news" # font awesome brand icon name
link = "https://news.ycombinator.com/submitlink"
[ananke.social.networks.hackernews.particles]
u = "permalink"
t = "description"
 
[ananke.social.networks.instagram]
slug = "instagram"
label = "Instagram"
color = "#e1306c"
profile = "https://www.instagram.com/%s/"
icon = "instagram" # font awesome brand icon name
 
[ananke.social.networks.keybase]
slug = "keybase"
label = "Keybase"
color = "#3d76ff"
profile = "https://keybase.io/%s"
icon = "keybase" # font awesome brand icon name
 
[ananke.social.networks.linkedin]
slug = "linkedin"
label = "LinkedIn"
color = "#0077b5"
profile = "http://linkedin.com/in/%s"
icon = "linkedin" # font awesome brand icon name
link = "https://www.linkedin.com/shareArticle"
[ananke.social.networks.linkedin.particles]
url = "permalink"
title = "title"
summary = "description"
source = "permalink"
params = "mini=true"
 
[ananke.social.networks.medium]
slug = "medium"
label = "Medium"
color = "#0077b5"
profile = "https://medium.com/@%s/"
icon = "medium" # font awesome brand icon name
 
[ananke.social.networks.mastodon]
slug = "mastodon"
label = "Mastodon"
color = "#6364FF"
profile = ""
icon = "mastodon" # font awesome brand icon name
 
[ananke.social.networks.pinterest]
slug = "pinterest"
label = "Pinterest"
color = "#e60023"
profile = "https://www.pinterest.com/%s/"
icon = "pinterest" # font awesome brand icon name
link = "https://pinterest.com/pin/create/button/"
[ananke.social.networks.pinterest.particles]
url = "permalink"
media = "permalink"
description = "description"
 
[ananke.social.networks.reddit]
slug = "reddit"
label = "Reddit"
color = "#ff4500"
profile = "https://www.reddit.com/user/%s/"
icon = "reddit" # font awesome brand icon name
link = "https://reddit.com/submit/"
[ananke.social.networks.reddit.particles]
url = "permalink"
title = "title"
params = "resubmit=true"
 
[ananke.social.networks.rss]
slug = "rss"
label = "RSS"
color = "#ff6f1a"
profile = ""
icon = "rss" # font awesome free icon name
 
[ananke.social.networks.slack]
slug = "slack"
label = "Slack"
color = "#E01E5A"
profile = ""
icon = "slack" # font awesome brand icon name
 
[ananke.social.networks.stackoverflow]
slug = "stackoverflow"
label = "Stack Overflow"
color = "#f48024"
profile = "https://stackoverflow.com/users/%s"
icon = "stack-overflow" # font awesome brand icon name
 
[ananke.social.networks.telegram]
slug = "telegram"
label = "Telegram"
color = "#0088cc"
profile = "https://t.me/%s"
icon = "telegram" # font awesome brand icon name
link = "https://telegram.me/share/url"
[ananke.social.networks.telegram.particles]
text = "description"
url = "permalink"
 
[ananke.social.networks.tiktok]
slug = "tiktok"
label = "TikTok"
color = "#fe2c55"
profile = "https://www.tiktok.com/@%s"
icon = "tiktok" # font awesome brand icon name
 
[ananke.social.networks.tumblr]
slug = "tumblr"
label = "Tumblr"
color = "#35465c"
profile = "https://www.tumblr.com/blog/%s"
icon = "tumblr" # font awesome brand icon name
link = "https://www.tumblr.com/widgets/share/tool"
[ananke.social.networks.tumblr.particles]
canonicalUrl = "permalink"
shareSource = "source"
title = "title"
caption = "description"
content = "description"
params = "posttype=link"
 
[ananke.social.networks.twitter]
slug = "twitter"
label = "Twitter"
color = "#1da1f2"
profile = "https://twitter.com/%s"
icon = "twitter" # font awesome brand icon name
link = "https://twitter.com/intent/tweet/"
[ananke.social.networks.twitter.particles]
text = "description"
url = "permalink"
 
[ananke.social.networks.whatsapp]
slug = "whatsapp"
label = "WhatsApp"
color = "#25d366"
profile = false
icon = "whatsapp" # font awesome brand icon name
link = "whatsapp://send"
linkintext = true
[ananke.social.networks.whatsapp.particles]
text = "description"
 
[ananke.social.networks.xing]
slug = "xing"
label = "Xing"
color = "#026466"
profile = "https://www.xing.com/profile/%s"
icon = "xing" # font awesome brand icon name
link = "https://www.xing.com/app/user"
separator = ";"
[ananke.social.networks.xing.particles]
url = "permalink"
title = "title"
params = "op=share"
 
[ananke.social.networks.x-twitter]
slug = "x-twitter"
label = "X"
color = "#000000"
profile = "https://x.com/%s"
icon = "x-twitter" # font awesome brand icon name
link = "https://twitter.com/intent/tweet/"
[ananke.social.networks.x-twitter.particles]
text = "description"
url = "permalink"
 
[ananke.social.networks.youtube]
slug = "youtube"
label = "YouTube"
color = "#cd201f"
profile = "https://www.youtube.com/@%s"
icon = "youtube" # font awesome brand icon name
 
[ananke.hooks]
verbosity = "error" # debug, info, warning, error