diff options
| author | Reorx <novoreorx@gmail.com> | 2022-09-08 02:35:11 +0800 |
|---|---|---|
| committer | Reorx <novoreorx@gmail.com> | 2022-09-08 02:35:11 +0800 |
| commit | 2faf1cc852b794d8d79d1bb7e3ff0e30a4ca4705 (patch) | |
| tree | 5c3de9b238211fd9e3c9e06238a20fa55e111a3a /layouts/newsletter/section.html | |
| parent | edf0ed0258cbfffe9bb4d6231601302d2357d24d (diff) | |
finish newsletter archives
Diffstat (limited to 'layouts/newsletter/section.html')
| -rw-r--r-- | layouts/newsletter/section.html | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/layouts/newsletter/section.html b/layouts/newsletter/section.html index 11d52ab..28ac710 100644 --- a/layouts/newsletter/section.html +++ b/layouts/newsletter/section.html @@ -4,11 +4,10 @@ <div class="main-icon">@</div> <div class="content"> + <h1>{{ .Title }}</h1> + {{ with .Param "subtitle" }}<div class="subtitle">{{ . }}</div>{{ end }} + <div class="first-entry"> - <header class="entry-header"> - <h1>{{ .Title }}</h1> - {{ with .Param "subtitle" }}<div class="subtitle">{{ . }}</div>{{ end }} - </header> <section class="entry-content">{{ .Description | markdownify }}</section> {{- partial "newsletter_sub_form.html"}} </div> |
