website/themes/hugo-theme-wave/layouts/archive/single.html

41 lines
1.0 KiB
HTML
Raw Permalink Normal View History

2020-01-12 14:14:15 +01:00
{{ partial "head" . }}
{{ partial "header" . }}
<div id="container">
2020-02-09 12:20:47 +01:00
<div class="outer">
<div id="cal-heatmap"></div>
<div id="example-heatmap"></div>
2024-04-28 17:48:24 +02:00
<script>
2020-02-09 12:20:47 +01:00
var cal = new CalHeatMap();
cal.init({
itemSelector: "#example-heatmap",
domain: "week",
subDomain: "hour",
data: "/hugo-theme-wave/json/datas-years.json",
start: new Date(2000, 0, 5),
cellSize: 10,
range: 2,
previousSelector: "#example-c-PreviousDomain-selector",
nextSelector: "#example-c-NextDomain-selector",
legend: [2, 4, 6, 8],
tooltip: true
});
2020-02-09 12:20:47 +01:00
</script>
<div id="blog-archives" class="category">
{{ .Content }}
{{ range (where .Site.RegularPages "Type" "post") }}
<h1>
<time datetime="{{ .Date }}" itemprop="datePublished">{{ .Date.Format "2006-01-02" }}</time>
<a href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</a>
</h1>
{{ end }}
2020-01-12 14:14:15 +01:00
</div>
2020-02-09 12:20:47 +01:00
</div>
2020-01-12 14:14:15 +01:00
</div>
</div>
{{ partial "footer" . }}
</body>
</html>