2016-11-02 23:10:49 -04:00
|
|
|
<div class="links">
|
|
|
|
<a href="{{ .Site.BaseURL }}">Home</a>
|
|
|
|
{{ range first 1 (where .Site.Pages "Type" "post") }}
|
2016-11-03 09:11:22 -04:00
|
|
|
<a href="{{ .Site.BaseURL }}/post/">Archive</a>
|
2016-11-02 23:10:49 -04:00
|
|
|
{{ end }}
|
|
|
|
{{ range where .Site.Pages "Type" "!=" "post" }}
|
|
|
|
<a href="{{ .Permalink }}">{{ .Title }}</a>
|
|
|
|
{{ end }}
|
|
|
|
<a href="#top">Top</a>
|
|
|
|
</div>
|
2016-11-03 15:04:28 -04:00
|
|
|
<noscript id="deferred-styles">
|
|
|
|
<link rel="stylesheet" type="text/css" href="{{ .Site.BaseURL }}/css/main.css"/>
|
|
|
|
</noscript>
|
|
|
|
<script>
|
|
|
|
var loadDeferredStyles = function() {
|
|
|
|
var addStylesNode = document.getElementById("deferred-styles");
|
|
|
|
var replacement = document.createElement("div");
|
|
|
|
replacement.innerHTML = addStylesNode.textContent;
|
|
|
|
document.body.appendChild(replacement);
|
|
|
|
addStylesNode.parentElement.removeChild(addStylesNode);
|
|
|
|
};
|
|
|
|
var raf = requestAnimationFrame || mozRequestAnimationFrame ||
|
|
|
|
webkitRequestAnimationFrame || msRequestAnimationFrame;
|
|
|
|
if (raf) raf(function() { window.setTimeout(loadDeferredStyles, 0); });
|
|
|
|
else window.addEventListener('load', loadDeferredStyles);
|
|
|
|
</script>
|
2016-11-02 23:10:49 -04:00
|
|
|
</body>
|
|
|
|
</html>
|