From 10fe760935ab549bdf78654f896e140f125b7f29 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Mon, 17 May 2021 16:14:10 -0600 Subject: update config and remove ssg and derivates because of pyssg --- .local/bin/sshf | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100755 .local/bin/sshf (limited to '.local/bin/sshf') diff --git a/.local/bin/sshf b/.local/bin/sshf deleted file mode 100755 index 44766bc..0000000 --- a/.local/bin/sshf +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -# Get the _header.html and _footer.html required for ssg from an already defined html. -main() { - in_file="${1:-$HOME/dox/www/luevano.xyz/luevano/index.html}" - out_folder="${2:-$HOME/dow/www/blog/src}" - - sed '/<\/header/q' $in_file > $out_folder/_header.html - sed -i "s/Luévano/<title>Luévano's Blog/g" $out_folder/_header.html - # Not proud of this, lol. - tac $in_file | sed '/<footer/q' | tac > $out_folder/_footer.html -} - -main "$@" -- cgit v1.2.3-54-g00ecf