Skip to content

Commit

Permalink
website: fix 404 on root of sections (#2328)
Browse files Browse the repository at this point in the history
Signed-off-by: Prem Kumar <prmsrswt@gmail.com>
  • Loading branch information
onprem committed Mar 27, 2020
1 parent 3750425 commit d1f7547
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/components/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: "Components:"
---
3 changes: 3 additions & 0 deletions docs/operating/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: "Operating Guides:"
---
3 changes: 3 additions & 0 deletions docs/proposals/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: "Proposals:"
---
21 changes: 21 additions & 0 deletions website/layouts/_default/list.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{{ define "main" }}
<div class="container">
<div class="row py-5">
<div class="col col-3">
{{ partial "_default/sidemenu.html" . }}
</div>
<div class="col col-9">
<h1>{{ .Title }}</h1>
<ul class="list-group list-group-flush">
<!-- Ranges through docs-pre-processed/**/*.md -->
{{ range .Pages }}
<li class="list-group-item list-group-item-action list-group-item-thanos">
<h4><a href="{{.Permalink}}">{{.Title}}</a></h4>
</li>
{{ end }}
</ul>
{{ replace .Content "<table>" "<table class='table table-striped'>" | safeHTML }}
</div>
</div>
</div>
{{ end }}

0 comments on commit d1f7547

Please sign in to comment.