Skip to content
This repository was archived by the owner on Mar 2, 2025. It is now read-only.

Commit ba414b0

Browse files
author
Marek Krug
committed
new images, new content, new theme almost finished
1 parent b62b536 commit ba414b0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+288
-120
lines changed

config/_default/hugo.toml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
theme = "blowfish" # UNCOMMENT THIS LINE
66
baseURL = "https://berlin.ccc.de/"
77
defaultContentLanguage = "de"
8+
RelativeURLs = true
9+
CanonifyURLs = true
810

911
pluralizeListTitles = "true" # hugo function useful for non-english languages, find out more in https://gohugo.io/getting-started/configuration/#pluralizelisttitles
1012

@@ -35,8 +37,37 @@ enableEmoji = true
3537
filename = 'sitemap.xml'
3638
priority = 0.5
3739

40+
[permalinks]
41+
post = "/post/:year/:month/:day/:title/"
42+
3843
[outputs]
3944
home = ["HTML", "RSS", "JSON"]
45+
section = ["HTML", "Calendar", "RSS", "XML"]
46+
page = ["HTML", "Calendar"]
47+
48+
# Output Formats Configuration
49+
[outputFormats.Calendar]
50+
mediaType = "text/calendar"
51+
baseName = "index"
52+
isPlainText = true
53+
notAlternative = true
54+
55+
[outputFormats.XML]
56+
mediaType = "application/xml"
57+
baseName = "index"
58+
isPlainText = true
59+
60+
[outputFormats.RSS]
61+
mediaType = "application/rss+xml"
62+
63+
# Media Types Configuration
64+
[mediaTypes]
65+
[mediaTypes."text/calendar"]
66+
suffixes = ["ics"]
67+
[mediaTypes."application/rss"]
68+
suffixes = ["rss"]
69+
[mediaTypes."application/xml"]
70+
suffixes = ["xml"]
4071

4172
[related]
4273
threshold = 0

config/_default/languages.de.toml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,18 @@ title = "Chaos Computer Club Berlin"
99
isoCode = "de"
1010
rtl = false
1111
dateFormat = "January 2, 2006"
12-
logo = "img/avatar-CCCB-Logo.png"
13-
secondaryLogo = "img/avatar-CCCB-Logo.png"
12+
DateForm = "30.12.2006"
13+
logo = "img/logo.png"
14+
# secondaryLogo = "img/avatar-CCCB-Logo.png"
1415
description = "Willkommen! Wir sind ein Erfa-Kreis des Chaos Computer Club e.V. und die örtliche Niederlassung des CCC in Berlin."
1516
copyright = "CCC-BY"
17+
selfHosted = true
18+
mainSections = ["post", "datengarten"]
1619

1720
[params.author]
1821
# name = "Your name here"
1922
email = "mail2025@berlin.ccc.de"
20-
# image = "img/logo.png"
23+
image = "img/logo.png"
2124
# imageQuality = 96
2225
headline = "Willkommen! Wir sind ein Erfa-Kreis des Chaos Computer Club e.V. und die örtliche Niederlassung des CCC in Berlin."
2326
# bio = "A little bit about you"
@@ -35,8 +38,8 @@ title = "Chaos Computer Club Berlin"
3538
# { facebook = "https://facebook.com/username" },
3639
# { flickr = "https://www.flickr.com/photos/username/" },
3740
# { foursquare = "https://foursquare.com/username" },
38-
# { github = "https://github.com/username" },
39-
# { gitlab = "https://gitlab.com/username" },
41+
{ github = "https://github.com/cccb/" },
42+
{ gitlab = "https://git.berlin.ccc.de/explore/repos" },
4043
# { google = "https://www.google.com/" },
4144
# { hashnode = "https://username.hashnode.dev" },
4245
# { instagram = "https://instagram.com/username" },
@@ -46,6 +49,7 @@ title = "Chaos Computer Club Berlin"
4649
# { lastfm = "https://lastfm.com/user/username" },
4750
# { linkedin = "https://linkedin.com/in/username" },
4851
{ mastodon = "https://chaos.social/@clubdiscordia" },
52+
{ irc = "https://webirc.hackint.org/#ircs://irc.hackint.org/#cccb" },
4953
# { medium = "https://medium.com/username" },
5054
# { microsoft = "https://www.microsoft.com/" },
5155
# { orcid = "https://orcid.org/userid" },

config/_default/menus.de.toml

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,23 @@
1616
# weight = 10
1717

1818
[[main]]
19-
name = "verein"
19+
name = "Verein"
2020
pageRef = "verein"
2121
weight = 200
2222

2323
[[main]]
24-
name = "veranstaltungen"
24+
name = "Veranstaltungen"
2525
pageRef = "veranstaltungen"
2626
weight = 300
2727

2828
[[main]]
29-
name = "News"
30-
pageRef = "post"
31-
29+
name = "Mitgliedschaft"
30+
pageRef = "mitgliedschaft"
3231
weight = 400
3332

3433
[[main]]
35-
name = "Impressum"
36-
pageRef = "page/impressum/"
34+
name = "News"
35+
pageRef = "post"
3736
weight = 500
3837

3938
# -- Footer Menu --
@@ -50,3 +49,13 @@
5049
name = "Categories"
5150
pageRef = "categories"
5251
weight = 20
52+
53+
[[footer]]
54+
name = "Impressum"
55+
pageRef = "impressum"
56+
weight = 500
57+
58+
[[footer]]
59+
name = "Privacy"
60+
pageRef = "datenschutz"
61+
weight = 600

config/_default/params.toml

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ disableImageOptimization = false
2222
disableTextInHeader = false
2323
backgroundImageWidth = 1200
2424

25-
defaultBackgroundImage = "/img/cccb-im-winter.jpg" # used as default for background images
26-
defaultFeaturedImage = "img/avatar-CCCB-Logo.png" # used as default for featured images in all articles
25+
# defaultBackgroundImage = "/img/cccb-im-winter.jpg" # used as default for background images
26+
defaultFeaturedImage = "/img/avatar-CCCB-Logo.png" # used as default for featured images in all articles
2727

2828
# highlightCurrentMenuArea = true
2929
# smartTOC = true
@@ -46,9 +46,9 @@ forgejoDefaultServer = "https://v8.next.forgejo.org"
4646
layout = "background" # valid options: page, profile, hero, card, background, custom
4747
homepageImage = "img/cccb-im-winter.jpg" # used in: hero, and card
4848
showRecent = true
49-
showRecentItems = 5
49+
showRecentItems = 8
5050
showMoreLink = true
51-
showMoreLinkDest = "/posts/"
51+
showMoreLinkDest = "/post/"
5252
cardView = false
5353
cardViewScreenWidth = false
5454
layoutBackgroundBlur = false # only used when layout equals background
@@ -58,27 +58,27 @@ forgejoDefaultServer = "https://v8.next.forgejo.org"
5858
showViews = false
5959
showLikes = false
6060
showDateOnlyInArticle = false
61-
showDateUpdated = false
62-
showAuthor = true
63-
# showAuthorBottom = false
61+
showDateUpdated = true
62+
showAuthor = false
63+
showAuthorBottom = true
6464
showHero = false
6565
# heroStyle = "basic" # valid options: basic, big, background, thumbAndBackground
6666
layoutBackgroundBlur = true # only used when heroStyle equals background or thumbAndBackground
6767
layoutBackgroundHeaderSpace = true # only used when heroStyle equals background
68-
showBreadcrumbs = false
68+
showBreadcrumbs = true
6969
showDraftLabel = true
70-
showEdit = false
71-
# editURL = "https://github.com/username/repo/"
70+
showEdit = true
71+
editURL = "https://github.com/cccb/www/tree/staging/content/"
7272
editAppendPath = true
7373
seriesOpened = false
7474
showHeadingAnchors = true
75-
showPagination = true
75+
showPagination = false
7676
invertPagination = false
7777
showReadingTime = true
78-
showTableOfContents = false
78+
showTableOfContents = true
7979
# showRelatedContent = false
8080
# relatedContentLimit = 3
81-
showTaxonomies = false
81+
showTaxonomies = true
8282
showAuthorsBadges = false
8383
showWordCount = true
8484
# sharingLinks = [ "linkedin", "twitter", "bluesky", "mastodon", "reddit", "pinterest", "facebook", "email", "whatsapp", "telegram"]
@@ -113,6 +113,10 @@ forgejoDefaultServer = "https://v8.next.forgejo.org"
113113
showLikes = false
114114
showTableOfContents = false
115115
cardView = false
116+
category = "categories"
117+
series = "series"
118+
tag = "tags"
119+
116120

117121
[term]
118122
showHero = false

content/page/anfahrt.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "Anfahrt"
33
date: 2018-05-17T23:04:10+02:00
44
menu:
55
main:
6-
parent: "verein"
6+
parent: "Verein"
77
---
88

99
# Allgemeine Hinweise

content/page/bastelabend.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@ dtend: 20250118T230000
77
rrule: "FREQ=MONTHLY;BYDAY=1SA,3SA;WKST=MO"
88
menu:
99
main:
10-
parent: "veranstaltungen"
10+
parent: "Veranstaltungen"
1111
---
1212

13+
![Lötkolben im CCCB](/img/club/27481933907_f240f4232d.jpg)
14+
1315
**Jeden 1. und 3. Samstag im Monat ist ab 17 Uhr Bastelabend im Club.**
1416
Wenn ihr neu seid und den CCCB zum ersten Mal besuchen wollt, kommt am besten an einem Donnerstag zum [Club Discordia](/page/clubdiscordia/), da samstags nicht immer genug Leute da sind, um euch zu empfangen. Generell sind aber alle herzlich eingeladen, an den Spieleabenden vorbeizukommen.

content/page/beitragsordnung.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ subtitle: "Chaos Computer Club Berlin / CCC(B) e.V."
44
date: 2020-01-19T10:00:00+02:00
55
menu:
66
main:
7-
parent: "verein"
7+
parent: "Mitgliedschaft"
88
---
99

1010
_Stand: 19. Januar 2020_

content/page/calendar.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ subtitle: "Der Kalender des CCCB"
44
date: 2025-02-26T10:00:00+02:00
55
menu:
66
main:
7-
parent: "verein"
7+
parent: "Verein"
88
---
9+
![Ein Schild im CCCB mit der Aufschrift "Closed at Night"](/img/club/42303247602_56716d8704.jpg)
910

1011
<!-- Kalender-Widget -->
1112
<style>

content/page/chaosradio.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ date: 2020-02-27T01:00:00+02:00
88
#location: "CCCB"
99
menu:
1010
main:
11-
parent: "veranstaltungen"
11+
parent: "Veranstaltungen"
1212
---
1313

1414
![Chaosradio logo](/img/chaosradio.png)

0 commit comments

Comments
 (0)