forked from CCCHH/hacker.tours-website
Initial version
This commit is contained in:
commit
ed5653a7fc
211 changed files with 11043 additions and 0 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
public
|
||||||
|
resources/_gen
|
||||||
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
[submodule "themes/zen"]
|
||||||
|
path = themes/zen
|
||||||
|
url = https://github.com/frjo/hugo-theme-zen.git
|
||||||
0
.hugo_build.lock
Normal file
0
.hugo_build.lock
Normal file
4
Dockerfile
Normal file
4
Dockerfile
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
FROM docker.io/nginx
|
||||||
|
|
||||||
|
RUN rm -rf /usr/share/nginx/html && mkdir -p /usr/share/nginx/html
|
||||||
|
COPY public /usr/share/nginx/html
|
||||||
13
README.md
Normal file
13
README.md
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
# hacker.tours Web Site
|
||||||
|
|
||||||
|
|
||||||
|
## Build locally
|
||||||
|
|
||||||
|
```shell
|
||||||
|
rm -rf public
|
||||||
|
hugo
|
||||||
|
docker build -t hackertours .
|
||||||
|
docker run -it --rm --name hackertours -p 8888:80 hackertours
|
||||||
|
```
|
||||||
|
|
||||||
|
Then open http://localhost:8888
|
||||||
5
archetypes/default.md
Normal file
5
archetypes/default.md
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
+++
|
||||||
|
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
|
||||||
|
date = {{ .Date }}
|
||||||
|
draft = true
|
||||||
|
+++
|
||||||
7
assets/sass/_custom.scss
Normal file
7
assets/sass/_custom.scss
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
table, th, td {
|
||||||
|
border: 1px solid;
|
||||||
|
}
|
||||||
|
th, td {
|
||||||
|
padding: 3px 6px;
|
||||||
|
font-variant-numeric: tabular-nums;
|
||||||
|
}
|
||||||
13
content/de/_index.md
Normal file
13
content/de/_index.md
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
---
|
||||||
|
title: hacker.tours (de)
|
||||||
|
---
|
||||||
|
|
||||||
|
## Willkommen bei den Hackertours – euer Anbieter für Sightseeing für Technik-Enthusiasten!
|
||||||
|
|
||||||
|
Bei verschiedenen Chaos-Veranstaltungen organisiert der lokale Erfa/Chaostreff Touren zu interessanten Orten in der Stand und Umgebung. Hier findet ihr Informationen zu aktuellen und früheren Veranstaltungen!
|
||||||
|
|
||||||
|
### 2023
|
||||||
|
|
||||||
|
* [37C3 Hackertours](https://hackertours.hamburg.ccc.de)
|
||||||
|
|
||||||
|
# News
|
||||||
10
content/de/posts/2024-06-13-hello.md
Normal file
10
content/de/posts/2024-06-13-hello.md
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
---
|
||||||
|
title: 'Mehr Hackertours auf hacker.tours!'
|
||||||
|
date: 2024-06-13T18:00:00+02:00
|
||||||
|
summary: |
|
||||||
|
Mit der neuen Website schaffen wir eine dauerhafte Heimat für Infos rund um die Touren.
|
||||||
|
---
|
||||||
|
|
||||||
|
Mit der neuen Website schaffen wir eine dauerhafte Heimat für Infos rund um die Touren.
|
||||||
|
|
||||||
|
Wenn ihr Hackertours für euren Chaos-Event plant und die hier veröffentlichen wollt, meldet euch einfach bei hackertours at hamburg.ccc.de!
|
||||||
7
content/de/posts/_index.md
Normal file
7
content/de/posts/_index.md
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
title: News
|
||||||
|
weight: 1
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
Aktuelle Informationen zu den Hackertours.
|
||||||
13
content/en/_index.md
Normal file
13
content/en/_index.md
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
---
|
||||||
|
title: hacker.tours (en)
|
||||||
|
---
|
||||||
|
|
||||||
|
## Welcome to Hackertours – your provider of sightseeing tours for technical enthusiasts!
|
||||||
|
|
||||||
|
At various Chaos events the local club organizes tours to interesting places in the city and surroundings. You will find infos about current and past events!
|
||||||
|
|
||||||
|
## 2023
|
||||||
|
|
||||||
|
* [37C3 Hackertours](https://hackertours.hamburg.ccc.de)
|
||||||
|
|
||||||
|
# News
|
||||||
10
content/en/posts/2024-06-13-hello.md
Normal file
10
content/en/posts/2024-06-13-hello.md
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
---
|
||||||
|
title: 'More Hackertours on hacker.tours!'
|
||||||
|
date: 2024-06-13T18:00:00+02:00
|
||||||
|
summary: |
|
||||||
|
With this new web site we create a new permanent home for infos about the tours.
|
||||||
|
---
|
||||||
|
|
||||||
|
With this new web site we create a new permanent home for infos about the tours.
|
||||||
|
|
||||||
|
If you are planning tours for your Chaos event, and you would like to publish information here, please get in touch at hackertours at hamburg.ccc.de!
|
||||||
7
content/en/posts/_index.md
Normal file
7
content/en/posts/_index.md
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
title: News
|
||||||
|
weight: 1
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
Important infos for the tours.
|
||||||
32
hugo.yaml
Normal file
32
hugo.yaml
Normal file
|
|
@ -0,0 +1,32 @@
|
||||||
|
baseURL: 'https://hacker.tours/'
|
||||||
|
defaultContentLanguage: de
|
||||||
|
defaultContentLanguageInSubdir: true
|
||||||
|
#languageCode: 'de-de'
|
||||||
|
title: 'hacker.tours'
|
||||||
|
theme: "zen"
|
||||||
|
|
||||||
|
#https://themes.gohugo.io/themes/hugo-theme-zen/#configuration
|
||||||
|
params:
|
||||||
|
contact: "hackertours@hamburg.ccc.de"
|
||||||
|
copyright: "[CCC Hansestadt Hamburg e.V.](https://hamburg.ccc.de) ist nur der Vermittler, für die Touren sind die jeweiligen Veranstalter verantwortlich"
|
||||||
|
description: "hacker.tours"
|
||||||
|
footer: "[Impressum & Datenschutz](https://hamburg.ccc.de/imprint/)"
|
||||||
|
logo: false
|
||||||
|
mainSections:
|
||||||
|
- posts
|
||||||
|
mobileMenu: true
|
||||||
|
poweredby: false
|
||||||
|
|
||||||
|
languages:
|
||||||
|
en:
|
||||||
|
weight: 1
|
||||||
|
languageName: "English"
|
||||||
|
languageCode: "en"
|
||||||
|
contentDir: content/en
|
||||||
|
title: "hacker.tours"
|
||||||
|
de:
|
||||||
|
weight: 2
|
||||||
|
languageName: "Deutsch"
|
||||||
|
languageCode: "de"
|
||||||
|
contentDir: content/de
|
||||||
|
title: "hacker.tours"
|
||||||
20
themes/zen/.editorconfig
Normal file
20
themes/zen/.editorconfig
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
# Editor configuration normalization
|
||||||
|
# @see http://editorconfig.org/
|
||||||
|
|
||||||
|
# This is the top-most .editorconfig file; do not search in parent directories.
|
||||||
|
root = true
|
||||||
|
|
||||||
|
# All files.
|
||||||
|
[*]
|
||||||
|
end_of_line = LF
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 2
|
||||||
|
charset = utf-8
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
insert_final_newline = true
|
||||||
|
|
||||||
|
[*.{md,mdown,markdown}]
|
||||||
|
indent_size = 4
|
||||||
|
trim_trailing_whitespace = false
|
||||||
|
insert_final_newline = false
|
||||||
|
x-soft-wrap-text = true
|
||||||
2
themes/zen/.eslintignore
Normal file
2
themes/zen/.eslintignore
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
*.compact.js
|
||||||
|
*.min.js
|
||||||
147
themes/zen/.eslintrc.yaml
Normal file
147
themes/zen/.eslintrc.yaml
Normal file
|
|
@ -0,0 +1,147 @@
|
||||||
|
env:
|
||||||
|
browser: true
|
||||||
|
es2021: true
|
||||||
|
extends: 'eslint:recommended'
|
||||||
|
plugins:
|
||||||
|
- template
|
||||||
|
parserOptions:
|
||||||
|
ecmaVersion: 12
|
||||||
|
globals:
|
||||||
|
jQuery: true
|
||||||
|
u: true
|
||||||
|
rules:
|
||||||
|
array-bracket-spacing:
|
||||||
|
- "error"
|
||||||
|
- never
|
||||||
|
block-scoped-var: "error"
|
||||||
|
brace-style:
|
||||||
|
- "error"
|
||||||
|
- stroustrup
|
||||||
|
- allowSingleLine: true
|
||||||
|
comma-dangle:
|
||||||
|
- "error"
|
||||||
|
- never
|
||||||
|
comma-style:
|
||||||
|
- "error"
|
||||||
|
- last
|
||||||
|
computed-property-spacing:
|
||||||
|
- "error"
|
||||||
|
- never
|
||||||
|
curly:
|
||||||
|
- "error"
|
||||||
|
- all
|
||||||
|
eol-last: "error"
|
||||||
|
eqeqeq:
|
||||||
|
- "error"
|
||||||
|
- smart
|
||||||
|
guard-for-in: "error"
|
||||||
|
indent:
|
||||||
|
- "error"
|
||||||
|
- 2
|
||||||
|
- SwitchCase: 1
|
||||||
|
key-spacing:
|
||||||
|
- "error"
|
||||||
|
- afterColon: true
|
||||||
|
beforeColon: false
|
||||||
|
keyword-spacing:
|
||||||
|
- "error"
|
||||||
|
- after: true
|
||||||
|
before: true
|
||||||
|
linebreak-style:
|
||||||
|
- "error"
|
||||||
|
- unix
|
||||||
|
lines-around-comment:
|
||||||
|
- "error"
|
||||||
|
- afterBlockComment: false
|
||||||
|
beforeBlockComment: true
|
||||||
|
max-nested-callbacks:
|
||||||
|
- "warn"
|
||||||
|
- 3
|
||||||
|
new-parens: "error"
|
||||||
|
no-array-constructor: "error"
|
||||||
|
no-caller: "error"
|
||||||
|
no-catch-shadow: "error"
|
||||||
|
no-eval: "error"
|
||||||
|
no-extend-native: "error"
|
||||||
|
no-extra-bind: "error"
|
||||||
|
no-extra-parens:
|
||||||
|
- "error"
|
||||||
|
- functions
|
||||||
|
no-implied-eval: "error"
|
||||||
|
no-iterator: "error"
|
||||||
|
no-label-var: "error"
|
||||||
|
no-labels: "error"
|
||||||
|
no-lone-blocks: "error"
|
||||||
|
no-loop-func: "error"
|
||||||
|
no-multi-spaces: "error"
|
||||||
|
no-multi-str: "error"
|
||||||
|
no-native-reassign: "error"
|
||||||
|
no-nested-ternary: "error"
|
||||||
|
no-new-func: "error"
|
||||||
|
no-new-object: "error"
|
||||||
|
no-new-wrappers: "error"
|
||||||
|
no-octal-escape: "error"
|
||||||
|
no-process-exit: "error"
|
||||||
|
no-proto: "error"
|
||||||
|
no-return-assign: "error"
|
||||||
|
no-script-url: "error"
|
||||||
|
no-sequences: "error"
|
||||||
|
no-shadow-restricted-names: "error"
|
||||||
|
no-spaced-func: "error"
|
||||||
|
no-trailing-spaces: "error"
|
||||||
|
no-undef-init: "error"
|
||||||
|
no-undefined: "error"
|
||||||
|
no-unused-expressions: "error"
|
||||||
|
no-unused-vars:
|
||||||
|
- "error"
|
||||||
|
- args: none
|
||||||
|
vars: all
|
||||||
|
no-with: "error"
|
||||||
|
object-curly-spacing:
|
||||||
|
- "error"
|
||||||
|
- never
|
||||||
|
one-var:
|
||||||
|
- "error"
|
||||||
|
- never
|
||||||
|
quote-props:
|
||||||
|
- "error"
|
||||||
|
- consistent-as-needed
|
||||||
|
quotes:
|
||||||
|
- "error"
|
||||||
|
- single
|
||||||
|
- avoid-escape
|
||||||
|
semi:
|
||||||
|
- "error"
|
||||||
|
- always
|
||||||
|
semi-spacing:
|
||||||
|
- "error"
|
||||||
|
- after: true
|
||||||
|
before: false
|
||||||
|
space-before-blocks:
|
||||||
|
- "error"
|
||||||
|
- always
|
||||||
|
space-before-function-paren:
|
||||||
|
- "error"
|
||||||
|
- anonymous: always
|
||||||
|
named: never
|
||||||
|
space-in-parens:
|
||||||
|
- "error"
|
||||||
|
- never
|
||||||
|
space-infix-ops: "error"
|
||||||
|
space-unary-ops:
|
||||||
|
- "error"
|
||||||
|
- nonwords: false
|
||||||
|
words: true
|
||||||
|
spaced-comment:
|
||||||
|
- "error"
|
||||||
|
- always
|
||||||
|
strict: "error"
|
||||||
|
valid-jsdoc:
|
||||||
|
- "warn"
|
||||||
|
- prefer:
|
||||||
|
property: prop
|
||||||
|
returns: return
|
||||||
|
requireReturn: false
|
||||||
|
yoda:
|
||||||
|
- "error"
|
||||||
|
- never
|
||||||
4
themes/zen/.github/FUNDING.yaml
vendored
Normal file
4
themes/zen/.github/FUNDING.yaml
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
# These are supported funding model platforms
|
||||||
|
---
|
||||||
|
github: frjo
|
||||||
|
ko_fi: frjo01
|
||||||
40
themes/zen/.github/release-drafter.yaml
vendored
Normal file
40
themes/zen/.github/release-drafter.yaml
vendored
Normal file
|
|
@ -0,0 +1,40 @@
|
||||||
|
name-template: '$RESOLVED_VERSION'
|
||||||
|
tag-template: 'v$RESOLVED_VERSION'
|
||||||
|
version-resolver:
|
||||||
|
major:
|
||||||
|
labels:
|
||||||
|
- 'major'
|
||||||
|
minor:
|
||||||
|
labels:
|
||||||
|
- 'minor'
|
||||||
|
patch:
|
||||||
|
labels:
|
||||||
|
- 'patch'
|
||||||
|
default: minor
|
||||||
|
categories:
|
||||||
|
- title: '🚀 Features'
|
||||||
|
labels:
|
||||||
|
- 'feature'
|
||||||
|
- title: '⚙️ Enhancements'
|
||||||
|
labels:
|
||||||
|
- 'enhancement'
|
||||||
|
- title: '🐛 Bug Fixes'
|
||||||
|
labels:
|
||||||
|
- 'fix'
|
||||||
|
- 'bugfix'
|
||||||
|
- 'bug'
|
||||||
|
- title: '🔧 Maintenance'
|
||||||
|
labels:
|
||||||
|
- 'dependencies'
|
||||||
|
- 'maintenance'
|
||||||
|
- title: '📜 Documentation'
|
||||||
|
labels:
|
||||||
|
- 'documentation'
|
||||||
|
template: |
|
||||||
|
## Changes
|
||||||
|
|
||||||
|
$CHANGES
|
||||||
|
|
||||||
|
Contributors to this release: $CONTRIBUTORS
|
||||||
|
|
||||||
|
**Full changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION
|
||||||
31
themes/zen/.github/workflows/release-drafter.yaml
vendored
Normal file
31
themes/zen/.github/workflows/release-drafter.yaml
vendored
Normal file
|
|
@ -0,0 +1,31 @@
|
||||||
|
name: Release Drafter
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
# branches to consider in the event; optional, defaults to all
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
# pull_request event is required only for autolabeler
|
||||||
|
pull_request:
|
||||||
|
# Only following types are handled by the action, but one can default to all as well
|
||||||
|
types: [opened, reopened, synchronize]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
update_release_draft:
|
||||||
|
permissions:
|
||||||
|
# write permission is required to create a github release
|
||||||
|
contents: write
|
||||||
|
# write permission is required for autolabeler
|
||||||
|
# otherwise, read permission is required at least
|
||||||
|
pull-requests: write
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
# Drafts your next Release notes as Pull Requests are merged into "master"
|
||||||
|
- uses: release-drafter/release-drafter@v5
|
||||||
|
with:
|
||||||
|
config-name: release-drafter.yaml
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue