Skip to content
This repository was archived by the owner on Mar 9, 2022. It is now read-only.

Commit

Permalink
feat(speed): improve loading speed of static resource
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonzq committed Mar 9, 2020
1 parent 9f1b06f commit 836fe16
Show file tree
Hide file tree
Showing 15 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion assets/lib/fontawesome-free/all.min.css

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion assets/lib/forkawesome/_core.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@
text-rendering: auto; // optimizelegibility throws things off #1094
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;

}
1 change: 1 addition & 0 deletions assets/lib/forkawesome/_path.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
1 change: 1 addition & 0 deletions assets/lib/iconfont/iconfont.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion assets/lib/katex/katex.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/lib/lightgallery/lightgallery.min.css

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -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.

![Summary Preview](/images/theme-documentation-content/summary.png "Summary Preview")
![Summary Preview](/images/theme-documentation-content/summary.jpg "Summary Preview")

### Automatic Summary Splitting

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.

![Summary Preview](/images/theme-documentation-content/summary.png "Summary Preview")
![Summary Preview](/images/theme-documentation-content/summary.jpg "Summary Preview")

### Automatic Summary Splitting

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ comment: true

**LoveIt** 主题使用内容摘要在主页中显示大致文章信息。Hugo 支持生成文章的摘要.

![文章摘要预览](/images/theme-documentation-content/summary.png "文章摘要预览")
![文章摘要预览](/images/theme-documentation-content/summary.jpg "文章摘要预览")

### 自动摘要拆分

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 836fe16

Please sign in to comment.