Skip to content

Instantly share code, notes, and snippets.

@goyalrohit
Last active March 24, 2018 09:57
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 goyalrohit/01b9eb19676795f13bd51698cb7ec18f to your computer and use it in GitHub Desktop.
Save goyalrohit/01b9eb19676795f13bd51698cb7ec18f to your computer and use it in GitHub Desktop.
{% load cms_tags menu_tags sekizai_tags staticfiles %}
<!doctype html>
<html>
<head>
<title>{% block title %}This is my new project home page{% endblock title %}</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="stylesheet" href="{% static 'css/main.css' %}">
<style type="text/css">
.nav {
padding-left: 0;
}
.nav li {
display: inline;
list-style-type: none;
padding-right: 20px;
}
.container {
width: 940px;
margin: 0 auto
}
.content {
float: left;
width: 80%;
}
.sidebar {
float: left;
width: 20%;
}
</style>
{% render_block "css" %}
</head>
<body>
{% cms_toolbar %}
<div class="container">
{% static_placeholder 'logo' %}
<ul class="nav">
{% show_menu 0 100 100 100 %}
</ul>
{% block content %}{% endblock content %}
{% static_placeholder 'footer' %}
</div>
{% render_block "js" %}
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment