Skip to content

Instantly share code, notes, and snippets.

@jbroadway
Created May 29, 2013 17:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jbroadway/5672123 to your computer and use it in GitHub Desktop.
Save jbroadway/5672123 to your computer and use it in GitHub Desktop.
Possible "basic" template for Elefant
<!DOCTYPE html>
<html>
<head>
<title>{{ window_title|none }}</title>
<meta charset="{{ i18n.charset }}" />
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Roboto:400,300" />
{% if detect('mobile') %}
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" />
<link rel="stylesheet" type="text/css" href="/css/mobile.css" />
{% else %}
<link rel="stylesheet" type="text/css" href="/css/960_compiled.css" />
<link rel="stylesheet" type="text/css" href="/css/style.css" />
<link rel="stylesheet" type="text/css" href="/css/print.css" media="print" />
{% end %}
{! admin/head !}
{{ head|none }}
</head>
<body>
<div id="wrapper" class="container_12">
<div id="head" class="grid_12">
<div class="grid_6 alpha">
<h1><a href="/">{{ conf('General', 'site_name') }}</a></h1>
</div>
<div class="grid_6 omega menu">
{! navigation/top !}
</div>
</div>
<div class="clear"></div>
<div id="body" class="grid_12 omega">
{% if title %}<h1>{{ title|none }}</h1>{% end %}
{{ body|none }}
</div>
<div class="clear"></div>
<div class="clear"></div>
<div id="footer" class="grid_12">
<div class="grid_6 alpha menu">
{! navigation/top !}
</div>
<div class="grid_6 omega powered">
{"Powered by"} <a href="http://www.elefantcms.com/">Elefant CMS</a><br />
{"Photos by"} <a href="http://www.rachaelhosein.com/">Rachael Hosein</a>
</div>
</div>
<div class="clear"></div>
</div>
{{ tail|none }}
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment