Skip to content

Commit 8fad896

Browse files
author
seven
committed
config(rss): update rss config
1 parent a3999da commit 8fad896

File tree

8 files changed

+37
-21
lines changed

8 files changed

+37
-21
lines changed

assets/icons/brand-x.svg

+4
Loading

config/_default/config.yaml

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
baseurl: https://osguider.com/blog/
22
languageCode: zh-cn
33
theme: hugo-theme-stack
4-
paginate: 6
54
title: 开源服务指南
5+
pagination:
6+
paperSize: 6
67

78
# Theme i18n support
89
# Available values: ar, bn, ca, de, el, en, es, fr, hu, id, it, ja, ko, nl, pt-br, th, uk, zh-cn, zh-hk, zh-tw
@@ -15,11 +16,11 @@ hasCJKLanguage: true
1516
copyright: "开源服务指南"
1617
cleanDestinationDir: true
1718
enableRobotsTXT: true
18-
redirects:
19-
- frome: /**
20-
status: 404
21-
to: /
2219
# GA Tracking ID
2320
googleAnalytics: G-ZSQ35SS15L
2421
# Change it to your Disqus shortname before using
2522
# disqusShortname: hugo-theme-stack
23+
24+
services:
25+
rss:
26+
limit: 30

config/_default/menu.yaml

+18-10
Original file line numberDiff line numberDiff line change
@@ -9,23 +9,31 @@ social:
99
url: https://github.com/osguider/blog
1010
params:
1111
icon: brand-github
12+
1213
- identifier: wxmp
1314
name: 微信订阅号
1415
url: https://mp.weixin.qq.com/mp/appmsgalbum?__biz=Mzg2NTk2OTM2OA==&action=getalbum&album_id=3076744176081600515#wechat_redirect
1516
params:
1617
icon: brand-wechat
17-
- identifier: juejin
18-
name: 掘金
19-
url: https://juejin.cn/user/2623892048592072/
20-
params:
21-
icon: brand-juejin
18+
19+
# - identifier: juejin
20+
# name: 掘金
21+
# url: https://juejin.cn/user/2623892048592072/
22+
# params:
23+
# icon: brand-juejin
2224

2325
- identifier: zhihu
2426
name: 知乎
2527
url: https://www.zhihu.com/people/osguider
2628
params:
2729
icon: brand-zhihu
2830

31+
- identifier: rss
32+
name: RSS
33+
url: https://osguider.com/blog/index.xml
34+
params:
35+
icon: rss
36+
2937
# - identifier: tencent-cloud
3038
# name: 腾讯云开发者社区
3139
# url: https://cloud.tencent.com/developer/column/100371
@@ -38,8 +46,8 @@ social:
3846
# params:
3947
# icon: brand-csdn
4048

41-
# - identifier: twitter
42-
# name: Twitter
43-
# url: https://twitter.com
44-
# params:
45-
# icon: brand-twitter
49+
- identifier: x
50+
name: Twitter
51+
url: https://x.com/osguider
52+
params:
53+
icon: brand-twitter

config/_default/params.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ mainSections:
44
- post
55
# 定义封面图在 Front Matter 中的字段名称
66
featuredImageField: image
7-
rssFullContent: false
7+
rssFullContent: true
88
favicon: /blog/favicon.svg # e.g.: favicon placed in `static/favicon.ico` of your site folder, then set this field to `/favicon.ico` (`/` is necessary)
99

1010
# https://stack.jimmycai.com/config/footer

config/_default/permalinks.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@
22
# post: /post/:slugorfilename/
33
page: /:slug/
44
categories: /categories/:slug/
5-
rss: /rss.xml

config/_default/rss.yaml

-3
This file was deleted.

config/_default/server.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# redirects:
2+
# - from: /blog/**
3+
# status: 404
4+
# to: /blog/
5+
# - from: /**
6+
# status: 404
7+
# to: /

0 commit comments

Comments
 (0)