Kode Template Klasik | Kode Template Modern |
---|---|
<BlogDateHeader> | <b:if cond='data:post.dateHeader'> |
</BlogDateHeader> | </b:if> |
<$BlogPageTitle$> | <data:blog.pageTitle/> |
<$BlogMetaData$> | <b:include data='blog' name='all-head-content'/> |
<style type="text/css"> | <b:skin><![CDATA[ |
</style> | ]]></b:skin> |
<$BlogURL$> | <data:blog.homepageUrl/> |
<$BlogDescription$> | <b:section class='posts' id='posts' showaddelement='yes' growth='vertical'> |
<Blogger> | <b:widget id='PostWidget' locked='false' title='Posts' type='Blog'> <b:includable id='main'> <b:loop values='data:posts' var='post'> |
</Blogger> | </b:loop> </b:includable> </b:widget> </b:section> |
<$BlogItemNumber$> | <data:post.id/> |
<$BlogDateHeaderDate$> | <data:post.dateHeader/> |
<$BlogItemPermalinkUrl$> | <data:post.url/> |
<BlogItemTitle> | <b:if cond='data:post.title'> |
</BlogItemTitle> | </b:if> |
<$BlogItemTitle$> | <data:post.title/> |
<$BlogItemBody$> | <data:post.body/> |
<$BlogItemAuthorURL$> | <data:blog.homepageUrl/> |
<$BlogItemAuthor$> | <data:post.author/> |
<$BlogItemDateTime$> | <data:post.timestamp/> |
<BlogItemCommentsEnabled> | <b:if cond='data:post.allowComments'> |
</BlogItemCommentsEnabled> | </b:if> |
<$BlogItemCommentCount$> | <data:post.numComments/> |
<$BlogItemControl$> | <span class='control'> <b:if cond='data:post.emailPostUrl'> <span class='item-action'> <a expr:href='data:post.emailPostUrl' title='Email Post'> <span class='email-post-icon'> </span> </a> </span> </b:if> <b:include data='post' name='postQuickEdit'/> </span> |
<$BlogEncoding$> | <data:blog.encoding/> |
<$BlogTitle$> | <data:blog.title/> |
<$BlogItemAuthorNickname$> | <data:post.author/> |
<$BlogItemUrl$> | <data:post.link/> |
<ItemPage> | <b:if cond='data:blog.pageType == "item"'> |
</ItemPage> | </b:if> |
<MainOrArchivePage> | <b:if cond='data:blog.pageType != "item"'> |
</MainOrArchivePage> | </b:if> |
<MainPage> | <b:if cond='data:blog.pageType == "main"'> |
</MainPage> | </b:if> |
<ArchivePage> | <b:if cond='data:blog.pageType == "archive"'> |
</ArchivePage> | </b:if> |
<$BlogItemCreate$> | <a expr:href='data:post.addCommentUrl'>Post a Comment</a> |
<BlogItemComments> | <b:loop values='data:post.comments' var='comment'> |
</BlogItemComments> | </b:loop> |
<$BlogCommentNumber$> | <data:comment.id/> |
<$BlogCommentDateTime$> | <data:comment.timestamp/> |
<$BlogCommentAuthor$> | <address style="display:inline;font-style:normal;" class="author vcard"> <b:if cond='data:comment.authorUrl != ""'> <a class="url fn" expr:href='data:comment.authorUrl'><data:comment.author/></a> <b:else/> <span class="fn"><data:comment.author/></span> </b:if> </address> |
<$BlogCommentBody$> | <data:comment.body/> |
<$BlogCommentDeleteIcon$> | <b:include data='comment' name='commentDeleteIcon'/> |
<$BlogCommentPermalinkURL$> | <data:comment.id/> |
Home » Notes » Kode template modern dan klasik
Kode template modern dan klasik
Posted by beritaini
Browse: Home > Notes > Kode template modern dan klasik
on Thursday, July 7, 2011
Berikut beberapa kode untuk template klasik dan juga perbadingan dengan kode template modern, di antaranya :