summary refs log tree commit diff
diff options
context:
space:
mode:
authormayx2025-04-11 17:48:08 +0000
committermayx2025-04-11 17:48:08 +0000
commit526c8c35b7c296ae3091c47a05ff6162f1085f80 (patch)
tree8a801fb343e45fdb7ee7555521c7f7136239b11e
parent9b3f0369f6db06486b9d5ea9da0c359934ec9da8 (diff)
Update 4 files
- /links.md
- /_data/links.csv
- /blogroll.opml
- /_layouts/default.html
-rw-r--r--_data/links.csv6
-rw-r--r--_layouts/default.html1
-rw-r--r--blogroll.opml2
-rw-r--r--links.md2
4 files changed, 6 insertions, 5 deletions
diff --git a/_data/links.csv b/_data/links.csv
index 390f3fc..57ab323 100644
--- a/_data/links.csv
+++ b/_data/links.csv
@@ -1,14 +1,14 @@
 title,link,feed_url,description
 花火学园,https://www.sayhanabi.net/,,和谐融洽的ACG交流以及资源聚集地
 资源统筹局,https://gkdworld.com/,,统筹保管用户分享的资源
-贫困的蚊子,https://mozz.ie/,https://mozz.ie/index.xml,*No description*
+贫困的蚊子,https://mozz.ie/,https://mozz.ie/index.xml,
 极客兔兔,https://geektutu.com/,https://geektutu.com/atom.xml,致力于分享有趣的技术实践
 维基萌,https://www.wikimoe.com/,https://www.wikimoe.com/rss,萌即是正义!一名热爱acg的前端设计师的小站!
 7gugu's blog,https://www.7gugu.com/,https://7gugu.com/index.php/feed/,"一个用来存放我爱好的地方,编程,摄影之类的空间"
 云游君,https://www.yunyoujun.cn/,https://www.yunyoujun.cn/atom.xml,希望能成为一个有趣的人。
 Kingfish404,https://blog.kingfish404.cn/,https://blog.kingfish404.cn/index.xml,"Stay curious,stay naive. WUT. Jin Yu's Blog"
-FKUN,https://blog.fkun.tech/,https://blog.fkun.tech/feed/,*No description*
-Sinofine,https://sinofine.me/,https://sinofine.me/atom.xml,*No description*
+FKUN,https://blog.fkun.tech/,https://blog.fkun.tech/feed/,
+Sinofine,https://sinofine.me/,https://sinofine.me/atom.xml,
 JiaoYuan's blog,https://yuanj.top/,https://yuanj.top/index.xml,思绪来得快去得也快,偶尔会在这里停留
 花生莲子粥,https://blog.hslzz.cn/,https://blog.hslzz.cn/atom.xml,与世无争,不染于泥
 南蛮子懋和,https://www.dao.js.cn/,https://www.dao.js.cn/feed.php,李懋和,俗名李栋梁。书法、国画爱好者,互联网安全与前端建设者。
\ No newline at end of file
diff --git a/_layouts/default.html b/_layouts/default.html
index bd3f3e0..7dd847f 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -11,6 +11,7 @@
   <link rel="stylesheet" href="{{ "/assets/css/style.css?v=" | append: site.github.build_revision | relative_url }}">
   <!--[if !IE]> -->
   <link rel="stylesheet" href="/Live2dHistoire/live2d/css/live2d.css" />
+  <link rel="blogroll" type="text/xml" href="/blogroll.opml" />
   <script src="/assets/js/jquery.min.js"></script>
   <!-- <![endif]-->
   <!--[if lt IE 9]>
diff --git a/blogroll.opml b/blogroll.opml
index d1c2803..bf210aa 100644
--- a/blogroll.opml
+++ b/blogroll.opml
@@ -6,6 +6,6 @@
         <title>Mayx Blogroll</title>
     </head>
     <body>{% for item in site.data.links %}
-        <outline text="{{ item.title | xml_escape }}" title="{{ item.title | xml_escape }}" description="{{ item.description | xml_escape }}" {% if item.feed_url %}xmlUrl="{{ item.feed_url }}" {% endif %}htmlUrl="{{ item.link }}" />{% endfor %}
+        <outline text="{{ item.title | xml_escape }}" title="{{ item.title | xml_escape }}" {% if item.description %}description="{{ item.description | xml_escape }}" {% endif %}{% if item.feed_url %}xmlUrl="{{ item.feed_url }}" {% endif %}htmlUrl="{{ item.link }}" />{% endfor %}
     </body>
 </opml>
diff --git a/links.md b/links.md
index b3936ef..4dba36a 100644
--- a/links.md
+++ b/links.md
@@ -8,7 +8,7 @@ tags: [links]
 
 | Link | Description |
 | - | - |
-{% for item in site.data.links %}| <a href="{{ item.link }}" target="_blank" rel="noopener" {% if item.feed_url %}data-feed="{{ item.feed_url }}"{% endif %}>{{ item.title }}</a> | {{ item.description }} |
+{% for item in site.data.links %}| <a href="{{ item.link }}" target="_blank" rel="noopener" {% if item.feed_url %}data-feed="{{ item.feed_url }}"{% endif %}>{{ item.title }}</a> | {% if item.description %}{{ item.description }}{% else %}*No description*{% endif %} |
 {% endfor %}
 
 订阅以上链接:[OPML](/blogroll.opml)