blob: 63306053aee808d887f936b91376daae1da51b57 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
{{ define "main" }}
<article>
<div class="post-content markdown-body text-size-lg md:text-size-xl">
<p>{{ .Content }}</p>
</div>
<!-- Highlights -->
{{ range shuffle site.Data.highlights }}
<section class="post-content lazy-render">
<h3><a href="{{ .url }}">《{{ .title }}》</a></h3>
<ul class="list-none">
{{ range .highlights }}
<li class="my-4 text-lg">
<a class="hover:no-underline" href="{{ .link }}">{{ .text | markdownify }}</a>
</li>
{{ end }}
</ul>
</section>
{{ end }}
</article>
{{ end }}
|