commit - a25a003d2c35b496662bbfc54961592e419a9806
commit + 6f8f400b26a656589c48ba499fe857612fa0cc79
blob - 91d6609d5472dd73fc18d4c6872400435a53d14a
blob + 8f844bdf60ee448d361bbd2ce37fcfa6e47e4fa1
--- layouts/_default/baseof.html
+++ layouts/_default/baseof.html
<!DOCTYPE html>
<html lang="en">
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <meta name="author" content="witcher <witcher@wiredspace.de>">
- <meta name="description" content="Website of witcher">
- <meta name="keywords" content="blog,tech">
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <meta name="author" content="witcher <witcher@wiredspace.de>">
+ <meta name="description" content="Website of witcher">
+ <meta name="keywords" content="blog,tech">
- {{ $styles := resources.Get "scss/style.scss" | css.Sass }}
- <link rel="stylesheet" href="{{ $styles.Permalink }}" integrity="{{ $styles.Data.Integrity }}" media="screen">
+ {{ $styles := resources.Get "scss/style.scss" | css.Sass }}
+ <link rel="stylesheet" href="{{ $styles.Permalink }}" integrity="{{ $styles.Data.Integrity }}" media="screen">
- <link href="{{ .Site.Params.mastodon_url }}" rel="me">
+ <link href="{{ .Site.Params.mastodon_url }}" rel="me">
- {{ block "title" . }}
- <title>
- {{ .Title }}
- </title>
- {{ end }}
- </head>
+ {{ block "title" . }}
+ <title>
+ {{ .Title }}
+ </title>
+ {{ end }}
+ </head>
- <body>
- <header>
- {{ block "header" . }}
- {{ partial "header.html" . }}
- {{ end }}
- </header>
+ <body>
+ <header>
+ {{ block "header" . }}
+ {{ partial "header.html" . }}
+ {{ end }}
+ </header>
- <main>
- <div>
- {{ block "main" . }}
- {{ end }}
- </div>
- </main>
+ <main>
+ <div>
+ {{ block "main" . }}
+ {{ end }}
+ </div>
+ </main>
- <footer>
- {{ block "footer" . }}
- {{ partial "footer.html" . }}
- {{ end }}
- </footer>
- </body>
+ <footer>
+ {{ block "footer" . }}
+ {{ partial "footer.html" . }}
+ {{ end }}
+ </footer>
+ </body>
</html>
blob - fccbe678145e79956334a0068a116570c8a32a6b
blob + 0f7609f83655878726f9417ac2c3bb2f4ef5c79d
--- layouts/blog/post.html
+++ layouts/blog/post.html
{{ define "main" }}
- <article class="content">
- <h2>{{ .Title }}</h2>
+ <article class="content">
+ <h2>{{ .Title }}</h2>
- {{.Content}}
- </article>
+ {{.Content}}
+ </article>
- <div>
- Do you have a comment on one of my posts? Feel free to send me an E-Mail:
- <a href="mailto:{{ .Site.Params.email }}?subject=Re: {{ .Title }}">
- {{ .Site.Params.email }}
- </a><br />
+ <div>
+ Do you have a comment on one of my posts? Feel free to send me an E-Mail:
+ <a href="mailto:{{ .Site.Params.email }}?subject=Re: {{ .Title }}">
+ {{ .Site.Params.email }}
+ </a><br />
- To participate in a public discussion, use my public inbox:
- <a href="mailto:{{ .Site.Params.public_inbox }}?subject=Re: {{ .Title }}">
- {{ .Site.Params.public_inbox }}
- </a>
- (<a href="https://lists.sr.ht/~witcher/public-inbox">Archive</a>)
- <br />
+ To participate in a public discussion, use my public inbox:
+ <a href="mailto:{{ .Site.Params.public_inbox }}?subject=Re: {{ .Title }}">
+ {{ .Site.Params.public_inbox }}
+ </a>
+ (<a href="https://lists.sr.ht/~witcher/public-inbox">Archive</a>)
+ <br />
- Please review the <a href={{ ref . "about.md#mail-etiquette" }}>
- mail etiquette</a>.
- </div>
+ Please review the <a href={{ ref . "about.md#mail-etiquette" }}>
+ mail etiquette</a>.
+ </div>
- <br />
+ <br />
- {{ if ne .Params.date nil }}
- <div>
- Posted on: {{ dateFormat "January 02, 2006" .Params.date }}<br />
- </div>
- {{ end }}
+ {{ if ne .Params.date nil }}
+ <div>
+ Posted on: {{ dateFormat "January 02, 2006" .Params.date }}<br />
+ </div>
+ {{ end }}
- {{ partial "webring-out.html" }}
+ {{ partial "webring-out.html" }}
{{ end }}
blob - 53c4e1429d0f366dd38dee390f9d09849b5b2901
blob + 186d4bb6ea769754a09f892e2f92f466f6432a05
--- layouts/index.html
+++ layouts/index.html
{{ define "main" }}
- <div class="content">
- <h1>{{ .Title }}</h1>
+ <div class="content">
+ <h1>{{ .Title }}</h1>
- {{ .Content }}
+ {{ .Content }}
- {{ partial "blog-listing-minimal" (where .Site.RegularPages "Section" "blog") }}
- </div>
+ {{ partial "blog-listing-minimal" (where .Site.RegularPages "Section" "blog") }}
+ </div>
{{ end }}
blob - 07d025dcc7687d2302380ace39ec9b653e144911
blob + 7ed6874473695e37f77caa392321df888f6a4e38
--- layouts/microblog/post.html
+++ layouts/microblog/post.html
{{ define "main" }}
- <article class="content">
- <h2>{{ .Title }}</h2>
+ <article class="content">
+ <h2>{{ .Title }}</h2>
- {{.Content}}
- </article>
+ {{.Content}}
+ </article>
- <div>
- Do you have a comment on one of my posts? Feel free to send me an E-Mail:
- <a href="mailto:{{ .Site.Params.email }}?subject=Re: {{ .Title }}">
- {{ .Site.Params.email }}
- </a><br />
+ <div>
+ Do you have a comment on one of my posts? Feel free to send me an E-Mail:
+ <a href="mailto:{{ .Site.Params.email }}?subject=Re: {{ .Title }}">
+ {{ .Site.Params.email }}
+ </a><br />
- To participate in a public discussion, use my public inbox:
- <a href="mailto:{{ .Site.Params.public_inbox }}?subject=Re: {{ .Title }}">
- {{ .Site.Params.public_inbox }}
- </a><br />
+ To participate in a public discussion, use my public inbox:
+ <a href="mailto:{{ .Site.Params.public_inbox }}?subject=Re: {{ .Title }}">
+ {{ .Site.Params.public_inbox }}
+ </a><br />
- Please review the <a href={{ ref . "about.md#mail-etiquette" }}>
- mail etiquette
- </a>.
- </div>
+ Please review the <a href={{ ref . "about.md#mail-etiquette" }}>
+ mail etiquette
+ </a>.
+ </div>
- <br />
+ <br />
- {{ if ne .Params.date nil }}
- <div>
- Posted on: {{ dateFormat "January 02, 2006" .Params.date }}<br />
- </div>
- {{ end }}
+ {{ if ne .Params.date nil }}
+ <div>
+ Posted on: {{ dateFormat "January 02, 2006" .Params.date }}<br />
+ </div>
+ {{ end }}
{{ end }}
blob - 81bc0a8b062bf955cbb8350bc3b850950a000749
blob + 2343c937f86177d4bf5960512643f7a60f66535b
--- layouts/microblog/section.html
+++ layouts/microblog/section.html
{{ define "main" }}
- {{ .Content }}
+ {{ .Content }}
- {{ partial "microblog-listing" .Pages }}
+ {{ partial "microblog-listing" .Pages }}
{{ end }}
blob - 8d45e04fe589a3de01662f3a93bf2172dd4ce515
blob + 0509782c3cd3d1ef6857e6f7575386bc7ead725a
--- layouts/partials/blog-listing-minimal.html
+++ layouts/partials/blog-listing-minimal.html
<ul class="blog-listing content">
- {{ range . }}
- <li>
- <span class="date">{{ dateFormat "January 2, 2006" .Params.date }}</span>
- <a href="{{ .Permalink }}">{{ .Title }}</a>
- </li>
- {{ end }}
+ {{ range . }}
+ <li>
+ <span class="date">{{ dateFormat "January 2, 2006" .Params.date }}</span>
+ <a href="{{ .Permalink }}">{{ .Title }}</a>
+ </li>
+ {{ end }}
<ul>
blob - 7a3c00cdb6c5c1c1d879f6f19c2adfb739ff3a67
blob + 37358a6127ad1f2104730e925b19b4f51de3411e
--- layouts/partials/footer.html
+++ layouts/partials/footer.html
<div>
- All content on this website is licensed under
- <a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>.
- <br />
- The <a href="https://git.sr.ht/~witcher/wiredspace.de">
- code for this website
- </a>
- is licensed under <a href="https://opensource.org/licenses/MIT">MIT</a>.
+ All content on this website is licensed under
+ <a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>.
+ <br />
+ The <a href="https://git.sr.ht/~witcher/wiredspace.de">
+ code for this website
+ </a>
+ is licensed under <a href="https://opensource.org/licenses/MIT">MIT</a>.
</div>
<div>
- <a href="/privacy/">Privacy Policy</a>
+ <a href="/privacy/">Privacy Policy</a>
</div>
blob - d109b42d96f3c149234a7f06962c3eee49052655
blob + 410f323f2eb8d8cd582f1fba08884b2c85243a4a
--- layouts/partials/header.html
+++ layouts/partials/header.html
<nav class="navbar" role="navigation">
- {{ $currentPage := . }}
- {{ range .Site.Menus.main }}
- <a href="{{ .URL }}"
- {{ with .Params.target }}
- target="{{ . }}"
- {{ end }}
- >
- {{ .Name }}
- </a>
- {{ end }}
+ {{ $currentPage := . }}
+ {{ range .Site.Menus.main }}
+ <a href="{{ .URL }}"
+ {{ with .Params.target }}
+ target="{{ . }}"
+ {{ end }}
+ >
+ {{ .Name }}
+ </a>
+ {{ end }}
</nav>
<div class="navbar">
<div>
- <noscript>
- Welcome, human!
- </noscript>
- </div>
- <div>
- {{ with .OutputFormats.Get "rss" -}}
- {{ printf `<a rel="%s" href="%s">
- This page's feed
- </a>` .Rel .Permalink | safeHTML }}
- {{ end -}}
- </div>
+ <noscript>
+ Welcome, human!
+ </noscript>
+ </div>
+ <div>
+ {{ with .OutputFormats.Get "rss" -}}
+ {{ printf `<a rel="%s" href="%s">
+ This page's feed
+ </a>` .Rel .Permalink | safeHTML }}
+ {{ end -}}
+ </div>
</div>
blob - 0556f6bf80ab2156bab466941b22d53ede2cefac
blob + 5dace3ebe03dc522ce972d02bc2880a2f551e3e9
--- layouts/partials/microblog-listing.html
+++ layouts/partials/microblog-listing.html
<ul class="microblog-listing">
- {{ range . }}
- <li class="content">
- <h3>
- <a href="{{ .Permalink }}">{{ .Title }}</a>
- </h3>
- <div>
- {{ .Content }}
- </div>
+ {{ range . }}
+ <li class="content">
+ <h3>
+ <a href="{{ .Permalink }}">{{ .Title }}</a>
+ </h3>
+ <div>
+ {{ .Content }}
+ </div>
- {{ if ne .Params.date nil }}
- <div>
- {{ dateFormat "January 2, 2006" .Params.date }}
- </div>
- {{ end }}
- </li>
+ {{ if ne .Params.date nil }}
+ <div>
+ {{ dateFormat "January 2, 2006" .Params.date }}
+ </div>
+ {{ end }}
+ </li>
- <hr />
- {{ end }}
+ <hr />
+ {{ end }}
</ul>
blob - a36281aa32dad577686deecaa5046929ec57187b
blob + 6a7e00678d1173ca582047cd0b57cfd74a272f22
--- webring-in.template
+++ webring-in.template
<!-- License-Id: CC0-1.0 -->
<section class="webring">
- <h3>Articles from blogs I read</h3>
- <section class="articles">
- {{range .Articles}}
- <div class="article">
- <h4 class="title">
- <a href="{{.Link}}" target="_blank" rel="noopener">{{.Title}}</a>
- </h4>
- <p class="summary">{{.Summary}}</p>
- <small class="source">
- via <a href="{{.SourceLink}}">{{.SourceTitle}}</a>
- </small>
- <small class="date">{{.Date | datef "January 2, 2006"}}</small>
- </div>
- {{end}}
- </section>
- <p class="attribution">
- Generated by
- <a href="https://git.sr.ht/~sircmpwn/openring">openring</a>
- </p>
+ <h3>Articles from blogs I read</h3>
+ <section class="articles">
+ {{range .Articles}}
+ <div class="article">
+ <h4 class="title">
+ <a href="{{.Link}}" target="_blank" rel="noopener">{{.Title}}</a>
+ </h4>
+ <p class="summary">{{.Summary}}</p>
+ <small class="source">
+ via <a href="{{.SourceLink}}">{{.SourceTitle}}</a>
+ </small>
+ <small class="date">{{.Date | datef "January 2, 2006"}}</small>
+ </div>
+ {{end}}
+ </section>
+ <p class="attribution">
+ Generated by
+ <a href="https://git.sr.ht/~sircmpwn/openring">openring</a>
+ </p>
</section>
<style>
.webring .articles {
- display: flex;
- flex-wrap: wrap;
- margin: -0.5rem;
+ display: flex;
+ flex-wrap: wrap;
+ margin: -0.5rem;
}
.webring .title {
- margin: 0;
+ margin: 0;
}
.webring .article {
- flex: 1 1 0;
- display: flex;
- flex-direction: column;
- margin: 0.5rem;
- padding: 0.5rem;
- min-width: 10rem;
+ flex: 1 1 0;
+ display: flex;
+ flex-direction: column;
+ margin: 0.5rem;
+ padding: 0.5rem;
+ min-width: 10rem;
}
.webring .summary {
- font-size: 0.8rem;
- flex: 1 1 0;
+ font-size: 0.8rem;
+ flex: 1 1 0;
}
.webring .attribution {
- text-align: right;
- font-size: 0.8rem;
- color: #555;
+ text-align: right;
+ font-size: 0.8rem;
+ color: #555;
}
</style>