Skip to content

Instantly share code, notes, and snippets.

@kmgdevelopment
Created June 19, 2012 19:41
Show Gist options
  • Save kmgdevelopment/2956113 to your computer and use it in GitHub Desktop.
Save kmgdevelopment/2956113 to your computer and use it in GitHub Desktop.
NSM Better Meta & Preload Replacements
{preload_replace:page_title="{embed:page_title}"}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
{exp:channel:entries limit="1"}
{exp:nsm_better_meta:template
entry_id="{entry_id}"
page_title="{page_title}"
}
{/exp:channel:entries}
<link href="/css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment