aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html3
-rw-r--r--templates/index.html19
-rw-r--r--templates/note.html8
-rw-r--r--templates/post.html3
4 files changed, 23 insertions, 10 deletions
diff --git a/templates/base.html b/templates/base.html
index d646154..5ccf5dc 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -197,6 +197,9 @@
197 </p> 197 </p>
198 </footer> 198 </footer>
199 199
200{{ if .Page.Meta.mathjax }}
201 <script src="https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-chtml.js" async></script>
202{{ end }}
200 <script> 203 <script>
201 document.querySelectorAll("table").forEach(t => t.setAttribute("border", 1)); 204 document.querySelectorAll("table").forEach(t => t.setAttribute("border", 1));
202 </script> 205 </script>
diff --git a/templates/index.html b/templates/index.html
index e36d83b..e4e93c6 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -13,7 +13,8 @@
13 13
14<section> 14<section>
15 <h2>More long form, ramblings etc</h2> 15 <h2>More long form, ramblings etc</h2>
16 <ul> 16 <ul itemscope itemtype="https://schema.org/SiteNavigationElement" role="list" aria-label="More long form, ramblings etc">
17 <meta itemprop="name" content="More long form, ramblings etc">
17 {{ range .Pages }} 18 {{ range .Pages }}
18 {{ if and (eq .Type "post") (not .Draft) }} 19 {{ if and (eq .Type "post") (not .Draft) }}
19 <li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li> 20 <li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
@@ -24,20 +25,22 @@
24 25
25<section> 26<section>
26 <h2>Notes?! Maybe useful</h2> 27 <h2>Notes?! Maybe useful</h2>
27 <ul> 28 <ul itemscope itemtype="https://schema.org/SiteNavigationElement" role="list" aria-label="Notes?! Maybe useful">
28 {{ range .Pages }} 29 <meta itemprop="name" content="Notes?! Maybe useful">
29 {{ if and (eq .Type "note") (not .Draft) }} 30 {{ range .Pages }}
30 <li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li> 31 {{ if and (eq .Type "note") (not .Draft) }}
32 <li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
33 {{ end }}
31 {{ end }} 34 {{ end }}
32 {{ end }}
33 </ul> 35 </ul>
34</section> 36</section>
35 37
36<section> 38<section>
37 <h2>Small side projects I work/worked on</h2> 39 <h2>Small side projects I work/worked on</h2>
38 <ul itemscope itemtype="https://schema.org/SiteNavigationElement" role="list" aria-label="Side projects" class="list"> 40 <ul itemscope itemtype="https://schema.org/SiteNavigationElement" role="list" aria-label="Side projects">
39 <meta itemprop="name" content="Side projects"> 41 <meta itemprop="name" content="Side projects">
40 <li role="listitem"><a href="https://github.com/mitjafelicijan/binary-visualization" target="_blank">binary-visualization </a> — Visualizations and exploration of binary files</li> 42 <li role="listitem"><a href="https://github.com/mitjafelicijan/makext" target="_blank">makext</a> — QOL Extensions for GNU Make</li>
43 <li role="listitem"><a href="https://github.com/mitjafelicijan/binary-visualization" target="_blank">binary-visualization</a> — Visualizations and exploration of binary files</li>
41 <li role="listitem"><a href="https://github.com/mitjafelicijan/p9tree" target="_blank">p9tree</a> — Tree utility for 9front/Plan9 operating systems</li> 44 <li role="listitem"><a href="https://github.com/mitjafelicijan/p9tree" target="_blank">p9tree</a> — Tree utility for 9front/Plan9 operating systems</li>
42 <li role="listitem"><a href="https://github.com/mitjafelicijan/errand" target="_blank">errand</a> — Task runner for the command line</li> 45 <li role="listitem"><a href="https://github.com/mitjafelicijan/errand" target="_blank">errand</a> — Task runner for the command line</li>
43 <li role="listitem"><a href="https://github.com/mitjafelicijan/i3blocks" target="_blank">i3blocks</a> — Minimal i3blocks indicators</li> 46 <li role="listitem"><a href="https://github.com/mitjafelicijan/i3blocks" target="_blank">i3blocks</a> — Minimal i3blocks indicators</li>
diff --git a/templates/note.html b/templates/note.html
index a72453f..9f0c476 100644
--- a/templates/note.html
+++ b/templates/note.html
@@ -15,7 +15,8 @@
15<section> 15<section>
16 <br><hr> 16 <br><hr>
17 <p><big><strong>Other notes</strong></big></p> 17 <p><big><strong>Other notes</strong></big></p>
18 <ul> 18 <ul itemscope itemtype="https://schema.org/SiteNavigationElement" role="list" aria-label="Other notes">
19 <meta itemprop="name" content="Other notes">
19 {{ range random 20 .Pages }} 20 {{ range random 20 .Pages }}
20 {{ if and (eq .Type "note") (not .Draft) }} 21 {{ if and (eq .Type "note") (not .Draft) }}
21 <li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li> 22 <li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
@@ -23,4 +24,9 @@
23 {{ end }} 24 {{ end }}
24 </ul> 25 </ul>
25</section> 26</section>
27
28{{ if .Page.Meta.mathjax }}
29 <script src="https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-chtml.js" async></script>
30{{ end }}
31
26{{ end }} 32{{ end }}
diff --git a/templates/post.html b/templates/post.html
index 0f0265e..79a950a 100644
--- a/templates/post.html
+++ b/templates/post.html
@@ -15,7 +15,8 @@
15<section> 15<section>
16 <br><hr> 16 <br><hr>
17 <p><big><strong>Other posts</strong></big></p> 17 <p><big><strong>Other posts</strong></big></p>
18 <ul> 18 <ul itemscope itemtype="https://schema.org/SiteNavigationElement" role="list" aria-label="Other posts">
19 <meta itemprop="name" content="Other post">
19 {{ range random 20 .Pages }} 20 {{ range random 20 .Pages }}
20 {{ if and (eq .Type "post") (not .Draft) }} 21 {{ if and (eq .Type "post") (not .Draft) }}
21 <li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li> 22 <li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>