Skip to content

Commit 811910b

Browse files
authored
Merge pull request #382 from ryicoh/slacklog-404
Update 404.html
2 parents 481650d + 017777c commit 811910b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

404.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,12 @@
44
---
55
<div class="posts">
66
<p>E149: お探しのページが見つかりません。</p>
7-
<p>slacklog は運用を停止しました。
7+
<p id="slacklog-404" style="display: none">slacklog は運用を停止しました。
88
</div>
9+
10+
<script>
11+
var path = window.location.pathname;
12+
if (path === "/slacklog" || path.startsWith("/slacklog/")) {
13+
document.getElementById("slacklog-404").style.display = 'inline'
14+
}
15+
</script>

0 commit comments

Comments
 (0)