mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
First pass at new site template
This commit is contained in:
committed by
Chris Cummer
parent
215c7e571f
commit
d872a28cf7
16
_site/themes/docdock/layouts/shortcodes/header.html
Normal file
16
_site/themes/docdock/layouts/shortcodes/header.html
Normal file
@@ -0,0 +1,16 @@
|
||||
<div class="well">
|
||||
<strong>Résumé</strong><br/>
|
||||
{{.Inner}}
|
||||
|
||||
<div><strong>Sur cette page</strong></div>
|
||||
{{.Page.TableOfContents}}
|
||||
<div><strong>Pages liées</strong></div>
|
||||
<ul>
|
||||
{{ range sort .Page.Sections }}
|
||||
<li><a href="{{.URL}}" >{{ .Title }}</a></li>
|
||||
{{ end }}
|
||||
{{ range sort .Page.Pages }}
|
||||
<li><a href="{{.URL}}" >{{ .Title }}</a></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
Reference in New Issue
Block a user