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