summaryrefslogtreecommitdiff
path: root/.local
diff options
context:
space:
mode:
Diffstat (limited to '.local')
-rwxr-xr-x.local/bin/mkblog7
-rwxr-xr-x.local/bin/sbg2
2 files changed, 6 insertions, 3 deletions
diff --git a/.local/bin/mkblog b/.local/bin/mkblog
index 3358b01..bbe5e5d 100755
--- a/.local/bin/mkblog
+++ b/.local/bin/mkblog
@@ -1,6 +1,9 @@
#!/bin/sh
# Create _header.html and _footer.html based on index.html from luevano.xyz.
-sshf $HOME'/dox/www/luevano.xyz/luevano/index.html' $HOME'/dox/www/luevano.xyz/blog/src'
+# sshf $HOME'/dox/www/luevano.xyz/luevano/index.html' $HOME'/dox/www/luevano.xyz/blog/src'
# Run ssg to make the blog. (blog.luevano.xyz)
-ssg $HOME'/dox/www/luevano.xyz/blog/src' $HOME'/dox/www/luevano.xyz/blog/dst' "Luevano's blog" 'https://blog.luevano.xyz'
+# ssg $HOME'/dox/www/luevano.xyz/blog/src' $HOME'/dox/www/luevano.xyz/blog/dst' "Luevano's blog" 'https://blog.luevano.xyz'
+
+# My new sbg does all of this and more >:)
+sbg -s $HOME'/dox/www/luevano.xyz/blog/src' -d $HOME'/dox/www/luevano.xyz/blog/dst' -t "Luévano's Blog" -b 'https://blog.luevano.xyz' -f '%a, %b %d, %+4Y @ %R %Z' -e $HOME'/dox/www/luevano.xyz/luevano/index.html'
diff --git a/.local/bin/sbg b/.local/bin/sbg
index c989709..6eeb46f 100755
--- a/.local/bin/sbg
+++ b/.local/bin/sbg
@@ -418,7 +418,7 @@ fi
# just add the header and the footer.
html_add_hf "$src" "$dst" "$fs"
-printf '[ssg] ' >&2
+printf '[sbg] ' >&2
print_status 'file, ' 'files, ' "$fs" >&2
# Create sitemap.