mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-06-02 23:59:51 -04:00
Add description to other layouts
- helps adding description to sub-sections, search, terms, archive pages
This commit is contained in:
parent
a414d16b86
commit
9257321547
4 changed files with 21 additions and 1 deletions
|
@ -3,6 +3,11 @@
|
|||
{{- if .Title }}
|
||||
<header class="page-header">
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{- if .Description }}
|
||||
<div class="post-description">
|
||||
{{ .Description }}
|
||||
</div>
|
||||
{{- end }}
|
||||
</header>
|
||||
{{- end }}
|
||||
|
||||
|
@ -19,4 +24,4 @@
|
|||
{{- end }}
|
||||
</ul>
|
||||
|
||||
{{ end }}{{/* end main */}}
|
||||
{{ end }}{{/* end main */}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue