From 177fae5a59342150bedc5b9b88b821c7ac194412 Mon Sep 17 00:00:00 2001 From: Hau Nguyen Date: Wed, 19 Apr 2023 15:56:12 +0700 Subject: [PATCH] feat: support srht html --- docs/2022-06-08-backup.html | 2 +- docs/2022-06-08-dockerfile-go.html | 2 +- docs/2022-07-10-bootstrap-go.html | 2 +- docs/2022-07-12-uuid-or-else.html | 2 +- docs/2022-07-19-migrate-to-buf.html | 2 +- docs/2022-07-31-experiment-go.html | 2 +- docs/2022-07-31-sql.html | 2 +- docs/2022-08-10-gitignore.html | 2 +- docs/2022-10-26-reload-config.html | 2 +- docs/2022-12-25-archlinux.html | 2 +- docs/2022-12-25-go-test-asap.html | 2 +- docs/2023-03-05-incident.html | 2 +- docs/2023-03-08-ekyc.html | 2 +- docs/2023-03-30-fonts.html | 2 +- docs/2023-04-01-games.html | 2 +- docs/2023-04-17-keeb.html | 2 +- docs/2023-04-17-naming.html | 2 +- docs/index.html | 32 ++++++++++++++--------------- main.go | 2 +- posts/index.md | 32 ++++++++++++++--------------- 20 files changed, 50 insertions(+), 50 deletions(-) diff --git a/docs/2022-06-08-backup.html b/docs/2022-06-08-backup.html index bcc076c..175c02f 100644 --- a/docs/2022-06-08-backup.html +++ b/docs/2022-06-08-backup.html @@ -42,7 +42,7 @@ } -
Index
+
Index

-
Index
+
Index

-
Index
+
Index

-
Index
+
Index

-
Index
+
Index

-
Index
+
Index

-
Index
+
Index

-
Index
+
Index

-
Index
+
Index

-
Index
+
Index

-
Index
+
Index

-
Index
+
Index

-
Index
+
Index

-
Index
+
Index

-
Index
+
Index

-
Index
+
Index

-
Index
+
Index

This is where I dump my thoughts.

diff --git a/main.go b/main.go index a2a684e..1eba4d2 100644 --- a/main.go +++ b/main.go @@ -107,7 +107,7 @@ func main() { defer htmlFile.Close() // Ignore index in index file - indexHTML := `
Index
` + indexHTML := `
Index
` if strings.Contains(postFilename, "index") { indexHTML = "" } diff --git a/posts/index.md b/posts/index.md index e5e05ae..adecde3 100644 --- a/posts/index.md +++ b/posts/index.md @@ -2,19 +2,19 @@ This is where I dump my thoughts. -- [Backup my way](2022-06-08-backup) -- [Dockerfile for Go](2022-06-08-dockerfile-go) -- [Bootstrap Go](2022-07-10-bootstrap-go) -- [UUID or else](2022-07-12-uuid-or-else) -- [Migrate to buf](2022-07-19-migrate-to-buf) -- [SQL](2022-07-31-sql) -- [Experiment go](2022-07-31-experiment-go) -- [gitignore](2022-08-10-gitignore) -- [Reload config](2022-10-26-reload-config) -- [Install Arch Linux](2022-12-25-archlinux) -- [Speed up writing Go test ASAP](2022-12-25-go-test-asap) -- [Incident come and go](2023-03-05-incident) -- [Fonts](2023-03-30-fonts) -- [Games 4 fun](2023-04-01-games) -- [Naming things](2023-04-17-naming) -- [Keeb](2023-04-17-keeb) +- [Backup my way](2022-06-08-backup.html) +- [Dockerfile for Go](2022-06-08-dockerfile-go.html) +- [Bootstrap Go](2022-07-10-bootstrap-go.html) +- [UUID or else](2022-07-12-uuid-or-else.html) +- [Migrate to buf](2022-07-19-migrate-to-buf.html) +- [SQL](2022-07-31-sql.html) +- [Experiment go](2022-07-31-experiment-go.html) +- [gitignore](2022-08-10-gitignore.html) +- [Reload config](2022-10-26-reload-config.html) +- [Install Arch Linux](2022-12-25-archlinux.html) +- [Speed up writing Go test ASAP](2022-12-25-go-test-asap.html) +- [Incident come and go](2023-03-05-incident.html) +- [Fonts](2023-03-30-fonts.html) +- [Games 4 fun](2023-04-01-games.html) +- [Naming things](2023-04-17-naming.html) +- [Keeb](2023-04-17-keeb.html)