aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/build b/build
index 7db54cd..72e4432 100755
--- a/build
+++ b/build
@@ -39,7 +39,7 @@ gettitle() {
basename "$1" .md
return 0
}
- sed 1q "$1" | cut -d' ' -f2-
+ sed 's/^[Tt]itle: //;1q' "$1"
}
genpages() {