summaryrefslogtreecommitdiffstats
path: root/gen.sh
diff options
context:
space:
mode:
authorTyler Davis <tyler@gluecode.net>2024-11-12 02:03:57 +0000
committerTyler Davis <tyler@gluecode.net>2024-11-12 02:03:57 +0000
commit09962394c5f29eefff144f3a439e55fce1fe8633 (patch)
tree84f7ed20ed04ae8ce56fd57747ba67d9ca4b23b4 /gen.sh
parent8d040d43e541a65c448be3b39e6bc86049b9ad52 (diff)
downloadjournal-09962394c5f29eefff144f3a439e55fce1fe8633.tar.gz
journal-09962394c5f29eefff144f3a439e55fce1fe8633.zip
minify html in gen.sh
Diffstat (limited to 'gen.sh')
-rwxr-xr-xgen.sh27
1 files changed, 2 insertions, 25 deletions
diff --git a/gen.sh b/gen.sh
index fc98186..c460f74 100755
--- a/gen.sh
+++ b/gen.sh
@@ -69,29 +69,7 @@ done
#### HEADER ####
HEADER=$(cat <<EOF
-<!DOCTYPE html>
-<html>
-<head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <title>Glue Code Journal</title>
- <style type="text/css">
- body {
- margin: 40px
- auto;
- max-width: 650px;
- line-height: 1.6;
- font-size: 18px;
- color: #444;
- padding: 0
- 10px
- }
-
- h1, h2, h3 {
- line-height: 1.2
- }
- </style>
-</head>
+<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Glue Code Journal</title> <style type="text/css"> body{margin: 40px auto; max-width: 650px; line-height: 1.6; font-size: 18px; color: #444; padding: 0 10px}h1, h2, h3{line-height: 1.2}</style> </head>
EOF
)
@@ -99,8 +77,7 @@ EOF
#### FOOTER ####
FOOTER=$(cat <<EOF
-</body>
-</html>
+</body></html>
EOF
)
### PROCESS Files ####