aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
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\/.//')"
}