This commit is contained in:
1 parent
3e7d2be98b
commit
bd519140e5
89 files changed
+1162
-777
No files matched your search
@@ -0,0 +1,29 @@
|
||||
{{ define "main" }}
|
||||
<section class="intro">
|
||||
<p class="intro__eyebrow">visitor@{{ .Site.Params.prompt.host | default "blog" }} $ cat about.txt<span class="cursor"> </span></p>
|
||||
<h1>{{ .Site.Params.tagline | default .Site.Title }}</h1>
|
||||
{{ with .Site.Params.description }}<p>{{ . }}</p>{{ end }}
|
||||
{{ with .Site.Params.social }}
|
||||
<p class="intro__links">
|
||||
{{ with .discord }}<a href="{{ . }}" target="_blank" rel="noopener">Discord</a>{{ end }}
|
||||
{{ with .whatsapp }}<a href="{{ . }}" target="_blank" rel="noopener">WhatsApp</a>{{ end }}
|
||||
{{ with .mail }}<a href="{{ . }}" target="_blank" rel="noopener me">Mail</a>{{ end }}
|
||||
</p>
|
||||
{{ end }}
|
||||
</section>
|
||||
|
||||
{{ $sectionPages := where .Site.RegularPages "Type" "hs26" }}
|
||||
{{ if eq (len $sectionPages) 0 }}{{ $sectionPages = .Site.RegularPages }}{{ end }}
|
||||
{{ $paginator := .Paginate $sectionPages }}
|
||||
|
||||
<p class="section-label">Jetziges Semester</p>
|
||||
<ul class="post-list">
|
||||
{{ range $i, $p := $paginator.Pages }}
|
||||
{{ partial "post-card.html" (dict "page" $p "index" $i) }}
|
||||
{{ else }}
|
||||
<li style="color: var(--overlay1); font-family: 'IBM Plex Mono', monospace;">No posts yet — create one with <code>hugo new posts/my-first-post.md</code>.</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
|
||||
{{ partial "pagination.html" $paginator }}
|
||||
{{ end }}
|
||||
Reference in new issue
Block a user