Changes on blogs layout for a more compact aspect
This commit is contained in:
parent
b13a8e3636
commit
c8d5e7e777
@ -43,13 +43,10 @@
|
||||
<div class="col-lg-8 col-md-8 col-sm-12">
|
||||
|
||||
<p class="blog-article-introduction">
|
||||
{{ .Summary | safeHTML}}
|
||||
<br />
|
||||
{{ .Summary | plainify}}
|
||||
<a href="{{ .Permalink }}">{{ i18n "read_more" }}</a>
|
||||
</p>
|
||||
|
||||
<small>{{ i18n "publishdate"}} : {{.PublishDate.Format "2006-01-02"}}</small> | <small>{{ i18n "lastchange"}} : {{.Lastmod.Format "2006-01-02"}}</small>
|
||||
|
||||
{{ partial "partials/widgets/ibiscattags.html" . }}
|
||||
|
||||
</div>
|
||||
|
@ -42,13 +42,10 @@
|
||||
<div class="col-lg-8 col-md-8 col-sm-12">
|
||||
|
||||
<p class="blog-article-introduction">
|
||||
{{ .Summary | safeHTML}}
|
||||
<br />
|
||||
{{ .Summary | plainify}}
|
||||
<a href="{{ .Permalink }}">{{ i18n "read_more" }}</a>
|
||||
</p>
|
||||
|
||||
<small>{{ i18n "publishdate"}} : {{.PublishDate.Format "2006-01-02"}}</small> | <small>{{ i18n "lastchange"}} : {{.Lastmod.Format "2006-01-02"}}</small>
|
||||
|
||||
{{ partial "partials/widgets/spotcattags.html" . }}
|
||||
|
||||
</div>
|
||||
|
@ -1,21 +1,15 @@
|
||||
<p>
|
||||
<small>
|
||||
{{ if isset .Params "categoriesibis" }}
|
||||
<small>{{ i18n "categories" }} :
|
||||
{{ $len := (sub (len .Params.categoriesibis) 1)}}
|
||||
{{ range $key, $name := .Params.categoriesibis }}
|
||||
{{ $pagepath := $name | urlize | lower | printf "%s%s" "/categoriesibis/"}}
|
||||
{{ $p := $.Site.GetPage $pagepath}}
|
||||
|
||||
<a href="{{ $p.RelPermalink }}">{{ $p.Title }}</a>
|
||||
{{ if ne $key $len }} | {{ else }}{{ end }}
|
||||
<a href="{{ $p.RelPermalink }}">{{ $p.Title }}</a> |
|
||||
{{ end }}
|
||||
</small>
|
||||
{{ end }}
|
||||
|
||||
{{ if isset .Params "tagsibis" }}
|
||||
<br />
|
||||
<small>
|
||||
{{ i18n "tags" }} :
|
||||
{{ $len := (sub (len .Params.tagsibis) 1)}}
|
||||
{{ range $key, $name := .Params.tagsibis }}
|
||||
{{ $pagepath := $name | urlize | lower | printf "%s%s" "/tagsibis/"}}
|
||||
@ -24,6 +18,6 @@
|
||||
<a href="{{ $p.RelPermalink }}">{{ $p.Title }}</a>
|
||||
{{ if ne $key $len }} | {{ else }}{{ end }}
|
||||
{{ end }}
|
||||
</small>
|
||||
{{ end }}
|
||||
</small>
|
||||
</p>
|
@ -1,29 +1,22 @@
|
||||
<p>
|
||||
<small>
|
||||
{{ if isset .Params "categoriesspot" }}
|
||||
<small>{{ i18n "categories" }} :
|
||||
{{ $len := (sub (len .Params.categoriesspot) 1)}}
|
||||
{{ range $key, $name := .Params.categoriesspot }}
|
||||
{{ $pagepath := $name | urlize | lower | printf "%s%s" "/categoriesspot/"}}
|
||||
{{ $p := $.Site.GetPage $pagepath}}
|
||||
|
||||
<a href="{{ $p.RelPermalink }}">{{ $p.Title }}</a>
|
||||
{{ if ne $key $len }} | {{ else }}{{ end }}
|
||||
<a href="{{ $p.RelPermalink }}">{{ $p.Title }}</a> |
|
||||
{{ end }}
|
||||
</small>
|
||||
{{ end }}
|
||||
|
||||
{{ if isset .Params "tagsspot" }}
|
||||
<br />
|
||||
<small>
|
||||
{{ i18n "tags" }} :
|
||||
{{ $len := (sub (len .Params.tagsspot) 1)}}
|
||||
{{ range $key, $name := .Params.tagsspot }}
|
||||
{{ $pagepath := $name | urlize | lower | printf "%s%s" "/tagsspot/"}}
|
||||
{{ $p := $.Site.GetPage $pagepath}}
|
||||
|
||||
<a href="{{ $p.RelPermalink }}">{{ $p.Title }}</a>
|
||||
{{ if ne $key $len }} | {{ else }}{{ end }}
|
||||
{{ end }}
|
||||
</small>
|
||||
{{ end }}
|
||||
</small>
|
||||
</p>
|
Loading…
Reference in New Issue
Block a user