feat: use ~ to get home

main
sudo pacman -Syu 2023-08-09 14:22:58 +07:00
parent c1949d5194
commit 3eb6cb979b
30 changed files with 88 additions and 30 deletions

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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

View File

@ -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"

View File

@ -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"

View File

@ -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 = ""
} }