File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -195,6 +195,12 @@ export const BuiltInIcons = {
195195 'content-statistic' : `
196196 <svg xmlns="http://www.w3.org/2000/svg" width="2em" height="2em" viewBox="0 0 48 48"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="3"><path d="M39.743 44.461c2.555-.208 4.51-2.163 4.718-4.718C44.723 36.515 45 31.364 45 24s-.277-12.515-.539-15.743c-.208-2.555-2.163-4.51-4.718-4.718C36.515 3.277 31.364 3 24 3s-12.515.277-15.743.539c-2.555.208-4.51 2.163-4.718 4.718C3.277 11.485 3 16.636 3 24s.277 12.515.539 15.743c.208 2.555 2.163 4.51 4.718 4.718C11.485 44.723 16.636 45 24 45s12.515-.277 15.743-.539"/><path d="M31.66 34.652a3.72 3.72 0 0 1-4.974.524a181 181 0 0 1-4.94-3.73a.98.98 0 0 0-1.402.184c-1.127 1.552-2.378 3.507-3.385 5.137c-1.173 1.9-3.487 2.876-5.344 1.636a12 12 0 0 1-1.324-1.021c-1.576-1.395-1.414-3.735-.046-5.335c2.15-2.517 4.727-5.362 7.224-7.79c1.459-1.417 3.752-1.366 5.274-.017c1.522 1.348 3.428 2.987 4.958 4.138a.95.95 0 0 0 1.274-.116c1.72-1.853 4.115-4.704 5.618-6.52c.917-1.107 2.286-1.858 3.51-1.104c.29.18.572.387.824.61c.947.838.778 2.193.143 3.286c-1.212 2.087-3.635 5.874-7.41 10.118" clip-rule="evenodd"/><path d="M11 11h10m-10 6h6"/></g></svg>
197197 ` ,
198+ friendLink : `
199+ <svg xmlns="http://www.w3.org/2000/svg" width="2em" height="2em" viewBox="0 0 20 20"><path fill="currentColor" d="M4.5 6.75a2.25 2.25 0 1 1 4.5 0a2.25 2.25 0 0 1-4.5 0M6.75 3.5a3.25 3.25 0 1 0 0 6.5a3.25 3.25 0 0 0 0-6.5M1.5 13a2 2 0 0 1 2-2h6.55a3.5 3.5 0 0 0-.713 1H3.5a1 1 0 0 0-1 1v.078l.007.083a2.95 2.95 0 0 0 .498 1.336C3.492 15.201 4.513 16 6.75 16c1.293 0 2.18-.267 2.792-.628c.182.287.405.546.66.768c-.787.508-1.898.86-3.452.86c-2.513 0-3.867-.92-4.568-1.934a3.95 3.95 0 0 1-.67-1.807a3 3 0 0 1-.012-.175zM12 7.5a2.5 2.5 0 1 0 5 0a2.5 2.5 0 0 0-5 0m1 0a1.5 1.5 0 1 1 3 0a1.5 1.5 0 0 1-3 0m-.5 3.5a2.5 2.5 0 0 0 0 5h.5a.5.5 0 0 0 0-1h-.5a1.5 1.5 0 0 1 0-3h.5a.5.5 0 0 0 0-1zm3.5 0a.5.5 0 0 0 0 1h.5a1.5 1.5 0 0 1 0 3H16a.5.5 0 0 0 0 1h.5a2.5 2.5 0 0 0 0-5zm-4 2.5a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 0 1h-4a.5.5 0 0 1-.5-.5"/></svg>
200+ ` ,
201+ contract : `
202+ <svg xmlns="http://www.w3.org/2000/svg" width="2em" height="2em" viewBox="0 0 24 24"><path fill="currentColor" d="m12.5 18.375l6.5-9L12.5 3L6.025 9.4zM9.75 23q-1.275 0-2.262-.763T6.15 20.276Q6 19.7 5.525 19.35T4.45 19q-.4 0-.75.15t-.6.45q-.125.175-.312.275t-.438.1q-.425 0-.712-.288t-.288-.712q0-.2.05-.35t.175-.275q.525-.65 1.288-1T4.45 17q1.275 0 2.275.75t1.35 1.975q.15.575.625.925t1.05.35q.475 0 .85-.25t.65-.625l.025-.05l-6.9-9.525q-.2-.275-.288-.575T4 9.375q0-.4.15-.762t.45-.663l6.5-6.375q.275-.275.65-.425T12.5 1t.75.15t.65.425l6.5 6.375q.3.3.45.663t.15.762q0 .3-.088.6t-.287.575L12.5 21.8q-.45.625-1.2.913T9.75 23"/></svg>
203+ `
198204}
199205
200206export const Icons = {
Original file line number Diff line number Diff line change 44 "id_name" : " cf-links" ,
55 "desc" : " Common links included in circle friends" ,
66 "link_list" : [
7- {
8- "name" : " Arthals' ink" ,
9- "intro" : " 所见高山远木,阔云流风;所幸岁月盈余,了无拘束" ,
10- "link" : " https://arthals.ink/" ,
11- "avatar" : " https://cdn.arthals.ink/Arthals.png"
12- },
137 {
148 "name" : " CWorld Site" ,
159 "intro" : " 求知若愚,虚怀若谷" ,
2721 "id_name" : " special-links" ,
2822 "desc" : " Other special links" ,
2923 "link_list" : [
30- {
31- "name" : " 虫洞" ,
32- "intro" : " 随机前往十年之约的成员博客" ,
33- "link" : " https://www.foreverblog.cn/go.html" ,
34- "avatar" : " /images/wormhole.png"
35- },
3624 {
3725 "name" : " 开往" ,
3826 "intro" : " 随机前往开往的成员博客" ,
39- "link" : " https://www.travellings.cn/go .html" ,
40- "avatar" : " https://www.travellings.cn/assets/travelling.png"
27+ "link" : " https://www.travellings.cn/train .html" ,
28+ "avatar" : " https://www.travellings.cn/assets/travelling-dark .png"
4129 }
4230 ]
4331 }
Original file line number Diff line number Diff line change @@ -194,6 +194,10 @@ Current support tools as follow:
194194<Collapse title = ' Website history:' >
195195 <Timeline
196196 events = { [
197+ {
198+ date: ' 2025-11-08' ,
199+ content: ' 加入开往'
200+ },
197201 {
198202 date: ' 2025-09-17' ,
199203 content: ' 迁移到Tencent EdgeOne CDN'
@@ -223,24 +227,6 @@ Current support tools as follow:
223227- Icons & OgImage: from [ Iconify] ( https://iconify.design/ ) & [ lobehub] ( https://lobehub.com/icons ) , some icons from ai
224228- Fonts: from [ ZSFT] ( https://fonts.zeoseven.com ) , current font is ` Noto Serif CJK / 思源宋体 ` , 标题字体是 ` ZSFT-e `
225229
230+ ### 其他
231+ - 开往友链计划成员博客: [ 开往] ( https://www.travellings.cn/train.html )
226232
227- Total Page View <span id = " vercount_value_page_pv" >Loading</span >
228- Total Visits <span id = " vercount_value_site_pv" >Loading</span >
229- Site Total Visitors <span id = " vercount_value_site_uv" >Loading</span >
230-
231- ## Special Links
232-
233- <FriendList
234- list = { {
235- id_name: ' kaiwang' ,
236- desc: ' 开往 - 开往下一站' ,
237- link_list: [
238- {
239- name: ' 开往' ,
240- intro: ' 随机前往开往的成员博客' ,
241- link: ' https://www.travellings.cn/train.html' ,
242- avatar: ' https://www.travellings.cn/assets/travelling-dark.png'
243- }
244- ]
245- }}
246- />
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ const highlightColor = getHighlightColor()
118118 <Icon name =' document' />
119119 <span class =' text-xs text-muted-foreground uppercase tracking-wider' >最新文章</span >
120120 </div >
121- <div class =' flex flex-col gap-0' >
121+ <div class =' flex flex-col gap-0.5 ' >
122122 {
123123 allPostsByDate .map ((post , index ) => (
124124 <a href = { ` /blog/${post .data .slug } ` } class = ' block no-underline group relative z-10' >
@@ -276,7 +276,7 @@ const highlightColor = getHighlightColor()
276276 <div
277277 class =' text-xs text-muted-foreground uppercase tracking-wider flex items-center gap-2 pt-3 pb-2 mb-2 md:pt-4 md:mb-3 border-b-2 border-dashed border-border'
278278 >
279- <Icon name =' link ' size =' 1.25em' />
279+ <Icon name =' contract ' size =' 1.25em' />
280280 <span >联系我</span >
281281 </div >
282282 { /* 移动端:紧凑的图标按钮布局,桌面端:带文字的链接 */ }
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ import config from 'virtual:config'
55import { Collapse , Timeline } from ' astro-pure/user'
66import PageLayout from ' @/layouts/CommonPage.astro'
77import FriendList from ' @/components/links/FriendList.astro'
8- // import Comment from '@/components/Comment.astro'
98import { Comment } from ' @/components/waline'
109
1110const headings = [
@@ -22,7 +21,6 @@ const linksConf = config.integ.links
2221 frontmatter ={ { title: ' Links' , info: { slug: ' /links' , comment: true } }}
2322 headings ={ headings }
2423>
25- <p >怎么可能有顺序呢,当然是随机的~ It's random</p >
2624 <h2 id =' common-links' >Common Links</h2 >
2725 <FriendList list ={ friends [0 ]} />
2826 <Collapse title =' Links with Bad Status' >
@@ -52,17 +50,16 @@ const linksConf = config.integ.links
5250 })
5351 }
5452 </blockquote >
55-
5653 <p >
5754 申请时还请按照这个模板留言(<a
58- href =' https://github.com/cworld1/astro-theme-pure /blob/main /public/links.json'
59- target =' _blank' >提交 PR</a
55+ href =' https://github.com/CatCodeMe/catcodeme.github.io /blob/astro-pure-v4_0_3 /public/links.json'
56+ target =' _blank' class = " external-link not-prose " >提交 PR</a
6057 > 或许也是个更快的办法)。此外有关申请说明:
6158 </p >
6259 <ul >
6360 <li >在你的友链上添加了本站;</li >
6461 <li >请确保你的站点活着;</li >
6562 <li >博客内容不违反国家法律。</li >
6663 </ul >
67- <Comment slot =' bottom' />
64+ <Comment slot =' bottom' enable = { true } />
6865</PageLayout >
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ const menu: { title: string; link: string; icon?: IconName; iconImg?: string }[]
99 // { title: '书架', link: '/shelf', icon: 'shelf' },
1010 // { title: 'Projects', link: '/projects' },
1111 { title : '关于' , link : '/about' , icon : 'about' } ,
12+ { title : '友链' , link : '/links' , icon : 'friendLink' } ,
1213 { title : '留言板' , link : '/msgboard' , icon : 'msgboard' } ,
1314 { title : '' , link : '/cats' , iconImg : '/favicon/favicon-32x32.png' }
1415]
You can’t perform that action at this time.
0 commit comments