initial commit
This commit is contained in:
commit
3d068a4adf
78 changed files with 3285 additions and 0 deletions
13
layouts/partials/data/description.html
Normal file
13
layouts/partials/data/description.html
Normal file
|
@ -0,0 +1,13 @@
|
|||
<!-- Use site subtitle by default -->
|
||||
{{ $description := .Site.Params.sidebar.subtitle }}
|
||||
|
||||
{{ if .Description }}
|
||||
<!-- Page description exists -->
|
||||
{{ $description = .Description }}
|
||||
{{ else if .IsPage }}
|
||||
<!-- Use page summary -->
|
||||
{{ $description = .Summary }}
|
||||
{{ end }}
|
||||
|
||||
{{ return ($description | plainify)}}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue