Add a link checker

Signed-off-by: Celeste Horgan <celeste@cncf.io>
This commit is contained in:
Tim Bannister
2020-05-25 18:14:44 +01:00
committed by Celeste Horgan
parent 7a3d98a4be
commit 2eb6ab1ad3
14 changed files with 131 additions and 27 deletions
+3 -3
View File
@@ -1,10 +1,10 @@
<footer>
<div class="light-text main-section">
<nav>
{{ with site.GetPage "page" "docs/tutorials/stateless-application/hello-minikube" }}<a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>{{ end }}
{{ with site.GetPage "page" "docs/tutorials/stateless-application/hello-minikube" }}<a href="{{ .RelPermalink }}" data-proofer-ignore>{{ .LinkTitle }}</a>{{ end }}
{{ $sections := slice "docs/home" "blog" "training" "partners" "community" "case-studies" }}
{{ range $sections }}
{{ with site.GetPage "section" . }}<a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>{{ end }}
{{ with site.GetPage "section" . }}<a href="{{ .RelPermalink }}" data-proofer-ignore>{{ .LinkTitle }}</a>{{ end }}
{{ end }}
</nav>
<div class="social" role="region" aria-label="Social hyperlinks">
@@ -34,4 +34,4 @@
ICP license: 京ICP备17074266号-3
</div>
</div>
</footer>
</footer>