diff options
1 files changed, 2 insertions, 0 deletions
| -rw-r--r-- | ext/meta.awk | 2 |
diff --git a/ext/meta.awk b/ext/meta.awk index 1815cdf..35e4f2b 100644 --- a/ext/meta.awk +++ b/ext/meta.awk @@ -4,6 +4,8 @@ BEGIN { if ($1 == "") continue meta_title[$1] = $2 " — Syndamia" meta_description[$1] = $3 + if (length($3) > 200) + warning("Description for file \"" $1 "\" is longer than 200 characters!", "Shorten the description field in the \"" ENVIRON["META"] "\" file.") } FS=" " } |