Skip to content

Instantly share code, notes, and snippets.

@chochinlu
Last active December 25, 2015 13:59
Show Gist options
  • Save chochinlu/6987369 to your computer and use it in GitHub Desktop.
Save chochinlu/6987369 to your computer and use it in GitHub Desktop.
Zurb foundation4 flask template
<!DOCTYPE html>
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Zurb foundation4 flask template</title>
<link rel="stylesheet" href="{{ url_for('static', filename='css/foundation.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/custom.css') }}"> <!-- my custom css file -->
<script src="{{ url_for('static', filename='js/vendor/custom.modernizr.js') }}"></script>
<script>
var $SCRIPT_ROOT = {{ request.script_root|tojson|safe }};
</script>
</head>
<body>
<script src="{{ url_for('static', filename='js/vendor/zepto.js') }}"></script>
<script src="{{ url_for('static', filename='js/vendor/jquery.js') }}"></script>
<script src="{{ url_for('static', filename='js/foundation.min.js') }}"></script>
{% block content %}{% endblock %}
<script>
$(document).foundation();
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment