diff options
author | Alexander Neonxp Kiryukhin <i@neonxp.ru> | 2024-11-29 18:06:57 +0300 |
---|---|---|
committer | Alexander Neonxp Kiryukhin <i@neonxp.ru> | 2024-11-29 18:06:57 +0300 |
commit | 2ffb4215645b463e9755d9663c100728fe0ebb57 (patch) | |
tree | 251a9735640b1acdd448ebeeb0672ed64826339d /layouts/_default | |
parent | 54375572e11d23dacb20c5742d171af3072d7b9c (diff) |
Новый пост + небольшие фиксы
Diffstat (limited to 'layouts/_default')
-rw-r--r-- | layouts/_default/home.html | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/layouts/_default/home.html b/layouts/_default/home.html index 99524d3..b160025 100644 --- a/layouts/_default/home.html +++ b/layouts/_default/home.html @@ -11,12 +11,14 @@ <header> <div class="row between-xs"> <span class="p-name"> {{ .Title }} </span> - <a href="/posts/index.xml">{{ partial "icon.html" "rss" }}</a> + <a href="/feed">{{ partial "icon.html" "rss" }}</a> </div> </header> - <div class="e-content"> - {{ .Content }} - </div> + {{ if .Params.Image }} + <img src="{{.Params.Image}}" /> + {{ end }} + <div class="p-summary">{{ .Summary }}</div> + <div class="e-content">{{ .Content }}</div> </article> {{ $pages := where site.RegularPages "Type" "posts" }} {{ $paginator := .Paginate $pages 7 }} |