diff options
| author | spiderr <spider@viovio.com> | 2013-05-17 12:36:03 -0400 |
|---|---|---|
| committer | spiderr <spider@viovio.com> | 2013-05-17 12:36:03 -0400 |
| commit | 1954984f54c17a461cec4a5fff71c3b3accf23cb (patch) | |
| tree | 159b3ba39b5b68cffff9151b5d7dd784775ebeea /templates/html_head_inc.tpl | |
| parent | f3b90e0023d089360871708bf5f87ff261493aa1 (diff) | |
| download | kernel-1954984f54c17a461cec4a5fff71c3b3accf23cb.tar.gz kernel-1954984f54c17a461cec4a5fff71c3b3accf23cb.tar.bz2 kernel-1954984f54c17a461cec4a5fff71c3b3accf23cb.zip | |
add <meta name="robots" content="noindex,nofollow"> to non-live sites, and tweak footer to reflect this
Diffstat (limited to 'templates/html_head_inc.tpl')
| -rw-r--r-- | templates/html_head_inc.tpl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/html_head_inc.tpl b/templates/html_head_inc.tpl index 5e70dae..030fc54 100644 --- a/templates/html_head_inc.tpl +++ b/templates/html_head_inc.tpl @@ -24,6 +24,9 @@ {if $canonicalLink} <link rel="canonical" href="{$canonicalLink}"/> {/if} +{if !$gBitSystem->isLive()} +<meta name="robots" content="noindex,nofollow"> +{/if} {if $gBitSystem->isFeatureActive( 'site_header_extended_nav' )} <link rel="start" title="{$gBitSystem->getConfig('site_title')} {tr}Home{/tr}" href="{$smarty.const.BIT_ROOT_URL}" /> |
