Commit graph

47 commits

Author SHA1 Message Date
63d3f4459d Theme: Fix robots partial "isset on nil" warning
All checks were successful
/ build (pull_request) Successful in 40s
/ cleanup-staging (pull_request) Successful in 1s
/ build (push) Successful in 12s
As not all pages have the robots param defined, we got a warning:
WARN  calling IsSet with unsupported type "invalid" (<nil>) will always return false.
This is solved by adding an additional "isset" check.
2024-04-20 18:14:41 +02:00
462fb7ed68 [FIX] failed build on some newer hugo versions
All checks were successful
/ build (pull_request) Successful in 40s
/ cleanup-staging (pull_request) Successful in 2s
/ build (push) Successful in 13s
might need v0.123.0 or greater
2024-03-12 21:22:28 +01:00
76dcc69074 CSS: Less bottom margin for headings
All checks were successful
/ build (push) Successful in 13s
2024-03-07 20:15:01 +01:00
7e29bd5369 Theme: Keep current event for 6 hours after start date
Some checks failed
/ build (pull_request) Successful in 39s
/ cleanup-staging (pull_request) Successful in 2s
/ build (push) Has been cancelled
Events are shown in the "Neuigkeiten" section until their start date has been reached.
As we deploy quite often, this means, that the currently running event will disappear when it's still going.
As we don't know the end date, just show them for 6 more hours.
2024-03-07 20:11:29 +01:00
765d271531 Home: Add "read more" link to announcement summary
All checks were successful
/ build (pull_request) Successful in 40s
/ cleanup-staging (pull_request) Successful in 2s
/ build (push) Successful in 13s
Adding an ellipsis doesn't really work for both cases.
2024-03-02 22:09:27 +01:00
0f533e21e5 Theme: Add link to "Z9" location
All checks were successful
/ build (push) Successful in 13s
2024-02-20 21:27:28 +01:00
7d492980b8 Theme: use right locale in calendar-table
All checks were successful
/ build (push) Successful in 13s
2024-02-11 20:10:22 +01:00
8607882719
Theme: Add favicon
All checks were successful
/ build (pull_request) Successful in 39s
/ cleanup-staging (pull_request) Successful in 1s
/ build (push) Successful in 12s
2024-02-08 22:14:26 +01:00
8a66b0a361
fix doorstatus not updating every minute
All checks were successful
/ build (pull_request) Successful in 40s
/ cleanup-staging (pull_request) Successful in 2s
/ build (push) Successful in 13s
roomstate.js incorrectly used setTimeout() instead of setInterval() to
call the door status. This caused the status to only be updated once
after the initial page load, instead of once every minute
2024-02-02 15:44:59 +01:00
6911482c0e RSS: Add authors
All checks were successful
/ build (push) Successful in 11s
2024-01-27 23:15:22 +01:00
75cdbad994 Style: Make header adaptive by intro. a hamburg. menu for mobile viewp.
All checks were successful
/ build (push) Successful in 12s
Co-authored-by: c6ristian <c6ristian@christian.moe>
2024-01-27 23:14:41 +01:00
0471b5f348 Theme: Use internal picocss 2024-01-27 23:14:41 +01:00
74cdb157fd Theme: Add picocss v1.5.11 2024-01-27 23:14:41 +01:00
fe6fab6f1e template: Set draft=false by default
All checks were successful
/ build (push) Successful in 12s
2024-01-27 22:58:50 +01:00
d9a1b256ad Calendar: Link to first URL from description
All checks were successful
/ build (pull_request) Successful in 37s
/ build (push) Successful in 12s
2024-01-23 20:37:19 +01:00
f303dee335 Home: Fix non-existing links on card headings
All checks were successful
/ build (push) Successful in 13s
2024-01-23 18:57:40 +01:00
765b727cc7 Template: Add robots meta-tag, set noindex on staging
All checks were successful
/ build (push) Successful in 13s
Stolen from https://github.com/dereckcurry/hugo-robots-meta-tags
2024-01-22 22:36:23 +01:00
3b514a8262
remove check for removed spaceapi item "api"
remove check for presence of "api" item in the spaceapi response,
as this item was removed in spaceapi v14
2024-01-16 02:29:27 +01:00
cf305a3855
use new spaceapi endpoint
use new spaceapi endpoint spaceapi.hamburg.ccc.de instead of old
dooris status
2024-01-16 02:16:14 +01:00
8fce40f91d blog: Use page resources for header image 2023-12-02 22:40:20 +01:00
63d29bb1e2 Blog: Only show change date, if newer than publish 2023-11-29 22:12:48 +00:00
2710137012 [FEATURE] Blog: make the blog posts looks much nicer and add a header image 2023-11-29 23:10:16 +01:00
abf85cec0f RSS: Put full articles in feed, use publishDate 2023-11-29 22:46:43 +01:00
4dc04e833d RSS: import default rss template 2023-11-29 22:46:43 +01:00
eb43562384 theme: Customize 404 page with 404cat 2023-11-20 21:26:54 +01:00
80a9b0a2d3 Theme: Use RelPermalink everywhere 2023-11-04 22:26:11 +01:00
f826bcf7fe CI: Set timezone to Europe/Berlin
Evaluation of the ical data uses the local time when formating the output string as the input data uses UTC.
2023-11-04 19:43:29 +00:00
5684e3d819 Make the header actually a <header> HTML element 2023-11-03 21:43:09 +01:00
3e887ec5b5 Style: Make footer adaptive
- Set flex-flow of the list to "row wrap" to make the footer adaptive.
- Set display of the list to flex to make it clear we're using it.
  This is already set in Pico CSS so it isn't necessary, but I think
  it's nicer to have it set again explictly.
  See here for the relevant Pico CSS code:
  aaa1ffe05c/scss/components/_nav.scss (L20)
2023-11-03 21:43:09 +01:00
2c5bd3ad6c Content: Add home page content 2023-11-03 21:37:51 +01:00
b1c697228c Head: Include all JavaScript sources in js directory
Co-authored-by: c6ristian <c6ristian@christian.moe>
2023-11-03 21:17:32 +01:00
4f4d2c0fc6 calendar-table: Limit to next 7 events 2023-11-03 21:15:01 +01:00
b0123f91e9 [TIDY] fix some html formatting 2023-11-03 20:36:12 +01:00
1bbd0e4edd Home: Add links to groups 2023-11-03 19:41:12 +01:00
6d67a7dd5d [TIDY] Apply editorconfig 2023-10-29 22:52:32 +01:00
90c1595f7d Style: Make the main header/navigation bar sticky
Co-authored-by: c6ristian <c6ristian@christian.moe>
2023-10-29 22:50:10 +01:00
9f8c0d30e9 home: Add links to headings 2023-10-22 00:17:53 +02:00
db0000244a Home: Add calendar 2023-10-20 23:37:17 +02:00
49e0179832 Home: Add columns feature 2023-10-20 22:52:01 +02:00
93b4246cd1 Home: Rework structure 2023-10-17 22:07:39 +02:00
e4ff96aee2 Add shortcode to place resized images + fix md image for non-pagebundles
If a page is not a page bundle, it can't access files in the same
directory via the .Resources variable. So we need to detect this
condition and get the image file in another way.
2023-10-11 23:29:06 +02:00
f0a4d81451 Home: Fix event annoucement summary 2023-10-08 17:38:54 +02:00
be7aaf7774 Terms: Add pagination 2023-10-08 01:05:03 +02:00
171fa015f1 Blog: List page with summary and pagination 2023-10-08 01:01:48 +02:00
a80cb42a34 Taxonomies: Fix headings and lists 2023-10-05 23:23:48 +02:00
ad72231459 Blog: Fix categories, blog single page template 2023-10-05 23:02:20 +02:00
2d267ba9fe Create CCCHH theme 2023-10-02 12:10:10 +02:00