remove old site

This commit is contained in:
Balakrishnan Balasubramanian 2023-07-22 19:30:32 -04:00
parent b3ef50860b
commit 8a882f9157
10 changed files with 0 additions and 105 deletions

2
.gitignore vendored
View File

@ -1,2 +0,0 @@
/dist
/build

View File

@ -1 +0,0 @@
# Again blog

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,18 +0,0 @@
#!/usr/bin/bash
# copy assets
cp -r assets/ dist/
make_page() {
name="$1"
title="$2"
cp templates/index.tmpl.html "build/$name.html"
sed -i "s/<title>/&$title/" "build/$name.html"
pandoc "pages/$name.md" > "build/$name-content.html"
sed -i "/<main>/r build/$name-content.html" "build/$name.html"
cp "build/$name.html" dist/
}
make_page index Home
make_page stuff Stuff

View File

@ -1,3 +0,0 @@
Welcome to my site!
I am Balakrishnan Balasubramanian (a) balki. Nothing much here. Checkout the nav bar above for interesting stuff.

View File

@ -1,33 +0,0 @@
# 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>

View File

View File

@ -1,35 +0,0 @@
<!doctype html>
<html lang="en">
<head>
<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>
<!-- Diable favicon requests: https://stackoverflow.com/a/13416784 -->
<link rel="icon" href="data:;base64,iVBORw0KGgo=">
<link href="assets/bootstrap.min.css" rel="stylesheet" >
<script src="assets/bootstrap.min.js" defer></script>
</head>
<body>
<nav>
<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="https://gitea.balki.me/balki/blog"> Source </a></li>
</ul>
</nav>
<div class="container" >
<main>
</main>
</div>
</body>
</html>