diff options
| author | Reorx <novoreorx@gmail.com> | 2022-09-07 22:51:34 +0800 |
|---|---|---|
| committer | Reorx <novoreorx@gmail.com> | 2022-09-07 22:51:34 +0800 |
| commit | a32112651bf6b1475fc670eadbda323dcc5fff1e (patch) | |
| tree | c5124d7214a8c76a8a32638d2566dd192d6e7a9c /layouts | |
| parent | cd3b2782659b66af9869a48eceee8493290e698d (diff) | |
finish newsletter section styling
Diffstat (limited to 'layouts')
| -rw-r--r-- | layouts/newsletter/section.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/layouts/newsletter/section.html b/layouts/newsletter/section.html index 486aa8d..95bbf7d 100644 --- a/layouts/newsletter/section.html +++ b/layouts/newsletter/section.html @@ -15,6 +15,7 @@ {{- $pages := where .Pages "Params.hidden" "!=" true }} + <h2>最近更新</h2> <div class="list"> {{- range first 5 $pages }} @@ -35,9 +36,10 @@ {{- end }} </div> + <h2>相关链接</h2> <div> {{- with .Param "archivesSlug" }} - <a href="{{ $.RelPermalink }}{{ . }}/">Archives</a> + <a href="{{ $.RelPermalink }}{{ . }}/">Archives</a> • {{- end }} {{- with .Param "rssUrl" }} <a href="{{ site.BaseURL }}{{ . }}">RSS</a> |
