aboutsummaryrefslogtreecommitdiff
path: root/templates/index.html
blob: c1248047156f29fe1841c5d4acc4f28ccf35a2bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{{ template "base.html" . }}

{{ define "content" }}

<section>
	<h2>Notes / Posts</h2>
	<table>
		<thead>
			<tr>
				<th>Date</th>
				<th width="20"></th>
				<th>Title</th>
				<th></th>
			</tr>
		</thead>
		<tbody>
			{{ range .Pages }}
				{{ if and (not .Draft) (or (eq .Type "note") (eq .Type "post")) }}
				<tr>
					<td><time datetime="{{ .Created.Format "2006-01-02" }}">{{ .Created.Format "2006-01-02" }}</time></td>
					<td valign="middle">
						{{ if (eq .Type "note") }}
						<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 512 512" style="display:block;">
							<path fill="black" fill-rule="evenodd" d="M448 343.045 343.045 448H64V64h384v279.045Zm-42.667-65.712V106.667H106.667v298.666h170.666v-128h128Zm0 42.667H320v85.333h5.333l80-80V320Z"/>
						</svg>
						{{ end }}
					</td>
					<td><a href="{{ .RelPermalink }}">{{ .Title }}</a></td>
					<td class="tags">
						{{ if .Meta.tags }}
							{{ range .Meta.tags }}<mark>{{ . }}</mark>{{ end }}
						{{ end }}
					</td>
				</tr>
				{{ end }}
			{{ end }}
		</tbody>
	</table>
</section>

<section>
	<h2>Visualizations and exploration of binary files</h2>
	<a href="https://mitjafelicijan.github.io/binary-visualization/" target="_blank">
		<img src="/assets/general/trigraphs.gif" class="no-border">
	</a>
</section>
{{ end }}