diff options
| author | Eltrac <hi@guhub.cn> | 2025-11-05 21:00:37 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-11-05 21:00:37 +0800 |
| commit | 114a8051bd4e76988a325c72fbe73eb08e841cb6 (patch) | |
| tree | 98b96cc8ff16a2a70f50d68874e92cd7fca50c76 /layouts | |
| parent | 1a8b514d40129a57cb5fefb857591152a5daad09 (diff) | |
feat: add thoughts page content
Diffstat (limited to 'layouts')
| -rw-r--r-- | layouts/thoughts.html | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/layouts/thoughts.html b/layouts/thoughts.html new file mode 100644 index 00000000..58dc01eb --- /dev/null +++ b/layouts/thoughts.html @@ -0,0 +1,34 @@ +{{ 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 }} |
