mirror of
https://github.com/SouthFox-D/SouthFox-D.github.io.git
synced 2024-11-25 08:26:51 +01:00
feat: add no_comment item
This commit is contained in:
parent
b9085ba8fa
commit
c44e4be9fb
4 changed files with 25 additions and 17 deletions
|
@ -1,6 +1,8 @@
|
|||
---
|
||||
title: 狐说
|
||||
date: 2021-07-11 17:45:57
|
||||
no_comment: true
|
||||
toc: true
|
||||
---
|
||||
|
||||
<link rel="stylesheet" href="/css/foxsay.css" media="screen" type="text/css">
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
title: go
|
||||
date: 2021-12-31 22:00:00
|
||||
no_comment: true
|
||||
---
|
||||
|
||||
<meta http-equiv="refresh" content="3;url=https://foreverblog.cn/go.html">
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
title: travellings
|
||||
date: 2021-03-23 23:45:06
|
||||
no_comment: true
|
||||
---
|
||||
|
||||
<meta http-equiv="refresh" content="3;url=https://travellings.link">
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
<% if (item.no_comment){ %>
|
||||
<!-- no comment -->
|
||||
<% } else { %>
|
||||
<blockquote>如不想授权 Giscus 应用,也可以点击下方<strong>左上角数字</strong>直接跳转到 Github Discussions 进行评论。</blockquote>
|
||||
<% if (theme.enable_comment) { %>
|
||||
<script src="https://giscus.app/client.js"
|
||||
|
@ -16,3 +19,4 @@
|
|||
</script>
|
||||
<noscript>Enable JavaScript to view the comments.</a></noscript>
|
||||
<% } %>
|
||||
<% } %>
|
||||
|
|
Loading…
Reference in a new issue