📄 default-templates.pl
字号:
[ { 'outfile' => 'index.html', 'text' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=<$MTPublishCharset$>" /><meta name="generator" content="http://www.domain.com/" /><title><$MTBlogName encode_html="1"$></title><link rel="stylesheet" href="<$MTBlogURL$>styles-site.css" type="text/css" /><link rel="alternate" type="application/atom+xml" title="Atom" href="<$MTBlogURL$>atom.xml" /><link rel="alternate" type="application/rss+xml" title="RSS 1.0" href="<$MTBlogURL$>index.rdf" /><link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<$MTBlogURL$>index.xml" /><link rel="EditURI" type="application/rsd+xml" title="RSD" href="<$MTBlogURL$>rsd.xml" /><MTBlogIfCCLicense><$MTCCLicenseRDF$></MTBlogIfCCLicense></head><body><div id="container"><div id="banner"><h1><a href="<$MTBlogURL$>" accesskey="1"><$MTBlogName encode_html="1"$></a></h1><h2><$MTBlogDescription$></h2></div><div id="center"><div class="content"><MTEntries><$MTEntryTrackbackData$><MTDateHeader><h2><$MTEntryDate format="%x"$></h2></MTDateHeader><h3 id="a<$MTEntryID pad="1"$>"><$MTEntryTitle$></h3><$MTEntryBody$><MTEntryIfExtended><p class="extended"><a href="<$MTEntryPermalink$>#more"><MT_TRANS phrase="Continue reading"> "<$MTEntryTitle$>"</a></p></MTEntryIfExtended><p class="posted"><MT_TRANS phrase="Posted by"> <$MTEntryAuthor$> <MT_TRANS phrase="at"> <a href="<$MTEntryPermalink valid_html="1"$>"><$MTEntryDate format="%X"$></a><MTEntryIfAllowComments>| <a href="<$MTEntryPermalink archive_type="Individual"$>#comments"><MT_TRANS phrase="Comments"> (<$MTEntryCommentCount$>)</a></MTEntryIfAllowComments><MTEntryIfAllowPings>| <a href="<$MTEntryPermalink archive_type="Individual"$>#trackbacks"><MT_TRANS phrase="TrackBack"> (<$MTEntryTrackbackCount$>)</a></MTEntryIfAllowPings></p></MTEntries></div></div><div id="right"><div class="sidebar"><div id="calendar"><table summary="<MT_TRANS phrase="Monthly calendar with links to each day\'s posts">"><caption><$MTDate format="%B %Y"$></caption><tr><th abbr="<MT_TRANS phrase="Sunday">"><MT_TRANS phrase="Sun"></th><th abbr="<MT_TRANS phrase="Monday">"><MT_TRANS phrase="Mon"></th><th abbr="<MT_TRANS phrase="Tuesday">"><MT_TRANS phrase="Tue"></th><th abbr="<MT_TRANS phrase="Wednesday">"><MT_TRANS phrase="Wed"></th><th abbr="<MT_TRANS phrase="Thursday">"><MT_TRANS phrase="Thu"></th><th abbr="<MT_TRANS phrase="Friday">"><MT_TRANS phrase="Fri"></th><th abbr="<MT_TRANS phrase="Saturday">"><MT_TRANS phrase="Sat"></th></tr><MTCalendar><MTCalendarWeekHeader><tr></MTCalendarWeekHeader><td><MTCalendarIfEntries><MTEntries lastn="1"><a href="<$MTEntryPermalink$>"><$MTCalendarDay$></a></MTEntries></MTCalendarIfEntries><MTCalendarIfNoEntries><$MTCalendarDay$></MTCalendarIfNoEntries><MTCalendarIfBlank> </MTCalendarIfBlank></td><MTCalendarWeekFooter></tr></MTCalendarWeekFooter></MTCalendar></table></div><h2><MT_TRANS phrase="Search"></h2> <div class="link-note"><form method="get" action="<$MTCGIPath$><$MTSearchScript$>"><input type="hidden" name="IncludeBlogs" value="<$MTBlogID$>" /><label for="search" accesskey="4"><MT_TRANS phrase="Search this site:"></label><br /><input id="search" name="search" size="20" /><br /><input type="submit" value="<MT_TRANS phrase="Search">" /></form></div><div id="categories"><h2><MT_TRANS phrase="Categories"></h2><MTSubCategories><MTSubCatIsFirst><ul></MTSubCatIsFirst><MTIfNonZero tag="MTCategoryCount"><li><a href="<$MTCategoryArchiveLink$>" title="<$MTCategoryDescription$>"><MTCategoryLabel></a><MTElse><li><MTCategoryLabel></MTElse></MTIfNonZero><MTSubCatsRecurse></li><MTSubCatIsLast></ul></MTSubCatIsLast></MTSubCategories></div><h2><MT_TRANS phrase="Archives"></h2><ul><MTArchiveList archive_type="Monthly"><li><a href="<$MTArchiveLink$>"><$MTArchiveTitle$></a></li></MTArchiveList></ul><h2><MT_TRANS phrase="Recent Entries"></h2><ul><MTEntries lastn="10"><li><a href="<$MTEntryPermalink$>"><$MTEntryTitle$></a></li></MTEntries></ul><div class="link-note"><a href="<$MTBlogURL$>index.rdf"><MT_TRANS phrase="Syndicate this site"> (XML)</a></div><MTBlogIfCCLicense><div class="link-note"><a href="<$MTBlogCCLicenseURL$>"><img alt="Creative Commons License" src="<$MTBlogCCLicenseImage$>" /></a><br /><MT_TRANS phrase="This weblog is licensed under a"> <a href="<$MTBlogCCLicenseURL$>">Creative Commons License</a>.</div></MTBlogIfCCLicense><div id="powered"><MT_TRANS phrase="Powered by"><br />Movable Type <$MTVersion$><br /> </div></div></div><div style="clear: both;"> </div></div></body></html>', 'name' => 'Main Index', 'type' => 'index', 'rebuild_me' => '1' }, { 'outfile' => 'mtview.php', 'text' => '<?php include(\'<$MTCGIServerPath$>/php/mt.php\'); $mt = new MT(<$MTBlogID$>, \'<$MTCGIServerPath$>/mt.cfg\'); $mt->view();?>', 'name' => 'Dynamic Site Bootstrapper', 'type' => 'index', 'rebuild_me' => 1, }, { 'outfile' => 'rsd.xml', 'text' => '<?xml version="1.0"?> <rsd version="1.0" xmlns="http://archipelago.phrasewise.com/rsd"><service><engineName>Movable Type <$MTVersion$></engineName> <homePageLink><$MTBlogURL$></homePageLink><apis><api name="MetaWeblog" preferred="true" apiLink="<$MTCGIPath$><$MTXMLRPCScript$>" blogID="<$MTBlogID$>" /><api name="Blogger" preferred="false" apiLink="<$MTCGIPath$><$MTXMLRPCScript$>" blogID="<$MTBlogID$>" /></apis></service></rsd>', 'name' => 'RSD', 'type' => 'index', 'rebuild_me' => '1' }, { 'outfile' => 'atom.xml', 'text' => '<?xml version="1.0" encoding="<$MTPublishCharset$>"?><feed version="0.3" xmlns="http://purl.org/atom/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xml:lang="<$MTBlogLanguage ietf="1"$>"><title><$MTBlogName remove_html="1" encode_xml="1"$></title><link rel="alternate" type="text/html" href="<$MTBlogURL encode_xml="1"$>" /><modified><MTEntries lastn="1"><$MTEntryModifiedDate utc="1" format="%Y-%m-%dT%H:%M:%SZ"$></MTEntries></modified><tagline><$MTBlogDescription remove_html="1" encode_xml="1"$></tagline><id>tag:<$MTBlogHost exclude_port="1" encode_xml="1"$>,<$MTDate format="%Y"$>:<$MTBlogRelativeURL encode_xml="1"$>/<$MTBlogID$></id><generator version="<$MTVersion$>">Movable Type</generator><copyright><MTEntries lastn="1">Copyright (c) <$MTEntryDate format="%Y"$>, <$MTEntryAuthor encode_xml="1"$></MTEntries></copyright><MTEntries lastn="15"><entry><title><$MTEntryTitle remove_html="1" encode_xml="1"$></title><link rel="alternate" type="text/html" href="<$MTEntryPermalink encode_xml="1"$>" /><modified><$MTEntryModifiedDate utc="1" format="%Y-%m-%dT%H:%M:%SZ"$></modified><issued><$MTEntryDate utc="1" format="%Y-%m-%dT%H:%M:%SZ"$></issued><id>tag:<$MTBlogHost exclude_port="1" encode_xml="1"$>,<$MTEntryDate format="%Y">:<$MTBlogRelativeURL encode_xml="1"$>/<$MTBlogID$>.<$MTEntryID$></id><created><$MTEntryDate utc="1" format="%Y-%m-%dT%H:%M:%SZ"$></created><summary type="text/plain"><$MTEntryExcerpt remove_html="1" encode_xml="1"$></summary><author><name><$MTEntryAuthor encode_xml="1"$></name><MTIfNonEmpty tag="MTEntryAuthorURL"><url><$MTEntryAuthorURL encode_xml="1"$></url></MTIfNonEmpty><MTIfNonEmpty tag="MTEntryAuthorEmail"><email><$MTEntryAuthorEmail encode_xml="1"$></email></MTIfNonEmpty></author><MTIfNonEmpty tag="MTEntryCategory"><dc:subject><$MTEntryCategory encode_xml="1"$></dc:subject></MTIfNonEmpty><content type="text/html" mode="escaped" xml:lang="<$MTBlogLanguage ietf="1"$>" xml:base="<$MTBlogURL encode_xml="1"$>"><$MTEntryBody encode_xml="1"$><$MTEntryMore encode_xml="1"$></content></entry></MTEntries></feed>', 'name' => 'Atom Index', 'type' => 'index', 'rebuild_me' => '1' }, { 'outfile' => 'index.xml', 'text' => '<?xml version="1.0" encoding="<$MTPublishCharset$>"?><rss version="2.0"><channel><title><$MTBlogName remove_html="1" encode_xml="1"$></title><link><$MTBlogURL$></link><description><$MTBlogDescription remove_html="1" encode_xml="1"$></description><language><$MTBlogLanguage ietf="1"$></language><copyright>Copyright <$MTDate format="%Y"$></copyright><lastBuildDate><MTEntries lastn="1"><$MTEntryDate format_name="rfc822"$></MTEntries></lastBuildDate><generator>Movable Type 3.17</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs> <MTEntries lastn="15"><item><title><$MTEntryTitle remove_html="1" encode_xml="1"$></title><description><$MTEntryBody encode_xml="1"$></description><link><$MTEntryPermalink encode_xml="1"$></link><guid><$MTEntryPermalink encode_xml="1"$></guid><category><$MTEntryCategory remove_html="1" encode_xml="1"$></category><pubDate><$MTEntryDate format_name="rfc822"$></pubDate></item></MTEntries></channel></rss>', 'name' => 'RSS 2.0 Index', 'type' => 'index', 'rebuild_me' => '1' }, { 'outfile' => 'archives.html', 'text' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=<$MTPublishCharset$>" /><meta name="generator" content="http://www.domain.com/" /><title><$MTBlogName encode_html="1"$> Archives</title><link rel="stylesheet" href="<$MTBlogURL$>styles-site.css" type="text/css" /><link rel="alternate" type="application/rss+xml" title="RSS" href="<$MTBlogURL$>index.rdf" /><link rel="alternate" type="application/atom+xml" title="Atom" href="<$MTBlogURL$>atom.xml" /></head><body><div id="container"><div id="banner"><h1><a href="<$MTBlogURL$>" accesskey="1"><$MTBlogName encode_html="1"$></a></h1><h2><$MTBlogDescription$></h2></div><div class="content"><h2><MT_TRANS phrase="Archives"></h2><p><MTArchiveList><a href="<$MTArchiveLink$>"><$MTArchiveTitle$></a><br /></MTArchiveList></p></div></div></body></html>', 'name' => 'Master Archive Index', 'type' => 'index', 'rebuild_me' => '1' }, { 'text' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=<$MTPublishCharset$>" /><meta name="generator" content="http://www.domain.com/" /><title><$MTBlogName encode_html="1"$>: <MT_TRANS phrase="Comment Preview"></title><link rel="stylesheet" href="<$MTBlogURL$>styles-site.css" type="text/css" /><MTInclude module="Remember Me"></head><body><div id="container"><div id="banner"><h1><a href="<$MTBlogURL$>" accesskey="1"><$MTBlogName encode_html="1"$></a></h1><h2><$MTBlogDescription$></h2></div><div class="content"><h2><MT_TRANS phrase="Previewing your Comment"></h2><$MTCommentPreviewBody$><p class="posted"><MT_TRANS phrase="Posted by"> <$MTCommentPreviewAuthorLink spam_protect="1"$> <MT_TRANS phrase="at"> <$MTCommentPreviewDate$></p><MTIfCommentsAllowed><MTCommentFields preview="1" static="1"></MTIfCommentsAllowed><h2><MT_TRANS phrase="Previous Comments"></h2><MTComments><$MTCommentBody$><p class="posted"><MT_TRANS phrase="Posted by"> <$MTCommentAuthorLink default_name="Anonymous" spam_protect="1"$> <MT_TRANS phrase="at"> <$MTCommentDate$></p></MTComments></div></div></body></html>', 'name' => 'Comment Preview Template', 'type' => 'comment_preview', 'rebuild_me' => '0' }, { 'text' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=<$MTPublishCharset$>" /><meta name="generator" content="http://www.domain.com/" /><title><$MTBlogName encode_html="1"$>: <MT_TRANS phrase="Thank You for Commenting"></title><link rel="stylesheet" href="<$MTBlogURL$>styles-site.css" type="text/css" /><script language="JavaScript">function getCookie (name) { var prefix = name + \'=\'; var c = document.cookie; var nullstring = \'\'; var cookieStartIndex = c.indexOf(prefix); if (cookieStartIndex == -1) return nullstring; var cookieEndIndex = c.indexOf(";", cookieStartIndex + prefix.length); if (cookieEndIndex == -1) cookieEndIndex = c.length; return unescape(c.substring(cookieStartIndex + prefix.length, cookieEndIndex));}</script></head><body><div id="container"><div id="banner"><h1><a href="<$MTBlogURL$>" accesskey="1"><$MTBlogName encode_html="1"$></a></h1><h2><$MTBlogDescription$></h2></div><div class="content"><h2><MT_TRANS phrase="Thank You for Commenting"></h2><p><MT_TRANS phrase="Your comment has been received. To protect against malicious comments, I have enabled a feature that allows your comments to be held for approval the first time you post a comment. I\'ll approve your comment when convenient; there is no need to re-post your comment."><a href="<MTEntryLink>"><MT_TRANS phrase="Return to the comment page"></a></p></div></div></body></html>', 'name' => 'Comment Pending Message', 'type' => 'comment_pending', 'rebuild_me' => '0' }, { 'text' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=<$MTPublishCharset$>" /><meta name="generator" content="http://www.domain.com/" /><title><$MTBlogName encode_html="1"$>: <MT_TRANS phrase="Comment Submission Error"></title><link rel="stylesheet" href="<$MTBlogURL$>styles-site.css" type="text/css" /><MTInclude module="Remember Me"></head><body><div id="container"><div id="banner"><h1><a href="<$MTBlogURL$>" accesskey="1"><$MTBlogName encode_html="1"$></a></h1><h2><$MTBlogDescription$></h2></div><div class="content"><h2><MT_TRANS phrase="Comment Submission Error"></h2><p><MT_TRANS phrase="Your comment submission failed for the following reasons:"></p><blockquote><strong><$MTErrorMessage$></strong></blockquote><MTIfCommentsAllowed><MTCommentFields preview="1" static="1"></MTIfCommentsAllowed></div></div></body></html>', 'name' => 'Comment Error Template', 'type' => 'comment_error', 'rebuild_me' => '0' }, {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -