Compare commits
3 commits
main
...
wip/new-th
Author | SHA1 | Date | |
---|---|---|---|
fce9cd1369 | |||
|
ff21e9d550 | ||
|
7d07a62a6a |
31 changed files with 3789 additions and 1148 deletions
6
.gitmodules
vendored
6
.gitmodules
vendored
|
@ -1,6 +0,0 @@
|
|||
[submodule "themes/cccsbg-hugo-theme"]
|
||||
path = themes/cccsbg-hugo-theme
|
||||
url = gitea@git.local.cccsbg.at:CCCSBG-PR/cccsbg-hugo-theme.git
|
||||
[submodule "themes/cccsbg-hugo-theme"]
|
||||
path = themes/cccsbg-hugo-theme
|
||||
url = gitea@git.local.cccsbg.at:CCCSBG-PR/cccsbg-hugo-theme.git
|
36
README.md
36
README.md
|
@ -1,36 +0,0 @@
|
|||
# CCCSBG - Website
|
||||
|
||||
This is repository for the cccsbg.at Site.
|
||||
|
||||
## Build
|
||||
|
||||
### Submodules
|
||||
|
||||
The Theme is included as Submodule so you have to init the submodule and download it.
|
||||
|
||||
```bash
|
||||
git submodule init
|
||||
git submodule update --remote --merge
|
||||
```
|
||||
|
||||
### Nodejs
|
||||
|
||||
We also need install the dependencies for TailwindCSS. Make sure you have pnpm installed.
|
||||
|
||||
```bash
|
||||
pnpm i
|
||||
cd themes/cccsbg-hugo-theme
|
||||
pnpm i
|
||||
cd ../../
|
||||
```
|
||||
|
||||
### Hugo
|
||||
|
||||
If you don't have a new enough (minimum is v0.127.0) with `go install github.com/gohugoio/hugo@latest
|
||||
`
|
||||
|
||||
```bash
|
||||
hugo build
|
||||
```
|
||||
|
||||
After this step, there should be files in the public folder.
|
|
@ -1,5 +0,0 @@
|
|||
+++
|
||||
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
|
||||
date = {{ .Date }}
|
||||
draft = true
|
||||
+++
|
1
assets/css/components/all.css
Normal file
1
assets/css/components/all.css
Normal file
|
@ -0,0 +1 @@
|
|||
@import "buttons.css";
|
15
assets/css/styles.css
Normal file
15
assets/css/styles.css
Normal file
|
@ -0,0 +1,15 @@
|
|||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
|
||||
@import "components/all.css";
|
||||
|
||||
html {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
@screen md {
|
||||
html {
|
||||
font-size: 20px;
|
||||
}
|
||||
}
|
Binary file not shown.
Before Width: | Height: | Size: 2 MiB |
9
content/datenschutz/index.md
Normal file
9
content/datenschutz/index.md
Normal file
|
@ -0,0 +1,9 @@
|
|||
+++
|
||||
title = 'Index'
|
||||
date = 2024-06-16T17:28:08+02:00
|
||||
draft = false
|
||||
+++
|
||||
|
||||
## Datenschutzerklärung
|
||||
|
||||
Der CCC Salzburg speichert und verarbeitet ausschließlich Daten zu denen er gesetzlich verpflichtet ist, oder die zum Betrieb von Diensten, die den Mitgliedern zur Verfügung gestellt werden, benötigt werden. Die einzelnen Dienste erhalten Zugriff auf den Nicknamen und die E-Mail Adresse durch die erstmalige Anmeldung. Die Nutzung dieser Dienste ist für die Mitglieder optional und freiwillig. Die Vertraulichkeit aller dem CCC Salzburg zur Verfügung gestellten Daten wird gewahrt und er wird sie nicht verkaufen, vermieten oder Dritten verfügbar machen. Alle Daten werden in der Übertragung und im ruhenden Zustand nach Stand der Technik geschützt und verschlüsselt. Bei Anfragen zum Datenschutz verweisen wir auf unsere Kontaktdaten aus dem [Impressum](#).
|
17
content/impressum/index.md
Normal file
17
content/impressum/index.md
Normal file
|
@ -0,0 +1,17 @@
|
|||
+++
|
||||
title = 'Index'
|
||||
date = 2024-06-16T17:37:28+02:00
|
||||
draft = true
|
||||
+++
|
||||
|
||||
## Impressum
|
||||
|
||||
Verein zur Förderung der prosperitiven Koexistenz von Mensch und Maschine — CCC Salzburg.
|
||||
|
||||
Die ZVR-Zahl lautet 839439289.
|
||||
|
||||
Email: 42@cccsbg.at
|
||||
|
||||
CCC Salzburg, 1. Stock
|
||||
Ulrike-Gschwandtner-Straße 5
|
||||
5020 Salzburg
|
|
@ -1,45 +1,30 @@
|
|||
+++
|
||||
title = 'CCC Salzburg'
|
||||
date = 2024-07-14T09:10:00+02:00
|
||||
image = 'cover.png'
|
||||
layout = 'single'
|
||||
title = ''
|
||||
date = 2024-06-16T16:57:42+02:00
|
||||
draft = false
|
||||
+++
|
||||
|
||||
{{% section-format type="snake" location="left" %}}
|
||||
# Wer wir sind
|
||||
## Wer wir sind
|
||||
|
||||
Wir sind der Verein zur Förderung der prosperitiven Koexistenz von Mensch und Maschine — CCC Salzburg.
|
||||
Weiters fühlen wir uns der [CCC Hackerethik](https://www.ccc.de/hackerethik) verbunden und möchten allen Lebewesen,
|
||||
unabhängig vom Aussehen, Alter, Herkunft, Spezies, Geschlecht oder gesellschaftliche Stellung, einen Raum bieten
|
||||
sich auszutauschen. Unsere Vereinszwecke lauten gemäß unseren Vereinsstatuten wie folgt:
|
||||
Wir sind der Verein zur Förderung der prosperitiven Koexistenz von Mensch und Maschine — CCC Salzburg. Weiters fühlen wir uns der [CCC Hackerethik](https://www.ccc.de/hackerethik) verbunden und möchten allen Lebewesen, unabhängig vom Aussehen, Alter, Herkunft, Spezies, Geschlecht oder gesellschaftliche Stellung, einen Raum bieten sich auszutauschen. Unsere Vereinszwecke lauten gemäß unseren Vereinsstatuten wie folgt:
|
||||
|
||||
- Förderung des schöpferisch-kritischen Umgangs mit Technologie.
|
||||
- Untersuchung technologischer Entwicklungen und deren Auswirkungen auf Gesellschaft und Individuen mit Schwerpunkt
|
||||
auf elektronischer Datenverarbeitung.
|
||||
- Untersuchung technologischer Entwicklungen und deren Auswirkungen auf Gesellschaft und Individuen mit Schwerpunkt auf elektronischer Datenverarbeitung.
|
||||
- Einsatz für offene Systeme, Informationsfreiheit und Netzneutralität.
|
||||
|
||||
{{%/ section-format %}}
|
||||
## Was tun wir
|
||||
|
||||
{{% section-format type="pacman" location="right" %}}
|
||||
# Was tun wir
|
||||
Oder auch was haben wir. Wir treffen uns mindestens einmal jede Woche am Freitag. Wir drucken, löten, schrauben, bohren...
|
||||
|
||||
Oder auch was haben wir. Wir treffen uns mindestens einmal jede Woche am Freitag.
|
||||
Wir drucken, löten, schrauben, bohren...
|
||||
{{%/ section-format %}}
|
||||
|
||||
{{% section-format type="invader" location="left" %}}
|
||||
# Kontakt
|
||||
## Kontakt
|
||||
|
||||
Am einfachsten kommst du uns an einem Freitag in unserem barrierefreien [Hackspace](https://de.wikipedia.org/wiki/Hackerspace) in der ARGEkultur besuchen. Dieser befindet sich im 1. Stock und ist bis auf Ausnahmen spätestens ab 18:00 öffentlich zugänglich. Schau einfach vorbei!
|
||||
|
||||
Die genaue Adresse lautet wie folgt:
|
||||
|
||||
```
|
||||
CCC Salzburg, 1. Stock
|
||||
Ulrike-Gschwandtner-Straße 5
|
||||
5020 Salzburg
|
||||
```
|
||||
|
||||
Über Events und Neuigkeiten bleibst du am Laufenden, wenn du dich auf unserer [Mailing Liste](https://lists.cccsbg.at/mailman3/lists/sbg.lists.cccsbg.at/) registrierst, oder die aufgelisteten Termine auf dieser Webseite beachtest. Es gibt noch unseren Matrix Raum [#chaossbg:darkfasel.net](https://matrix.to/#/#chaossbg:darkfasel.net) welcher auch mit unserem IRC Channel [#chaossbg @ darkfasel](https://webirc.darkfasel.net/#chaossbg) gebrückt ist. Gerne kannst du uns aber auch an [42@cccsbg.at](mailto:42@cccsbg.at) eine Mail schreiben.
|
||||
{{%/ section-format %}}
|
||||
|
16
content/mitgliedschaft/index.md
Normal file
16
content/mitgliedschaft/index.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
+++
|
||||
title = 'Mitgliedschaft'
|
||||
date = 2024-06-16T17:06:03+02:00
|
||||
draft = false
|
||||
+++
|
||||
|
||||
## Mitgliedschaft
|
||||
|
||||
Eine Mitgliedschaft im CCC Salzburg ist für alle Wesen offen. Um Mitglied zu werden empfiehlt es sich bei uns vorher vorbeizukommen. Natürlich ist es auch möglich gleich das Antragsformular auszufüllen. Zur Bestätigung erhältst du nach Eintragung in unsere Mitgliederverzeichnis eine E-Mail mit deiner Mitgliedsnummer. Diese ist beim Einzahlen des Mitgliedsbeitrags unbedingt anzugeben.
|
||||
|
||||
Der CCC Salzburg hat insgesamt zwei Beitragsarten, eine monatliche Fördermitgliedschaft und eine jährliche Mitgliedschaft. Beide gibt es auch vergünstigt:
|
||||
|
||||
- 70 Euro pro Jahr für eine CCC Salzburg Mitgliedschaft
|
||||
- 35 Euro pro Jahr für eine vergünstigte CCC Salzburg Mitgliedschaft (in Ausbildung, arbeitsuchend, pensioniert, etc.).
|
||||
- 42 Euro pro Monat für eine CCC Salzburg Fördermitgliedschaft
|
||||
- 23 Euro pro Monat für eine vergünstigte CCC Salzburg Fördermitgliedschaft (in Ausbildung, arbeitsuchend, pensioniert, etc.).
|
Binary file not shown.
Before Width: | Height: | Size: 143 KiB |
|
@ -1,24 +1,16 @@
|
|||
+++
|
||||
title = 'Spenden'
|
||||
date = 2024-07-14T09:10:00+02:00
|
||||
image = 'cover.png'
|
||||
layout = 'single'
|
||||
draft = false
|
||||
title = 'Index'
|
||||
date = 2024-06-16T17:36:24+02:00
|
||||
draft = true
|
||||
+++
|
||||
|
||||
{{% section-format type="snake" location="left" %}}
|
||||
# Spenden
|
||||
## Spenden
|
||||
|
||||
Geldspenden sind in unbegrenzter Höhe willkommen.
|
||||
|
||||
Unsere Bankverbindung lautet:
|
||||
|
||||
```
|
||||
CCC Salzburg
|
||||
Bank: Salzburger Sparkasse Bank AG
|
||||
IBAN: AT922040400040968679
|
||||
BIC: SBGSAT2SXXX
|
||||
```
|
||||
|
||||

|
||||
|
||||
{{%/ section-format %}}
|
||||
|
|
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 7.7 KiB |
9
content/unvereinbarkeitserlaerung/index.md
Normal file
9
content/unvereinbarkeitserlaerung/index.md
Normal file
|
@ -0,0 +1,9 @@
|
|||
+++
|
||||
title = 'Index'
|
||||
date = 2024-06-16T17:35:21+02:00
|
||||
draft = true
|
||||
+++
|
||||
|
||||
## Unvereinbarkeitserklärung
|
||||
|
||||
In unserer [Unvereinbarkeitserklärung](#) erklären wir, was für uns bei einem Besuch und in Folge dessen auch mit einer Mitgliedschaft als unvereinbar gilt.
|
3
go.mod
Normal file
3
go.mod
Normal file
|
@ -0,0 +1,3 @@
|
|||
module github.com/bep/hugo-starter-tailwind-basic/v3
|
||||
|
||||
go 1.19
|
23
hugo.toml
23
hugo.toml
|
@ -1,12 +1,8 @@
|
|||
baseURL = 'https://example.org/'
|
||||
languageCode = 'en-us'
|
||||
title = 'My New Hugo Site'
|
||||
theme = 'cccsbg-hugo-theme'
|
||||
[taxonomies]
|
||||
tag = ""
|
||||
group = ""
|
||||
category = ""
|
||||
baseURL = 'https://cccsbg.at/'
|
||||
languageCode = 'de-at'
|
||||
title = 'CCC-Salzburg'
|
||||
|
||||
disableKinds = ["page", "section", "taxonomy", "term"]
|
||||
|
||||
[module]
|
||||
[module.hugoVersion]
|
||||
|
@ -20,8 +16,7 @@ category = ""
|
|||
target = "assets/watching/hugo_stats.json"
|
||||
|
||||
[build]
|
||||
[build.buildStats]
|
||||
enable = true
|
||||
writeStats = true
|
||||
[[build.cachebusters]]
|
||||
source = "assets/watching/hugo_stats\\.json"
|
||||
target = "styles\\.css"
|
||||
|
@ -34,11 +29,3 @@ category = ""
|
|||
[[build.cachebusters]]
|
||||
source = "assets/.*\\.(.*)$"
|
||||
target = "$1"
|
||||
|
||||
## Needed for our short code
|
||||
[markup]
|
||||
[markup.goldmark.renderer]
|
||||
unsafe = true
|
||||
[markup.goldmark.parser.attribute]
|
||||
block = true
|
||||
title = true
|
||||
|
|
23
layouts/_default/baseof.html
Normal file
23
layouts/_default/baseof.html
Normal file
|
@ -0,0 +1,23 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" class="dark:bg-gray-900 bg-gray-200">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>
|
||||
{{ .Title }}
|
||||
</title>
|
||||
<meta name="description" content="{{ .Description }}" />
|
||||
{{/* styles */}}
|
||||
{{ $options := dict "inlineImports" true }}
|
||||
{{ $styles := resources.Get "css/styles.css" }}
|
||||
{{ $styles = $styles | resources.PostCSS $options }}
|
||||
{{ if hugo.IsProduction }}
|
||||
{{ $styles = $styles | minify | fingerprint | resources.PostProcess }}
|
||||
{{ end }}
|
||||
<link href="{{ $styles.RelPermalink }}" rel="stylesheet" />
|
||||
</head>
|
||||
<body class="my-10">
|
||||
<div class="container px-4 lg:mx-auto">
|
||||
{{ block "main" . }}{{ end }}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
13
layouts/index.html
Normal file
13
layouts/index.html
Normal file
|
@ -0,0 +1,13 @@
|
|||
{{ define "main" }}
|
||||
<article class="prose lg:prose-xl dark:prose-invert">
|
||||
<h1>Tailwind 3 Hugo Starter</h1>
|
||||
|
||||
<h2 class="text-4xl">Testing Tailwind 3 Features</h2>
|
||||
<div>
|
||||
<button class="bg-cyan-400 rounded-xl p-4">Share on Twitter</button>
|
||||
</div>
|
||||
|
||||
<h2 class="text-4xl">Markdowns: {{ .Title }}</h2>
|
||||
{{ .Content }}..
|
||||
</article>
|
||||
{{ end }}
|
2842
package-lock.json
generated
Normal file
2842
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
|
@ -1,4 +1,18 @@
|
|||
{
|
||||
"name": "cccsbg-hugo",
|
||||
"license": "MIT",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/bep/hugo-starter-tailwind-basic.git"
|
||||
},
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
"@tailwindcss/typography": "^0.4.1",
|
||||
"autoprefixer": "^10.3.1",
|
||||
"postcss": "^8.3.6",
|
||||
"postcss-cli": "^8.3.1",
|
||||
"postcss-purgecss": "^2.0.3",
|
||||
"tailwindcss": "^2.2.7"
|
||||
},
|
||||
"name": "hugo-starter-tailwind-basic",
|
||||
"version": "0.1.0"
|
||||
}
|
24
package.json
24
package.json
|
@ -1,17 +1,15 @@
|
|||
{
|
||||
"comments": {
|
||||
"dependencies": {},
|
||||
"devDependencies": {}
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://git.local.cccsbg.at/CCCSBG-PR/cccsbg-hugo"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tailwindcss/typography": "^0.5.9",
|
||||
"autoprefixer": "^10.4.14",
|
||||
"postcss": "^8.4.23",
|
||||
"postcss-cli": "^10.1.0",
|
||||
"tailwindcss": "^3.3.2"
|
||||
},
|
||||
"name": "cccsbg-hugo",
|
||||
"version": "0.1.0",
|
||||
"devDependencies": {
|
||||
"@fullhuman/postcss-purgecss": "^7.0.2",
|
||||
"@tailwindcss/cli": "^4.0.17",
|
||||
"@tailwindcss/postcss": "^4.0.17",
|
||||
"autoprefixer": "^10.4.21",
|
||||
"postcss": "^8.4.49",
|
||||
"postcss-cli": "^11.0.1",
|
||||
"tailwindcss": "^4.0.17"
|
||||
}
|
||||
"version": "0.1.0"
|
||||
}
|
||||
|
|
1773
pnpm-lock.yaml
generated
1773
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load diff
8
postcss.config.js
Normal file
8
postcss.config.js
Normal file
|
@ -0,0 +1,8 @@
|
|||
let tailwindConfig = process.env.HUGO_FILE_TAILWIND_CONFIG_JS || './tailwind.config.js';
|
||||
const tailwind = require('tailwindcss')(tailwindConfig);
|
||||
const autoprefixer = require('autoprefixer');
|
||||
|
||||
module.exports = {
|
||||
// eslint-disable-next-line no-process-env
|
||||
plugins: [tailwind, ...(process.env.HUGO_ENVIRONMENT === 'production' ? [autoprefixer] : [])],
|
||||
};
|
7
tailwind.config.js
Normal file
7
tailwind.config.js
Normal file
|
@ -0,0 +1,7 @@
|
|||
/** @type {import('tailwindcss').Config} */
|
||||
const typography = require('@tailwindcss/typography');
|
||||
|
||||
module.exports = {
|
||||
content: ['./hugo_stats.json'],
|
||||
plugins: [typography],
|
||||
};
|
|
@ -1 +0,0 @@
|
|||
Subproject commit b03b7aa08383288756ca86a560102bb70948ab01
|
Loading…
Add table
Reference in a new issue