Skip to content
Browse files

Remove `base` tag

This was a hack, necessary for the CMS and now no longer necessary. Removing it means that when running the site locally links an be relative rather than always going to the live site. This commit also fully qualifies some links that won't work locally yet.
  • Loading branch information
annashipman committed Nov 21, 2017
1 parent 5f3285a commit da71c2a1f10f30544cf6a150a25c824e1430d54d
Showing with 9 additions and 10 deletions.
  1. +2 −3 _includes/header.html
  2. +7 −7 _includes/menu.html
@@ -8,14 +8,13 @@
<title>{{ page.title }} - {{ site.conference.conference_year_caps }}</title>
{% endif %}

<base href="{{ site.conference.conference_year }}/" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<!--[if lt IE 9]>
<script src="html5shiv.min.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="spa.css" type="text/css">
<link rel="stylesheet" href= "{{ site.conference.conference_year }}/spa.css" type="text/css">

{% if page.url == "/" %}
@@ -26,7 +25,7 @@

<img alt="BCS" src="images/bcslogo.png" width="65" height="81">
<img alt="BCS" src="{{ site.conference.conference_year }}/images/bcslogo.png" width="65" height="81">
<a href="{{ site.conference.conference_year }}/" title="Home Page, shortcut key=1" >{{ site.conference.name_html }}</a>

@@ -1,25 +1,25 @@
<a href="{{ site.conference.conference_year }}/sponsor.html"><span>Sponsor Us</span></a>
<a href="/sponsor.html"><span>Sponsor Us</span></a>
<a href="{{ site.conference.conference_year }}/lead-a-session.html"><span>Lead a Session</span></a>
<a href="/lead-a-session.html"><span>Lead a Session</span></a>
<a href="{{ site.conference.conference_year }}/organisers.html"><span>Organisers</span></a>
<a href="/organisers.html"><span>Organisers</span></a>
<a href="{{ site.conference.conference_year }}/location.html"><span>Location</span></a>
<a href="/location.html"><span>Location</span></a>
<a href="{{ site.conference.conference_year }}/previousconferences.html"><span>Previous Conferences</span></a>
<a href="/previousconferences.html"><span>Previous Conferences</span></a>
<a href="{{ site.conference.conference_year }}/code-of-conduct.html"><span>Code of Conduct</span></a>
<a href="/code-of-conduct.html"><span>Code of Conduct</span></a>
<a href="/scripts/myprofile.php"><span>My Spa</span></a>
<a href=""><span>My Spa</span></a>

0 comments on commit da71c2a

Please sign in to comment.
You can’t perform that action at this time.