Compare commits

..

No commits in common. "bf6dc8658f3f4a0928487c32689e715d0cee1083" and "92c1acbc812213c90b40abcf4b7930b2a6fff334" have entirely different histories.

12 changed files with 8 additions and 19 deletions

View File

@ -19,8 +19,6 @@ PS_FILES != find src -type f -name "*.ps" | sed 's|src/||g'
PA_FILES != find src -type f -name "*.pa" | sed 's|src/||g'
PT_FILES != find src -type f -name "*.pt" | sed 's|src/||g'
COMMIT_MSG != echo "Update $$(date +"%Y-%m-%d %H:%M:%S")"
# put static files and dirs into .control/static-files. Globbing is supported.
STATIC_FILES != cat .control/static-files
@ -75,11 +73,6 @@ prepare:
echo "Mkdir: www"
mkdir -p www
git-commit:
git pull --autostash
git add src Makefile
git commit -m "$(COMMIT_MSG)"
copy-static-files: prepare
rsync -a --partial --delete --no-p --no-o --no-g --out-format="Copy: %f => www/" $(STATIC_FILES) www/
@ -91,13 +84,12 @@ _clean:
install:
make -s _install
make -s git-commit
_install: website
echo "Fixing Permissions in www/"
doas chown -R sdk:www www
doas chmod -R ugo+Xrw www
echo "Deploy: www/ => /var/www/htdocs/"
cd www && doas rsync -a -o -g -p --inplace --partial --delete --exclude "*/cache/*" --out-format="Deploy: %f => /var/www/htdocs/%f" * $(REMOTE)
cd www && doas rsync -a --partial --delete --exclude "*/cache/*" --out-format="Deploy: %f => /var/www/htdocs/%f" * $(REMOTE)
#### HELPER TARGETS ####

View File

@ -59,7 +59,3 @@ a {
border-color: black;
border-style: solid none none none;
}
.monospace {
letter-spacing: 1px;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 932 B

After

Width:  |  Height:  |  Size: 350 B

View File

@ -1,5 +1,5 @@
</article>
<div>-- <br>hacked together with <a href="https://www.vim.org">vim</a> and <a href="https://man.openbsd.org/make">make</a></div>
<div>-- <br>Proudly made with vim and bsd make.</div>
</body>
</html>

View File

@ -8,7 +8,7 @@
<body>
<header>
<div class="header-title">
<a href="/">CODEVOID</a>
<a href="/">codevoid</a>
</div>
</header>
<div class="header-row">

1
src/images/tag.svg Normal file
View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0V0z"/><path d="M19 18l2 1V3c0-1.1-.9-2-2-2H8.99C7.89 1 7 1.9 7 3h10c1.1 0 2 .9 2 2v13zM15 5H5c-1.1 0-2 .9-2 2v16l7-3 7 3V7c0-1.1-.9-2-2-2z"/></svg>

After

Width:  |  Height:  |  Size: 263 B

View File

@ -18,7 +18,7 @@ cat <<'EOF'
EOF
# print list
ls -r1 *.ps *.pm *.ph *.pa *.pt 2>/dev/null | while read line
ls -r1 | while read line
do
TITLE="$(echo "${line%%.*}" | tr '_' ' ')"
URI="posts/${line%%.*}.html"

View File

@ -1,4 +1,4 @@
# Manage Dotfiles with Git
# Manage Dotfiles With Git
I'm managing my dotfiles with git. My method serves me well for a few
years already and so I think it's time to write it down.

View File

@ -8,7 +8,7 @@ However, in other operating systems, there is a global toggle for dark
mode, which also switches the browser into it. This is not the case on
linux and unix systems.
# Chromium based browsers
# Chrome / Chromium / Iridium
Chrome and Chromium starting with version 73 can be tought to start in
dark mode: