Fix broken links

This commit is contained in:
Michael Zhang 2020-11-03 17:23:50 -06:00
parent b5682d2166
commit ce0723cd05
Signed by: michael
GPG key ID: BDA47A31A3C8EE6B
2 changed files with 6 additions and 5 deletions

View file

@ -30,13 +30,9 @@
</div> </div>
<div style="text-align: center; font-weight: 200; margin-bottom: 40px;"> <div style="text-align: center; font-weight: 200; margin-bottom: 40px;">
<p style="margin: 0;">
<a href="/tags" class="colorlink">tags</a> &middot;
<a href="/pages" class="colorlink">all pages</a>
</p>
<p style="margin: 0;"> <p style="margin: 0;">
written by michael zhang. 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> </p>
</div> </div>
</body> </body>

5
scripts/check-broken-links.sh Executable file
View file

@ -0,0 +1,5 @@
#!/bin/bash
DEFAULT="http://localhost:1313"
TARGET=${1:-$DEFAULT}
wget --spider -r -nd -nv -H -l 1 $TARGET