initial commit
This commit is contained in:
parent
2012aa8834
commit
9ddfa58ace
2289 changed files with 11217 additions and 0 deletions
19
themes/hugo-ficurinia/layouts/partials/showcase.html
Normal file
19
themes/hugo-ficurinia/layouts/partials/showcase.html
Normal file
|
@ -0,0 +1,19 @@
|
|||
{{ if .Site.Params.showcaseDir }}
|
||||
{{ $showcasePosts := where site.RegularPages "Section" "in" .Site.Params.showcaseDir }}
|
||||
<div class="postlist gridView">
|
||||
{{ range (sort $showcasePosts "File.LogicalName") }}
|
||||
{{ if in .File.Dir .Site.Params.showcaseDir }}
|
||||
<article class="card postlistitem">
|
||||
<div>
|
||||
<h2>{{ .Title }}</h2>
|
||||
{{ if .Params.image }}
|
||||
<img src="{{ .Params.image }}" />
|
||||
{{ end }}
|
||||
<div>{{ .Content }}</div>
|
||||
</div>
|
||||
</article>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
<hr />
|
||||
{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue