summaryrefslogtreecommitdiff
path: root/layouts/highlights.html
diff options
context:
space:
mode:
authoreltrac <hi@eltr.ac>2026-04-07 14:53:17 +0800
committereltrac <hi@eltr.ac>2026-04-07 14:53:17 +0800
commit10431bd8f5ff71690ae4e5444e8d7894fd401ae5 (patch)
tree62b7fd1b6c1f68d2804f380eb522bcebeb2c8d9f /layouts/highlights.html
parent3e0edacc4a0cafa53ede57ebb6f0378c93f3123b (diff)
chore: move templates out of site repo
Diffstat (limited to 'layouts/highlights.html')
-rw-r--r--layouts/highlights.html20
1 files changed, 0 insertions, 20 deletions
diff --git a/layouts/highlights.html b/layouts/highlights.html
deleted file mode 100644
index 0865b063..00000000
--- a/layouts/highlights.html
+++ /dev/null
@@ -1,20 +0,0 @@
-{{ define "main" }}
- <article>
- <div class="post-content markdown-body text-size-lg md:text-size-xl">
- <p>{{ .Content }}</p>
- </div>
- <!-- Highlights -->
- {{ range shuffle hugo.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 }}