diff --git a/README.md b/README.md new file mode 100644 index 00000000..b5716d2f --- /dev/null +++ b/README.md @@ -0,0 +1,8 @@ +# ✨️sitoctt✨️ + +**[sitoctt.octt.eu.org](https://sitoctt.octt.eu.org)** + +🇮🇹️ [Sito web personale](https://sitoctt.octt.eu.org/it/), blog, note, guide, raccolte + +🇬🇧️ [Personal website](https://sitoctt.octt.eu.org/en/), blog, notes, guides, collections + diff --git a/Scripts/PostBuild.Common.sh b/Scripts/PostBuild.Common.sh deleted file mode 100644 index 3a008b13..00000000 --- a/Scripts/PostBuild.Common.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh -# Common action after the base site build succeeded - -#cp -vr ./Assets/* ./public/ - -# Compile self-executable assets -#for Dir in public public.* -#do - find ./public/Assets/ -type f -name "*.*.SelfBuild.js" -exec sh -c "echo {}; node {}; rm {}" \; -#done diff --git a/Scripts/Prepare.NoStyle.sh b/Scripts/Prepare.NoStyle.sh deleted file mode 100755 index 80678fef..00000000 --- a/Scripts/Prepare.NoStyle.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/sh - -HeadInject=" -<style> -body { - color: #000000; - background-color: #FFFFFF; -} -@media (prefers-color-scheme: dark) { - body { - color: #FFFFFF; - background-color: #000000; - } -} -img { - max-width: 100%; - max-height: 100vh; -} -</style> -" - -cp -r ./public ./public.Plain -mv ./public.Plain ./public/Plain -cd ./public/Plain - -find . -name "*.html" \ - -exec sed -i "s|<style>|<!--style>|g" {} \; \ - -exec sed -i "s|</style>|</style--->|g" {} \; - -find . -name "*.html" \ - -exec sed -i "s|<head>|<head>\n$(echo $HeadInject)|" {} \; - -find . -name "*.css" \ - -exec sh -c 'if [ "$(basename {})" != "Global.css" ]; then echo > {}; fi' \;