Welcome to mirror list, hosted at ThFree Co, Russian Federation.

list.html « _default « layouts - github.com/wangchucheng/hugo-eureka.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b920bf4367142ed2fc23c528f030bfe083427947 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{{ define "main" }}
<article class="mx-6 mb-8">
    <h1 class="font-bold text-3xl text-primary-text">{{.Title}}</h1>
    {{ with .Content }}
    <div class="content">
        {{ . }}
    </div>
    {{ end }}
</article>
<div class="bg-secondary-bg px-6 py-8">
    {{ range .Pages }}
    <h2 class="text-lg text-primary-text my-2">
        <a href="{{ .Permalink }}" class="text-eureka hover:underline">
            {{ .Title }}
        </a>
    </h2>
    {{ end }}
</div>
{{ end }}