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.
openpower.foundation_sw_dev/themes/openpowerfoundation/layouts/specifications/single.html

72 lines
1.8 KiB
HTML

{{ partial "header.html" . }}
{{ partial "navbar.html" . }}
{{ $filename := .File.BaseFileName }}
{{ $datafile := index $.Site.Data.specifications $filename }}
<main id="main" class="specifications-single">
<section id="page" class="section-bg">
<div class="container-fluid">
<div class="section-header">
<h2 class="section-title text-center">{{ .Title }}</h2>
<p class="section-description"></p>
</div>
<div class="row">
<div class="col-lg-2">&nbsp;</div>
<div class="col-lg-4">
{{ if $datafile.versions }}
{{ range last 1 $datafile.versions }}
<i class="fas fa-file-pdf mr-2"></i><a href="{{ .download }}">Download version {{.number }}</a>
{{ end }}
{{ end }}
</div>
<div class="col-lg-4">
{{ if $datafile.versions }}
{{ range last 1 $datafile.versions }}
Latest version {{ .number }}
{{ end }}
{{ end }}
</div>
<div class="col-lg-2">&nbsp;</div>
</div>
<div class="row">
<div class="col-lg-2">&nbsp;</div>
<div class="col-lg-8 content wow fadeInTop">
<p>{{ .Content }}</p>
</div>
<div class="col-lg-2">&nbsp;</div>
</div>
<div class="row">
<div class="col-lg-12">
{{ if .Param "discoursetopic" }}
{{ partial "discourse.html" . }}
{{ end }}
</div>
</div>
{{ if $datafile.versions }}
<div class="row">
<div class="col-lg-12">
<section class="changelog">
<ol>
{{ range $datafile.versions }}
<li><div>
<span id="version">version {{ .number }}</span>
<span id="date">{{ .date }}</span>
<span id="description">{{ .description }}</span>
<span id="download"><a href="{{ .download }}">download</a></span>
</div></li>
{{ end }}
<li></li>
</ol>
</div>
</div>
{{ end }}
</div>
</section>
</main>
{{ partial "footer.html" . }}