summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreudoxia <uplink@distress.network>2021-06-23 02:11:02 -0400
committereudoxia <uplink@distress.network>2021-06-23 02:11:02 -0400
commitd2692b2c8d6402e906667d052c6f23df14f38198 (patch)
tree1bc17bdcb93e1e146955e66f19e7322bfae914fe
parentd328bd4d3e9476720a019fbcf1625043b1aa0030 (diff)
md.sh: fixed meta description generation without header; front: adjusted layout
-rwxr-xr-xfront-header4
-rwxr-xr-xmd.sh2
2 files changed, 3 insertions, 3 deletions
diff --git a/front-header b/front-header
index cb1785e..63cbed8 100755
--- a/front-header
+++ b/front-header
@@ -11,8 +11,8 @@
<link rel="manifest" href="/favicon/site.webmanifest">
<style>
.bg {display: flex; justify-content: center; flex-direction: column; min-height: 100vh; background-image: url("media/clouds-m.png"); background-size: cover; background-position: center center; background-attachment: fixed; image-rendering: crisp-edges; image-rendering: pixelated;}
- .main {flex-direction: row; justify-content: flex-start; padding: 10vw;}
- .main img {height: 32px; image-rendering: unset;}
+ .main {flex-direction: row; justify-content: flex-start; padding: 12.5vw;}
+ .main img {height: 1.5rem; image-rendering: unset;}
nav {flex: none; width: unset; height: unset; position: static; padding: 0; background: none; border: none; overflow: hidden;}
nav pre {font-size: 0.75rem;}
@media screen and (max-width: 800px) {nav pre {font-size: 1rem;}}
diff --git a/md.sh b/md.sh
index eca8af8..c5578f4 100755
--- a/md.sh
+++ b/md.sh
@@ -173,7 +173,7 @@ case "$opts" in
;;
(*[Hh]*)
- sed "/^<header>/,/^<\/header>/d" -i'' $OUT
+ sed -e "/^<header>/,/^<\/header>/d" -e '/^<meta name="description"/d' -i'' $OUT
sed "/bg.js/d" -i'' $OUT
printf "[ok] \theaderless\n"
opts=$(echo $opts | sed 's/[Hh]//g')