This example is based on a folder called Blog
The codes given are Complete pages and must be copied to blank plain-text files
The resulting pages are safe to open and edit or add content using the building tool

Post List
This is the post list page
In the Blog folder create a index file and copy this code to that file
this code includes a xt:script xt:filelist to display the posts with a xt:include in the filelist template to display the descriptions
and a javascript to convert the file list pagination to bootstrap markup
Plus a blank bootstrap panel for any custom content
The resulting page is safe to open and edit or add content using the building tool
After you have created the file open it with the building tool and set your own title and meta description from the building tool page options

Post Templates In the main filebrowser create a folder called file_presets This folder is used to contain template files that you can create copies in any folder using the create new file option at the bottom of any folder In that folder create a file named blog post Copy this code to that file
This page template is used to create the actual post pages in the /Blog/posts folder (you just select 'blog post' from the 'new file' options) it has xt:include functions to add the common head data heading and footer files plus the comments panel your post content goes in the post body container and can use anything you can use on a standard xtgem page After you have created the file open it with the building tool and set your own title and meta description from the building tool page options Description Template You can also create a description file for the post In file_presets create a file named blog post description copy this code to that file When creating the description file you MUST give it a .txt extension The resulting page is safe to open and edit or add content using the building tool This file holds the description of the post that appears in the post list xt:functions xt:widgets and xtscript will not work in the description file only normal html css javascript etc The file is 'included' into the post list entry for the page
In the Blog folder create folders named includes and posts in the includes folder create these files head_data This file holds any data to be included in the <head> area of all the posts NOTE: _headtags still applies and can override this file
post_top This file holds the content that appears above the blog post The resulting page is safe to open and edit or add content using the building tool
post_bottom This file holds the content that appears below the blog post it currently holds code to produce hupso share buttons and the 'back to posts' button The resulting page is safe to open and edit or add content using the building tool
comments_panel For the comments I am using http://htmlcommentbox.com I have included the 'translation/custom labels' code but you must add the actual comment box code yourself from their page This is due to it containing a hash to identify the comment box owner The resulting page is safe to open and edit or add content using the building tool
 
0
Right panel
***************

Disneyland 1972 Love the old s