Skip to content

Commit a77538d

Browse files
committed
Fix the configuration of social icon after upgrading paperMod
1 parent 999e09b commit a77538d

File tree

2 files changed

+13
-23
lines changed

2 files changed

+13
-23
lines changed

config.yml

Lines changed: 12 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,18 @@ params:
115115
threshold: 0.4
116116
minMatchCharLength: 0
117117
keys: ["title", "permalink", "summary", "content"]
118+
119+
socialIcons:
120+
- name: github
121+
url: "https://github.com/ramsayleung"
122+
- name: stackoverflow
123+
url: "https://stackoverflow.com/users/5738112/ramsay"
124+
- name: x
125+
url: "https://twitter.com/foobar_ramsay"
126+
- name: linkedin
127+
url: "https://www.linkedin.com/in/ramsayleung/"
128+
- name: telegram
129+
url: "https://t.me/+Z2PUA7NFt41iY2M1"
118130
defaultContentLanguageInSubdir: true
119131
copyright: "See this site's source code [here](https://github.com/ramsayleung/ramsayleung.github.io), licensed under GPLv3 ·"
120132
defaultContentLanguage: en
@@ -124,17 +136,6 @@ languages:
124136
subtitle: "Yet Another Programming Blog"
125137
weight: 1
126138
contentDir: 'content/en'
127-
socialIcons:
128-
- name: github
129-
url: "https://github.com/ramsayleung"
130-
- name: stackoverflow
131-
url: "https://stackoverflow.com/users/5738112/ramsay"
132-
- name: twitter
133-
url: "https://twitter.com/foobar_ramsay"
134-
- name: linkedin
135-
url: "https://www.linkedin.com/in/ramsayleung/"
136-
- name: RSS
137-
url: "/en/index.xml"
138139
menu:
139140
main:
140141
- name: Archives
@@ -158,17 +159,6 @@ languages:
158159
subtitle: "过河卒"
159160
contentDir: 'content/zh'
160161
weight: 2
161-
socialIcons:
162-
- name: github
163-
url: "https://github.com/ramsayleung"
164-
- name: stackoverflow
165-
url: "https://stackoverflow.com/users/5738112/ramsay"
166-
- name: twitter
167-
url: "https://twitter.com/foobar_ramsay"
168-
- name: linkedin
169-
url: "https://www.linkedin.com/in/ramsayleung/"
170-
- name: RSS
171-
url: "/zh/index.xml"
172162
menu:
173163
main:
174164
- name: "归档"

0 commit comments

Comments
 (0)