mirror of
https://github.com/dillonzq/LoveIt.git
synced 2025-04-02 04:07:19 +02:00
Merge pull request #124 from dillonzq/feature/pagespeed
feat(speed): improve loading speed of static resource
This commit is contained in:
commit
5cdb4162da
15 changed files with 8 additions and 7 deletions
assets/lib
fontawesome-free
forkawesome
iconfont
katex
lightgallery
exampleSite
content/posts
theme-documentation-content.en.mdtheme-documentation-content.fr.mdtheme-documentation-content.zh-cn.md
static/images
theme-documentation-basics
theme-documentation-content
theme-documentation-shortcodes
2
assets/lib/fontawesome-free/all.min.css
vendored
2
assets/lib/fontawesome-free/all.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -8,5 +8,4 @@
|
|||
text-rendering: auto; // optimizelegibility throws things off #1094
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
|
||||
}
|
||||
|
|
|
@ -12,4 +12,5 @@
|
|||
// src: url('#{$fa-font-path}/ForkAwesome.otf') format('opentype'); // used when developing fonts
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
url('iconfont.woff?t=1581963134625') format('woff'),
|
||||
url('iconfont.ttf?t=1581963134625') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */
|
||||
url('iconfont.svg?t=1581963134625#loveit') format('svg'); /* iOS 4.1- */
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
.loveit {
|
||||
|
|
2
assets/lib/katex/katex.min.css
vendored
2
assets/lib/katex/katex.min.css
vendored
File diff suppressed because one or more lines are too long
2
assets/lib/lightgallery/lightgallery.min.css
vendored
2
assets/lib/lightgallery/lightgallery.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -98,7 +98,7 @@ comment: true
|
|||
|
||||
**LoveIt** theme uses the summary of the content to display abstract information in the home page. Hugo can generate summaries of your content.
|
||||
|
||||

|
||||

|
||||
|
||||
### Automatic Summary Splitting
|
||||
|
||||
|
|
|
@ -103,7 +103,7 @@ comment: true
|
|||
|
||||
**LoveIt** theme uses the summary of the content to display abstract information in the home page. Hugo can generate summaries of your content.
|
||||
|
||||

|
||||

|
||||
|
||||
### Automatic Summary Splitting
|
||||
|
||||
|
|
|
@ -98,7 +98,7 @@ comment: true
|
|||
|
||||
**LoveIt** 主题使用内容摘要在主页中显示大致文章信息。Hugo 支持生成文章的摘要.
|
||||
|
||||

|
||||

|
||||
|
||||
### 自动摘要拆分
|
||||
|
||||
|
|
Binary file not shown.
Before ![]() (image error) Size: 921 KiB After ![]() (image error) Size: 474 KiB ![]() ![]() |
Binary file not shown.
Before ![]() (image error) Size: 682 KiB After ![]() (image error) Size: 289 KiB ![]() ![]() |
Binary file not shown.
After ![]() (image error) Size: 246 KiB |
Binary file not shown.
Before ![]() (image error) Size: 738 KiB |
Binary file not shown.
Before ![]() (image error) Size: 3 MiB After ![]() (image error) Size: 1.6 MiB ![]() ![]() |
Binary file not shown.
Before ![]() (image error) Size: 918 KiB After ![]() (image error) Size: 638 KiB ![]() ![]() |
Loading…
Add table
Reference in a new issue