summaryrefslogtreecommitdiff
path: root/pages/layout.swig
diff options
context:
space:
mode:
authorJuuso Lapinlampi <wub@partyvan.eu>2016-04-30 03:41:47 +0200
committerJuuso Lapinlampi <wub@partyvan.eu>2016-04-30 03:41:47 +0200
commit3061d9fe21298752394bacdb08247689188389bf (patch)
treed9efa090432034e69680ee49da0f321821f91946 /pages/layout.swig
parent03e1332ba54e3bf4886a1a06009eba0d68ba9db7 (diff)
parentc4fd43b435b98ed83756c89aca84dc23a7551906 (diff)
Merge branch 'wub/add-html-meta-generator'
Add `<meta name="generator" value="Pomf x.y.z">` to page layout, where x.y.z is the current Pomf version number defined in package.json with the help of Grunt. This change is done to satisfy WHATWG's HTML standard, section 4.2.5.1 Standard metadata names. Reviewed-by: Eliot Whalan <ewhal@pantsu.cat>
Diffstat (limited to 'pages/layout.swig')
-rw-r--r--pages/layout.swig3
1 files changed, 2 insertions, 1 deletions
diff --git a/pages/layout.swig b/pages/layout.swig
index 3eb9eff..348a7c9 100644
--- a/pages/layout.swig
+++ b/pages/layout.swig
@@ -1,6 +1,6 @@
{#
Copyright (c) 2013 Peter Lejeck <peter.lejeck@gmail.com>
-Copyright (c) 2015 the Pantsu.cat developers <hostmaster@pantsu.cat>
+Copyright (c) 2015, 2016 the Pantsu.cat developers <hostmaster@pantsu.cat>
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
@@ -25,6 +25,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
+ <meta name="generator" content="Pomf {{pkgVersion}}">
<title>Pantsu.cat &middot; {% block title %}Kawaii File Hosting{% endblock %}</title>
<link rel="icon" href="favicon.ico">
<link rel="stylesheet" href="pomf.min.css">