Last active
March 24, 2018 09:57
-
-
Save goyalrohit/01b9eb19676795f13bd51698cb7ec18f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% 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