-
Notifications
You must be signed in to change notification settings - Fork 364
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -219,6 +219,14 @@ defaults: # 将所有配置选项使用<https://jekyllrb.com/docs/configuration/ | |
min-height: 100vh; | ||
} | ||
</style> | ||
- | # 打印页面时隐藏菜单键 | ||
<style> | ||
@media only print { | ||
#wrap-menu { | ||
display: none; | ||
} | ||
} | ||
</style> | ||
page: | ||
title: # 为每个页面自动生成一个 H1 title | ||
enable: true | ||
|
@@ -319,6 +327,13 @@ defaults: # 将所有配置选项使用<https://jekyllrb.com/docs/configuration/ | |
rel="stylesheet" | ||
href="https://cdn.jsdelivr.net/npm/[email protected]/lib/sakana.min.css" | ||
/> | ||
<style> | ||
@media only print { | ||
.sakana-widget { | ||
display: none; | ||
} | ||
} | ||
</style> | ||
<script> | ||
function initSakanaWidget() { | ||
const mizuno = SakanaWidget.getCharacter('takina'); | ||
|