Skip to content

Commit b915478

Browse files
committed
Make assets and urls relative to site root
1 parent 9990fe4 commit b915478

File tree

3 files changed

+14
-38
lines changed

3 files changed

+14
-38
lines changed

_includes/navigation.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
<div class="navbar">
33
{% for item in site.data.navbar.navbar %}
44
{% if item.subItems == null %}
5-
<a href="{{ item.url }}">{{ item.title }}</a>
5+
<a href="/{{ item.url }}">{{ item.title }}</a>
66
{% else %}
77
<div class="dropdown">
88
<button class="dropbtn">{{ item.title }}
99
<i class="fa fa-caret-down"></i>
1010
</button>
1111
<div class="dropdown-content">
1212
{% for entry in item.subItems %}
13-
<a href="{{ entry.url }}">{{ entry.title }}</a>
13+
<a href="/{{ entry.url }}">{{ entry.title }}</a>
1414
{% endfor %}
1515
</div>
1616
</div>

_layouts/default.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
<meta charset='utf-8'>
66
<meta http-equiv="X-UA-Compatible" content="IE=edge">
77
<meta name="viewport" content="width=device-width,maximum-scale=2">
8-
<link rel="stylesheet" type="text/css" media="screen" href="assets/css/style.css?">
9-
<link rel="icon" type="image/png" href="assets/favicon32.png">
8+
<link rel="stylesheet" type="text/css" media="screen" href="/assets/css/style.css?">
9+
<link rel="icon" type="image/png" href="/assets/favicon32.png">
1010

1111
{% seo %}
1212
</head>
@@ -18,7 +18,7 @@
1818
<header class="inner">
1919
<a id="forkme_banner" href="https://github.com/jythontools/jython">View on Github</a>
2020

21-
<a id=logo href="index"><img id="logo" src="assets/jython.png" alt="Jython Logo" height="70" width="109"></a>
21+
<a id=logo href="/index"><img id="logo" src="/assets/jython.png" alt="Jython Logo" height="70" width="109"></a>
2222

2323
{% if site.show_downloads %}
2424
<section id="downloads">

news.md

Lines changed: 9 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,14 @@
11
---
22
title: News
3+
layout: default
34
---
4-
## News
5-
6-
### New website (October 2018)
7-
Welcome to the new Jython website. The main improvements are:
8-
- Redesign to fit the modern web, e.g. mobile responsive
9-
- Move hosting to [GitHub pages](https://pages.github.com/). To allow easier maintenance and encourage community contribution
10-
- Delivered over HTTPS
11-
- Content updated to reflect latest binary releases
12-
13-
### Jython 2.7.1 Final Released (July 2017)
14-
15-
We thought 2017-07-01 was a perfect time to release version 2.7.1 This is a bugfix release. Bug fixes include improvements in SSL and pip support along with lots of improvements in CPython compatibility.
16-
17-
Please see the [NEWS](https://github.com/jythontools/jython/blob/master/NEWS) file for detailed release notes. This release of Jython requires JDK 7 or above.
18-
19-
This release is being hosted at maven central. There are three main distributions. In order of popularity:
20-
21-
- Most likely, you want the [traditional installer](http://search.maven.org/remotecontent?filepath=org/python/jython-installer/2.7.1/jython-installer-2.7.1.jar). NOTE: the installer automatically installs pip and setuptools (unless you uncheck that option), but you must unset `JYTHON_HOME` if you have it set.
22-
- A [pre-built standalone version](http://search.maven.org/remotecontent?filepath=org/python/jython-standalone/2.7.1/jython-standalone-2.7.1.jar).
235

24-
### Jython 2.7.0 Final Released (May 2015)
25-
26-
Please see the [NEWS](https://github.com/jythontools/jython/blob/master/NEWS) file for detailed release notes.
27-
28-
Read more on [Frank Wierzbickis Weblog](http://fwierzbicki.blogspot.fi/2015/05/jython-270-final-released.html)
29-
30-
### Jython 2.7 Release Candidate 3 Released (April 2015)
31-
32-
Please see the [NEWS](https://github.com/jythontools/jython/blob/master/NEWS) file for detailed release notes.
33-
34-
Read more on [Frank Wierzbickis Weblog](http://fwierzbicki.blogspot.fi/2015/04/jython-27-release-candidate-3-available.html)
35-
36-
### Jython 2.7 PyCon 2015 Talk** (April 2015)
6+
## News
377

38-
Jim Baker gave a talk at PyCon 2015 in Montreal about how we got to Jython 2.7 and what's coming next. [Watch the video here](https://www.youtube.com/watch?v=hLm3garVQFo&gt)
8+
<div>
9+
{% for post in site.posts %}
10+
<h3><a href="{{ post.url }}">{{ post.title }}</a></h3>
11+
<h4>{{ post.date | date: "%b %-d, %Y" }}</h4>
12+
<p>{{ post.excerpt }} <a href="{{ post.url }}">more...</a></p>
13+
{% endfor %}
14+
</div>

0 commit comments

Comments
 (0)