From e739c3bb76ec9487bfd614be4b3d1e01c4f7a454 Mon Sep 17 00:00:00 2001
From: Mitja Felicijan
Date: Tue, 18 Jun 2024 20:57:08 +0200
Subject: Simplified template
---
templates/base.html | 3 +++
templates/index.html | 19 +++++++++++--------
templates/note.html | 8 +++++++-
templates/post.html | 3 ++-
4 files changed, 23 insertions(+), 10 deletions(-)
(limited to 'templates')
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 @@
+{{ if .Page.Meta.mathjax }}
+
+{{ end }}
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 @@
More long form, ramblings etc
-
+
+
{{ range .Pages }}
{{ if and (eq .Type "post") (not .Draft) }}
- {{ .Title }}
@@ -24,20 +25,22 @@
Notes?! Maybe useful
-
- {{ range .Pages }}
- {{ if and (eq .Type "note") (not .Draft) }}
- - {{ .Title }}
+
+
+ {{ range .Pages }}
+ {{ if and (eq .Type "note") (not .Draft) }}
+ - {{ .Title }}
+ {{ end }}
{{ end }}
- {{ end }}
Small side projects I work/worked on
-
+
- - binary-visualization — Visualizations and exploration of binary files
+ - makext — QOL Extensions for GNU Make
+ - binary-visualization — Visualizations and exploration of binary files
- p9tree — Tree utility for 9front/Plan9 operating systems
- errand — Task runner for the command line
- i3blocks — Minimal i3blocks indicators
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 @@
Other notes
-
+
+
{{ range random 20 .Pages }}
{{ if and (eq .Type "note") (not .Draft) }}
- {{ .Title }}
@@ -23,4 +24,9 @@
{{ end }}
+
+{{ if .Page.Meta.mathjax }}
+
+{{ end }}
+
{{ 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 @@
Other posts
-
+
+
{{ range random 20 .Pages }}
{{ if and (eq .Type "post") (not .Draft) }}
- {{ .Title }}
--
cgit v1.2.3