diff options
| author | Aditya Telange <21258296+adityatelange@users.noreply.github.com> | 2021-01-27 21:19:21 +0530 |
|---|---|---|
| committer | Aditya Telange <21258296+adityatelange@users.noreply.github.com> | 2021-01-27 21:31:33 +0530 |
| commit | 92573215477d7936989152e8f277d0f29d805dd9 (patch) | |
| tree | c475757a60666e601b0c36b71d59aa836e3d136b /layouts/_default/archives.html | |
| parent | a414d16b86088fd6a3213a2fede6656571e05787 (diff) | |
Add description to other layouts
- helps adding description to sub-sections,
search, terms, archive pages
Diffstat (limited to 'layouts/_default/archives.html')
| -rw-r--r-- | layouts/_default/archives.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/layouts/_default/archives.html b/layouts/_default/archives.html index 22b5d9a..5daf2aa 100644 --- a/layouts/_default/archives.html +++ b/layouts/_default/archives.html @@ -2,6 +2,11 @@ <header class="page-header"> <h1>{{ .Title }}</h1> + {{- if .Description }} + <div class="post-description"> + {{ .Description }} + </div> + {{- end }} </header> {{- $pages := where site.RegularPages "Type" "in" site.Params.mainSections }} |
