Add store_description field for SEO
This commit is contained in:
@@ -56,13 +56,23 @@
|
||||
|
||||
<fieldset>
|
||||
{form_field form=$form field='store_name'}
|
||||
<div class="form-group {if $error}has-error{/if}">
|
||||
<label for="{$label_attr.for}" class="control-label">{$label}:{if $required} <span class="required">*</span>{/if}</label>
|
||||
<div class="form-group {if $error}has-error{/if}">
|
||||
<label for="{$label_attr.for}" class="control-label">{$label}:{if $required} <span class="required">*</span>{/if}</label>
|
||||
|
||||
<div class="form-group">
|
||||
<input type="text" id="{$label_attr.for}" name="{$name}" class="form-control" value="{$value}"{if $required} aria-required="true" required{/if} title="{$label}" placeholder="{intl l='Used in your store front'}">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<input type="text" id="{$label_attr.for}" name="{$name}" class="form-control" value="{$value}"{if $required} aria-required="true" required{/if} title="{$label}" placeholder="{intl l='Used in your store front'}">
|
||||
</div>
|
||||
</div>
|
||||
{/form_field}
|
||||
|
||||
{form_field form=$form field='store_description'}
|
||||
<div class="form-group {if $error}has-error{/if}">
|
||||
<label for="{$label_attr.for}" class="control-label">{$label}:{if $required} <span class="required">*</span>{/if}</label>
|
||||
|
||||
<div class="form-group">
|
||||
<textarea name="{$name}" id="{$label_attr.for}" title="{$label}" class="form-control" placeholder="{intl l='Used in your store front'}" rows="3"{if $required} aria-required="true" required{/if}>{$value}</textarea>
|
||||
</div>
|
||||
</div>
|
||||
{/form_field}
|
||||
|
||||
{form_field form=$form field='store_business_id'}
|
||||
|
||||
@@ -27,7 +27,9 @@ GNU General Public License : http://www.gnu.org/licenses/
|
||||
|
||||
{block name="no-return-functions"}{/block}
|
||||
{assign var="store_name" value="{config key="store_name"}"}
|
||||
{assign var="store_description" value="{config key="store_description"}"}
|
||||
{if not $store_name}{assign var="store_name" value="{intl l='Thelia V2'}"}{/if}
|
||||
{if not $store_description}{assign var="store_description" value="$store_name"}{/if}
|
||||
|
||||
{* paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither *}
|
||||
<!--[if lt IE 7 ]><html class="no-js oldie ie6" lang="{lang attr="code"}"> <![endif]-->
|
||||
@@ -49,7 +51,7 @@ GNU General Public License : http://www.gnu.org/licenses/
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
{block name="meta"}
|
||||
<meta name="description" content="{if $page_description}{$page_description}{else}{$store_name}{/if}">
|
||||
<meta name="description" content="{if $page_description}{$page_description}{else}{$store_description}{/if}">
|
||||
<meta name="robots" content="noindex,nofollow">
|
||||
{/block}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user