Skip to content

Commit

Permalink
Remove absolute urls
Browse files Browse the repository at this point in the history
  • Loading branch information
mondayrain committed Feb 1, 2018
1 parent 84c38b3 commit b3f6c04
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion layouts/contact/single.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{ partial "header.html" . }}

<div class="container-fluid no-gutter">
<div id="top-banner" class="row banner-section" style="background-image:url('http://{{ .Site.BaseURL}}/img/contact-banner.jpg')">
<div id="top-banner" class="row banner-section" style="background-image:url('{{ .Site.BaseURL}}/img/contact-banner.jpg')">
<div class="all-center"><span class="banner-section-text">{{ .Site.Params.pages.contactPageHeader }}</span></div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion layouts/effective-altruism/single.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{ partial "header.html" . }}

<div class="container-fluid no-gutter">
<div id="top-banner" class="row banner-section" style="background-image:url('http://{{ .Site.BaseURL}}/img/about-ea-banner.jpg')">
<div id="top-banner" class="row banner-section" style="background-image:url('{{ .Site.BaseURL}}/img/about-ea-banner.jpg')">
<div class="all-center"><span class="banner-section-text">{{ .Site.Params.pages.aboutEAPageHeader }}</span></div>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{{ partial "jumbotron.html" . }}

<div class="container-fluid no-gutter">
<div id="top-banner" class="row banner-section" style="background-image:url('http://{{ .Site.BaseURL}}/img/top-banner.jpg')">
<div id="top-banner" class="row banner-section" style="background-image:url('{{ .Site.BaseURL}}/img/top-banner.jpg')">
<div class="all-center"><span class="banner-section-text">{{ .Site.Params.homepage.topBannerText }}</span></div>
</div>
</div>
Expand Down Expand Up @@ -41,7 +41,7 @@ <h3>{{ .Site.Params.homepage.thirdSectionHeader }}</h3>
</div>

<div class="container-fluid no-gutter">
<div id="ea-network-banner" class="row banner-section" style="background-image:url('http://{{ .Site.BaseURL}}/img/bottom-banner.jpg')">
<div id="ea-network-banner" class="row banner-section" style="background-image:url('{{ .Site.BaseURL}}/img/bottom-banner.jpg')">
<div class="all-center"><span class="banner-section-text">{{ .Site.Params.homepage.bottomBannerText }}</span></div>
</div>
</div>
Expand Down
6 changes: 3 additions & 3 deletions layouts/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

<!-- Bootstrap CSS -->
<link rel="stylesheet" href="http://{{ .Site.BaseURL }}/css/bootstrap.css">
<link rel="stylesheet" href="http://{{ .Site.BaseURL }}/css/style.css">
<script src="http://{{ .Site.BaseURL }}/js/fontawesome-all.js"></script>
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/bootstrap.css">
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/style.css">
<script src="{{ .Site.BaseURL }}/js/fontawesome-all.js"></script>

<link href="https://fonts.googleapis.com/css?family=Libre+Franklin:300,400" rel="stylesheet">
</head>
Expand Down
12 changes: 6 additions & 6 deletions layouts/partials/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@
<div class="dropdown">
<a class="nav-link dropdown-toggle" data-toggle="dropdown" href="{{ .Site.BaseURL }}">{{ .Site.Params.navbar.EffectiveAltruism }}<span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="http://{{ "effective-altruism" | absLangURL }}">{{ .Site.Params.navbar.AboutEA }}</a></li>
<li><a href="http://{{ "key-terms" | absLangURL }}">{{ .Site.Params.navbar.KeyTerms }}</a></li>
<li><a href="http://{{ "organizations" | absLangURL }}">{{ .Site.Params.navbar.Organizations }}</a></li>
<li><a href="http://{{ "reading-material" | absLangURL }}">{{ .Site.Params.navbar.ReadingMaterial }}</a></li>
<li><a href="{{ "effective-altruism" | absLangURL }}">{{ .Site.Params.navbar.AboutEA }}</a></li>
<li><a href="{{ "key-terms" | absLangURL }}">{{ .Site.Params.navbar.KeyTerms }}</a></li>
<li><a href="{{ "organizations" | absLangURL }}">{{ .Site.Params.navbar.Organizations }}</a></li>
<li><a href="{{ "reading-material" | absLangURL }}">{{ .Site.Params.navbar.ReadingMaterial }}</a></li>
</ul>
</div>
<li class="nav-item">
<a class="nav-link" href="http://{{ "faq" | absLangURL }}">{{ .Site.Params.navbar.Faq }} </a>
<a class="nav-link" href="{{ "faq" | absLangURL }}">{{ .Site.Params.navbar.Faq }} </a>
</li>
<li class="nav-item">
<a class="nav-link" href="http://{{ "contact" | absLangURL }}">{{ .Site.Params.navbar.Contact }}</a>
<a class="nav-link" href="{{ "contact" | absLangURL }}">{{ .Site.Params.navbar.Contact }}</a>
</li>
{{ partial "allLanguages.html" . }}
</ul>
Expand Down

0 comments on commit b3f6c04

Please sign in to comment.