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

terms.html « authors « layouts - github.com/wangchucheng/hugo-eureka.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 678efdde7c631b2d8372b1a42c9f5cbb96b23ccc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{{ define "main" }}
<article class="mx-6 my-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 rounded px-6 py-8">
    {{ range .Pages }}
    <h2 class="text-lg text-primary-text my-2">
        <a href="{{ .Permalink }}" class="text-eureka hover:underline">{{ .LinkTitle }}</a>
    </h2>
    {{ end }}
</div>
{{ end }}