feat: 增加 aside 最新評論部件

style: 部分css調整和html優化
improvements: 刪除pwa中的theme-color配置,默認生成meta theme-color  close #340
improvements: 優化最後更新時間顯示(1小時內顯示 剛剛,1小時到24小時 顯示 xx小時前,1天到365天 顯示 xx天前,365天后直接顯示日期)
This commit is contained in:
Jerry committed 2020-08-29 01:11:11 +08:00
1 parent ee6f62f4bc
commit fe97d2e63f
23 files changed
+420 -86

No files matched your search

+19 -1
View File
@@ -644,6 +644,25 @@ runtimeshow:
enable: false enable: false
publish_date: publish_date:
# Aside widget - Newest Comments
newest_comments:
enable: false
limit: 6
avatar: true
leancloud:
enable: false
appId: # leancloud application app id
appKey: # leancloud application app key
serverURL: # This configuration is suitable for domestic custom domain name users, overseas version will be automatically detected (no need to manually fill in)
default_avatar: mp # mp/identicon/monsterid/wavatar/retro/robohash/blank
github_issues:
enable: false
repo:
disqus:
enable: false
forum:
api_key:
# Bottom right button (右下角按鈕) # Bottom right button (右下角按鈕)
# -------------------------------------- # --------------------------------------
@@ -763,7 +782,6 @@ lazyload:
# pwa: # pwa:
# enable: false # enable: false
# manifest: /image/pwa/manifest.json # manifest: /image/pwa/manifest.json
# theme_color: "#fff"
# apple_touch_icon: /image/pwa/apple-touch-icon.png # apple_touch_icon: /image/pwa/apple-touch-icon.png
# favicon_32_32: /image/pwa/32.png # favicon_32_32: /image/pwa/32.png
# favicon_16_16: /image/pwa/16.png # favicon_16_16: /image/pwa/16.png
+10 -2
View File
@@ -70,12 +70,20 @@ aside:
unit: days unit: days
last_push_date: last_push_date:
name: Last Push name: Last Push
zero_day: Today
suffix: days ago
site_wordcount: Total Count site_wordcount: Total Count
site_uv_name: UV site_uv_name: UV
site_pv_name: PV site_pv_name: PV
more_button: More more_button: More
card_newest_comments:
heading: Newest Comments
loading_text: loading...
zero_day: Today
day: days ago
date_suffix:
one_hour: Just
hours: hours ago
day: days ago
donate: Donate donate: Donate
share: Share share: Share
+10 -2
View File
@@ -70,12 +70,20 @@ aside:
unit: days unit: days
last_push_date: last_push_date:
name: Last Push name: Last Push
zero_day: Today
suffix: days ago
site_wordcount: Total Count site_wordcount: Total Count
site_uv_name: UV site_uv_name: UV
site_pv_name: PV site_pv_name: PV
more_button: More more_button: More
card_newest_comments:
heading: Newest Comments
loading_text: loading...
zero_day: Today
day: days ago
date_suffix:
one_hour: Just
hours: hours ago
day: days ago
donate: Donate donate: Donate
share: Share share: Share
Loaded 3 of 23 files, more files were not shown because too many files have changed in this diff. Show more