Browse Source

Fix paths relative to base URL (#35)

epvpn
Robert Jacob 6 months ago
parent
commit
5e820f6a5d
3 changed files with 9 additions and 9 deletions
  1. +1
    -1
      layouts/index.html
  2. +7
    -7
      layouts/partials/head.html
  3. +1
    -1
      layouts/partials/social.html

+ 1
- 1
layouts/index.html View File

@ -2,7 +2,7 @@
<div class="header">
<div class="pure-u-md-1-3 pure-u-sm-1">
<img class="pure-img" src="{{ .Site.BaseURL }}/images/hacKNology_Logo_small.png" alt="hacKNology Logo">
<img class="pure-img" src="{{ .Site.BaseURL }}images/hacKNology_Logo_small.png" alt="hacKNology Logo">
</div>
</div>
<div class="content">


+ 7
- 7
layouts/partials/head.html View File

@ -7,7 +7,7 @@
<title>{{ if .IsHome }}{{ .Title }}{{ else }}{{ .Title }} &middot; {{ .Site.Title }}{{ end }}</title>
<!-- CSS -->
{{ $purecss := printf "%s/web-lib/purecss-2.0.3/" .Site.BaseURL }}
{{ $purecss := printf "%sweb-lib/purecss-2.0.3/" .Site.BaseURL }}
<link rel="stylesheet" href="{{ $purecss }}pure-min.css">
{{ "<!--[if lte IE 8]>" | safeHTML }}
@ -21,19 +21,19 @@
<link rel="stylesheet" href="/css/side-menu-old-ie.css">
{{ "<![endif]-->" | safeHTML }}
{{ "<!--[if gt IE 8]><!-->" | safeHTML }}
<link rel="stylesheet" href="{{.Site.BaseURL}}/css/side-menu.css">
<link rel="stylesheet" href="{{.Site.BaseURL}}css/side-menu.css">
{{ "<!--<![endif]-->" | safeHTML }}
<link rel="stylesheet" href="{{.Site.BaseURL}}/css/blackburn.css">
<link rel="stylesheet" href="{{.Site.BaseURL}}/css/hacknology.css">
<link rel="stylesheet" href="{{.Site.BaseURL}}css/blackburn.css">
<link rel="stylesheet" href="{{.Site.BaseURL}}css/hacknology.css">
<!-- Icons -->
<link rel="stylesheet" href="{{.Site.BaseURL}}/web-lib/font-awesome-4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="{{.Site.BaseURL}}web-lib/font-awesome-4.7.0/css/font-awesome.min.css">
<!-- Fonts -->
<link href="{{.Site.BaseURL}}/web-lib/raleway/raleway.css" rel="stylesheet" type="text/css">
<link href="{{.Site.BaseURL}}web-lib/raleway/raleway.css" rel="stylesheet" type="text/css">
<link href="{{.Site.BaseURL}}/web-lib/pygments-friendly.css" rel="stylesheet" type="text/css" />
<link href="{{.Site.BaseURL}}web-lib/pygments-friendly.css" rel="stylesheet" type="text/css" />
<!-- RSS -->
{{ if .OutputFormats.Get "RSS" }}


+ 1
- 1
layouts/partials/social.html View File

@ -7,7 +7,7 @@
</li>
{{ else }}
<li class="pure-menu-item">
<a class="pure-menu-link" href="{{ .Site.BaseURL }}/news/index.xml"><i class="fa fa-rss fa-fw"></i>RSS</a>
<a class="pure-menu-link" href="{{ .Site.BaseURL }}news/index.xml"><i class="fa fa-rss fa-fw"></i>RSS</a>
</li>
{{ end }}


Loading…
Cancel
Save