root/trunk/iPhoneTemplateSet/plugins/iPhoneTemplateSet/templates/index.mtml @ 1173

Revision 1173, 1.7 kB (checked in by kaminogoya, 14 months ago)

Added the 'automatically hide addressbar' script to index and entry template.

Line 
1<?xml version="1.0" encoding="<mt:PublishCharset>"?>
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml">
4    <head>
5        <meta http-equiv="content-type" content="text/html; charset=<mt:PublishCharset>" />
6        <meta id="viewport" name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
7        <title><$mt:BlogName$></title>
8        <link rel="stylesheet" href="<$mt:BlogURL$>m/styles.css" />
9        <script type="text/javascript">
10            window.onload = function() {
11                setTimeout(scrollTo, 100, 0, 1);
12            }
13        </script>
14    </head>
15    <body>
16        <div id="header">
17            <h1><$mt:BlogName$></h1>
18        </div>
19        <div id="content">
20        <mt:Entries>
21        <mt:SetVarBlock name="MobileEntryPermalink"><$mt:BlogArchiveURL$>m/<$mt:EntryDate format="%Y/%m/"$><$mt:ArchiveFile separator="-"$></mt:SetVarBlock>
22        <mt:EntriesHeader>
23            <ul class="index">
24        </mt:EntriesHeader>
25                <li><a href="<$mt:Var name="MobileEntryPermalink"$>"><$mt:EntryTitle$></a><abbr class="published" title="<$mt:EntryDate format_name="iso8601"$>"><$mt:EntryDate format="%x %X"$></abbr></li>
26        <mt:EntriesFooter>
27            </ul>
28        </mt:EntriesFooter>
29        </mt:Entries>
30        </div>
31        <div id="footer">
32            <p>Powered by <a href="http://www.movabletype.com/" rel="generator"><$mt:ProductName$></a></p>
33        <mt:BlogIfCCLicense>
34            <p>This blog is licensed under a <a href="<$mt:BlogCCLicenseURL$>">Creative Commons License</a>.</p>
35        </mt:BlogIfCCLicense>
36        </div>
37    </body>
38</html>
Note: See TracBrowser for help on using the browser.