diff options
| author | Eltrac <hi@guhub.cn> | 2025-04-18 20:28:29 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-04-18 20:28:29 +0800 |
| commit | e2644c00ac4e059c3db7d03f2aa54af1ca60c952 (patch) | |
| tree | f4ae01d6901fe287bc8ec2055d7eb7bf52566b5c /layouts/_default/uncategorized.html | |
| parent | d667721bc5bc840401bdde5099ef24dbda9ceb78 (diff) | |
| parent | 0eed452c61d6ce9d9cc524e4efec9fd10ec9a6de (diff) | |
Merge branch 'master' of https://github.com/BigCoke233/geek-death-project
Diffstat (limited to 'layouts/_default/uncategorized.html')
| -rw-r--r-- | layouts/_default/uncategorized.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/layouts/_default/uncategorized.html b/layouts/_default/uncategorized.html new file mode 100644 index 00000000..1f777025 --- /dev/null +++ b/layouts/_default/uncategorized.html @@ -0,0 +1,20 @@ +{{ define "main" }} + <article class="posts termlist-page"> + {{ partial "components/post-page-header.html" . }} + {{ partial "components/breadcrumbs.html" . }} + <div class="post-content"> + <!-- Uncategorized --> + {{ $uncategorized := where (where .Site.RegularPages "Section" "posts") "Params.categories" "==" nil }} + {{ if $uncategorized }} + <section class="uncategorized-posts"> + <ol> + {{ range $uncategorized }} + <li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li> + {{ end }} + </ol> + </section> + {{ end }} + </div> + </article> +{{ partial "footer.html" . }} +{{ end }} |
