diff options
| author | David Luevano Alvarado <david@luevano.xyz> | 2021-03-03 22:47:20 -0700 |
|---|---|---|
| committer | David Luevano Alvarado <david@luevano.xyz> | 2021-03-03 22:47:20 -0700 |
| commit | 48ad841f56bb73da2734f571507ece7848615e61 (patch) | |
| tree | a2eb2fb31cf232fe5479489324b57a6dd573451e /.local/bin/sshf | |
| parent | 3aea44014574efbb1fc7a2696ee1ee74c40fa95f (diff) | |
DELETE i3GAPS BLOCKS that I forgot, slightly changes to blog management tools
Diffstat (limited to '.local/bin/sshf')
| -rwxr-xr-x | .local/bin/sshf | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.local/bin/sshf b/.local/bin/sshf index 85a0055..44766bc 100755 --- a/.local/bin/sshf +++ b/.local/bin/sshf @@ -3,9 +3,10 @@ # 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/}" + 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 } |
