Commit Graph

73 Commits

Author SHA1 Message Date
Miao Wang d6821ab71b extract help scripts 2024-04-21 13:17:18 +08:00
Miao Wang c2c62efc49 generalize script tags 2024-04-21 13:17:18 +08:00
Miao Wang e014df8126 Basic vite rendering config 2024-04-21 13:17:18 +08:00
Harry Chen 507139a480 Use more elegant way to specify padding
Signed-off-by: Harry Chen <i@harrychen.xyz>
2024-04-21 13:17:18 +08:00
Miao Wang 12c22c4b81 migrate to bs5 2024-04-21 13:17:18 +08:00
fernvenue fa7e5a5448
head: add RSS autodiscovery. 2023-08-03 20:16:11 +08:00
Miao Wang f8ed575e2a diskusgae: show multiple bars 2021-08-13 19:09:32 +08:00
Harry Chen a20b5f5027
Add rss feed
Signed-off-by: Harry Chen <i@harrychen.xyz>
2021-08-03 21:39:30 +08:00
Harry Chen 964cb707d4
Add locale in og metadata
Signed-off-by: Harry Chen <i@harrychen.xyz>
2021-08-03 21:14:19 +08:00
Harry Chen fa4a115c40
Remove redundant site.name from description
Signed-off-by: Harry Chen <i@harrychen.xyz>
2021-08-03 21:09:35 +08:00
Harry Chen fea011b85d
Update og metadata generation
Signed-off-by: Harry Chen <i@harrychen.xyz>
2021-08-03 20:59:12 +08:00
Harry Chen 919988126d
Add open graph metadata in header
Signed-off-by: Harry Chen <i@harrychen.xyz>
2021-08-03 20:35:30 +08:00
Miao Wang 5acedcfc79
fontawsome: remove font and use svg
Signed-off-by: Miao Wang <shankerwangmiao@gmail.com>
2021-06-23 23:48:55 +08:00
Miao Wang 3e2e47a3d8
Add cache buster
Signed-off-by: Miao Wang <shankerwangmiao@gmail.com>
2021-06-23 15:16:57 +08:00
Miao Wang 7b605e79e0 stylesheets cleanup 2021-06-23 15:02:12 +08:00
Miao Wang bb71950689
footer: add huawei logo
Signed-off-by: Miao Wang <shankerwangmiao@gmail.com>
2021-06-23 01:06:00 +08:00
ZenithalHourlyRate 802ca37353
Use hashtag icon for IRC 2021-06-09 23:29:19 +08:00
ZenithalHourlyRate 528c2299ac
Change IRC URL from freenode to libera chat
Closes https://github.com/tuna/mirror-web/issues/273
2021-06-09 23:02:13 +08:00
Miao Wang fa5fb03c8a
make description in meta vary between pages
Signed-off-by: Miao Wang <shankerwangmiao@gmail.com>
2021-05-21 12:06:01 +08:00
Miao Wang 6cad295747 add styles for emergency page 2020-10-16 16:18:27 +08:00
Miao Wang 21e990834b
hide mail address
Signed-off-by: Miao Wang <shankerwangmiao@gmail.com>
2020-08-31 12:18:51 +08:00
Harry Chen 1712ca3c96
Update server maintainance notice and footer
Signed-off-by: Harry Chen <i@harrychen.xyz>
2020-08-12 21:20:03 +08:00
Miao Wang a0c79c3787
Add sponsor
Signed-off-by: Miao Wang <shankerwangmiao@gmail.com>
2020-08-11 00:34:14 +08:00
Miao Wang 94691982ce
Add sponsor
Signed-off-by: Miao Wang <shankerwangmiao@gmail.com>
2020-08-10 21:10:16 +08:00
Jiajie Chen 5abf1f6a87 Add config to hide navbar 2020-08-05 10:01:05 +08:00
Jiajie Chen 9412322d18 Display footnote when specified 2020-08-04 14:48:13 +08:00
Jiajie Chen 8c14bc72a9 Don't display site operator when empty 2020-08-04 14:46:24 +08:00
Miao Wang bb35e66e00
add pics in more resolutions in status page
Signed-off-by: Miao Wang <shankerwangmiao@gmail.com>
2020-05-22 22:45:52 +08:00
Harry Chen 2d4b06ee25
Use page.mirrorid prior to page.title in <title> to fix case problems in help
Signed-off-by: Harry Chen <i@harrychen.xyz>
2020-04-11 18:07:11 +08:00
Miao Wang 36fce2f5ed
make home link customisable
Signed-off-by: Miao Wang <shankerwangmiao@gmail.com>
2020-03-24 17:31:30 +08:00
Jiajie Chen 4d11f03d38 Show logo when site.logo is set 2020-03-23 22:27:31 +08:00
Jiajie Chen 62bef47fcd Fix last commit by using thuhidden correctly 2020-03-23 22:25:41 +08:00
Jiajie Chen 264d311e13 Move title to config 2020-03-23 22:21:20 +08:00
Jiajie Chen fe18f82776 Move operator string to config 2020-03-23 22:19:36 +08:00
Jiajie Chen 1122afcb15 Bulk replace mirrors.tuna.tsinghua.edu.cn to site.host 2020-03-22 22:41:24 +08:00
王邈 89c5e92c43
Improve a11y of the index page
Signed-off-by: 王邈 <shankerwangmiao@gmail.com>
2020-03-18 00:14:25 +08:00
王邈 c853e122a2
refactor some of the codes
Signed-off-by: 王邈 <shankerwangmiao@gmail.com>
2020-03-06 03:12:45 +08:00
王邈 7b5c21a346 make script more efficient 2020-03-03 14:33:13 +08:00
王邈 052eab1d6d [WIP] add fancy status 2020-03-02 01:35:46 +08:00
王邈 a46b9fd743 adjust 404 page and add thuhidden support 2020-02-28 17:08:40 +08:00
王邈 6258d90662 Finishing dark theme 2020-02-26 18:58:01 +08:00
王邈 2e1b2bec44
Merge remote-tracking branch 'pull/patch-1'
Signed-off-by: 王邈 <shankerwangmiao@gmail.com>
2019-10-14 23:08:22 +08:00
iBug ♦ 032f4d61c0
head/title: Respect site.title and site.brand if set 2019-10-14 22:06:48 +08:00
王邈 10c071a07c
Merge branch 'legacy-notice'
Signed-off-by: 王邈 <shankerwangmiao@gmail.com>
2019-08-21 22:16:29 -04:00
綺麗な賢狼ホロ c6532d23ec
Improve Japanese translation 2019-08-21 13:44:00 +08:00
王邈 f21e37cf42 update url for legacy index in notes page 2019-08-21 00:54:55 -04:00
王邈 e62208cbbf reorganized config files and finishing the njs-based legacy index page rendering 2019-08-20 23:55:34 -04:00
王邈 01c93617fe [WIP] create legacy index page template 2019-08-20 15:43:01 -04:00
王邈 098bef0b17 add more translations. 2019-08-19 22:34:14 -04:00
Shanker Wang a425ea7238 add link to alternative page 2019-08-20 02:20:41 +00:00