jeremykidwell.info/layouts/presentations/single.html
Jeremy Kidwell 131ce4af86 adding files
2017-06-27 21:08:37 +01:00

54 lines
1.5 KiB
HTML
Executable file

{{ template "partials/header.html" . }}
<body lang="en">
<div id="topbar">
<div class="wrapper">
<header>
{{ template "partials/sidebar.html" . }}
{{ $baseurl := .Site.BaseURL }}
</header>
</div>
</div>
<!--
Attempting to add granularity on itemtypes - need to fix later
<div class="wrapper" itemscope itemtype="http://schema.org/Book">
<div class="units-row">
<div class="unit-20">&nbsp;</div>
<div class="unit-60">
<h2><a href="">{{ .Title }}</a></h2>
</div>
</div>
<div class="units-row">
<div class="unit-20 dateblock"><h4>{{ .Date.Format "January 2, 2006" }}</h4>
{{ if (ge .Date.Unix .Now.Unix) }}{{ if (le .Date.Unix (add .Now.Unix 7776000)) }}<span class="badge badge-small badge-yellow">coming soon</span>{{ end }}{{ end }}
</div>
<div class="unit-60">{{ .Content }}</div>
</div>
</div>
-->
<div class="wrapper" itemscope itemtype="http://schema.org/Article">
<div class="units-row">
<div class="unit-20">&nbsp;</div>
<div class="unit-60">
<h2><a href="">{{ .Title }}</a></h2>
</div>
</div>
<div class="units-row">
<div class="unit-20 dateblock"><h4>{{ .Date.Format "January 2, 2006" }}</h4>
{{ if (ge .Date.Unix .Now.Unix) }}{{ if (le .Date.Unix (add .Now.Unix 7776000)) }}<span class="badge badge-small badge-yellow">coming soon</span>{{ end }}{{ end }}
</div>
<div class="unit-60">{{ .Content }}</div>
</div>
</div>
<hr class="separator">
{{ partial "whatisthis.html" . }}
{{ partial "footer.html" . }}