Browse Source

Fix broken links

master
Michael Zhang 8 months ago
parent
commit
ce0723cd05
Signed by: michael GPG Key ID: BDA47A31A3C8EE6B
  1. 6
      layouts/_default/baseof.html
  2. 5
      scripts/check-broken-links.sh

6
layouts/_default/baseof.html

@ -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> &middot;
<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

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