jekyll pages: use absolute path for styles/images

This commit is contained in:
Daniel Pavel 2013-06-02 12:13:10 +02:00
parent b98b94de91
commit f452d6f5b7
3 changed files with 9 additions and 8 deletions

View File

@ -1,10 +1,11 @@
title: Solaar
tagline: Linux devices manager for the Logitech Unifying Receiver.
root: /Solaar/
owner: pwr
owner_url: https://github.com/pwr
repository: https://github.com/pwr/Solaar
version: 0.8.8.1
tar_download: https://github.com/pwr/Solaar/archive/0.8.8.1.tar.gz
version: 0.8.9
tar_download: https://github.com/pwr/Solaar/archive/0.8.9.tar.gz
ga_id: UA-36908718-1
pygments: true

View File

@ -4,8 +4,8 @@
<meta charset='utf-8' />
<meta name="description" content="{{ site.tagline }}" />
<link rel="stylesheet" type="text/css" media="screen" href="style/stylesheet.css">
<link rel="icon" type="image/png" href="images/favicon.png" />
<link rel="stylesheet" type="text/css" media="screen" href="{{ site.root }}style/stylesheet.css">
<link rel="icon" type="image/png" href="{{ site.root }}images/favicon.png" />
<title>{{ page.title }}</title>
</head>
@ -16,7 +16,7 @@
<header class="inner">
<a id="forkme_banner" href="{{ site.repository }}">View on GitHub</a>
<h1 id="project_title"><img class="logo" alt="logo" src="images/solaar-logo.png" /> {{ site.title }}</h1>
<h1 id="project_title"><img class="logo" alt="logo" src="{{ site.root }}images/solaar-logo.png" /> {{ site.title }}</h1>
<h2 id="project_tagline">{{ site.tagline }}</h2>
<section id="downloads">

View File

@ -4,8 +4,8 @@
<meta charset='utf-8' />
<meta name="description" content="{{ site.tagline }}" />
<link rel="stylesheet" type="text/css" media="screen" href="style/stylesheet.css">
<link rel="icon" type="image/png" href="images/favicon.png" />
<link rel="stylesheet" type="text/css" media="screen" href="{{ site.root }}style/stylesheet.css">
<link rel="icon" type="image/png" href="{{ site.root }}images/favicon.png" />
<title>{{ page.title }}</title>
</head>
@ -15,7 +15,7 @@
<div id="header_wrap" class="outer">
<header class="inner">
<h1 id="project_title">
<a href="index.html"><img alt="logo" class="logo" src="images/solaar-logo.png" /> {{ site.title }}</a>
<a href="index.html"><img alt="logo" class="logo" src="{{ site.root }}images/solaar-logo.png" /> {{ site.title }}</a>
</h1>
</header>
</div>