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>


There are 4 comments on this post

  1. This is a comment just to test the commenting template.

  2. And this is a second comment.

  3. I added a line to this just after the <!–#include virtual=”/head.shtml”–> bit. The new addition is simply <!–#include virtual=”upgrade.shtml”–&gt’
    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.

  4. 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!

Add to the discussion:

I'll never share your email address and it won't be published.

What Is This?

davidgagne.net is the personal weblog of me, David Vincent Gagne. I've been publishing here since 1999, which makes this one of the oldest continuously-updated websites on the Internet.

bartender.live

A few years ago I was trying to determine what cocktails I could make with the alcohol I had at home. I searched the App Store but couldn't find an app that would let me do that, so I built one.

Hemingway

You can read dozens of essays and articles and find hundreds of links to other sites with stories and information about Ernest Hemingway in The Hemingway Collection.