forked from website/openpower.foundation
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
876 B
HTML
32 lines
876 B
HTML
{{ partial "header.html" . }}
|
|
|
|
{{ partial "navbar.html" . }}
|
|
|
|
<main class="main">
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-md-6">
|
|
<h1 class="h2 section-header my-3 my-md-5 pb-2">{{ .Title }}</h1>
|
|
{{ .Content }}
|
|
</div>
|
|
{{ if .Param "image" }}
|
|
<div class="col-md-6 pt-5 pl-3 pr-0">
|
|
{{ $imagefilename := .Param "image.file" }}
|
|
{{ $imagesize := .Param "image.size" }}
|
|
{{ $imagelocation := printf "%s/%s" "images" $imagefilename }}
|
|
{{ $imageresource := resources.Get $imagelocation }}
|
|
{{ if $imageresource }}
|
|
{{ $imagefile := $imageresource.Fit "600x600" }}
|
|
<figure class="figure d-flex pt-3">
|
|
<img src="{{ $imagefile.RelPermalink }}">
|
|
</figure>
|
|
{{ end }}
|
|
</div>
|
|
{{ end }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
|
|
{{ partial "footer.html" . }}
|