Move page descriptions to page metadata
This commit is contained in:
parent
7ab51de6b2
commit
d5481f9773
4 changed files with 19 additions and 27 deletions
|
|
@ -5,6 +5,16 @@
|
|||
{{ partial "navbar" .}}
|
||||
|
||||
<div class="container">
|
||||
{{ if isset .Params "description" }}
|
||||
<div class="jumbotron">
|
||||
<h1 class="display-4 mb-4">{{ .Title }}</h1>
|
||||
|
||||
{{ .Params.description | markdownify }}
|
||||
</div>
|
||||
{{ else }}
|
||||
<h1 class="display-4 mb-4">{{ .Title }}</h1>
|
||||
{{ end }}
|
||||
|
||||
{{.Content}}
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue