未验证 提交 5cdb4162 编写于 作者: D Dillon 提交者: GitHub

Merge pull request #124 from dillonzq/feature/pagespeed

feat(speed): improve loading speed of static resource
......@@ -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 {
......
此差异已折叠。
......@@ -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
......
......@@ -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
......
......@@ -98,7 +98,7 @@ comment: true
**LoveIt** 主题使用内容摘要在主页中显示大致文章信息。Hugo 支持生成文章的摘要.
![文章摘要预览](/images/theme-documentation-content/summary.png "文章摘要预览")
![文章摘要预览](/images/theme-documentation-content/summary.jpg "文章摘要预览")
### 自动摘要拆分
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册