Compare commits
3 Commits
92c1acbc81
...
bf6dc8658f
Author | SHA1 | Date | |
---|---|---|---|
|
bf6dc8658f | ||
|
8cfb259062 | ||
|
084a65ca3a |
10
Makefile
10
Makefile
@ -19,6 +19,8 @@ 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
|
||||
|
||||
@ -73,6 +75,11 @@ 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/
|
||||
|
||||
@ -84,12 +91,13 @@ _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 --partial --delete --exclude "*/cache/*" --out-format="Deploy: %f => /var/www/htdocs/%f" * $(REMOTE)
|
||||
cd www && doas rsync -a -o -g -p --inplace --partial --delete --exclude "*/cache/*" --out-format="Deploy: %f => /var/www/htdocs/%f" * $(REMOTE)
|
||||
|
||||
|
||||
#### HELPER TARGETS ####
|
||||
|
@ -59,3 +59,7 @@ a {
|
||||
border-color: black;
|
||||
border-style: solid none none none;
|
||||
}
|
||||
|
||||
.monospace {
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
|
BIN
src/favicon.ico
BIN
src/favicon.ico
Binary file not shown.
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 15 KiB |
BIN
src/favicon.png
BIN
src/favicon.png
Binary file not shown.
Before Width: | Height: | Size: 350 B After Width: | Height: | Size: 932 B |
@ -1,5 +1,5 @@
|
||||
</article>
|
||||
<div>-- <br>Proudly made with vim and bsd make.</div>
|
||||
<div>-- <br>hacked together with <a href="https://www.vim.org">vim</a> and <a href="https://man.openbsd.org/make">make</a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
<html lang="en,de">
|
||||
<html lang="en,de">
|
||||
<head>
|
||||
<title>CODEVOID</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
@ -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 +0,0 @@
|
||||
<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>
|
Before Width: | Height: | Size: 263 B |
@ -18,7 +18,7 @@ cat <<'EOF'
|
||||
EOF
|
||||
|
||||
# print list
|
||||
ls -r1 | while read line
|
||||
ls -r1 *.ps *.pm *.ph *.pa *.pt 2>/dev/null | while read line
|
||||
do
|
||||
TITLE="$(echo "${line%%.*}" | tr '_' ' ')"
|
||||
URI="posts/${line%%.*}.html"
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
||||
# Chrome / Chromium / Iridium
|
||||
# Chromium based browsers
|
||||
|
||||
Chrome and Chromium starting with version 73 can be tought to start in
|
||||
dark mode:
|
Loading…
Reference in New Issue
Block a user