Skip to content

Commit

Permalink
octopress root_url is useless in stylesheets, set background in head.…
Browse files Browse the repository at this point in the history
…html
  • Loading branch information
bijumon committed Jan 25, 2014
1 parent 859492d commit 991f8c0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 14 deletions.
8 changes: 0 additions & 8 deletions sass/custom/_styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,6 @@ a:visited, #content .blog-index article h1 a:hover {
}

/* ----- main layout ----- */
html {
background: url("/images/background.png") no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}

body {
font-size: 1em;
}
Expand Down
13 changes: 7 additions & 6 deletions source/_includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,14 @@

{% capture canonical %}{{ site.url }}{% if site.permalink contains '.html' %}{{ page.url }}{% else %}{{ page.url | remove:'index.html' }}{% endif %}{% endcapture %}
<link rel="canonical" href="{{ canonical }}">
<link href="{{ site.url }}/favicon.png" rel="icon">
<link href="{{ site.url }}/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css">
<link href="{{ site.url }}/stylesheets/data-table.css" media="screen, projection" rel="stylesheet" type="text/css" />
<script src="{{ site.url }}/javascripts/modernizr-2.0.js"></script>
<script src="{{ site.url }}/javascripts/ender.js"></script>
<script src="{{ site.url }}/javascripts/octopress.js" type="text/javascript"></script>
<link href="{{ root_url }}/favicon.png" rel="icon">
<link href="{{ root_url }}/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css">
<link href="{{ root_url }}/stylesheets/data-table.css" media="screen, projection" rel="stylesheet" type="text/css" />
<script src="{{ root_url }}/javascripts/modernizr-2.0.js"></script>
<script src="{{ root_url }}/javascripts/ender.js"></script>
<script src="{{ root_url }}/javascripts/octopress.js" type="text/javascript"></script>
<link href="{{ site.subscribe_rss }}" rel="alternate" title="{{site.title}}" type="application/atom+xml">
{% include custom/head.html %}
{% include google_analytics.html %}
<script>html{background: url("{{ root_url }}/images/background.png") no-repeat center center fixed;-webkit-background-size: cover;-moz-background-size: cover;-o-background-size: cover;background-size: cover;}</script>
</head>

0 comments on commit 991f8c0

Please sign in to comment.