Skip to content

Commit fd8ee59

Browse files
author
marci
committed
Aktualisiere die Sprachcodes in hugo.yaml und verbessere die Beschreibung in site.yaml
1 parent 665127e commit fd8ee59

3 files changed

Lines changed: 23 additions & 16 deletions

File tree

data/de/site.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ customMenus:
1717
hideFromNavbar: false
1818
showOnFooter: true
1919
# Meta description for your site. This will help the search engines to find your site.
20-
description: Portfolio und persönlicher Blog von Marcel Dellmann.
20+
description: Portfolio und Blog von Marcel Dellmann.

data/en/site.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ customMenus:
1515
showOnFooter: true
1616

1717
# Meta description for your site. This will help the search engines to find your site.
18-
description: Portfolio and personal blog of Marcel Dellmann.
18+
description: Portfolio and blog of Marcel Dellmann.

hugo.yaml

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
baseURL: "https://secure-bits.org/"
22

3-
languageCode: de-de
3+
languageCode: de
44
title: "SecureBits Blog by Marcel Dellmann"
55

66

@@ -36,7 +36,7 @@ module:
3636
mounts:
3737
- source: static/files
3838
target: static/files
39-
- source: ./node_modules/flag-icon-css/flags
39+
- source: ./node_modules/flag-icon/flags
4040
target: static/flags
4141
- source: ./node_modules/@fontsource/mulish/files
4242
target: static/files
@@ -47,6 +47,17 @@ module:
4747
- source: static
4848
target: assets
4949

50+
flags:
51+
enable: true
52+
flagsOverride:
53+
- languageCode: en
54+
countryCode: GB
55+
flag: gb
56+
57+
# Use the flag icons from flag-icon-css
58+
59+
enableEmoji: true
60+
5061
# media types
5162
image/gif:
5263
delimiter: .
@@ -58,9 +69,11 @@ image/gif:
5869
languages:
5970
de:
6071
languageName: Deutsch
72+
languageCode: de
6173
weight: 1
6274
en:
6375
languageName: English
76+
languageCode: en
6477
weight: 2
6578

6679
# Force a locale to be use, really useful to develop the application ! Should be commented in production, the "weight" should rocks.
@@ -117,9 +130,12 @@ markup:
117130

118131
markup:
119132
highlight:
120-
style: xcode-light
121-
lineNos: false
122-
lineNumbersInTable: true
133+
codeFences: true
134+
style: fruity # dracula # catppuccin-mocha
135+
lineNos: true
136+
lineNumbersInTable: false
137+
wrapperclass: highlight
138+
guessSyntax: true
123139

124140

125141
# At least HTML and JSON are required for the main HTML content and
@@ -130,15 +146,6 @@ outputs:
130146
- RSS
131147
- JSON
132148

133-
# Enable global emoji supportimaging:
134-
enableEmoji: false
135-
anchor: Smart
136-
bgColor: '#ffffff'
137-
hint: photo
138-
quality: 75
139-
resampleFilter: box
140-
141-
142149
imaging:
143150
anchor: Smart
144151
bgColor: '#ffffff'

0 commit comments

Comments
 (0)