Convert docdock theme from submodule to native files and fix Hugo compatibility
This commit is contained in:
16
themes/docdock/layouts/shortcodes/header.html
Normal file
16
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="{{.RelPermalink}}" >{{ .Title }}</a></li>
|
||||
{{ end }}
|
||||
{{ range sort .Page.Pages }}
|
||||
<li><a href="{{.RelPermalink}}" >{{ .Title }}</a></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
Reference in New Issue
Block a user