summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-11-05 21:00:37 +0800
committerEltrac <hi@guhub.cn>2025-11-05 21:00:37 +0800
commit114a8051bd4e76988a325c72fbe73eb08e841cb6 (patch)
tree98b96cc8ff16a2a70f50d68874e92cd7fca50c76
parent1a8b514d40129a57cb5fefb857591152a5daad09 (diff)
feat: add thoughts page content
-rw-r--r--content/thoughts.md9
-rw-r--r--layouts/thoughts.html34
2 files changed, 43 insertions, 0 deletions
diff --git a/content/thoughts.md b/content/thoughts.md
new file mode 100644
index 00000000..5046a3f5
--- /dev/null
+++ b/content/thoughts.md
@@ -0,0 +1,9 @@
+---
+title: 想法
+layout: thoughts
+---
+
+- 感觉任何效率工具和手帐本都不够好用,问题可能不在于「我还没找到合适的工具」,而在于「我的生活已经一团乱了」「我已经没有那么多事情值得写在本子上了」。
+<span>——2025.11.3</span>
+- 我永远会选择手打领带而不会买免打领带,有些东西是方便的产品无法复刻的,就像效率软件替代不了纸笔一样。
+<span>——2025.11.5</span>
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 }}