Commit 103845fd authored by Mathias Jud's avatar Mathias Jud

added infobox to the apps template

parent 8b7afd03
nav.infobox {
width: 50%;
float:right;
background-color: $fish-brighter;
margin-top: 1rem;
padding: 0.5rem 0.5rem 0.5rem 0.5rem;
padding-left: 1rem;
}
nav h5 {
margin:0;
padding:0;
}
......@@ -3,3 +3,5 @@
@import "header.scss";
@import "footer.scss";
@import "services.scss";
@import "tags.scss";
@import "infobox.scss";
ul.tags {
list-style: none;
}
ul.tags li {
display: inline-block;
padding-right: 0.3rem;
}
\ No newline at end of file
......@@ -5,6 +5,7 @@ $background-blue: rgba(14.5, 67.1, 67.1, 0.41);
$background-blue: #25abc3; /* 41% opacity */
$background-blue: rgba(17.4, 60, 81.5, 0.41);
$background-blue-blue: #2c99d0; /* 41% opacity */
$fish-brighter: #e9faf8;
$fish-bright: #79cbc2;
$fish-middle: #136d6d;
$fish-dark: #115552;
......
{{ define "main" }}
<main id="main">
<section class="white">
<h1 class="top">{{ .Title }}</h1>
<div class="page">
<nav class="tags">
{{- partial "tags-all.html" . -}}
</nav>
<nav class="infobox">
{{- partial "infobox.html" . -}}
</nav>
<article>
{{ .Content }}
</article>
</div>
</section>
</main>
{{ end }}
\ No newline at end of file
{{ if .Params.license }}
<p>
License: {{ range .Params.license }}{{ . }}{{ end }}
</p>
{{ end }}
{{ if .Params.systems }}
<h5>Systems</h5>
<ul>
{{ range .Params.systems }}
<li>{{ . | markdownify }}</li>
{{ end }}
</ul>
{{ end }}
{{ if .Params.links }}
<h5>Links</h5>
<ul>
{{ range .Params.links }}
<li>{{ . }}</li>
{{ end }}
</ul>
{{ end }}
{{ if .Params.installation }}
<h5>Installation</h5>
<ul>
{{ range .Params.installation }}
<li>{{ . | markdownify }}</li>
{{ end }}
</ul>
{{ end }}
{{ if .Params.connectivity }}
<h5>Connectivity</h5>
<ul>
{{ range .Params.connectivity }}
<li>{{ . | markdownify }}</li>
{{ end }}
</ul>
{{ end }}
{{ if .Params.features }}
<h5>Features</h5>
<ul>
{{ range .Params.features }}
<li>{{ . | markdownify }}</li>
{{ end }}
</ul>
{{ end }}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment