60 lines
1.9 KiB
HTML
60 lines
1.9 KiB
HTML
<!---
|
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
|
contributor license agreements. See the NOTICE file distributed with
|
|
this work for additional information regarding copyright ownership.
|
|
The ASF licenses this file to You under the Apache License, Version 2.0
|
|
(the "License"); you may not use this file except in compliance with
|
|
the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
{{ partial "header.html" . }}
|
|
|
|
<body>
|
|
|
|
{{ partial "navbar.html" . }}
|
|
|
|
<div class="container-fluid">
|
|
<div class="row">
|
|
{{ partial "sidebar.html" . }}
|
|
<div class="col-sm-10 col-sm-offset-2 col-md-10 col-md-offset-2 main">
|
|
<h1>{{ .Title }}</h1>
|
|
<div class="col-md-9">
|
|
{{ .Content }}
|
|
{{.Params.card}}
|
|
{{ if not (eq .Params.cards "false")}}
|
|
{{ range .Pages }}
|
|
|
|
<div class="col-sm-6">
|
|
<div class="card">
|
|
<div class="card-body">
|
|
<h2 class="card-title">
|
|
{{ with .Params.Icon}}
|
|
<span class="glyphicon glyphicon-{{.}}" aria-hidden="true"></span>
|
|
{{end}}
|
|
{{ .LinkTitle }}
|
|
</h2>
|
|
<p class="card-text">{{.Summary}}</p>
|
|
<a href="{{.Permalink}}" class=" btn btn-primary btn-lg">{{.LinkTitle}}</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{{ end }}
|
|
{{end}}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{{ partial "footer.html" . }}
|
|
|
|
</body>
|
|
|
|
</html> |