diff --git a/.gitmodules b/.gitmodules index 4abc8dc..5a97d93 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,7 @@ [submodule "beautifulhugo"] path = themes/beautifulhugo url = https://github.com/cccb/beautifulhugo.git +[submodule "themes/blowfish"] + path = themes/blowfish + url = https://github.com/nunocoracao/blowfish.git + branch = main diff --git a/assets/img/avatar-CCCB-Logo.jpg b/assets/img/avatar-CCCB-Logo.jpg new file mode 100644 index 0000000..5f20d3d Binary files /dev/null and b/assets/img/avatar-CCCB-Logo.jpg differ diff --git a/assets/img/avatar-CCCB-Logo.png b/assets/img/avatar-CCCB-Logo.png new file mode 100644 index 0000000..6edccea Binary files /dev/null and b/assets/img/avatar-CCCB-Logo.png differ diff --git a/static/img/favicon.ico b/assets/img/favicon.ico similarity index 100% rename from static/img/favicon.ico rename to assets/img/favicon.ico diff --git a/static/img/logo.png b/assets/img/logo.png similarity index 100% rename from static/img/logo.png rename to assets/img/logo.png diff --git a/config.yaml b/config.yaml deleted file mode 100644 index 73af8d7..0000000 --- a/config.yaml +++ /dev/null @@ -1,84 +0,0 @@ -languageCode: "de-de" -title: "Chaos Computer Club Berlin" -theme: "beautifulhugo" -RelativeURLs: true -CanonifyURLs: true - -Params: - license: "CC-BY" - subtitle: "Willkommen! Wir sind ein Erfa-Kreis des Chaos Computer Club e.V. und die örtliche Niederlassung des CCC in Berlin." - logo: "img/logo.png" - favicon: "img/favicon.ico" - dateFormat: "January 2, 2006" - commit: false - rss: true - comments: true - readingTime: true - useHLJS: true - DateForm: "30.12.2006" - # for GDPR / EU-DSGVO compliance - selfHosted: true - -taxonomies: - category: "categories" - series: "series" - tag: "tags" - -permalinks: - post: "/post/:year/:month/:day/:title/" - -Author: - twitter: "clubdiscordia" - email: "mail2025@berlin.ccc.de" - mastodon: "chaos.social/@clubdiscordia" - irc: "https://webirc.hackint.org/#ircs://irc.hackint.org/#cccb" - -menu: - main: - - identifier: "verein" - name: "Der Verein" - weight: 200 - - identifier: "veranstaltungen" - name: "Veranstaltungen" - weight: 300 - - identifier: "news" - name: "News" - url: "post/" - weight: 500 - - identifier: "impressum" - name: "Impressum" - url: "page/impressum/" - weight: 600 - - identifier: "privacy" - name: "Privacy" - url: "page/datenschutz/" - weight: 700 - -mediaTypes: - text/calendar": - suffixes: - - "ics" - application/rss: - suffixes: - - "rss" - application/xml: - suffixes: - - "xml" - -outputFormats: - RSS: - mediaType: "application/rss" - XML: - isPlainText: true - mediaType: "application/xml" - -outputs: - section: - - "HTML" - - "Calendar" - - "RSS" - - "XML" - page: - - "HTML" - - "Calendar" - diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml new file mode 100644 index 0000000..f34314e --- /dev/null +++ b/config/_default/hugo.toml @@ -0,0 +1,69 @@ +# -- Site Configuration -- +# Refer to the theme docs for more details about each of these parameters. +# https://blowfish.page/docs/getting-started/ + +theme = "blowfish" # UNCOMMENT THIS LINE +baseURL = "https://berlin.ccc.de/" +defaultContentLanguage = "de" + +pluralizeListTitles = "true" # hugo function useful for non-english languages, find out more in https://gohugo.io/getting-started/configuration/#pluralizelisttitles + +enableRobotsTXT = true +summaryLength = 0 + +buildDrafts = false +buildFuture = false + +enableEmoji = true + +# googleAnalytics = "G-XXXXXXXXX" + +[pagination] + pagerSize = 100 + +[imaging] + anchor = 'Center' + +[taxonomies] + tag = "tags" + category = "categories" + author = "authors" + series = "series" + +[sitemap] + changefreq = 'daily' + filename = 'sitemap.xml' + priority = 0.5 + +[outputs] + home = ["HTML", "RSS", "JSON"] + +[related] + threshold = 0 + toLower = false + + [[related.indices]] + name = "tags" + weight = 100 + + [[related.indices]] + name = "categories" + weight = 100 + + [[related.indices]] + name = "series" + weight = 50 + + [[related.indices]] + name = "authors" + weight = 20 + + [[related.indices]] + name = "date" + weight = 10 + + [[related.indices]] + applyFilter = false + name = 'fragmentrefs' + type = 'fragments' + weight = 10 diff --git a/config/_default/languages.de.toml b/config/_default/languages.de.toml new file mode 100644 index 0000000..b800338 --- /dev/null +++ b/config/_default/languages.de.toml @@ -0,0 +1,73 @@ +disabled = false +languageCode = "de" +languageName = "Deutsch" +weight = 1 +title = "Chaos Computer Club Berlin" + +[params] + displayName = "DE" + isoCode = "de" + rtl = false + dateFormat = "January 2, 2006" + logo = "img/avatar-CCCB-Logo.png" + secondaryLogo = "img/avatar-CCCB-Logo.png" + description = "Willkommen! Wir sind ein Erfa-Kreis des Chaos Computer Club e.V. und die örtliche Niederlassung des CCC in Berlin." + copyright = "CCC-BY" + +[params.author] + # name = "Your name here" + email = "mail2025@berlin.ccc.de" + # image = "img/logo.png" + # imageQuality = 96 + headline = "Willkommen! Wir sind ein Erfa-Kreis des Chaos Computer Club e.V. und die örtliche Niederlassung des CCC in Berlin." +# bio = "A little bit about you" + links = [ + { email = "mailto:mail2025@berlin.ccc.de" }, +# { link = "https://link-to-some-website.com/" }, +# { amazon = "https://www.amazon.com/hz/wishlist/ls/wishlist-id" }, +# { apple = "https://www.apple.com" }, +# { blogger = "https://username.blogspot.com/" }, +# { bluesky = "https://bsky.app/profile/username" }, +# { codepen = "https://codepen.io/username" }, +# { dev = "https://dev.to/username" }, +# { discord = "https://discord.gg/invitecode" }, +# { dribbble = "https://dribbble.com/username" }, +# { facebook = "https://facebook.com/username" }, +# { flickr = "https://www.flickr.com/photos/username/" }, +# { foursquare = "https://foursquare.com/username" }, +# { github = "https://github.com/username" }, +# { gitlab = "https://gitlab.com/username" }, +# { google = "https://www.google.com/" }, +# { hashnode = "https://username.hashnode.dev" }, +# { instagram = "https://instagram.com/username" }, +# { itch-io = "https://username.itch.io" }, +# { keybase = "https://keybase.io/username" }, +# { kickstarter = "https://www.kickstarter.com/profile/username" }, +# { lastfm = "https://lastfm.com/user/username" }, +# { linkedin = "https://linkedin.com/in/username" }, + { mastodon = "https://chaos.social/@clubdiscordia" }, +# { medium = "https://medium.com/username" }, +# { microsoft = "https://www.microsoft.com/" }, +# { orcid = "https://orcid.org/userid" }, +# { patreon = "https://www.patreon.com/username" }, +# { pinterest = "https://pinterest.com/username" }, +# { reddit = "https://reddit.com/user/username" }, +# { researchgate = "https://www.researchgate.net/profile/username" }, +# { slack = "https://workspace.url/team/userid" }, +# { snapchat = "https://snapchat.com/add/username" }, +# { soundcloud = "https://soundcloud.com/username" }, +# { spotify = "https://open.spotify.com/user/userid" }, +# { stack-overflow = "https://stackoverflow.com/users/userid/username" }, +# { steam = "https://steamcommunity.com/profiles/userid" }, +# { telegram = "https://t.me/username" }, +# { threads = "https://www.threads.net/@username" }, +# { tiktok = "https://tiktok.com/@username" }, +# { tumblr = "https://username.tumblr.com" }, +# { twitch = "https://twitch.tv/username" }, +# { twitter = "https://twitter.com/username" }, +# { x-twitter = "https://twitter.com/username" }, +# { whatsapp = "https://wa.me/phone-number" }, +# { youtube = "https://youtube.com/username" }, +# { ko-fi = "https://ko-fi.com/username" }, +# { codeberg = "https://codeberg.org/username"}, + ] diff --git a/config/_default/markup.toml b/config/_default/markup.toml new file mode 100644 index 0000000..c5449fc --- /dev/null +++ b/config/_default/markup.toml @@ -0,0 +1,13 @@ +# -- Markup -- +# These settings are required for the theme to function. + +[goldmark] +[goldmark.renderer] + unsafe = true + +[highlight] + noClasses = false + +[tableOfContents] + startLevel = 2 + endLevel = 4 diff --git a/config/_default/menus.de.toml b/config/_default/menus.de.toml new file mode 100644 index 0000000..4542be5 --- /dev/null +++ b/config/_default/menus.de.toml @@ -0,0 +1,52 @@ +# -- Main Menu -- +# The main menu is displayed in the header at the top of the page. +# Acceptable parameters are name, pageRef, page, url, title, weight. +# +# The simplest menu configuration is to provide: +# name = The name to be displayed for this menu link +# pageRef = The identifier of the page or section to link to +# +# By default the menu is ordered alphabetically. This can be +# overridden by providing a weight value. The menu will then be +# ordered by weight from lowest to highest. + +#[[main]] +# name = "Blog" +# pageRef = "posts" +# weight = 10 + +[[main]] + name = "verein" + pageRef = "verein" + weight = 200 + +[[main]] + name = "veranstaltungen" + pageRef = "veranstaltungen" + weight = 300 + +[[main]] + name = "News" + pageRef = "post" + + weight = 400 + +[[main]] + name = "Impressum" + pageRef = "page/impressum/" + weight = 500 + +# -- Footer Menu -- +# The footer menu is displayed at the bottom of the page, just before +# the copyright notice. Configure as per the main menu above. + + +[[footer]] + name = "Tags" + pageRef = "tags" + weight = 10 + +[[footer]] + name = "Categories" + pageRef = "categories" + weight = 20 diff --git a/config/_default/params.toml b/config/_default/params.toml new file mode 100644 index 0000000..3e11aef --- /dev/null +++ b/config/_default/params.toml @@ -0,0 +1,168 @@ +# -- Theme Options -- +# These options control how the theme functions and allow you to +# customise the display of your website. +# +# Refer to the theme docs for more details about each of these parameters. +# https://blowfish.page/docs/configuration/#theme-parameters + +colorScheme = "fira" # "congo" +defaultAppearance = "light" # valid options: light or dark +autoSwitchAppearance = true + +enableSearch = true +enableCodeCopy = false + +replyByEmail = false + +# mainSections = ["section1", "section2"] +# robots = "" + +[params] +disableImageOptimization = false +disableTextInHeader = false +backgroundImageWidth = 1200 + +defaultBackgroundImage = "/img/cccb-im-winter.jpg" # used as default for background images +defaultFeaturedImage = "img/avatar-CCCB-Logo.png" # used as default for featured images in all articles + +# highlightCurrentMenuArea = true +# smartTOC = true +# smartTOCHideUnfocusedChildren = true + +giteaDefaultServer = "https://git.fsfe.org" +forgejoDefaultServer = "https://v8.next.forgejo.org" + +[header] + layout = "fixed-fill-blur" # valid options: basic, fixed, fixed-fill, fixed-gradient, fixed-fill-blur + +[footer] + showMenu = true + showCopyright = true + showThemeAttribution = true + showAppearanceSwitcher = true + showScrollToTop = true + +[homepage] + layout = "background" # valid options: page, profile, hero, card, background, custom + homepageImage = "img/cccb-im-winter.jpg" # used in: hero, and card + showRecent = true + showRecentItems = 5 + showMoreLink = true + showMoreLinkDest = "/posts/" + cardView = false + cardViewScreenWidth = false + layoutBackgroundBlur = false # only used when layout equals background + +[article] + showDate = true + showViews = false + showLikes = false + showDateOnlyInArticle = false + showDateUpdated = false + showAuthor = true + # showAuthorBottom = false + showHero = false + # heroStyle = "basic" # valid options: basic, big, background, thumbAndBackground + layoutBackgroundBlur = true # only used when heroStyle equals background or thumbAndBackground + layoutBackgroundHeaderSpace = true # only used when heroStyle equals background + showBreadcrumbs = false + showDraftLabel = true + showEdit = false + # editURL = "https://github.com/username/repo/" + editAppendPath = true + seriesOpened = false + showHeadingAnchors = true + showPagination = true + invertPagination = false + showReadingTime = true + showTableOfContents = false + # showRelatedContent = false + # relatedContentLimit = 3 + showTaxonomies = false + showAuthorsBadges = false + showWordCount = true + # sharingLinks = [ "linkedin", "twitter", "bluesky", "mastodon", "reddit", "pinterest", "facebook", "email", "whatsapp", "telegram"] + showZenMode = false + +[list] + showHero = false + # heroStyle = "background" # valid options: basic, big, background, thumbAndBackground + layoutBackgroundBlur = true # only used when heroStyle equals background or thumbAndBackground + layoutBackgroundHeaderSpace = true # only used when heroStyle equals background + showBreadcrumbs = false + showSummary = false + showViews = false + showLikes = false + showTableOfContents = false + showCards = false + orderByWeight = false + groupByYear = true + cardView = false + cardViewScreenWidth = false + constrainItemsWidth = false + +[sitemap] + excludedKinds = ["taxonomy", "term"] + +[taxonomy] + showTermCount = true + showHero = false + # heroStyle = "background" # valid options: basic, big, background, thumbAndBackground + showBreadcrumbs = false + showViews = false + showLikes = false + showTableOfContents = false + cardView = false + +[term] + showHero = false + # heroStyle = "background" # valid options: basic, big, background, thumbAndBackground + showBreadcrumbs = false + showViews = false + showLikes = false + showTableOfContents = true + groupByYear = false + cardView = false + cardViewScreenWidth = false + +[firebase] + # apiKey = "XXXXXX" + # authDomain = "XXXXXX" + # projectId = "XXXXXX" + # storageBucket = "XXXXXX" + # messagingSenderId = "XXXXXX" + # appId = "XXXXXX" + # measurementId = "XXXXXX" + +[fathomAnalytics] + # site = "ABC12345" + # domain = "llama.yoursite.com" + +[umamiAnalytics] + # websiteid = "ABC12345" + # domain = "llama.yoursite.com" + # dataDomains = "yoursite.com,yoursite2.com" + # scriptName = "" + # enableTrackEvent = true + +[selineAnalytics] + # token = "XXXXXX" + # enableTrackEvent = true + +[buymeacoffee] + # identifier = "" + # globalWidget = true + # globalWidgetMessage = "Hello" + # globalWidgetColor = "#FFDD00" + # globalWidgetPosition = "Right" + +[verification] + # google = "" + # bing = "" + # pinterest = "" + # yandex = "" + # fediverse = "" + +[rssnext] + # feedId = "" + # userId = "" \ No newline at end of file diff --git a/content/page/calendar.md b/content/page/calendar.md new file mode 100644 index 0000000..ddeec34 --- /dev/null +++ b/content/page/calendar.md @@ -0,0 +1,369 @@ +--- +title: "Kalender" +subtitle: "Der Kalender des CCCB" +date: 2025-02-26T10:00:00+02:00 +menu: + main: + parent: "verein" +--- + + + + +
+
+
+ + + +
+ + + + + + + + + + + + + +
MoDiMiDoFrSaSo
+
+
+
+
+
+
+ + diff --git a/content/page/fotos.md b/content/page/fotos.md index 6fecf91..63595f3 100644 --- a/content/page/fotos.md +++ b/content/page/fotos.md @@ -6,4 +6,9 @@ menu: parent: "verein" --- -{{< gallery dir="/img/club/" caption-position="none"/>}} +{{< gallery >}} + + + + +{{< /gallery >}} \ No newline at end of file diff --git a/layouts/page/single.ics b/layouts/page/single.ics index 50a1de3..ecd0e50 100644 --- a/layouts/page/single.ics +++ b/layouts/page/single.ics @@ -36,7 +36,7 @@ EXDATE;TZID=Europe/Berlin:{{.}} {{end -}} LOCATION:{{with .Params.location}}{{.}}{{else}}CCCB{{end}} URL:{{.Permalink}} -DESCRIPTION:{{.Permalink}} +DESCRIPTION:{{- .Content | plainify | replaceRE "\n" "\\n" | replaceRE ":" "\\:" -}} END:VEVENT END:VCALENDAR {{end -}} diff --git a/old_config.yaml.txt b/old_config.yaml.txt new file mode 100644 index 0000000..b01a364 --- /dev/null +++ b/old_config.yaml.txt @@ -0,0 +1,84 @@ +languageCode: "de-de" +# title: "Chaos Computer Club Berlin" +theme: "blowfish" +RelativeURLs: true +CanonifyURLs: true + +# Params: +# license: "CC-BY" +# subtitle: "Willkommen! Wir sind ein Erfa-Kreis des Chaos Computer Club e.V. und die örtliche Niederlassung des CCC in Berlin." +# logo: "img/avatar-CCCB-Logo.png" +# favicon: "img/favicon.ico" +# dateFormat: "January 2, 2006" +# commit: false +# rss: true +# comments: true +# readingTime: true +# useHLJS: true +# DateForm: "30.12.2006" +# # for GDPR / EU-DSGVO compliance +# selfHosted: true + +# taxonomies: +# category: "categories" +# series: "series" +# tag: "tags" + +# permalinks: +# post: "/post/:year/:month/:day/:title/" + +# Author: +# twitter: "clubdiscordia" +# email: "mail2025@berlin.ccc.de" +# mastodon: "chaos.social/@clubdiscordia" +# irc: "https://webirc.hackint.org/#ircs://irc.hackint.org/#cccb" + +# menu: +# main: +# - identifier: "verein" +# name: "Der Verein" +# weight: 200 +# - identifier: "veranstaltungen" +# name: "Veranstaltungen" +# weight: 300 +# - identifier: "news" +# name: "News" +# url: "post/" +# weight: 500 +# - identifier: "impressum" +# name: "Impressum" +# url: "page/impressum/" +# weight: 600 +# - identifier: "privacy" +# name: "Privacy" +# url: "page/datenschutz/" +# weight: 700 + +# mediaTypes: +# text/calendar": +# suffixes: +# - "ics" +# application/rss: +# suffixes: +# - "rss" +# application/xml: +# suffixes: +# - "xml" + +# outputFormats: +# RSS: +# mediaType: "application/rss" +# XML: +# isPlainText: true +# mediaType: "application/xml" + +# outputs: +# section: +# - "HTML" +# - "Calendar" +# - "RSS" +# - "XML" +# page: +# - "HTML" +# - "Calendar" + diff --git a/static/img/cccb-im-winter.jpg b/static/img/cccb-im-winter.jpg new file mode 100644 index 0000000..c06fa9a Binary files /dev/null and b/static/img/cccb-im-winter.jpg differ diff --git a/themes/blowfish b/themes/blowfish new file mode 160000 index 0000000..96a116a --- /dev/null +++ b/themes/blowfish @@ -0,0 +1 @@ +Subproject commit 96a116a8b0354fc1042c968608a5c1f3001bcbef