Initial commit

This commit is contained in:
Nox Sluijtman 2022-08-10 15:27:44 +02:00
commit d703c1bfad
31 changed files with 297 additions and 0 deletions

View file

@ -0,0 +1,13 @@
<!--
class: class of the figure
link: url the image directs to
alt: alternative text
caption: caption
mouse: what the image says when moused over ("title" in HTML)
-->
<audio controls="true">
<source src="{{.Get "src" }}" type="audio/{{.Get "audio" }}">
Sorry mate, your browser doesn't support playing audio files.
</source>
</audio>

View file

@ -0,0 +1 @@
<article>

View file

@ -0,0 +1 @@
</article>

View file

@ -0,0 +1,10 @@
<details>
<summary>Click to reveal video.</summary>
<iframe src="{{ index .Params 0 }}"
loading="lazy"
sandbox="allow-same-origin allow-scripts allow-popups"
allowfullscreen frameborder="0"
class="embvid"
title="Embedded Video">
</iframe>
</details>

View file

@ -0,0 +1,20 @@
<!--
class: class of the figure
link: url the image directs to
alt: alternative text
caption: caption
mouse: what the image says when moused over ("title" in HTML)
-->
<figure {{ with .Get "class" }}class="{{.}}"{{ end -}}>
{{- with .Get "link"}}<a href="{{.}}">{{ end -}}
<img src="{{ .Get "src" }}"
{{- with .Get "mouse" }} title="{{.}}"{{ end -}}
{{- with .Get "alt" }} alt="{{.}}"{{ end -}}
>
{{- if .Get "link"}}</a>{{ end -}}
{{- with .Get "caption" -}}
<figcaption>
{{- . -}}
</figcaption>
{{- end -}}
</figure>

View file

@ -0,0 +1,3 @@
{{ if isset .Site.Taxonomies "tags" }}{{ if not (eq (len .Site.Taxonomies.tags) 0) }} <ul id="tagcloud">
{{ range $name, $items := .Site.Taxonomies.tags }}{{ $url := printf "%s/%s" "tags" ($name | urlize | lower)}}<li><a href="{{ $url | absURL }}" id="tag_{{ $name }}">{{ $name | title }}</a></li>
{{ end }}</ul>{{ end }}{{ end }}

View file

@ -0,0 +1 @@
{{ .TableOfContents }}

View file

@ -0,0 +1,6 @@
<iframe src="{{ index .Params 0 }}"
loading="lazy"
sandbox="allow-same-origin allow-scripts allow-popups"
allowfullscreen frameborder="0"
title="Embedded Video">
</iframe>