Skip to content

Instantly share code, notes, and snippets.

@jmettes
Created March 7, 2011 08:15
Show Gist options
  • Save jmettes/858216 to your computer and use it in GitHub Desktop.
Save jmettes/858216 to your computer and use it in GitHub Desktop.
Minimal/bare-bones Blogger template; used as a starting point.
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html>
<html>
<head>
<title>
<data:blog.pageTitle/>
</title>
<b:skin><![CDATA[]]></b:skin>
</head>
<body>
<b:section id='blog'>
<b:widget id='Blog1' locked='false' title='Blog Posts' type='Blog'>
<b:includable id='nextprev'>
<b:if cond='data:olderPageUrl'>
<a expr:href='data:olderPageUrl'><data:olderPageTitle/></a>
</b:if>
<b:if cond='data:blog.pageType != &quot;index&quot;'>
<a href='/'>Home</a>
</b:if>
<b:if cond='data:newerPageUrl'>
<a expr:href='data:newerPageUrl'><data:newerPageTitle/></a>
</b:if>
</b:includable>
<b:includable id='shareButtons'/>
<b:includable id='backlinks'/>
<b:includable id='post' var='post'>
<a expr:href='data:post.url'><data:post.title/></a>
<data:post.dateHeader/>
<b:include data='post' name='labels'/>
<data:post.body/>
</b:includable>
<b:includable id='status-message'/>
<b:includable id='comment-form'/>
<b:includable id='labels' var='post'>
<b:if cond='data:post.labels'>
Labels:
<b:loop values='data:post.labels' var='label'>
<a expr:href='data:label.url' rel='tag'><data:label.name/></a>
<b:if cond='data:label.isLast != &quot;true&quot;'>, </b:if>
</b:loop>
</b:if>
</b:includable>
<b:includable id='backlinkDeleteIcon'/>
<b:includable id='mobile-nextprev'/>
<b:includable id='postQuickEdit'/>
<b:includable id='main' var='post'>
<b:include name='Postings'/>
<b:include name='nextprev'/>
</b:includable>
<b:includable id='commentDeleteIcon'/>
<b:includable id='feedLinks'/>
<b:includable id='mobile-index-post'/>
<b:includable id='feedLinksBody'/>
<b:includable id='comments' var='post'/>
<b:includable id='Postings'>
<b:loop values='data:posts' var='post'>
<b:include data='post' name='post'/>
</b:loop>
</b:includable>
</b:widget>
</b:section>
</body>
</html>
...
<b:widget id='BlogArchive1' locked='false' title='Blog Archive' type='BlogArchive'>
<b:includable id='toggle' var='interval'/>
<b:includable id='interval' var='intervalData'>
<b:loop values='data:intervalData' var='i'>
<div>
<data:i.name/>
<b:if cond='data:i.data'>
<b:include data='i.data' name='interval'/>
</b:if>
<b:if cond='data:i.posts'>
<b:loop values='data:i.posts' var='x'>
<h3><li><a expr:href='data:x.url'><data:x.title/></a></li></h3>
</b:loop>
</b:if>
</div>
</b:loop>
</b:includable>
<b:includable id='menu' var='data'/>
<b:includable id='flat' var='data'/>
<b:includable id='posts' var='posts'/>
<b:includable id='main'>
<b:if cond='data:blog.url == &quot;http://jmettes.blogspot.com/p/archive.html&quot;'>
<h2><a href='http://jmettes.blogspot.com/p/archive.html'>Archive</a></h2>
<ul><b:include data='data' name='interval'/></ul>
</b:if>
</b:includable>
</b:widget>
...
@Xarcell
Copy link

Xarcell commented Jan 4, 2014

Thanks, been looking for something like this.

@Xarcell
Copy link

Xarcell commented Jan 7, 2014

I cannot figure out why, but 404 does not work with this template.

@Xarcell
Copy link

Xarcell commented May 14, 2014

There are no comments or comment options showing up with this template.

@CHADISTIL
Copy link

There is a small blank space I want to make the frame take the entire page, when I type a character that should be consistent in the edge of the screen
Is this possible?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment