diff options
| author | Yehonal <yehonal.azeroth@gmail.com> | 2020-01-12 18:24:18 +0100 |
|---|---|---|
| committer | Yehonal <yehonal.azeroth@gmail.com> | 2020-01-12 18:24:18 +0100 |
| commit | 69655922dc8fada82e347b4598c53b784e370e20 (patch) | |
| tree | 5a59dbfe3f81c20fc5392007c4ed3b0c459d0447 /_includes/git-wiki/sections/tail | |
| parent | 31bc964779174e72d9f616707f1d1d8c97723570 (diff) | |
| download | wiki-69655922dc8fada82e347b4598c53b784e370e20.tar.gz wiki-69655922dc8fada82e347b4598c53b784e370e20.tar.bz2 wiki-69655922dc8fada82e347b4598c53b784e370e20.zip | |
improved red-link check
Diffstat (limited to '_includes/git-wiki/sections/tail')
| -rw-r--r-- | _includes/git-wiki/sections/tail/tail.html | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/_includes/git-wiki/sections/tail/tail.html b/_includes/git-wiki/sections/tail/tail.html index 8aa8139..f5944c9 100644 --- a/_includes/git-wiki/sections/tail/tail.html +++ b/_includes/git-wiki/sections/tail/tail.html @@ -18,9 +18,15 @@ </script> {% endif %} +{% assign items = site.html_pages %} +{% for page in items %} +{% assign url = page.url | relative_url %} +{% assign urls = urls | append: url | append: "," %} +{% endfor %} + <script type="text/javascript"> $(document).ready(function () { - $(document.body).redLinks(); + $(document.body).checkLinks("{{ urls }}".split(",")); }); </script> |
