Modernise Hugo structure and get rid of custom theme

This commit is contained in:
Raoul 2021-08-19 17:35:43 +02:00
parent cfbed92405
commit 1d8cf3746c
No known key found for this signature in database
GPG key ID: C7493D73B67C1842
44 changed files with 27 additions and 23 deletions

View file

@ -1,12 +1,15 @@
baseURL = "https://www.cosin.ch/" baseURL = "https://www.cosin.ch/"
languageCode = "de-CH"
title = "CoSin - Chaos Singularity" title = "CoSin - Chaos Singularity"
theme = "cosin-theme" disableHugoGeneratorInject = true
enableRobotsTXT = true
DefaultContentLanguage = "de" DefaultContentLanguage = "de"
DefaultContentLanguageInSubdir = true DefaultContentLanguageInSubdir = true
disableKinds = ["taxonomy", "term"]
[Languages] [Languages]
[Languages.de] [Languages.de]
weight = 1 weight = 1

View file

@ -12,7 +12,7 @@ Die CoSin {{< cosin "date_year" >}} findet leider nicht statt!
## Ältere Fahrpläne ## Ältere Fahrpläne
![Infoscreen](/images/fahrplan.jpg "Infoscreen am Cosin 2017") ![Infoscreen](/pictures/fahrplan.jpg "Infoscreen am Cosin 2017")
* [Cosin 2019](https://fahrplan.cosin.ch/fahrplan/2019/index.html) * [Cosin 2019](https://fahrplan.cosin.ch/fahrplan/2019/index.html)
* [Cosin 2018](https://fahrplan.cosin.ch/fahrplan/2018/index.html) * [Cosin 2018](https://fahrplan.cosin.ch/fahrplan/2018/index.html)

View file

@ -12,7 +12,7 @@ The CoSin {{< cosin "date_year" >}} is cancelled!
## Older schedules ## Older schedules
![Infoscreen](/images/fahrplan.jpg "Infoscreen at Cosin 2017") ![Infoscreen](/pictures/fahrplan.jpg "Infoscreen at Cosin 2017")
* [Cosin 2019](https://fahrplan.cosin.ch/fahrplan/2019/index.html) * [Cosin 2019](https://fahrplan.cosin.ch/fahrplan/2019/index.html)
* [Cosin 2018](https://fahrplan.cosin.ch/fahrplan/2018/index.html) * [Cosin 2018](https://fahrplan.cosin.ch/fahrplan/2018/index.html)

View file

@ -12,7 +12,7 @@ La CoSin {{< cosin "date_year" >}} est annulé!
## Anciens programmes ## Anciens programmes
![Infoscreen](/images/fahrplan.jpg "Infoscreen am Cosin 2017") ![Infoscreen](/pictures/fahrplan.jpg "Infoscreen am Cosin 2017")
* [Cosin 2019](https://fahrplan.cosin.ch/fahrplan/2019/index.html) * [Cosin 2019](https://fahrplan.cosin.ch/fahrplan/2019/index.html)
* [Cosin 2018](https://fahrplan.cosin.ch/fahrplan/2018/index.html) * [Cosin 2018](https://fahrplan.cosin.ch/fahrplan/2018/index.html)

View file

@ -12,7 +12,7 @@ La CoSin {{< cosin "date_year" >}} è annullato!
## Tabelle di marcia precedenti ## Tabelle di marcia precedenti
![Infoscreen](/images/fahrplan.jpg "Infoscreen della Cosin 2017") ![Infoscreen](/pictures/fahrplan.jpg "Infoscreen della Cosin 2017")
* [Cosin 2019](https://fahrplan.cosin.ch/fahrplan/2019/index.html) * [Cosin 2019](https://fahrplan.cosin.ch/fahrplan/2019/index.html)
* [Cosin 2018](https://fahrplan.cosin.ch/fahrplan/2018/index.html) * [Cosin 2018](https://fahrplan.cosin.ch/fahrplan/2018/index.html)

View file

@ -71,7 +71,7 @@ den Besitzern. Da der Veranstaltungsort nur über begrenzte
Stromversorgung verfügt ist es besser, den Supercomputer zu Hause zu Stromversorgung verfügt ist es besser, den Supercomputer zu Hause zu
lassen und statt dessen mit einem Notebook anzureisen. lassen und statt dessen mit einem Notebook anzureisen.
![Computer](/images/computer.jpg "Ältere Computer an CoSin 2006.") ![Computer](/pictures/computer.jpg "Ältere Computer an CoSin 2006.")
### Internet ### Internet

View file

@ -71,7 +71,7 @@ for such material is taken by its owner. There is only limited
electric supply, so please leave your supercomputer at home and bring electric supply, so please leave your supercomputer at home and bring
your notebook. your notebook.
![Computer](/images/computer.jpg "Older machines at CoSin 2006") ![Computer](/pictures/computer.jpg "Older machines at CoSin 2006")
### Using the internet ### Using the internet

View file

@ -52,7 +52,7 @@ propriétaire. Comme le lieu de la manifestation dispose dune
alimentation électrique limitée, il est préférable de laisser le alimentation électrique limitée, il est préférable de laisser le
Super-ordinateur à la maison et de venir avec un Notebook. Super-ordinateur à la maison et de venir avec un Notebook.
<br/> ![Computer](/images/computer.jpg "Ältere Computer an CoSin 2006.") ![Computer](/pictures/computer.jpg "Ältere Computer an CoSin 2006.")
### Internet ### Internet

View file

@ -50,7 +50,7 @@ può contribuire a rendere l'evento più piacevole. Non possiamo però assumerci
responsabilità per il materiale che portate. L'edificio dispone di un allacciamento modesto responsabilità per il materiale che portate. L'edificio dispone di un allacciamento modesto
alla rete elettrica, dunque sconsigliamo di lasciare super computer e simili a casa. alla rete elettrica, dunque sconsigliamo di lasciare super computer e simili a casa.
![Computer](/images/computer.jpg "Vecchi Computer alla CoSin 2006.") ![Computer](/pictures/computer.jpg "Vecchi Computer alla CoSin 2006.")
### Internet ### Internet

View file

@ -26,4 +26,4 @@ verteilen können.
## Flüssigstickstoffglace am CoSin ## Flüssigstickstoffglace am CoSin
![IceCream](/images/icecream.jpg "Flüssigstickstoffglace am CoSin 2008") ![IceCream](/pictures/icecream.jpg "Flüssigstickstoffglace am CoSin 2008")

View file

@ -24,4 +24,4 @@ equitable.
## IceCream Workshop at CoSin ## IceCream Workshop at CoSin
![IceCream](/images/icecream.jpg "IceCream Workshop at CoSin 2008") ![IceCream](/pictures/icecream.jpg "IceCream Workshop at CoSin 2008")

View file

@ -24,4 +24,4 @@ distribuer les ressources de manière équitable.
## Flüssigstickstoffglace am CoSin ## Flüssigstickstoffglace am CoSin
![IceCream](/images/icecream.jpg "Flüssigstickstoffglace am CoSin 2008") ![IceCream](/pictures/icecream.jpg "Flüssigstickstoffglace am CoSin 2008")

View file

@ -23,4 +23,4 @@ distribuire le nostre risorse.
## Flüssigstickstoffglace am CoSin ## Flüssigstickstoffglace am CoSin
![IceCream](/images/icecream.jpg "Flüssigstickstoffglace am CoSin 2008") ![IceCream](/pictures/icecream.jpg "Flüssigstickstoffglace am CoSin 2008")

View file

@ -1,18 +1,19 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang='{{ .Site.Language.Lang }}'> <html lang='{{ .Site.Language.Lang }}'>
<head> <head>
<meta charset="utf-8">
<title>{{ .Site.Title }} | {{ .Page.Title }}</title> <title>{{ .Site.Title }} | {{ .Page.Title }}</title>
<meta charset="utf-8"> <!-- Include our own css last -->
{{ hugo.Generator }} {{ $options := dict "targetPath" "custom.css" "outputStyle" "compressed" }}
{{ $style := resources.Get "/sass/custom.css" | resources.ToCSS $options | resources.Fingerprint }}
<link href='{{ "css/custom.css" | absURL }}' rel="stylesheet" type="text/css" /> <link rel="stylesheet" href="{{ $style.Permalink }}" integrity="{{ $style.Data.Integrity }}"/>
<meta property="og:type" content="website"/> <meta property="og:type" content="website"/>
<meta property="og:site_name" content="{{ .Site.Title }}"/> <meta property="og:site_name" content="{{ .Site.Title }}"/>
<meta property="og:title" content="{{ .Title }}"/> <meta property="og:title" content="{{ .Title }}"/>
<meta property="og:url" content="{{ .Permalink | absURL }}"/> <meta property="og:url" content="{{ .Permalink | absURL }}"/>
<meta property="og:image" content="{{ printf "images/cosin_icon_%s.png" (string .Site.Data.cosin.date_year) | absURL }}"/> <meta property="og:image" content="{{ printf "images/ogp/cosin_icon_%s.png" (string .Site.Data.cosin.date_year) | absURL }}"/>
<meta property="og:image:type" content="image/png"/> <meta property="og:image:type" content="image/png"/>
<meta property="og:image:width" content="128"/> <meta property="og:image:width" content="128"/>
<meta property="og:image:height" content="128"/> <meta property="og:image:height" content="128"/>

View file

@ -13,10 +13,10 @@
<meta property="og:site_name" content="CoSin - Chaos Singularity"/> <meta property="og:site_name" content="CoSin - Chaos Singularity"/>
<meta property="og:title" content="Hauptseite"/> <meta property="og:title" content="Hauptseite"/>
<meta property="og:url" content="{{ .Permalink }}"/> <meta property="og:url" content="{{ .Permalink }}"/>
<meta property="og:image" content="https://www.cosin.ch/images/cosin_icon_2019.png"/> <meta property="og:image" content="https://www.cosin.ch/images/ogp/cosin_icon_2021.png"/>
<meta property="og:image:type" content="image/png"/> <meta property="og:image:type" content="image/png"/>
<meta property="og:image:width" content="128"/> <meta property="og:image:width" content="128"/>
<meta property="og:image:height" content="128"/> <meta property="og:image:height" content="128"/>
<meta property="og:image:alt" content="CoSin Icon 2019"/> <meta property="og:image:alt" content="CoSin Icon 2021"/>
</head> </head>
</html> </html>

View file

@ -1,7 +1,7 @@
{{ $year := string (.Get 0) }} {{ $year := string (.Get 0) }}
{{ $images := index .Site.Data.photos $year }} {{ $photos := index .Site.Data.photos $year }}
{{ range $images }} {{ range $photos }}
<a href="/photos/{{ $year}}/{{ . }}.jpg"> <a href="/photos/{{ $year}}/{{ . }}.jpg">
<img src="/photos/{{ $year}}/{{ . }}.small.jpg" <img src="/photos/{{ $year}}/{{ . }}.small.jpg"
alt="CoSin {{ $year }}" /> alt="CoSin {{ $year }}" />

View file

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

View file

Before

Width:  |  Height:  |  Size: 78 KiB

After

Width:  |  Height:  |  Size: 78 KiB

View file

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View file

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

View file

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

View file

Before

Width:  |  Height:  |  Size: 190 B

After

Width:  |  Height:  |  Size: 190 B

View file

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

View file

Before

Width:  |  Height:  |  Size: 119 KiB

After

Width:  |  Height:  |  Size: 119 KiB

View file

Before

Width:  |  Height:  |  Size: 151 KiB

After

Width:  |  Height:  |  Size: 151 KiB

View file

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

View file

Before

Width:  |  Height:  |  Size: 103 KiB

After

Width:  |  Height:  |  Size: 103 KiB