feat: use ~ to get home
parent
c1949d5194
commit
3eb6cb979b
|
@ -25,7 +25,9 @@
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<body class="markdown-body">
|
<body class="markdown-body">
|
||||||
<div><a href="index.html">Index</a></div>
|
<h2>
|
||||||
|
<a href="index.html"><code>~</code></a>
|
||||||
|
</h2>
|
||||||
<h1>
|
<h1>
|
||||||
<a
|
<a
|
||||||
id="user-content-backup-my-way"
|
id="user-content-backup-my-way"
|
||||||
|
|
|
@ -25,7 +25,9 @@
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<body class="markdown-body">
|
<body class="markdown-body">
|
||||||
<div><a href="index.html">Index</a></div>
|
<h2>
|
||||||
|
<a href="index.html"><code>~</code></a>
|
||||||
|
</h2>
|
||||||
<h1>
|
<h1>
|
||||||
<a
|
<a
|
||||||
id="user-content-dockerfile-for-go"
|
id="user-content-dockerfile-for-go"
|
||||||
|
|
|
@ -25,7 +25,9 @@
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<body class="markdown-body">
|
<body class="markdown-body">
|
||||||
<div><a href="index.html">Index</a></div>
|
<h2>
|
||||||
|
<a href="index.html"><code>~</code></a>
|
||||||
|
</h2>
|
||||||
<h1>
|
<h1>
|
||||||
<a
|
<a
|
||||||
id="user-content-bootstrap-go"
|
id="user-content-bootstrap-go"
|
||||||
|
|
|
@ -25,7 +25,9 @@
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<body class="markdown-body">
|
<body class="markdown-body">
|
||||||
<div><a href="index.html">Index</a></div>
|
<h2>
|
||||||
|
<a href="index.html"><code>~</code></a>
|
||||||
|
</h2>
|
||||||
<h1>
|
<h1>
|
||||||
<a
|
<a
|
||||||
id="user-content-uuid-or-else"
|
id="user-content-uuid-or-else"
|
||||||
|
|
|
@ -25,7 +25,9 @@
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<body class="markdown-body">
|
<body class="markdown-body">
|
||||||
<div><a href="index.html">Index</a></div>
|
<h2>
|
||||||
|
<a href="index.html"><code>~</code></a>
|
||||||
|
</h2>
|
||||||
<h1>
|
<h1>
|
||||||
<a
|
<a
|
||||||
id="user-content-migrate-to-buf-from-prototool"
|
id="user-content-migrate-to-buf-from-prototool"
|
||||||
|
|
|
@ -25,7 +25,9 @@
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<body class="markdown-body">
|
<body class="markdown-body">
|
||||||
<div><a href="index.html">Index</a></div>
|
<h2>
|
||||||
|
<a href="index.html"><code>~</code></a>
|
||||||
|
</h2>
|
||||||
<h1>
|
<h1>
|
||||||
<a
|
<a
|
||||||
id="user-content-experiment-go"
|
id="user-content-experiment-go"
|
||||||
|
|
|
@ -25,7 +25,9 @@
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<body class="markdown-body">
|
<body class="markdown-body">
|
||||||
<div><a href="index.html">Index</a></div>
|
<h2>
|
||||||
|
<a href="index.html"><code>~</code></a>
|
||||||
|
</h2>
|
||||||
<h1>
|
<h1>
|
||||||
<a id="user-content-sql" class="anchor" aria-hidden="true" href="#sql"
|
<a id="user-content-sql" class="anchor" aria-hidden="true" href="#sql"
|
||||||
><span aria-hidden="true" class="octicon octicon-link"></span></a
|
><span aria-hidden="true" class="octicon octicon-link"></span></a
|
||||||
|
|
|
@ -25,7 +25,9 @@
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<body class="markdown-body">
|
<body class="markdown-body">
|
||||||
<div><a href="index.html">Index</a></div>
|
<h2>
|
||||||
|
<a href="index.html"><code>~</code></a>
|
||||||
|
</h2>
|
||||||
<h1>
|
<h1>
|
||||||
<a
|
<a
|
||||||
id="user-content-gitignore"
|
id="user-content-gitignore"
|
||||||
|
|
|
@ -25,7 +25,9 @@
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<body class="markdown-body">
|
<body class="markdown-body">
|
||||||
<div><a href="index.html">Index</a></div>
|
<h2>
|
||||||
|
<a href="index.html"><code>~</code></a>
|
||||||
|
</h2>
|
||||||
<h1>
|
<h1>
|
||||||
<a
|
<a
|
||||||
id="user-content-reload-config"
|
id="user-content-reload-config"
|
||||||
|
|
|
@ -25,7 +25,9 @@
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<body class="markdown-body">
|
<body class="markdown-body">
|
||||||
<div><a href="index.html">Index</a></div>
|
<h2>
|
||||||
|
<a href="index.html"><code>~</code></a>
|
||||||
|
</h2>
|
||||||
<h1>
|
<h1>
|
||||||
<a
|
<a
|
||||||
id="user-content-install-arch-linux"
|
id="user-content-install-arch-linux"
|
||||||
|
|
|
@ -25,7 +25,9 @@
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<body class="markdown-body">
|
<body class="markdown-body">
|
||||||
<div><a href="index.html">Index</a></div>
|
<h2>
|
||||||
|
<a href="index.html"><code>~</code></a>
|
||||||
|
</h2>
|
||||||
<h1>
|
<h1>
|
||||||
<a
|
<a
|
||||||
id="user-content-speed-up-writing-go-test-asap"
|
id="user-content-speed-up-writing-go-test-asap"
|
||||||
|
|
|
@ -25,7 +25,9 @@
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<body class="markdown-body">
|
<body class="markdown-body">
|
||||||
<div><a href="index.html">Index</a></div>
|
<h2>
|
||||||
|
<a href="index.html"><code>~</code></a>
|
||||||
|
</h2>
|
||||||
<h1>
|
<h1>
|
||||||
<a
|
<a
|
||||||
id="user-content-incident-come-and-go"
|
id="user-content-incident-come-and-go"
|
||||||
|
|
|
@ -25,7 +25,9 @@
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<body class="markdown-body">
|
<body class="markdown-body">
|
||||||
<div><a href="index.html">Index</a></div>
|
<h2>
|
||||||
|
<a href="index.html"><code>~</code></a>
|
||||||
|
</h2>
|
||||||
<h1>
|
<h1>
|
||||||
<a
|
<a
|
||||||
id="user-content-ekyc---the-battle-never-ends"
|
id="user-content-ekyc---the-battle-never-ends"
|
||||||
|
|
|
@ -25,7 +25,9 @@
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<body class="markdown-body">
|
<body class="markdown-body">
|
||||||
<div><a href="index.html">Index</a></div>
|
<h2>
|
||||||
|
<a href="index.html"><code>~</code></a>
|
||||||
|
</h2>
|
||||||
<h1>
|
<h1>
|
||||||
<a id="user-content-fonts" class="anchor" aria-hidden="true" href="#fonts"
|
<a id="user-content-fonts" class="anchor" aria-hidden="true" href="#fonts"
|
||||||
><span aria-hidden="true" class="octicon octicon-link"></span></a
|
><span aria-hidden="true" class="octicon octicon-link"></span></a
|
||||||
|
|
|
@ -25,7 +25,9 @@
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<body class="markdown-body">
|
<body class="markdown-body">
|
||||||
<div><a href="index.html">Index</a></div>
|
<h2>
|
||||||
|
<a href="index.html"><code>~</code></a>
|
||||||
|
</h2>
|
||||||
<h1>
|
<h1>
|
||||||
<a
|
<a
|
||||||
id="user-content-games-4-fun"
|
id="user-content-games-4-fun"
|
||||||
|
|
|
@ -25,7 +25,9 @@
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<body class="markdown-body">
|
<body class="markdown-body">
|
||||||
<div><a href="index.html">Index</a></div>
|
<h2>
|
||||||
|
<a href="index.html"><code>~</code></a>
|
||||||
|
</h2>
|
||||||
<h1>
|
<h1>
|
||||||
<a id="user-content-keeb" class="anchor" aria-hidden="true" href="#keeb"
|
<a id="user-content-keeb" class="anchor" aria-hidden="true" href="#keeb"
|
||||||
><span aria-hidden="true" class="octicon octicon-link"></span></a
|
><span aria-hidden="true" class="octicon octicon-link"></span></a
|
||||||
|
|
|
@ -25,7 +25,9 @@
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<body class="markdown-body">
|
<body class="markdown-body">
|
||||||
<div><a href="index.html">Index</a></div>
|
<h2>
|
||||||
|
<a href="index.html"><code>~</code></a>
|
||||||
|
</h2>
|
||||||
<h1>
|
<h1>
|
||||||
<a
|
<a
|
||||||
id="user-content-naming-things"
|
id="user-content-naming-things"
|
||||||
|
|
|
@ -25,7 +25,9 @@
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<body class="markdown-body">
|
<body class="markdown-body">
|
||||||
<div><a href="index.html">Index</a></div>
|
<h2>
|
||||||
|
<a href="index.html"><code>~</code></a>
|
||||||
|
</h2>
|
||||||
<h1>
|
<h1>
|
||||||
<a
|
<a
|
||||||
id="user-content-my-neovim-workflow"
|
id="user-content-my-neovim-workflow"
|
||||||
|
|
|
@ -25,7 +25,9 @@
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<body class="markdown-body">
|
<body class="markdown-body">
|
||||||
<div><a href="index.html">Index</a></div>
|
<h2>
|
||||||
|
<a href="index.html"><code>~</code></a>
|
||||||
|
</h2>
|
||||||
<h1>
|
<h1>
|
||||||
<a
|
<a
|
||||||
id="user-content-things-i-like"
|
id="user-content-things-i-like"
|
||||||
|
|
|
@ -25,7 +25,9 @@
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<body class="markdown-body">
|
<body class="markdown-body">
|
||||||
<div><a href="index.html">Index</a></div>
|
<h2>
|
||||||
|
<a href="index.html"><code>~</code></a>
|
||||||
|
</h2>
|
||||||
<h1>
|
<h1>
|
||||||
<a
|
<a
|
||||||
id="user-content-swagger-or-openapi"
|
id="user-content-swagger-or-openapi"
|
||||||
|
|
|
@ -25,7 +25,9 @@
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<body class="markdown-body">
|
<body class="markdown-body">
|
||||||
<div><a href="index.html">Index</a></div>
|
<h2>
|
||||||
|
<a href="index.html"><code>~</code></a>
|
||||||
|
</h2>
|
||||||
<h1>
|
<h1>
|
||||||
<a
|
<a
|
||||||
id="user-content-my-terminal-workflow"
|
id="user-content-my-terminal-workflow"
|
||||||
|
|
|
@ -25,7 +25,9 @@
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<body class="markdown-body">
|
<body class="markdown-body">
|
||||||
<div><a href="index.html">Index</a></div>
|
<h2>
|
||||||
|
<a href="index.html"><code>~</code></a>
|
||||||
|
</h2>
|
||||||
<h1>
|
<h1>
|
||||||
<a
|
<a
|
||||||
id="user-content-another-day-another-incident-02"
|
id="user-content-another-day-another-incident-02"
|
||||||
|
|
|
@ -25,7 +25,9 @@
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<body class="markdown-body">
|
<body class="markdown-body">
|
||||||
<div><a href="index.html">Index</a></div>
|
<h2>
|
||||||
|
<a href="index.html"><code>~</code></a>
|
||||||
|
</h2>
|
||||||
<h1>
|
<h1>
|
||||||
<a
|
<a
|
||||||
id="user-content-khoan-cắt-bê-tông-101"
|
id="user-content-khoan-cắt-bê-tông-101"
|
||||||
|
|
|
@ -25,7 +25,9 @@
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<body class="markdown-body">
|
<body class="markdown-body">
|
||||||
<div><a href="index.html">Index</a></div>
|
<h2>
|
||||||
|
<a href="index.html"><code>~</code></a>
|
||||||
|
</h2>
|
||||||
<h1>
|
<h1>
|
||||||
<a
|
<a
|
||||||
id="user-content-userful-tools"
|
id="user-content-userful-tools"
|
||||||
|
|
|
@ -25,7 +25,9 @@
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<body class="markdown-body">
|
<body class="markdown-body">
|
||||||
<div><a href="index.html">Index</a></div>
|
<h2>
|
||||||
|
<a href="index.html"><code>~</code></a>
|
||||||
|
</h2>
|
||||||
<h1>
|
<h1>
|
||||||
<a
|
<a
|
||||||
id="user-content-throw-away-pastebin"
|
id="user-content-throw-away-pastebin"
|
||||||
|
|
|
@ -25,7 +25,9 @@
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<body class="markdown-body">
|
<body class="markdown-body">
|
||||||
<div><a href="index.html">Index</a></div>
|
<h2>
|
||||||
|
<a href="index.html"><code>~</code></a>
|
||||||
|
</h2>
|
||||||
<h1>
|
<h1>
|
||||||
<a
|
<a
|
||||||
id="user-content-fan-android"
|
id="user-content-fan-android"
|
||||||
|
|
|
@ -25,7 +25,9 @@
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<body class="markdown-body">
|
<body class="markdown-body">
|
||||||
<div><a href="index.html">Index</a></div>
|
<h2>
|
||||||
|
<a href="index.html"><code>~</code></a>
|
||||||
|
</h2>
|
||||||
<h1>
|
<h1>
|
||||||
<a id="user-content-redis" class="anchor" aria-hidden="true" href="#redis"
|
<a id="user-content-redis" class="anchor" aria-hidden="true" href="#redis"
|
||||||
><span aria-hidden="true" class="octicon octicon-link"></span></a
|
><span aria-hidden="true" class="octicon octicon-link"></span></a
|
||||||
|
|
|
@ -25,7 +25,9 @@
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<body class="markdown-body">
|
<body class="markdown-body">
|
||||||
<div><a href="index.html">Index</a></div>
|
<h2>
|
||||||
|
<a href="index.html"><code>~</code></a>
|
||||||
|
</h2>
|
||||||
<h1>
|
<h1>
|
||||||
<a
|
<a
|
||||||
id="user-content-cache-shenanigan"
|
id="user-content-cache-shenanigan"
|
||||||
|
|
|
@ -25,7 +25,9 @@
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<body class="markdown-body">
|
<body class="markdown-body">
|
||||||
<div><a href="index.html">Index</a></div>
|
<h2>
|
||||||
|
<a href="index.html"><code>~</code></a>
|
||||||
|
</h2>
|
||||||
<h1>
|
<h1>
|
||||||
<a
|
<a
|
||||||
id="user-content-vscode"
|
id="user-content-vscode"
|
||||||
|
|
2
main.go
2
main.go
|
@ -107,7 +107,7 @@ func main() {
|
||||||
defer htmlFile.Close()
|
defer htmlFile.Close()
|
||||||
|
|
||||||
// Ignore index in index file
|
// Ignore index in index file
|
||||||
indexHTML := `<div><a href="index.html">Index</a></div>`
|
indexHTML := `<h2><a href="index.html"><code>~</code></a></h2>`
|
||||||
if strings.Contains(postFilename, "index") {
|
if strings.Contains(postFilename, "index") {
|
||||||
indexHTML = ""
|
indexHTML = ""
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue