Apply Prettier formatting
parent
4230057dae
commit
acda78c6d0
@ -1,11 +1,10 @@
|
|||||||
|
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
{{ partial "scrolling-image-header" . }}
|
{{ partial "scrolling-image-header" . }}
|
||||||
<section class="container-fluid list-main">
|
<section class="container-fluid list-main">
|
||||||
<div class="container px-5">
|
<div class="container px-5">
|
||||||
{{ block "content" . }}
|
{{ block "content" . }}
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
|
<section class="container-fluid list-main">
|
||||||
<section class="container-fluid list-main">
|
|
||||||
<div class="container px-5">
|
<div class="container px-5">
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -1,49 +1,53 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
{{ partial "scrolling-image-header" . }}
|
{{ partial "scrolling-image-header" . }}
|
||||||
|
|
||||||
<section class="container-fluid list-main">
|
|
||||||
<div class="container px-5">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{{ range .Pages }}
|
<section class="container-fluid list-main">
|
||||||
<section class="card mb-3">
|
<div class="container px-5">
|
||||||
|
{{ range .Pages }}
|
||||||
|
<section class="card mb-3">
|
||||||
<div class="card-body d-flex align-items-center">
|
<div class="card-body d-flex align-items-center">
|
||||||
{{ $thumbnail := .Resources.GetMatch "thumbnail.png" }}
|
{{ $thumbnail := .Resources.GetMatch "thumbnail.png" }}
|
||||||
{{ $thumbimg := $thumbnail.Resize "250x" }}
|
{{ $thumbimg := $thumbnail.Resize "250x" }}
|
||||||
<div class="flex-shrink-0">
|
<div class="flex-shrink-0">
|
||||||
{{ $image := .}}
|
{{ $image := . }}
|
||||||
<img class="img-thumbnail rounded" src="{{ $thumbimg.RelPermalink }}" alt="Thumbnail of {{ .Title }}">
|
<img
|
||||||
|
class="img-thumbnail rounded"
|
||||||
|
src="{{ $thumbimg.RelPermalink }}"
|
||||||
|
alt="Thumbnail of {{ .Title }}"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex-grow-1 ms-3 py-1">
|
<div class="flex-grow-1 ms-3 py-1">
|
||||||
<h3 class="card-title">{{ .Title }}</h3>
|
<h3 class="card-title">{{ .Title }}</h3>
|
||||||
<h4 class="card-subtitle"><a href="{{ .Params.deployURL }}">{{ .Params.deployURL }}</a></h4>
|
<h4 class="card-subtitle">
|
||||||
|
<a href="{{ .Params.deployURL }}">{{ .Params.deployURL }}</a>
|
||||||
|
</h4>
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
</div>
|
</div>
|
||||||
<div class="flex-shrink-0">
|
<div class="flex-shrink-0">
|
||||||
<div class="btn-group-vertical">
|
<div class="btn-group-vertical">
|
||||||
<a class="btn btn-secondary" data-bs-toggle="tooltip" title="{{ .Params.platform }}"
|
<a
|
||||||
href="{{ .Params.platformURL }}">
|
class="btn btn-secondary"
|
||||||
|
data-bs-toggle="tooltip"
|
||||||
|
title="{{ .Params.platform }}"
|
||||||
|
href="{{ .Params.platformURL }}"
|
||||||
|
>
|
||||||
<i class="{{ .Params.platformIcon }}"></i>
|
<i class="{{ .Params.platformIcon }}"></i>
|
||||||
</a>
|
</a>
|
||||||
<a class="btn btn-secondary" data-bs-toggle="tooltip" title="Source code" href="{{ .Params.sourceURL }}">
|
<a
|
||||||
|
class="btn btn-secondary"
|
||||||
|
data-bs-toggle="tooltip"
|
||||||
|
title="Source code"
|
||||||
|
href="{{ .Params.sourceURL }}"
|
||||||
|
>
|
||||||
<i class="fab fa-github"></i>
|
<i class="fab fa-github"></i>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
Loading…
Reference in New Issue