Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

site.basename changes

  • Loading branch information...
commit 93100ef295275a5726c49df920058bdbdde0b4b5 1 parent e272819
Francis Reyes authored
Showing with 19 additions and 19 deletions.
  1. +1 −0  _config.yml
  2. +17 −18 _layouts/default.html
  3. +1 −1  css/styles.css
View
1  _config.yml
@@ -1,3 +1,4 @@
+baseurl: /django-oscar/
markdown: rdiscount
pygments: true
paginate: 10
View
35 _layouts/default.html
@@ -3,36 +3,35 @@
<head>
<meta charset="utf-8" />
<title>{{ page.title }}</title>
- <base href="/django-oscar/">
- <link rel="stylesheet" href="css/styles.css" type="text/css" />
+ <link rel="stylesheet" href="{{ site.baseurl }}/css/styles.css" type="text/css" />
<!--[if IE]>
-<script src="http://html5shiv.googlep.com/svn/trunk/html5.js"></script><![endif]-->
+<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
<!--[if lte IE 7]>
-<script src="/django-oscar/js/IE8.js" type="text/javascript"></script><![endif]-->
+<script src="{{ site.baseurl }}/js/IE8.js" type="text/javascript"></script><![endif]-->
<!--[if lt IE 7]>
-<link rel="stylesheet" type="text/css" media="all" href="/django-oscar/css/ie6.css"/><![endif]-->
+<link rel="stylesheet" type="text/css" media="all" href="{{ site.baseurl }}/css/ie6.css"/><![endif]-->
</head>
<body>
<div class="ribbon">
- <a href="https://github.com/tangentlabs/django-oscar"><img src="img/ribbon.png" width="134px" height="134px" alt="Github ribbon" title="Fork me on Github" /></a>
+ <a href="https://github.com/tangentlabs/django-oscar"><img src="{{ site.baseurl }}/img/ribbon.png" width="134px" height="134px" alt="Github ribbon" title="Fork me on Github" /></a>
</div>
<header id="home">
<h1>Django Oscar <span class="snowcone">V</span><br /><strong>Domain-driven e-commerce for Django</strong></h1>
</header>
<div id="nav" class="topbar" data-scrollspy="scrollspy">
<ul>
- <li><a href="/#home"><span class="snowcone">H</span></a></li>
- <li><a href="/#synopsis">Synopsis</a></li>
- <li><a href="/#installation">Installation</a></li>
- <li><a href="/#quick_try">Quick try</a></li>
- <li><a href="/#community">Community</a></li>
- <li><a href="/#news">News</a></li>
- <li><a href="/#contributing">Contributing</a></li>
- <li><a href="/#about">About</a></li>
+ <li><a href="{{ site.baseurl }}/#home"><span class="snowcone">H</span></a></li>
+ <li><a href="{{ site.baseurl }}/#synopsis">Synopsis</a></li>
+ <li><a href="{{ site.baseurl }}/#installation">Installation</a></li>
+ <li><a href="{{ site.baseurl }}/#quick_try">Quick try</a></li>
+ <li><a href="{{ site.baseurl }}/#community">Community</a></li>
+ <li><a href="{{ site.baseurl }}/#news">News</a></li>
+ <li><a href="{{ site.baseurl }}/#contributing">Contributing</a></li>
+ <li><a href="{{ site.baseurl }}/#about">About</a></li>
</ul>
</div>
<section id="page_content">
@@ -50,10 +49,10 @@
</body>
-<script type="text/javascript" src="js/jquery-1.7.1.min.js"></script>
-<script type="text/javascript" src="js/fixed_nav.js"></script>
-<script type="text/javascript" src="js/smooth.pack.js"></script>
-<script type="text/javascript" src="js/scrollspy.js"></script>
+<script type="text/javascript" src="{{ site.baseurl }}/js/jquery-1.7.1.min.js"></script>
+<script type="text/javascript" src="{{ site.baseurl }}/js/fixed_nav.js"></script>
+<script type="text/javascript" src="{{ site.baseurl }}/js/smooth.pack.js"></script>
+<script type="text/javascript" src="{{ site.baseurl }}/js/scrollspy.js"></script>
<script>
$(document).ready(function () {
$('body > .topbar').scrollSpy();
View
2  css/styles.css
@@ -332,7 +332,7 @@ code {
code.block {
padding: 1.5em;
- background: url("img/") no-repeat 0 0 #020202;
+ background: url("../img/bgd.jpg") no-repeat 0 0 #020202;
border: 3px solid #64b6b0;
color: #fff;
margin: 1em 0 1.143em;
Please sign in to comment.
Something went wrong with that request. Please try again.