Samui Eintrag mit Bildern versehen und fertig geschrieben

This commit is contained in:
2024-04-18 00:24:00 +02:00
parent 8f74a18aa2
commit d76cbc2688
11 changed files with 49 additions and 10 deletions
+19 -10
View File
@@ -2,15 +2,16 @@
{{ $p := where site.RegularPages "Type" "blog" }}
<div class="mx-2 md:mx-0">
<picture>
<source media="(max-width: 376px)"
srcset="/img/header-500.webp">
<source media="(max-width: 1400px)"
srcset="/img/header-800.webp">
<source media="(min-width: 1401px)"
srcset="/img/header-1200.webp">
<img
alt="Ein Bild von einer Insel mit Palmen, dem Meer und dem Himmel" src="/img/header.jpg"
height="280px" width="1200px" class="lg:w-full my-4">
<source media="(max-width: 376px)" srcset="/img/header-500.webp" />
<source media="(max-width: 1400px)" srcset="/img/header-800.webp" />
<source media="(min-width: 1401px)" srcset="/img/header-1200.webp" />
<img
alt="Ein Bild von einer Insel mit Palmen, dem Meer und dem Himmel"
src="/img/header.jpg"
height="280px"
width="1200px"
class="lg:w-full my-4"
/>
</picture>
</div>
<div class="flex flex-col lg:flex-row px-2 md:px-0">
@@ -28,7 +29,15 @@
>
</div>
</div>
<div class="basis-1/1 lg:basis-1/3 border-2 min-h-[200vh]"></div>
<div class="basis-1/1 lg:basis-1/3 border-2 min-h-[200vh]">
<ul>
{{ range .Site.Taxonomies.tags }}
<li>
<a href="{{ .Page.Permalink }}">{{ .Page.Title }}</a> {{ .Count }}
</li>
{{ end }}
</ul>
</div>
</div>
{{/* {{ .Content }} */}}