diff options
author | David Luevano Alvarado <david@luevano.xyz> | 2021-05-17 16:14:10 -0600 |
---|---|---|
committer | David Luevano Alvarado <david@luevano.xyz> | 2021-05-17 16:14:10 -0600 |
commit | 10fe760935ab549bdf78654f896e140f125b7f29 (patch) | |
tree | d3059c47665a5d631d451afa6d3517485330fb43 /.local/bin/sshf | |
parent | 56aeb85589d4229fe11d2c522160eeb7b420c572 (diff) |
update config and remove ssg and derivates because of pyssg
Diffstat (limited to '.local/bin/sshf')
-rwxr-xr-x | .local/bin/sshf | 14 |
1 files changed, 0 insertions, 14 deletions
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/<title>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 "$@" |