Skip to content

Instantly share code, notes, and snippets.

@seb-thomas
Created March 16, 2012 10:28
Show Gist options
  • Select an option

  • Save seb-thomas/2049470 to your computer and use it in GitHub Desktop.

Select an option

Save seb-thomas/2049470 to your computer and use it in GitHub Desktop.
Edited version of our master template, with textbox for shadow
{% load cms_tags sekizai_tags menu_tags %}
<!doctype html>
<!-- stripped and modified basis fo the paul irish html5 boilerplate (in particular:
https://raw.github.com/paulirish/html5-boilerplate/master/index.html) -->
<head>
<meta charset="utf-8">
<title>{{ request.current_page.get_title }}</title>
<meta name="description" content="">
<meta name="author" content="">
{% render_block "css" %}
{% addtoblock "css" %}
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/normalize.css" />
<link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/themes/base/jquery-ui.css" />
<link rel="stylesheet/less" type="text/css" href="{{ STATIC_URL }}css/slider.less">
<link rel="stylesheet/less" type="text/css" href="{{ STATIC_URL }}css/styles.less">
{% endaddtoblock %}
{% addtoblock "js" %}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js" type="text/javascript"></script>
<script src="{{ STATIC_URL }}js/modernizr.js" type="text/javascript"></script>
<script src="{{ STATIC_URL }}js/less-1.3.0.min.js" type="text/javascript"></script>
<script src="{{ STATIC_URL }}js/jquery.udoxslider.js" type="text/javascript"></script>
{% endaddtoblock %}
</head>
<body class="{% block body_class %}{% endblock %}" id="{% block body_id %}{% endblock %}">
{% block header %}
{% include "blocks/header.html" %}
{% endblock %}
<div class="wrapper" id="page_content">
<div class="central_content">
<!--Box with lifted shadow is here! :) -->
<div class="testbox"></div>
</div>
</div>
{% block footer %}
{% include "blocks/footer.html" %}
{% endblock %}
{# Since scripts block, place all javascript last thing #}
{% render_block "js" %}
<!--cboxOverlay is the background for the lightbox of the slider-->
<div id="cboxOverlay" style="opacity: 0.6; cursor: pointer; "></div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment