Fix broken links
This commit is contained in:
parent
b5682d2166
commit
ce0723cd05
2 changed files with 6 additions and 5 deletions
|
@ -30,13 +30,9 @@
|
|||
</div>
|
||||
|
||||
<div style="text-align: center; font-weight: 200; margin-bottom: 40px;">
|
||||
<p style="margin: 0;">
|
||||
<a href="/tags" class="colorlink">tags</a> ·
|
||||
<a href="/pages" class="colorlink">all pages</a>
|
||||
</p>
|
||||
<p style="margin: 0;">
|
||||
written by michael zhang.
|
||||
<a href="https://git.iptq.io/michael/blog" class="colorlink" target="_blank">source</a>
|
||||
<a href="https://git.mzhang.io/michael/blog" class="colorlink" target="_blank">source</a>
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
|
|
5
scripts/check-broken-links.sh
Executable file
5
scripts/check-broken-links.sh
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
DEFAULT="http://localhost:1313"
|
||||
TARGET=${1:-$DEFAULT}
|
||||
wget --spider -r -nd -nv -H -l 1 $TARGET
|
||||
|
Loading…
Reference in a new issue