Skip to content

Instantly share code, notes, and snippets.

@adimancv
Created May 8, 2018 03:50
Show Gist options
  • Save adimancv/26ce3cee117e27e35567de016927e6a4 to your computer and use it in GitHub Desktop.
Save adimancv/26ce3cee117e27e35567de016927e6a4 to your computer and use it in GitHub Desktop.
blogger template is very simple, just display post content only
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1 -strict.dtd">
<html expr:dir='data:blog.languageDirection' xmlns='http://www.w3.org/1999/xhtml' xmlns:b='http://www.google.com/2005/gml/b' xmlns:data='http://www.google.com/2005/gml/data' xmlns:expr='http://www.google.com/2005/gml/expr'>
<head>
<title>
<b:if cond='data:blog.pageType == "index"'>
<data:blog.pageTitle/>
<b:else/>
<b:if cond='data:blog.pageType != "error_page"'>
<data:blog.pageName/> | <data:blog.title/>
<b:else/>
Page Not Found | <data:blog.title/>
</b:if>
</b:if>
</title>
<b:skin>
<![CDATA[
/*CSS Style code*/
body{
font:normal normal 14px Verdana,Geneva,sans-serif;
color:#000;padding:0 40px 40px 40px;
background:#fff;
font-size:14px;
}
]]>
</b:skin>
</head>
<body>
<!--Nav Bar menu-->
<div id='menuwrapper'>
<ul class='FirstLevel'>
<li>
<a expr:href='data:blog.homepageUrl'>
Home
</a>
</li>
<li>
<a href='https://adimancv.com/' target='_blank'>
Menu1
</a>
</li>
<li>
<a href='https://adimancv.com/' target='_blank'>
Menu2
</a>
</li>
</ul>
</div>
<!--BLOG BODY BLOG BODY BLOG BODY BLOG BODY BLOG BODY BLOG BODY BLOG BODY BLOG BODY -->
<div id='outer-wrapper'>
<!--HEADER ON BLOG BODY FOR TITLE POSTS-->
<div id='header-wrapper'>
<b:section class='header' id='header' maxwidgets='1' showaddelement='no'>
<b:widget id='HTML1' locked='true' title='Header' type='HTML'>
</b:widget>
</b:section>
</div>
<!--DATA POST CONTENT-->
<div id='content-wrapper'>
<div id='main-wrapper'>
<b:section class='main' id='main' showaddelement='yes'>
<b:widget id='Blog1' locked='true' title='Blog Posts' type='Blog'>
</b:widget>
</b:section>
</div>
</div>
</div>
<!--GADGETS ON SIDEBAR AND FOOTER-->
<div id='sidebar-wrapper'>
<b:section class='sidebar' id='sidebar' showaddelement='yes'>
</b:section>
</div>
<div id='footer-wrapper'>
<b:section class='footer' id='footer' showaddelement='yes'>
</b:section>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment