feat: support srht html
parent
a6ad80c1a7
commit
177fae5a59
|
@ -42,7 +42,7 @@
|
|||
}
|
||||
</style>
|
||||
<body class="markdown-body">
|
||||
<div><a href="index">Index</a></div>
|
||||
<div><a href="index.html">Index</a></div>
|
||||
<h1>
|
||||
<a
|
||||
id="user-content-backup-my-way"
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
}
|
||||
</style>
|
||||
<body class="markdown-body">
|
||||
<div><a href="index">Index</a></div>
|
||||
<div><a href="index.html">Index</a></div>
|
||||
<h1>
|
||||
<a
|
||||
id="user-content-dockerfile-for-go"
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
}
|
||||
</style>
|
||||
<body class="markdown-body">
|
||||
<div><a href="index">Index</a></div>
|
||||
<div><a href="index.html">Index</a></div>
|
||||
<h1>
|
||||
<a
|
||||
id="user-content-bootstrap-go"
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
}
|
||||
</style>
|
||||
<body class="markdown-body">
|
||||
<div><a href="index">Index</a></div>
|
||||
<div><a href="index.html">Index</a></div>
|
||||
<h1>
|
||||
<a
|
||||
id="user-content-uuid-or-else"
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
}
|
||||
</style>
|
||||
<body class="markdown-body">
|
||||
<div><a href="index">Index</a></div>
|
||||
<div><a href="index.html">Index</a></div>
|
||||
<h1>
|
||||
<a
|
||||
id="user-content-migrate-to-buf-from-prototool"
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
}
|
||||
</style>
|
||||
<body class="markdown-body">
|
||||
<div><a href="index">Index</a></div>
|
||||
<div><a href="index.html">Index</a></div>
|
||||
<h1>
|
||||
<a
|
||||
id="user-content-experiment-go"
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
}
|
||||
</style>
|
||||
<body class="markdown-body">
|
||||
<div><a href="index">Index</a></div>
|
||||
<div><a href="index.html">Index</a></div>
|
||||
<h1>
|
||||
<a id="user-content-sql" class="anchor" aria-hidden="true" href="#sql"
|
||||
><span aria-hidden="true" class="octicon octicon-link"></span></a
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
}
|
||||
</style>
|
||||
<body class="markdown-body">
|
||||
<div><a href="index">Index</a></div>
|
||||
<div><a href="index.html">Index</a></div>
|
||||
<h1>
|
||||
<a
|
||||
id="user-content-gitignore"
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
}
|
||||
</style>
|
||||
<body class="markdown-body">
|
||||
<div><a href="index">Index</a></div>
|
||||
<div><a href="index.html">Index</a></div>
|
||||
<h1>
|
||||
<a
|
||||
id="user-content-reload-config"
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
}
|
||||
</style>
|
||||
<body class="markdown-body">
|
||||
<div><a href="index">Index</a></div>
|
||||
<div><a href="index.html">Index</a></div>
|
||||
<h1>
|
||||
<a
|
||||
id="user-content-install-arch-linux"
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
}
|
||||
</style>
|
||||
<body class="markdown-body">
|
||||
<div><a href="index">Index</a></div>
|
||||
<div><a href="index.html">Index</a></div>
|
||||
<h1>
|
||||
<a
|
||||
id="user-content-speed-up-writing-go-test-asap"
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
}
|
||||
</style>
|
||||
<body class="markdown-body">
|
||||
<div><a href="index">Index</a></div>
|
||||
<div><a href="index.html">Index</a></div>
|
||||
<h1>
|
||||
<a
|
||||
id="user-content-incident-come-and-go"
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
}
|
||||
</style>
|
||||
<body class="markdown-body">
|
||||
<div><a href="index">Index</a></div>
|
||||
<div><a href="index.html">Index</a></div>
|
||||
<h1>
|
||||
<a
|
||||
id="user-content-ekyc---the-battle-never-ends"
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
}
|
||||
</style>
|
||||
<body class="markdown-body">
|
||||
<div><a href="index">Index</a></div>
|
||||
<div><a href="index.html">Index</a></div>
|
||||
<h1>
|
||||
<a id="user-content-fonts" class="anchor" aria-hidden="true" href="#fonts"
|
||||
><span aria-hidden="true" class="octicon octicon-link"></span></a
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
}
|
||||
</style>
|
||||
<body class="markdown-body">
|
||||
<div><a href="index">Index</a></div>
|
||||
<div><a href="index.html">Index</a></div>
|
||||
<h1>
|
||||
<a
|
||||
id="user-content-games-4-fun"
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
}
|
||||
</style>
|
||||
<body class="markdown-body">
|
||||
<div><a href="index">Index</a></div>
|
||||
<div><a href="index.html">Index</a></div>
|
||||
<h1>
|
||||
<a id="user-content-keeb" class="anchor" aria-hidden="true" href="#keeb"
|
||||
><span aria-hidden="true" class="octicon octicon-link"></span></a
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
}
|
||||
</style>
|
||||
<body class="markdown-body">
|
||||
<div><a href="index">Index</a></div>
|
||||
<div><a href="index.html">Index</a></div>
|
||||
<h1>
|
||||
<a
|
||||
id="user-content-naming-things"
|
||||
|
|
|
@ -49,24 +49,24 @@
|
|||
</h1>
|
||||
<p>This is where I dump my thoughts.</p>
|
||||
<ul>
|
||||
<li><a href="2022-06-08-backup">Backup my way</a></li>
|
||||
<li><a href="2022-06-08-dockerfile-go">Dockerfile for Go</a></li>
|
||||
<li><a href="2022-07-10-bootstrap-go">Bootstrap Go</a></li>
|
||||
<li><a href="2022-07-12-uuid-or-else">UUID or else</a></li>
|
||||
<li><a href="2022-07-19-migrate-to-buf">Migrate to buf</a></li>
|
||||
<li><a href="2022-07-31-sql">SQL</a></li>
|
||||
<li><a href="2022-07-31-experiment-go">Experiment go</a></li>
|
||||
<li><a href="2022-08-10-gitignore">gitignore</a></li>
|
||||
<li><a href="2022-10-26-reload-config">Reload config</a></li>
|
||||
<li><a href="2022-12-25-archlinux">Install Arch Linux</a></li>
|
||||
<li><a href="2022-06-08-backup.html">Backup my way</a></li>
|
||||
<li><a href="2022-06-08-dockerfile-go.html">Dockerfile for Go</a></li>
|
||||
<li><a href="2022-07-10-bootstrap-go.html">Bootstrap Go</a></li>
|
||||
<li><a href="2022-07-12-uuid-or-else.html">UUID or else</a></li>
|
||||
<li><a href="2022-07-19-migrate-to-buf.html">Migrate to buf</a></li>
|
||||
<li><a href="2022-07-31-sql.html">SQL</a></li>
|
||||
<li><a href="2022-07-31-experiment-go.html">Experiment go</a></li>
|
||||
<li><a href="2022-08-10-gitignore.html">gitignore</a></li>
|
||||
<li><a href="2022-10-26-reload-config.html">Reload config</a></li>
|
||||
<li><a href="2022-12-25-archlinux.html">Install Arch Linux</a></li>
|
||||
<li>
|
||||
<a href="2022-12-25-go-test-asap">Speed up writing Go test ASAP</a>
|
||||
<a href="2022-12-25-go-test-asap.html">Speed up writing Go test ASAP</a>
|
||||
</li>
|
||||
<li><a href="2023-03-05-incident">Incident come and go</a></li>
|
||||
<li><a href="2023-03-30-fonts">Fonts</a></li>
|
||||
<li><a href="2023-04-01-games">Games 4 fun</a></li>
|
||||
<li><a href="2023-04-17-naming">Naming things</a></li>
|
||||
<li><a href="2023-04-17-keeb">Keeb</a></li>
|
||||
<li><a href="2023-03-05-incident.html">Incident come and go</a></li>
|
||||
<li><a href="2023-03-30-fonts.html">Fonts</a></li>
|
||||
<li><a href="2023-04-01-games.html">Games 4 fun</a></li>
|
||||
<li><a href="2023-04-17-naming.html">Naming things</a></li>
|
||||
<li><a href="2023-04-17-keeb.html">Keeb</a></li>
|
||||
</ul>
|
||||
|
||||
<div>
|
||||
|
|
2
main.go
2
main.go
|
@ -107,7 +107,7 @@ func main() {
|
|||
defer htmlFile.Close()
|
||||
|
||||
// Ignore index in index file
|
||||
indexHTML := `<div><a href="index">Index</a></div>`
|
||||
indexHTML := `<div><a href="index.html">Index</a></div>`
|
||||
if strings.Contains(postFilename, "index") {
|
||||
indexHTML = ""
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue