Skip to content

Instantly share code, notes, and snippets.

@cbess
Last active April 13, 2023 01:29
Show Gist options
  • Save cbess/ee42d4ee89106328b3250f3032c63ee0 to your computer and use it in GitHub Desktop.
Save cbess/ee42d4ee89106328b3250f3032c63ee0 to your computer and use it in GitHub Desktop.
Empty Blogger Theme HTML
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html>
<html 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>
<meta charset='utf-8' />
<meta content='IE=edge' http-equiv='X-UA-Compatible' />
<meta content='width=device-width, initial-scale=1' name='viewport' />
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<meta content='C. Bess - perfectGod.com' name='author' />
<title>
<data:blog.pageTitle />
</title>
<!-- bootstrap and fontawesome, replace if needed -->
<link crossorigin='anonymous' href='https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css'
integrity='sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65' rel='stylesheet' />
<link crossorigin='anonymous' href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css'
integrity='sha512-iecdLmaskl7CVkqkXNQ/ZH/XLlvWZOJyj7Yy7tcenmpD1ypASozpmT/E0iPtmFIB46ZmdtAc9eNBvH0H/ZpiBw==' referrerpolicy='no-referrer' rel='stylesheet' />
<b:skin version='1.0.1'>
<![CDATA[
/* custom CSS here */
]]>
</b:skin>
</head>
<body>
<div>custom body HTML here</div>
<div>
See PerfectGod.com
</div>
<!-- only one section is needed -->
<b:section class='main' id='page_body' name='Page Body' showaddelement='false' />
<div>custom body HTML here</div>
<a href='https://perfectgod.com/gospel/'>PerfectGod</a>
</body>
</html>
@cbess
Copy link
Author

cbess commented Apr 13, 2023

Complete Blogger Template docs (in French): https://bloggercode-blogconnexion.blogspot.com

@cbess
Copy link
Author

cbess commented Apr 13, 2023

Use the Minima theme XML for good examples to support existing Post and Page content: https://bloggercode-blogconnexion.blogspot.com/2018/04/2017-layouts-version-3.html

Basically, to support Post and Page content you must include the below in your template XML:

<b:section class='page' id='page'>
  <b:widget id='PageList1' locked='false' title='Pages' type='PageList' version='2' visible='true'></b:widget>
</b:section>

<b:section class='main' id='main' showaddelement='no'>
  <b:widget id='Blog1' locked='true' title='my blog' type='Blog' version='2' visible='true'></b:widget>
</b:section>

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