Skip to content
Permalink
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="http://spaconference.org/{{ 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>
<![endif]-->
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="spa.css" type="text/css">
<link rel="stylesheet" href= "http://spaconference.org/{{ site.conference.conference_year }}/spa.css" type="text/css">
</head>

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

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

@@ -1,25 +1,25 @@
<nav>
<ul>
<li>
<a href="http://spaconference.org/{{ site.conference.conference_year }}/sponsor.html"><span>Sponsor Us</span></a>
<a href="/sponsor.html"><span>Sponsor Us</span></a>
</li>
<li>
<a href="http://spaconference.org/{{ 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>
</li>
<li>
<a href="http://spaconference.org/{{ site.conference.conference_year }}/organisers.html"><span>Organisers</span></a>
<a href="/organisers.html"><span>Organisers</span></a>
</li>
<li>
<a href="http://spaconference.org/{{ site.conference.conference_year }}/location.html"><span>Location</span></a>
<a href="/location.html"><span>Location</span></a>
</li>
<li>
<a href="http://spaconference.org/{{ site.conference.conference_year }}/previousconferences.html"><span>Previous Conferences</span></a>
<a href="/previousconferences.html"><span>Previous Conferences</span></a>
</li>
<li>
<a href="http://spaconference.org/{{ 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>
</li>
<li>
<a href="/scripts/myprofile.php"><span>My Spa</span></a>
<a href="http://spaconference.org/scripts/myprofile.php"><span>My Spa</span></a>
</li>
</ul>
</nav>

0 comments on commit da71c2a

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