Convert site to Hugo (#8316)

This commit converts content and layout to use Hugo.
This commit is contained in:
Bjørn Erik Pedersen
2018-05-05 18:00:51 +02:00
committed by k8s-ci-robot
parent 7745f0e0c5
commit 7f3b633aa0
2327 changed files with 10928 additions and 171503 deletions
+22
View File
@@ -0,0 +1,22 @@
<div class="track">{{ .Params.track }}</div>
<div class="topheader">
Introduction
</div>
<div class="sections">sections in this doc</div>
<div id="user-journeys-toc" class="tablebar">
<!-- This TOC section is populated with Javascript, see js/user-journeys-toc.js -->
</div>
<div class="docsection1">
{{ partial "insert-capture" (dict "ctx" . "id" "overview" )}}
{{- with .Scratch.Get "__cid_body" -}}
{{ $body := replace . `<h2` `</div><h2` }}
{{ $body := replace $body `</h2>` `</h2><div class="docsection1">` | safeHTML }}
{{- $body -}}
{{- end -}}
</div>
<script src="{{ "js/user-journeys/toc.js" | relURL }}"></script>