Skip to content
This repository has been archived by the owner on Feb 25, 2018. It is now read-only.

Commit

Permalink
added 'main-grid'
Browse files Browse the repository at this point in the history
  • Loading branch information
Anselm Hannemann committed Nov 25, 2012
1 parent cbbcada commit 834a96f
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 0 deletions.
18 changes: 18 additions & 0 deletions assets/templates/main-grid/site_footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
</div>
</div>
<!-- CLOSE all html-elements (+wrapper) before this line -->

<script src="http://code.jquery.com/jquery-1.8.3.min.js"></script>
<script>window.jQuery || document.write('<script src="[[++site_url]]assets/templates/main/js/vendor/jquery-1.8.3.min.js"><\/script>')</script>

<script src="[[++site_url]]assets/assets/templates/main/js/plugins.js"></script>
<script src="[[++site_url]]assets/assets/templates/main/js/main.js"></script>

<script>
var _gaq=[['_setAccount','UA-XXXXX-X'],['_trackPageview']];
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
s.parentNode.insertBefore(g,s)}(document,'script'));
</script>
</body>
</html>?
39 changes: 39 additions & 0 deletions assets/templates/main-grid/site_header.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<!doctype html>
<!--[if lte IE 8 ]> <html class="no-js lt-ie9" lang="[[++cultureKey]]"> <![endif]-->
<!-- Consider adding a manifest.appcache: h5bp.com/d/Offline -->
<!--[if gt IE 8]><!--> <html class="no-js" lang="[[++cultureKey]]"> <!--<![endif]-->
<head>
<base href="[[++site_url]]">
<meta charset="[[++modx_charset:lcase]]">
<title>[[*pagetitle]] - [[++site_name]]</title>

<!-- change RSS ID or remove next line -->
<link rel="alternate" type="application/rss+xml" title="[[++site_name]] RSS Feed" href="[[~1]]">

<meta name="description" content="[[*introtext:empty=`[[*content:strip_tags]]`:limit=`200`]]">
<meta name="author" content="[[If? &subject=`[[*publishedby]]` &operator=`>` &operand=`0` &then=`[[*publishedby:userinfo=`fullname`]]` &else=`[[*createdby:userinfo=`fullname`]]`]]" />

<!-- Remove next line if you are NOT using multiple domains OR using Canonical Snippet (http://modxcms.com/extras/package/?package=705). | Google Canonical Tag SEO -->
<link rel="canonical" href="[[++site_url]][[*id:isnot=`[[++site_start]]`:then=`[[~[[*id]]]]`]]">

<!-- Place favicon.ico and apple-touch-icon.png in the root directory: mathiasbynens.be/notes/touch-icons -->

<!-- Mobile viewport optimized: h5bp.com/viewport -->
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="[[++site_url]]assets/modx-boilerplate/main/css/normalize.css">
<link rel="stylesheet" href="[[++site_url]]assets/modx-boilerplate/main/css/main.css">

<!-- Do not remove Modernizr until you don't want to feature detect browser -->
<script src="[[++site_url]]assets/modx-boilerplate/main/js/vendor/modernizr.custom.2.6.2.min.js"></script>
</head>
<body>
<!--[if lt IE 9]>
<p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
<![endif]-->
<div class="container">

<header class="row">
<!-- use this wrapper for your header of website with logotype, navigation etc. -->
</header>
<div class="main row" role="main">
<!-- Add your main content here -->
3 changes: 3 additions & 0 deletions assets/templates/main-grid/site_template.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[[$bpSiteHeader]]
[[*content]]
[[$bpSiteFooter]]

0 comments on commit 834a96f

Please sign in to comment.