The extended text for this entry contains my entire MovableType Main Index Template.
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “DTD/xhtml1-transitional.dtd”>
<html>
<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ />
<title>
<$MTBlogName$>
</title>
<style type=”text/css” media=”screen”>
@import “http://www.davidgagne.net/style/style_code.css”;</style>
<script language=”Javascript” src=”http://www.davidgagne.net/script.js”>
</script>
</head>
<body id=”body”>
<!–#include virtual=”/head.shtml”–>
<div class=”banner”>
<$MTBlogName$>
<br />
<span class=”description”>
<$MTBlogDescription$>
</span>
</div>
<div class=”content”>
<MTEntries>
<MTDateHeader>
<div class=”date”>
<$MTEntryDate format=”%B %e, %Y”>
</div>
<br />
</MTDateHeader>
<div class=”title”>
<a name=”<$MTEntryID pad=”1″$>”>
</a>
<a title=”Category: <$MTEntryCategory$>” href=”<$MTEntryLink$>#<$MTEntryID pad=”1″$>”>
<img align=”center” src=”/images/main_site/<$MTEntryCategory$>.gif”>
</a>
<$MTEntryTitle$>
<br />
</div>
<$MTEntryBody$>
<br />
<div class=”blogdata”>
<MTEntryIfExtended>
<a title=”read more about <$MTEntryTitle$>” href=”<$MTEntryLink$>#<$MTEntryID pad=”1″$>”>more …</a>
<br />
</MTEntryIfExtended>
<MTEntryIfAllowComments>
<a href=”<$MTEntryLink$>#comments”>comments (<$MTEntryCommentCount$>)</a>
<br />
</MTEntryIfAllowComments>
</div>
<br />
</MTEntries>
</div>
<div id=”leftnav” class=”nav”>
<!–#include virtual=”/good/index.shtml”–>
<br />
<!–#include virtual=”/weblogs.shtml”–>
<br />
<div class=”quotation”>
<script>
writeText();</script>
</div>
<br />
<!–#include virtual=”/comingup.shtml”–>
<br />
Recent posts<br />
<MTEntries lastn=”5″>
<a href=”<$MTEntryLink$>”>
<$MTEntryTitle$>
</a>
<br />
</MTEntries>
Archives<br />
<MTArchiveList archive_type=”Monthly”>
<a href=”<$MTArchiveLink$>”>
<$MTArchiveTitle$>
</a>
<br>
</MTArchiveList>
</div>
<!–#include virtual=”/foot.shtml”–>
</body>
</html>
This is a comment just to test the commenting template.
And this is a second comment.
I added a line to this just after the <!–#include virtual=”/head.shtml”–> bit. The new addition is simply <!–#include virtual=”upgrade.shtml”–>’
The upgrade.shtml file is another index template. It contains the Web Standards Upgrade Initiative info which is displayed to users who have older browsers. It seems to be working fine. I’ll be interested to see if the > and < tags show in this comment.
And then on further consideration I removed that line and decided to simply include the Web Standards Upgrade Initiative in my head.shtml file and also my spam-killing code in my foot.shtml. Since I already #include head and foot in almost every page on my site, it’s just easier to do that. I wish I had thought of that six months ago!