mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-06-03 08:08:41 -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
|
@ -7,6 +7,11 @@
|
|||
{{- if not .IsHome | and .Title }}
|
||||
<header class="page-header">
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{- if .Description }}
|
||||
<div class="post-description">
|
||||
{{ .Description }}
|
||||
</div>
|
||||
{{- end }}
|
||||
</header>
|
||||
{{- end }}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue