summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-11-27 23:39:56 +0800
committerEltrac <hi@guhub.cn>2025-11-27 23:39:56 +0800
commit7e69f9beeac4a9f76f8c4b8f8fc23d72a0bd5d75 (patch)
treee9205718b4c3f40ed8bc9efb5cf226550b7b16f9 /layouts
parent5cb1c7eb72fad939bcc76be11e4b6149f37618e1 (diff)
remove: thougts page
Former-commit-id: ed273bf887a8253bb8c9fef94f308e9625978327
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_partials/home/home-nav.html6
-rw-r--r--layouts/thoughts.html34
2 files changed, 0 insertions, 40 deletions
diff --git a/layouts/_partials/home/home-nav.html b/layouts/_partials/home/home-nav.html
index 9ee63bc0..6285848d 100644
--- a/layouts/_partials/home/home-nav.html
+++ b/layouts/_partials/home/home-nav.html
@@ -8,12 +8,6 @@
) }}
{{ partial "home/home-nav-item" (dict
- "text" (T "postNav.thoughts")
- "link" "thoughts"
- "active" (eq "/thoughts/" $.Page.RelPermalink)
- ) }}
-
- {{ partial "home/home-nav-item" (dict
"text" (T "postNav.featured")
"link" "featured"
"active" (eq "/featured/" $.Page.RelPermalink)
diff --git a/layouts/thoughts.html b/layouts/thoughts.html
deleted file mode 100644
index 58dc01eb..00000000
--- a/layouts/thoughts.html
+++ /dev/null
@@ -1,34 +0,0 @@
-{{ define "main" }}
- <article>
- {{ partial "header.html" . }}
- {{ partial "home/home-nav" . }}
- <style>
- #thoughts-content {
- font-size: 1.125rem;
- }
- #thoughts-content ul {
- list-style: none;
- padding-inline-start: 0;
- margin: 2rem 0;
- display: flex;
- flex-direction: column-reverse;
- gap: 1rem;
- }
- #thoughts-content ul li {
- background-color: rgba(var(--block-background-color-rgb), 0.5);
- padding: 1rem 1.5rem;
- border-radius: 0.5rem;
- }
- #thoughts-content ul li > span {
- color: var(--secondary-text-color);
- font-size: 1rem;
- }
- </style>
- <div id="thoughts-content" class="post-content markdown-body text-size-lg md:text-size-xl leading-loose"
- style="view-transition-name: post-content-{{ .File.UniqueID }}">
- {{ partial "posts/toc" . }}
- {{ .Content }}
- </div>
- </article>
- {{ partial "footer.html" . }}
-{{ end }}