diff options
author | Alexander Neonxp Kiryukhin <i@neonxp.ru> | 2024-11-20 03:20:47 +0300 |
---|---|---|
committer | Alexander Neonxp Kiryukhin <i@neonxp.ru> | 2024-11-20 03:20:47 +0300 |
commit | 8b78390987476352a6459460e00d5c4cdc0717c2 (patch) | |
tree | 77fd218ddd7203b10b4e4969ed8ede2fb4753d24 /themes/neonxp/layouts/_default | |
parent | 74b65dd83f7c66d1f67f961b1fee65400b1fc334 (diff) |
Обновил стиль
Diffstat (limited to 'themes/neonxp/layouts/_default')
-rw-r--r-- | themes/neonxp/layouts/_default/home.html | 7 | ||||
-rw-r--r-- | themes/neonxp/layouts/_default/list.html | 7 | ||||
-rw-r--r-- | themes/neonxp/layouts/_default/single.html | 8 |
3 files changed, 17 insertions, 5 deletions
diff --git a/themes/neonxp/layouts/_default/home.html b/themes/neonxp/layouts/_default/home.html index 9d97e21..d1ec7bc 100644 --- a/themes/neonxp/layouts/_default/home.html +++ b/themes/neonxp/layouts/_default/home.html @@ -8,8 +8,11 @@ </div> <div class="h-entry col-xs-12 col-sm-12 col-md-8 col-lg-8"> <article> - <header class="p-name"> - {{ .Title }} + <header> + <div class="row between-sm"> + <span class="p-name"> {{ .Title }} </span> + <a href="/posts/index.xml">{{ partial "icon.html" "rss" }}</a> + </div> </header> <div class="e-content"> {{ .Content }} diff --git a/themes/neonxp/layouts/_default/list.html b/themes/neonxp/layouts/_default/list.html index 6a399e7..208d565 100644 --- a/themes/neonxp/layouts/_default/list.html +++ b/themes/neonxp/layouts/_default/list.html @@ -9,7 +9,12 @@ <div class="h-entry col-xs-12 col-sm-12 col-md-8 col-lg-8"> {{ if .Title }} <article> - <header>{{ .Title }}</header> + <header> + <div class="row between-sm"> + <span class="p-name"> {{ .Title }} </span> + <a href="index.xml">{{ partial "icon.html" "rss" }}</a> + </div> + </header> {{ .Content }} </article> {{ end }} diff --git a/themes/neonxp/layouts/_default/single.html b/themes/neonxp/layouts/_default/single.html index 1508d26..e959051 100644 --- a/themes/neonxp/layouts/_default/single.html +++ b/themes/neonxp/layouts/_default/single.html @@ -14,17 +14,20 @@ </div> <div class="h-entry col-xs-12 col-sm-12 col-md-8 col-lg-8"> <article> - <header class="space-between"> + <header> + <div class="row between-sm"> <span class="p-name"> {{ .Title }} </span> {{ if .Date }} {{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }} {{ $dateHuman := .Date | time.Format (or .Site.Params.dateFormat.published "Jan 02, 2006") }} <time class="dt-published" datetime="{{ $dateMachine }}">{{ $dateHuman }}</time> {{ end }} + </div> </header> <div class="p-summary">{{ .Summary }}</div> <div class="e-content">{{ .Content }}</div> - <footer class="space-between"> + <footer> + <div class="row between-sm"> <span> {{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }} </span> @@ -34,6 +37,7 @@ {{ if .Params.Location }} <span class="p-location">@ {{.Params.Location}}</span> {{ end }} + </div> </footer> </article> {{ if .Params.comments }} {{ partial "comments.html" . }} {{ end }} |