Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
wu-kan authored Jan 7, 2025
1 parent f66df27 commit 00a866e
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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');
Expand Down

0 comments on commit 00a866e

Please sign in to comment.