Code: Select all
<meta name="Description" content="{description}">
Any ideas? Thank you!
Code: Select all
<meta name="Description" content="{description}">
Code: Select all
{$canonical = $entry->canonical scope=global}
{if empty($entry->content)}
{$description = $entry->summary|strip_tags|strip|truncate:150 scope=global}
{else}
{$description = $entry->content|strip_tags|strip|truncate:150 scope=global}
{/if}
{$page_title = $entry->title|cms_escape:htmlall scope=global}
Code: Select all
{strip}
{process_pagedata}
{$canonical = "{$content_obj->GetURL()|lower|default:''}" scope=global}
{$description = "{description}" scope=global}
{$page_title = "{title}" scope=global}
{$content = "{content}" scope=global}
{if empty($description)}{$description = $content|strip_tags|strip|truncate:150|default:'' scope=global}{/if}
{/strip}<!DOCTYPE HTML>
< html lang="en">
<head>
<meta name="description" content="{$description}">
<link rel="canonical" href="{$canonical}">
</head>
< body>
<h2>{$page_title}</h2>
{$content}
< /body>
< /html>
Code: Select all
{* News module entry object reference:
------------------------------
...
====
Below, you will find the normal detail template information. Modify this template as desired.
*}
{$canonical = $entry->canonical scope=global}
{if empty($entry->content)}
{$description = $entry->summary|strip_tags|strip|truncate:150 scope=global}
{else}
{$description = $entry->content|strip_tags|strip|truncate:150 scope=global}
{/if}
{$page_title = $entry->title|cms_escape:htmlall scope=global}
<h2>{$entry->title|cms_escape:htmlall}</h2>
Code: Select all
{strip}
{process_pagedata}
{$canonical = "{$content_obj->GetURL()|lower|default:''}" scope=global}
{$description = "{description}" scope=global}
{$page_title = "{title}" scope=global}
{if empty($description)}{$description = $content|strip_tags|strip|truncate:150|default:'' scope=global}{/if}
{/strip}
{* == PROCESS DATA & HEAD == *}
{global_content name='Head'}
{* === BLACK BG === *}
<div id="page-bg">
<div id="page">
Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<__html lang="cs">
<head>
{metadata}
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Script-Type" content="text/javascript">
<meta http-equiv="Content-Language" content="en">
<meta name="Language" content="en">
<meta name="Copyright" content="© Site">
<meta name="Robots" content="index,follow">
<meta name="Author" content="ME">
<meta name="Keywords" content="">
<meta name="Description" content="{$description}">
<meta name="viewport" content="width=device-width, initial-scale=1">
Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<__html lang="cs">
<head>
<base href="http://example.cz/" />
<meta name="Generator" content="CMS Made Simple - Copyright (C) 2004-2015. All rights reserved." />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Script-Type" content="text/javascript">
<meta http-equiv="Content-Language" content="en">
<meta name="Language" content="en">
<meta name="Copyright" content="© Site">
<meta name="Robots" content="index,follow">
<meta name="Author" content="Me">
<meta name="Keywords" content="">
<meta name="Description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">