mindjack/layouts/hypno/single.html

38 lines
835 B
HTML
Raw Normal View History

2020-05-29 16:58:33 -04:00
{{ define "title" }}
{{ .Title }} - xenoscience
{{ end }}
{{ define "styles" }}
<style>
#controls {
position: absolute;
bottom: 10px;
left: 10px;
}
#controls svg {
width: 40px;
height: 40px;
}
#controls svg path {
stroke: #c00;
}
#controls a:hover svg path {
stroke: red;
}
#controls a {
text-decoration: none;
}
</style>
{{ range .Resources.Match "**.css" }}
<link rel="stylesheet" href="{{ .RelPermalink }}">
{{ end }}
{{ end }}
{{ define "main" }}
{{ .Content }}
<div id="controls"><a id="back" href="..">{{ partial "back.svg" . }}</a> <a id="reload" href=".">{{ partial "reload.svg" . }}</a></div>
{{ range .Resources.Match "**.js" }}
<script src="{{ .RelPermalink }}"></script>
{{ end }}
{{ end }}