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

67 lines
1.5 KiB
HTML

{{ partial "header.html" . }}
{{ partial "navbar.html" . }}
{{ $filename := .File.BaseFileName }}
{{ $datafile := index $.Site.Data.specifications $filename }}
<main id="main">
<section id="page" class="section-bg">
<div class="container-fluid">
<div class="section-header">
<h3 class="section-title">{{ .Title }}</h3>
<p class="section-description"></p>
<span class="section-divider"></span>
</div>
<div class="row">
<div class="col-lg-2">&nbsp;</div>
<div class="col-lg-4">
{{ if $datafile.versions }}
{{ range last 1 $datafile.versions }}
Latest version {{ .number }}
{{ end }}
{{ end }}
</div>
<div class="col-lg-4">
</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="description">{{ .description }}</span>
</div></li>
{{ end }}
<li></li>
</ol>
</div>
</div>
{{ end }}
</div>
</section>
</main>
{{ partial "footer.html" . }}