71 lines
2.6 KiB
HTML
71 lines
2.6 KiB
HTML
{{ partial "header.html" . }}
|
|
|
|
<body class="is-preload">
|
|
|
|
<!-- Wrapper -->
|
|
<div id="wrapper">
|
|
|
|
<!-- Header -->
|
|
<header id="header">
|
|
<div class="logo">
|
|
<span class="icon">
|
|
<img src="{{ .Params.logo }}">
|
|
</span>
|
|
</div>
|
|
<div class="content">
|
|
<div class="inner">
|
|
<h1>{{ .Title | default "Title" }}</h1>
|
|
{{ partial "stockResults.html" .}}
|
|
</div>
|
|
</div>
|
|
<nav>
|
|
<ul>
|
|
{{ range .Pages.ByDate }}
|
|
{{if .Title }}
|
|
{{if .Content}}
|
|
<li>
|
|
<a href="#{{ cond (in (.Title|urlize) "%") (.Title | base64Encode) (.Title) | urlize }}">{{ .Title }}</a>
|
|
</li>
|
|
{{ else }}
|
|
<li><a href="{{ .Permalink }}">{{ .Title }}</a></li>
|
|
{{ end }}
|
|
{{ end }}
|
|
{{ end }}
|
|
</ul>
|
|
</nav>
|
|
</header>
|
|
|
|
<!-- Main -->
|
|
<div id="main">
|
|
|
|
{{ range .Pages }}
|
|
{{if .Title }}
|
|
{{if .Content }}
|
|
<article id="{{ cond (in (.Title|urlize) "%") (.Title | base64Encode) (.Title) | urlize }}">
|
|
|
|
{{if eq .Title "Holdings" }}
|
|
{{ partial "stockTable.html" .}}
|
|
{{ end }}
|
|
{{if ne .Title "Holdings" }}
|
|
<h2 class="major">{{ .Title }}</h2>
|
|
<span class="image main"><img src="{{ .Params.image }}" alt="" /></span>
|
|
{{ .Content }}
|
|
{{ end }}
|
|
</article>
|
|
{{ end }}
|
|
{{ end }}
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
{{ partial "design.html" .}}
|
|
|
|
</div>
|
|
|
|
<!-- BG -->
|
|
<div id="bg"></div>
|
|
|
|
</body>
|
|
|
|
{{ partial "footer.html" .}}
|