Skip to content
Snippets Groups Projects
Commit 6c65c786 authored by Vincent Manuel Menke's avatar Vincent Manuel Menke
Browse files

Merge branch 'Refactoring-and-Dokumentation' into 'main'

Refactoring and dokumentation part 1

See merge request !3
parents ea6686ec 4a92336b
No related branches found
No related tags found
1 merge request!3Refactoring and dokumentation part 1
Pipeline #224983 passed
......@@ -7,7 +7,7 @@
</header>
{{- if .Params.image }}
<span class="image featured"><img src="{{ .Params.image | relURL }}" alt="{{ .Params.image_alt }}" /></span>
<span class="image featured"><img src='{{.Page.Permalink}}media/{{.Param "image"}}' alt="{{ .Params.image_alt }}" /></span>
{{ end }}
{{ range .RegularPages.ByDate.Reverse }}
<!--{{printf "%#v" .Params }}-->
......
<section class="col-6 col-12-narrower">
<div class="box post">
<a href="{{ .RelPermalink }}" class="image left"><img src="{{ .Params.image | relURL }}" alt="{{ .Params.image_alt }}" class="squareImg" /></a>
<a href="{{ .RelPermalink }}" class="image left"><img src='{{.Page.Permalink}}media/{{.Param "image"}}' alt="{{ .Params.image_alt }}" class="squareImg" /></a>
<div class="inner">
<h3><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
{{ if .Site.Params.show_post_dates | default true }}
......
{{ define "main" }}
<header>
<h2>{{ .Title }}</h2>
<p>{{ .Description }}</p>
{{ if .Site.Params.show_post_dates | default true }}
{{- with .Date }}<time>{{ . | time.Format ":date_medium" }}</time>{{ end }}
{{ end }}
{{ partial "tags.html" . }}
</header>
{{- if .Params.image }}
<span class="image featured"><img src='{{.Page.Permalink}}media/{{.Param "image"}}' alt="{{ .Params.image_alt }}" /></span>
{{ end }}
{{- .Content }}
{{ end }}
static/images/galaxy.webp

263 KiB

Subproject commit 944ddc3c7e75b1287f15523902d10da0562dd2ac
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment