diff options
[hooks] Updated and reformatted documentation for everything in hooks, including README
1 files changed, 8 insertions, 0 deletions
| -rw-r--r-- | generate-hooks/create-title.awk | 8 |
diff --git a/generate-hooks/create-title.awk b/generate-hooks/create-title.awk index f1eaa4f..24d5f7d 100644 --- a/generate-hooks/create-title.awk +++ b/generate-hooks/create-title.awk @@ -1,3 +1,11 @@ +# +# == About == +# +# Every page has a og:title meta tag, which has to be generated from the page +# itself. The title tag is automatically filled in by ssg. +# The value for the meta tag is "[TITLE]" and it gets replaced with all text +# inside first h1 header tag. + BEGIN { h1Index = 0 |