vishwamano

source of vishwamano.com
git clone git://git.ricketyspace.net/vishwamano.git
Log | Files | Refs

commit e2f1c6d9bd20f5b7869ed6d57b781b44be0a862a
parent b6dca609de486d02564a3d3a2529a46581cb98c1
Author: rsiddharth <rsiddharth@ninthfloor.org>
Date:   Wed, 12 Aug 2015 21:05:15 -0400

themes/bs3/templates/header.tpl: meta things are added only if they are *really* there.

Diffstat:
themes/bs3/templates/header.tpl | 8++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/themes/bs3/templates/header.tpl b/themes/bs3/templates/header.tpl @@ -3,8 +3,12 @@ <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> - <meta name="keywords" content="{$meta_keywords}"> - <meta name="description" content="{$meta_description}"> + {if isset($meta_keywords)} + <meta name="keywords" content="{$meta_keywords}"> + {/if} + {if isset($meta_description)} + <meta name="description" content="{$meta_description}"> + {/if} <title>{$title}</title> <link href="{$doc_root}themes/bs3/css/style.min.css" rel="stylesheet" media="screen">