initial commit

This commit is contained in:
sakrecoer 2025-03-30 23:22:01 +02:00
parent f6282bfc00
commit 9a58372e31
35 changed files with 722 additions and 1 deletions

View file

@ -0,0 +1,6 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---

View file

@ -0,0 +1,17 @@
---
layout: episode
title: "{{ replace .TranslationBaseName "-" " " | title }}"
subtitle: ""
date: {{ .Date }}
audio: ""
audio_duration: 00:00
audio_size: 0
authors: [""]
images: [""]
series: [""]
podcast_tag: [""]
explicit: "no"
episode_type: "full"
season: ""
draft: true
---

View file

@ -0,0 +1,22 @@
@font-face {
font-family: 'Space-Grotesk';
font-style: regular;
font-weight: 200;
src: local('SpaceGrotesk Light'), url(/2025/assets/fonts/Space-Grotesk/SpaceGrotesk-Light.ttf) format('truetype');
}
@font-face {
font-family: 'Space-Grotesk';
font-style: regular;
font-weight: 400;
src: local('SpaceGrotesk Bold'), url(/2025/assets/fonts/Space-Grotesk/SpaceGrotesk-Medium.ttf) format('truetype');
}
@font-face {
font-family: 'Space-Grotesk';
font-style: regular;
font-weight: 700;
src: local('SpaceGrotesk Bold'), url(/2025/assets/fonts/Space-Grotesk/SpaceGrotesk-Bold.ttf) format('truetype');
}

View file

@ -0,0 +1,54 @@
/* 1. Use a more-intuitive box-sizing model */
*, *::before, *::after {
box-sizing: border-box;
}
/* 2. Remove default margin */
* {
margin: 0;
}
/* 3. Enable keyword animations */
@media (prefers-reduced-motion: no-preference) {
html {
interpolate-size: allow-keywords;
}
}
body {
/* 4. Add accessible line-height */
line-height: 1.5;
/* 5. Improve text rendering */
-webkit-font-smoothing: antialiased;
}
/* 6. Improve media defaults */
img, picture, video, canvas, svg {
display: block;
max-width: 100%;
}
/* 7. Inherit fonts for form controls */
input, button, textarea, select {
font: inherit;
}
/* 8. Avoid text overflows */
p, h1, h2, h3, h4, h5, h6 {
overflow-wrap: break-word;
}
/* 9. Improve line wrapping */
p {
text-wrap: pretty;
}
h1, h2, h3, h4, h5, h6 {
text-wrap: balance;
}
/*
* 10. Create a root stacking context
*/
#root, #__next {
isolation: isolate;
}

View file

@ -0,0 +1,7 @@
h1 {
font-family: Space-Grotesk, 'Arial', 'Helvetica', sans-serif;
font-weight: 700;
font-size: 24em;
letter-spacing: -0.1em;
line-height: .75em;
}

View file

@ -0,0 +1,35 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>Page Not Found</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href='/css/style.min.css' rel='stylesheet' />
</head>
<body>
<div id="wrapper" class="wrapper">
<div class="container pt-9 pb-9 pt-md-13 pb-md-13">
<div class="row justify-content-center align-content-between">
<div class="col-9 text-center">
<h1 class="display-1 text-primary mb-4">Page not found</h1>
</div>
<div class="col-9 text-center mb-2">
<a href="/" class="btn btn-primary">Home</a>
</div>
<div class="col-9 text-center mb-2">
<a href="/contact" class="btn btn-primary">Contact Us</a>
</div>
</div>
</div>
</div>
</body>
</html>

View file

@ -0,0 +1,2 @@
<a href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank" rel="noopener"{{ end }}>{{ .Text | safeHTML }}</a>

View file

@ -0,0 +1,38 @@
<!DOCTYPE HTML>
<!--
Basspistol2025 by Sakrecoer
Free for personal and commercial use under the Creative commons licens CC-BY-SA 4.0 https://creativecommons.org/licenses/by-sa/4.0/
-->
<html lang="{{ .Site.LanguageCode }}">
<head>
{{ partial "head/meta.html" . }}
{{ partial "head/static-links-head.html" . }}
{{ partial "head/seo.html" . }}
</head>
<body>
<!-- Wrapper -->
<nav></nav>
<main id="main-wrapper">
{{ block "hero" . }}{{ end }}
{{ block "main" . }}{{ end }}
</main>
<!-- END Wrapper -->
<footer>
{{ block "footer" . }}{{ end }}
</footer>
</body>
</html>

View file

@ -0,0 +1,12 @@
{{ define "hero" }}
{{ end }}
{{ define "main" }}
{{ end }}
{{ define "footer"}}
{{ end }}

View file

@ -0,0 +1,11 @@
{{ define "hero" }}
{{ end }}
{{ define "main" }}
{{ end }}
{{ define "footer"}}
{{ end }}

View file

@ -0,0 +1,11 @@
{{ define "hero" }}
{{ end }}
{{ define "main" }}
{{ end }}
{{ define "footer"}}
{{ end }}

View file

@ -0,0 +1,3 @@
{{ $options := (dict "outputStyle" "compressed" "enableSourceMap" true) }}
{{ $js := resources.Get "assets/js/set.js" | resources.Minify | fingerprint }}
<script src="{{ $js.RelPermalink }}"></script>

View file

@ -0,0 +1,3 @@
<meta charset="utf-8" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=yes" />

View file

@ -0,0 +1,88 @@
<!-- BEGIN seo.html -->
{{ $title := printf "%s | %s" .Site.Title .Site.Params.Moto }}
{{ if not .IsHome }}
{{ $title = printf "%s | %s" .Title site.Title }}
{{ end }}
{{ $description := .Site.Params.Description }}
{{ if not .IsHome }}
{{ $description = $.Page.Params.description_markdown }}
{{ end }}
<title>{{ $title }}</title>
<meta name="title" content="{{ $title }}" />
<meta name="description" content="{{ $description }}" />
<meta name="dc.date.modified" scheme="ISO8601" content="{{ .Lastmod }}" />
<meta name="robots" content="index" />
<link rel="canonical" href="{{ .Permalink }}" />
<link rel="alternate" hreflang="x-default" href="{{ .Permalink }}" />
<meta name="geo.region" content="{{ .Site.Params.geo.region }}" />
<meta name="geo.placename" content="{{ .Site.Params.geo.locality }}" />
<meta name="geo.position" content="{{ .Site.Params.geo.lat }};{{ .Site.Params.geo.long }}" />
<meta name="ICBM" content="{{ .Site.Params.geo.lat }}, {{ .Site.Params.geo.long }}" />
<meta name="author" content="{{ .Site.Title }}" />
<meta name="generator" content="Hugo" />
<!-- Dublin Core basic info -->
<meta name="dcterms.Identifier" content="{{ .Permalink }}" />
<meta name="dcterms.Format" content="text/html" />
<meta name="dcterms.Relation" content="{{ .Site.Title }}" />
<meta name="dcterms.Publisher" content="{{ .Site.Params.publisher }}" />
<meta name="dcterms.Type" content="text/html" />
<meta name="dcterms.Coverage" content="{{ .Permalink }}" />
<meta name="dcterms.Rights" content="Copyright &copy;{{ .Lastmod | time.Format "2006" }} {{ .Site.Title }}." />
<meta name="dcterms.Subject" content="{{ $description }}" />
<meta name="dcterms.Title" content="{{ .Title }}" />
<meta name="dcterms.Contributor" content="{{ .Site.Title }}" />
<meta name="dcterms.Date" content="{{ .Site.Lastmod | time.Format "2006-01-02" }}" />
<meta name="dcterms.Description" content="{{ $description }}" />
<!-- Facebook -->
<meta property="og:title" content="{{ $title }}" />
<meta property="og:locale" content="{{ .Site.LanguageCode }}" />
<meta property="og:description" content="{{ $description }}" />
<meta property="og:url" content="{{ .Permalink }}" />
<meta property="og:site_name" content="{{ .Site.Title }}" />
<meta property="og:type" content="webpage" />
<meta property="article:published_time" content="{{ .Lastmod }}" />
<meta property="og:image" content="{{ .Site.BaseURL }}{{ .Site.Params.homepage_meta_tags.meta_og_image }}" />
<!-- Twitter Card -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="{{ $title }}" />
<meta name="twitter:description" content="{{ $description }}" />
<meta name="twitter:image" content="{{ .Site.BaseURL }}{{ .Site.Params.homepage_meta_tags.meta_og_image }}" />
<!-- Linked Data JSON -->
<script type='application/ld+json'>
{
"@context": "http://www.schema.org",
"@type": "Organization",
"name": "{{ .Site.Title }}",
"url": "{{ .Site.BaseURL }}",
"sameAs": [
{{ range $index, $e := .Site.Data.social }}{{ if $index }}, {{ end }}{{ .URL }}{{ end }}
],
"logo": "{{ .Site.BaseURL }}siteicon.png",
"image": "{{ .Site.BaseURL }}{{ .Site.Params.homepage_meta_tags.meta_og_image }}",
"description": "{{ .Site.Params.description }}",
"address": {
"@type": "PostalAddress",
"streetAddress": "{{ .Site.Params.geo.co }}, {{ .Site.Params.geo.street }}",
"addressLocality": "{{ .Site.Params.geo.locality }}",
"addressRegion": "{{ .Site.Params.geo.region }}",
"postalCode": "{{ .Site.Params.geo.postalcode }}",
"addressCountry": "{{ .Site.Params.geo.country }}"
}
}
</script>
<link rel="alternate" type="application/rss+xml" href="{{ .Site.BaseURL }}feed.xml" title="{{ .Site.Title }}" />
<!-- END seo.html -->

View file

@ -0,0 +1,13 @@
{{ $reset := resources.Get "css/reset.css" | resources.Minify | fingerprint }}
<link rel="stylesheet" href="{{ $reset.RelPermalink }}">
{{ $fonts := resources.Get "css/fonts.css" | resources.Minify | fingerprint }}
<link rel="stylesheet" href="{{ $fonts.RelPermalink }}">
{{ $style := resources.Get "css/style.css" | resources.Minify | fingerprint }}
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
<noscript><link rel="stylesheet" href="noscripts"></noscript>
<link rel="apple-touch-icon" href='{{ "apple-touch-icon.png" | absURL }}'>
<link rel="icon" type="image/png" href='{{ "touch-icon.png" | absURL }}' sizes="192x192">
<link rel="shortcut icon" href='{{ "siteicon.png" | absURL }}' type="image/png" />

View file

@ -0,0 +1,12 @@
{{ define "main" }}
{{- $date := (dateFormat "02. January 2006" .Date) -}}
<p class='post_date pale'>{{ $date }}</p>
<h1 class='post_title'>{{ .Title }}</h1>
<h2 class='post_subtitle'>{{ .Params.Series }}{{ .Params.podcast_tag }}</h2>
<div class='post_content'>
<audio controls>
<source src="{{.Site.Params.podcast.audio_base_url}}{{ .Params.audio | safeHTML }}" type="audio/mpeg">
</audio>
{{ .Content }}
</div>
{{ end }}

View file

@ -0,0 +1,94 @@
<rss version="2.0"
xmlns:content="https://purl.org/rss/1.0/modules/content/"
xmlns:wfw="https://wellformedweb.org/CommentAPI/"
xmlns:dc="https://purl.org/dc/elements/1.1/"
xmlns:atom="https://www.w3.org/2005/Atom"
xmlns:sy="https://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
xmlns:itunes="https://www.itunes.com/dtds/podcast-1.0.dtd"
xmlns:media="https://search.yahoo.com/mrss/"
xmlns:googleplay="https://www.google.com/schemas/play-podcasts/1.0"
xmlns:podcast="https://podcastindex.org/namespace/1.0">
<channel>
<title>{{ .Site.Params.Podcast.title }}</title>
<link>{{ .Site.BaseURL }}</link>
<atom:link href="{{ .Site.BaseURL }}podcast/index.xml" rel="self" type="application/rss+xml" />
<sy:updatePeriod>{{ .Site.Params.Podcast.updatePeriod }}</sy:updatePeriod>
<sy:updateFrequency>{{ .Site.Params.Podcast.updateFrequency }}</sy:updateFrequency>
<language>{{ .Site.LanguageCode }}</language>
<lastBuildDate>{{ dateFormat "Mon, 2 Jan 2006 15:04:05 -0700" .Date }}</lastBuildDate>
<copyright>{{ .Site.Params.Podcast.copyright | plainify }}</copyright>
<itunes:subtitle>{{ .Site.Params.Podcast.subtitle }}</itunes:subtitle>
<itunes:author>
{{- range $index, $key:= .Site.Params.Podcast.authors -}}
{{- if $index }}, {{ end -}}
{{- if gt (len $key) 0 }}{{ $key }}{{ end -}}
{{- end -}}
</itunes:author>
<itunes:type>{{ .Site.Params.Podcast.itunes_type }}</itunes:type>
<itunes:summary>{{ .Site.Params.Podcast.summary | plainify }}</itunes:summary>
<description>{{ .Site.Params.Podcast.summary | plainify }}</description>
<itunes:owner>
<itunes:name>
{{- range $index, $key:= .Site.Params.Podcast.authors -}}
{{- if $index }}, {{ end -}}
{{- if gt (len $key) 0 }}{{ $key }}{{ end -}}
{{- end -}}
</itunes:name>
<itunes:email>{{ .Site.Params.Podcast.email }}</itunes:email>
</itunes:owner>
<itunes:image href="{{.Site.BaseURL}}{{ .Site.Params.Podcast.image }}" />
<itunes:category text="{{ .Site.Params.Podcast.category }}">
{{- if .Site.Params.Podcast.sub_category -}}
<itunes:category text="{{ .Site.Params.Podcast.sub_category }}" />
{{- end -}}
</itunes:category>
<itunes:block>no</itunes:block>
<itunes:explicit>{{ .Site.Params.Podcast.explicit }}</itunes:explicit>
<podcast:funding url="{{ .Site.Params.Podcast.funding_url }}">{{ .Site.Params.Podcast.funding_text }}</podcast:funding>
<generator>Hugo -- gohugo.io</generator>
{{- $pages := .Data.Pages -}}
{{- $limit := .Site.Config.Services.RSS.Limit -}}
{{- if ge $limit 1 -}}
{{- $pages = $pages | first $limit -}}
{{- end -}}
{{- range $pages -}}
<item>
<title>{{ title .Params.title }}{{ with .Params.subtitle }} ({{ . }}){{ end }}</title>
<itunes:author>
{{- range $index, $key:= .Params.authors -}}
{{- if $index }}, {{ end -}}
{{- if gt (len $key) 0 }}{{ $key }}{{ end -}}
{{- end -}}
</itunes:author>
<itunes:summary>{{ .Summary | plainify }}</itunes:summary>
<itunes:explicit>{{ .Params.explicit }}</itunes:explicit>
<itunes:episodeType>{{ .Params.episode_type | default "full" }}</itunes:episodeType>
{{- if .Params.season -}}
<itunes:season>{{ .Params.season }}</itunes:season>
{{- end -}}
{{- if .Params.podcast_tag -}}
<itunes:keywords>
{{- range $index, $key:= .Params.podcast_tag -}}
{{- if $index }}, {{ end -}}
{{- if gt (len $key) 0 }}{{ $key }}{{ end -}}
{{- end -}}
</itunes:keywords>
{{- end -}}
{{ with .Params.audio_duration }}<itunes:duration>{{ . }}</itunes:duration>{{ end }}
{{ printf "<description><![CDATA[%s]]></description>" .Content | safeHTML }}
{{ printf `<googleplay:description><![CDATA[%s]]></googleplay:description>` .Content | safeHTML }}
{{ printf "<content:encoded><![CDATA[%s]]></content:encoded>" .Content | safeHTML }}
{{- with .Params.images -}}<itunes:image href="{{ index . 0 | absURL }}"/>{{- end -}}
{{ $audio_name_arr := split .Params.audio "." }}
{{ $audio_type := index $audio_name_arr (sub (len $audio_name_arr) 1) }}
{{ $audio_size := 1 }}
{{- if .Params.audio_size }}{{ $audio_size = int .Params.audio_size }} {{ end -}}
<enclosure url="{{ .Site.Params.Podcast.audio_base_url }}{{ .Params.audio }}" length="{{ $audio_size }}" type="audio/{{ $audio_type }}" />
<guid>{{ .Site.Params.Podcast.audio_base_url }}{{ .Params.audio }}</guid>
<link>{{ .Permalink }}</link>
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} </pubDate>
</item>
{{ end }}
</channel>
</rss>

View file

@ -0,0 +1,11 @@
{{ define "hero" }}
{{ end }}
{{ define "main" }}
{{ end }}
{{ define "footer"}}
{{ end }}

View file

@ -0,0 +1,11 @@
{{ define "hero" }}
{{ end }}
{{ define "main" }}
{{ end }}
{{ define "footer"}}
{{ end }}

View file

@ -0,0 +1 @@
User-agent: *