aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-04-13 00:50:25 +0300
committerCem Keylan <cem@ckyln.com>2020-04-13 00:50:25 +0300
commit4f5cf4f47a64e612171b714103831730ddbc8808 (patch)
treeb742d91562ff87463cf859129b1be5abd18ef3d5 /build
parentd5061ee0673ebbafff8d5571d7b4e58c2f2b4ace (diff)
downloadwebsite-4f5cf4f47a64e612171b714103831730ddbc8808.tar.gz
update
Diffstat (limited to 'build')
-rwxr-xr-xbuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/build b/build
index 0a914a9..4befe7d 100755
--- a/build
+++ b/build
@@ -5,7 +5,7 @@ header() {
<!DOCTYPE HTML>
<html lan="en">
<head>
-<title>$TITLE | Carbs Linux</title>
+<title>$1 | Carbs Linux</title>
<link rel="stylesheet" href="/assets/style.css">
<meta charset="utf-8">
<meta name="Description" content="Carbs Linux - a simple busybox linux distribution">
@@ -58,7 +58,7 @@ genpages() {
tohtml() {
- TITLE="$(gettitle "$1")" header
+ header "$(gettitle "$1")"
sed '/Title:/d' "$1" | markdown
footer "$(echo "$1" | sed 's/.md$/.txt/;s/src\/.//')"
}