Where to put the site metadata
Posted: Mon Sep 01, 2008 8:01 pm
I'm looking for the place to set my site's meta data.
Is it on the template "index.tpl" file?
Usually, the meta data is in the head section. is it the same here?
Please give me some guidance.
This is an example of my template head section:
-----------------------------
# my site - http://www.fazaza.com
Is it on the template "index.tpl" file?
Usually, the meta data is in the head section. is it the same here?
Please give me some guidance.
This is an example of my template head section:
Code: Select all
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$lang}" lang="{$lang}">
<head>
<title>{$head_title|@default:$blogTitle} {if $head_subtitle} - {$head_subtitle}{/if}</title>
<meta http-equiv="Content-Type" content="text/html; charset={$head_charset}" />
<meta name="Powered-By" content="Serendipity v.{$head_version}" />
<link rel="stylesheet" type="text/css" href="{$head_link_stylesheet}" />
<link rel="alternate" type="application/rss+xml" title="{$blogTitle} RSS feed" href="{$serendipityBaseURL}{$serendipityRewritePrefix}feeds/index.rss2" />
<link rel="alternate" type="application/x.atom+xml" title="{$blogTitle} Atom feed" href="{$serendipityBaseURL}{$serendipityRewritePrefix}feeds/atom.xml" />
{if $entry_id}
<link rel="pingback" href="{$serendipityBaseURL}comment.php?type=pingback&entry_id={$entry_id}" />
{/if}
{serendipity_hookPlugin hook="frontend_header"}
</head>
-----------------------------
# my site - http://www.fazaza.com