Add stuff page
This commit is contained in:
parent
58b3ba2502
commit
a274350add
5
Makefile
5
Makefile
@ -1,4 +1,9 @@
|
||||
|
||||
.PHONY: update-bootstrap
|
||||
update-bootstrap:
|
||||
curl -L "https://cdn.jsdelivr.net/npm/bootstrap@5/dist/css/bootstrap.min.css" -o assets/bootstrap.min.css
|
||||
curl -L "https://cdn.jsdelivr.net/npm/bootstrap@5/dist/js/bootstrap.min.js" -o assets/bootstrap.min.js
|
||||
|
||||
.PHONY: build
|
||||
build:
|
||||
./build.sh
|
||||
|
10
build.sh
10
build.sh
@ -12,3 +12,13 @@ make_index() {
|
||||
}
|
||||
|
||||
make_index
|
||||
|
||||
make_stuff() {
|
||||
cp templates/index.tmpl.html build/stuff.html
|
||||
sed -i 's/<title>/&Stuff/' build/stuff.html
|
||||
pandoc pages/stuff.md > build/stuff-content.html
|
||||
sed -i '/<main>/r build/stuff-content.html' build/stuff.html
|
||||
cp build/stuff.html dist/
|
||||
}
|
||||
|
||||
make_stuff
|
||||
|
33
pages/stuff.md
Normal file
33
pages/stuff.md
Normal file
@ -0,0 +1,33 @@
|
||||
# Some cool stuff I built
|
||||
|
||||
## vimtabdiff
|
||||
|
||||
Simple python script to see diff off two directories with diff of each file in a vim tab. Typically used to replace `git difftool`
|
||||
|
||||
<div class="table">
|
||||
+---------+-------------------------------------------+
|
||||
| Project | vimtabdiff |
|
||||
+---------+-------------------------------------------+
|
||||
| Tags | #python, #vim, #git |
|
||||
+---------+-------------------------------------------+
|
||||
| Github | <https://github.com/balki/vimtabdiff> |
|
||||
+---------+-------------------------------------------+
|
||||
| Gitea | <https://gitea.balki.me/balki/vimtabdiff> |
|
||||
+---------+-------------------------------------------+
|
||||
</div>
|
||||
|
||||
## grocery_guy
|
||||
|
||||
Telegram bot to manage lists.
|
||||
|
||||
<div class="table">
|
||||
+----------+----------------------------------------------------+
|
||||
| Project | grocery_guy |
|
||||
+----------+----------------------------------------------------+
|
||||
| Tags | #golang, #telegram |
|
||||
+----------+----------------------------------------------------+
|
||||
| Gitea | <https://gitea.balki.me/balki/telegram-chklistbot> |
|
||||
+----------+----------------------------------------------------+
|
||||
| Telegram | <https://t.me/grocery_guy_bot> |
|
||||
+----------+----------------------------------------------------+
|
||||
</div>
|
@ -4,6 +4,7 @@
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="Content-Security-Policy" content="default-src 'self' 'unsafe-inline' data: ;">
|
||||
<meta http-equiv="refresh" content="5000" >
|
||||
|
||||
<title></title>
|
||||
|
||||
@ -17,16 +18,18 @@
|
||||
<body>
|
||||
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="/"> Home </a></li>
|
||||
<li><a href="/blog"> Blog </a></li>
|
||||
<li><a href="/projects"> Projects </a></li>
|
||||
<li><a href="/source"> Source </a></li>
|
||||
<ul class="nav">
|
||||
<li class="nav-item"><a class="nav-link" href="/"> Home </a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://blog.balki.me"> Blog </a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="/stuff.html"> Stuff </a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="/source"> Source </a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
<main>
|
||||
</main>
|
||||
<div class="container" >
|
||||
<main>
|
||||
</main>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user