Fork of Chiri for Astro for my blog
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

style: tweak mobile paddings & clean up

the3ash f3d8f5e5 c08504dd

+5 -23
-13
scripts/copy-katex.js
··· 1 - import fs from 'fs' 2 - import path from 'path' 3 - 4 - // 复制KaTeX CSS文件到public目录 5 - const sourcePath = path.join(process.cwd(), 'node_modules/katex/dist/katex.min.css') 6 - const targetPath = path.join(process.cwd(), 'public/katex.min.css') 7 - 8 - try { 9 - fs.copyFileSync(sourcePath, targetPath) 10 - console.log('✅ KaTeX CSS copied to public directory') 11 - } catch (error) { 12 - console.error('❌ Failed to copy KaTeX CSS:', error.message) 13 - }
+1 -6
src/components/layout/Header.astro
··· 5 5 6 6 <header> 7 7 <nav> 8 - <div class="logo-container"> 9 - <a href="/">{themeConfig.site.title}</a> 10 - </div> 8 + <a href="/">{themeConfig.site.title}</a> 11 9 <ThemeToggle /> 12 10 </nav> 13 11 </header> ··· 26 24 text-decoration: none; 27 25 min-width: 3rem; 28 26 display: inline-block; 29 - } 30 - .logo-container { 31 - position: relative; 32 27 } 33 28 </style>
+1 -1
src/content/about/about.md
··· 1 1 --- 2 - title: About 2 + title: 'About' 3 3 --- 4 4 5 5 <!--
+1 -1
src/content/posts/_draft-example.md
··· 1 1 --- 2 - title: draft-example 2 + title: 'Draft Example' 3 3 pubDate: '2025-07-09' 4 4 --- 5 5
+1 -1
src/content/posts/the-tr-808-story.md
··· 1 1 --- 2 - title: The TR-808 Story 2 + title: 'The TR-808 Story' 3 3 pubDate: '2025-05-10' 4 4 --- 5 5
+1 -1
src/styles/global.css
··· 129 129 130 130 @media (max-width: 768px) { 131 131 body { 132 - padding: 4rem 1.25rem 1.25rem 1.25rem; 132 + padding: 3.5rem 1.5rem 1.5rem 1.5rem; 133 133 } 134 134 } 135 135