Skip to content

Commit 4d91660

Browse files
modernise layout a bit
1 parent 068364e commit 4d91660

File tree

3 files changed

+12
-35
lines changed

3 files changed

+12
-35
lines changed

_layouts/default.html

+4-10
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
<!doctype html>
2-
<html>
2+
<html lang="en">
33
<head>
44
<meta charset="utf-8">
5-
<meta http-equiv="X-UA-Compatible" content="chrome=1">
65
<title>{{ page.title }}</title>
7-
86
<link rel="stylesheet" href="{{ '/stylesheets/styles.css' | relative_url }}">
9-
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
7+
<meta name="viewport" content="width=device-width, initial-scale=1">
108
</head>
119
<body>
1210
<div class="wrapper">
1311
<header>
14-
<h1 class="site-title"><a href="/">Altorouter</a></h1>
12+
<h1 class="site-title"><a href="{{ '/' | relative_url }}">Altorouter</a></h1>
1513
<p>PHP5.3+ Routing Class. Supports REST, dynamic and reversed routing. </p>
1614

1715
<p class="view"><a href="https://github.com/dannyvankooten/AltoRouter">View the Project on GitHub <small>dannyvankooten/AltoRouter</small></a></p>
@@ -24,14 +22,10 @@ <h1 class="site-title"><a href="/">Altorouter</a></h1>
2422
{{ content }}
2523
</section>
2624
<footer>
27-
28-
<iframe src="/github-stars.html?user=dannyvankooten&amp;repo=altorouter&amp;type=watch&amp;count=true" allowtransparency="true" frameborder="0" scrolling="0" width="120px" height="20px" style="margin-bottom: 20px;"></iframe>
29-
25+
<iframe src="/github-stars.html?user=dannyvankooten&amp;repo=altorouter&amp;type=watch&amp;count=true" allowtransparency="true" width="120px" height="20px" style="margin-bottom: 20px;"></iframe>
3026
<p>This project is maintained by <a href="https://github.com/dannyvankooten">dannyvankooten</a></p>
3127
<p><small>Hosted on GitHub Pages<br />Theme by <a rel="nofollow" href="https://github.com/orderedlist">orderedlist</a></small></p>
3228
</footer>
3329
</div>
34-
<script src="/javascripts/scale.fix.js"></script>
35-
3630
</body>
3731
</html>

index.html

+8-8
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
layout: default
44
---
55
<h1>
6-
<a name="altorouter-" class="anchor" href="#altorouter-"><span class="octicon octicon-link"></span></a>AltoRouter <a href="http://travis-ci.org/dannyvankooten/AltoRouter"><img src="https://api.travis-ci.org/dannyvankooten/AltoRouter.png" alt="Build Status"></a>
6+
<a name="altorouter-" class="anchor" href="#altorouter-"><span class="octicon octicon-link"></span></a>AltoRouter <a href="https://travis-ci.org/dannyvankooten/AltoRouter"><img src="https://api.travis-ci.org/dannyvankooten/AltoRouter.png" alt="Build Status"></a>
77
</h1>
88

99
<p class="intro">AltoRouter is a small but powerful routing class for PHP 5.3+, heavily inspired by <a href="https://github.com/chriso/klein.php/">klein.php</a>.</p>
@@ -36,11 +36,11 @@ <h2 id="using-altorouter">Using AltoRouter</h2>
3636
<p>To use AltoRouter in your project you need a web server running PHP 5.3 or newer.</p>
3737

3838
<ul>
39-
<li><a href="/usage/install.html">Install AltoRouter</a></li>
40-
<li><a href="/usage/rewrite-requests.html">Rewrite all requests to AltoRouter</a></li>
41-
<li><a href="/usage/mapping-routes.html">Map your routes</a></li>
42-
<li><a href="/usage/matching-requests.html">Match requests</a></li>
43-
<li><a href="/usage/processing-requests.html">Process the request your preferred way</a></li>
39+
<li><a href="{{ '/usage/install.html' | relative_url }}">Install AltoRouter</a></li>
40+
<li><a href="{{ '/usage/rewrite-requests.html' | relative_url }}">Rewrite all requests to AltoRouter</a></li>
41+
<li><a href="{{ '/usage/mapping-routes.html' | relative_url }}">Map your routes</a></li>
42+
<li><a href="{{ '/usage/matching-requests.html' | relative_url }}">Match requests</a></li>
43+
<li><a href="{{ '/usage/processing-requests.html' | relative_url }}">Process the request your preferred way</a></li>
4444
</ul>
4545

4646
<h2>
@@ -54,5 +54,5 @@ <h2>
5454
</ul>
5555

5656

57-
<p>Released under the <a href="/license.html">MIT Public License</a>.</p>
58-
<p>&copy; 2012-2018 <a href="https://dannyvankooten.com/">Danny van Kooten</a></p>
57+
<p>Released under the <a href="{{ '/license.html' | relative_url }}">MIT Public License</a>.</p>
58+
<p>&copy; 2012-2023 <a href="https://dannyvankooten.com/">Danny van Kooten</a></p>

javascripts/scale.fix.js

-17
This file was deleted.

0 commit comments

Comments
 (0)