* Graham * bemethavinci OK then
Forget the blog function for now and just concentrate on the rest of the page
A basic bootstrap page for that would look like this
This is for a standard unaltered blog twig
The 'panels' for the blog will be created in the twig file when we start customizing it
(+ your _header and _footer)
<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width,initial-scale=1" />
    <title>Bootstrap page</title> 
  </head>
  <body>
    <div data-xtcontainer="container" class="container-fluid">
      <div data-xtcontainer="row" class="row">
        <div data-xtcontainer="col sm 6 1st" class="col-sm-6">          
      Your blog will go here
        </div>
        <div data-xtcontainer="col sm 6 2nd" class="col-sm-6">
          <div data-xtcontainer="panel" class="panel panel-default">
            <div data-xtcontainer="panel heading" class="panel-heading">Advertising panel heading</div>
            <div data-xtcontainer="panel body" class="panel-body">Advertising panel body</div>
            <div data-xtcontainer="panel footer" class="panel-footer">Advertising panel footer</div>
          </div>              
        </div>
      </div>
    </div>
  </body>
</html>

Copy code

On larger (768px +) screens this will show as two side by side panels of even width
on smaller screens they are stacked
The code is also safe to open in the building tool
if you create a folder named file_presets and save a copy of this template in that folder
Then reload xtgem in your browser and when you 'Create new file' in a folder or the main filebrowser the template page appears as one of the options
you can do the same for any commonly used template or code file
2017-02-16 01:33 (edited 2017-02-16 02:19 by Graham ) · (0)

Online: Guests: 1