github.com/thanos-io/thanos@v0.32.5/website/layouts/_default/single.html (about) 1 {{ define "main" }} 2 <div class="container"> 3 <div class="row py-3 py-lg-5"> 4 <div class="col-12 col-lg-3"> 5 {{ partial "_default/sidemenu.html" . }} 6 </div> 7 <div class="DocSearch-content col-12 col-lg-9"> 8 {{ partial "versioning/banner.html" . }} 9 {{ if or (eq .Params.toc true) (and (gt .WordCount 400) (ne .Params.toc false)) }} 10 <h1>Table of Contents</h1> 11 {{ .TableOfContents }} 12 {{ end }} 13 {{ $content := replace .Content "<table>" "<table class='table table-striped'>" }} 14 {{ $content = $content | replaceRE "(<h[1-4] id=\"([^\"]+)\".+)(</h[1-9]+>)" `${1} <a href="#${2}" class="header-anchor" aria-label="Header Anchor">#</a> ${3}` }} 15 {{ $content | safeHTML}} 16 </div> 17 </div> 18 </div> 19 {{ partial "searchConfig/docs.html" . }} 20 {{ end }}