From 3624bc6c786a438c429615589225da9e121e42c9 Mon Sep 17 00:00:00 2001 From: b4rkod Date: Mon, 6 May 2024 10:16:53 +0300 Subject: i don't use my custom markup anymore, Added a blogposts and index compiler --- basics.sh | 81 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 43 insertions(+), 38 deletions(-) mode change 100644 => 100755 basics.sh (limited to 'basics.sh') diff --git a/basics.sh b/basics.sh old mode 100644 new mode 100755 index 54a7f0f..21e255e --- a/basics.sh +++ b/basics.sh @@ -1,45 +1,50 @@ #!/bin/sh +TABNAME="Barkod\'s Basement" +ROOT="$HOME/www" +SOURCE="$ROOT/source" +PATH="$PATH:$ROOT/sh" +SERVER="root@23.94.92.217" +SERVERFILE="$SERVER:/var/www/b4rkod/" header() { -printf \ " - - - - - - - - - - - Barkod's Basement | $1 - - - -

$1

-
- - -
-
-" + printf \ " + + + + + + + + + + $TABNAME $([ $1 ] && printf "| $1") + + + + + +

$( [ $1 ] && printf "$1" || printf " $TABNAME")

+
+ + +
+
+ " } footer() { - printf \ ' -
-
- - - ' + printf \ ' +
+
+ + + ' } -- cgit v1.2.3