mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-01-18 19:00:24 +00:00
#25 just prefix with slashes to avoid breaking changes for people using basurl without a trailing slash"
This commit is contained in:
parent
426707b024
commit
256c632662
5 changed files with 37 additions and 37 deletions
|
@ -5,13 +5,13 @@
|
|||
<meta charset="utf-8"> {{ partial "meta.html" . }} {{ partial "favicon.html" . }} {{ .Scratch.Add "title" "" }}{{ if isset .Site.Data.titles .Title }}{{ .Scratch.Set "title" (index .Site.Data.titles .Title).title }}{{ else }}{{ .Scratch.Set "title" .Title}}{{end}}
|
||||
<title>{{ .Scratch.Get "title" }}</title>
|
||||
{{ partial "style.html" . }}
|
||||
<link href="{{ .Site.BaseURL }}css/nucleus.css" rel="stylesheet">
|
||||
<link href="{{ .Site.BaseURL }}css/font-awesome.min.css" rel="stylesheet">
|
||||
<link href="{{ .Site.BaseURL }}css/hybrid.css" rel="stylesheet">
|
||||
<link href="{{ .Site.BaseURL }}css/featherlight.min.css" rel="stylesheet">
|
||||
<link href="{{ .Site.BaseURL }}css/perfect-scrollbar.min.css" rel="stylesheet">
|
||||
<link href="{{ .Site.BaseURL }}css/theme.css" rel="stylesheet">
|
||||
<link href="{{ .Site.BaseURL }}css/hugo-theme.css" rel="stylesheet">
|
||||
<link href="{{ .Site.BaseURL }}/css/nucleus.css" rel="stylesheet">
|
||||
<link href="{{ .Site.BaseURL }}/css/font-awesome.min.css" rel="stylesheet">
|
||||
<link href="{{ .Site.BaseURL }}/css/hybrid.css" rel="stylesheet">
|
||||
<link href="{{ .Site.BaseURL }}/css/featherlight.min.css" rel="stylesheet">
|
||||
<link href="{{ .Site.BaseURL }}/css/perfect-scrollbar.min.css" rel="stylesheet">
|
||||
<link href="{{ .Site.BaseURL }}/css/theme.css" rel="stylesheet">
|
||||
<link href="{{ .Site.BaseURL }}/css/hugo-theme.css" rel="stylesheet">
|
||||
<style type="text/css">
|
||||
:root #header + #content > #left > #rlblock_left {
|
||||
display: none !important;
|
||||
|
@ -43,7 +43,7 @@
|
|||
<p>Woops. Looks like this page doesn't exist.</p>
|
||||
<p></p>
|
||||
<p><a href="{{.Site.BaseURL}}">Go to homepage</a></p>
|
||||
<p><img src="{{ .Site.BaseURL }}images/gopher-404.jpg" style="width:50%"></img></p>
|
||||
<p><img src="{{ .Site.BaseURL }}/images/gopher-404.jpg" style="width:50%"></img></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -7,13 +7,13 @@
|
|||
{{ .Scratch.Add "title" "" }}{{ if isset .Site.Data.titles .Title }}{{ .Scratch.Set "title" (index .Site.Data.titles .Title).title }}{{ else }}{{ .Scratch.Set "title" .Title}}{{end}}
|
||||
<title>{{ .Scratch.Get "title" }}</title>
|
||||
{{ partial "style.html" . }}
|
||||
<link href="{{ .Site.BaseURL }}css/nucleus.css" rel="stylesheet">
|
||||
<link href="{{ .Site.BaseURL }}css/font-awesome.min.css" rel="stylesheet">
|
||||
<link href="{{ .Site.BaseURL }}css/hybrid.css" rel="stylesheet">
|
||||
<link href="{{ .Site.BaseURL }}css/featherlight.min.css" rel="stylesheet">
|
||||
<link href="{{ .Site.BaseURL }}css/perfect-scrollbar.min.css" rel="stylesheet">
|
||||
<link href="{{ .Site.BaseURL }}css/theme.css" rel="stylesheet">
|
||||
<link href="{{ .Site.BaseURL }}css/hugo-theme.css" rel="stylesheet">
|
||||
<link href="{{ .Site.BaseURL }}/css/nucleus.css" rel="stylesheet">
|
||||
<link href="{{ .Site.BaseURL }}/css/font-awesome.min.css" rel="stylesheet">
|
||||
<link href="{{ .Site.BaseURL }}/css/hybrid.css" rel="stylesheet">
|
||||
<link href="{{ .Site.BaseURL }}/css/featherlight.min.css" rel="stylesheet">
|
||||
<link href="{{ .Site.BaseURL }}/css/perfect-scrollbar.min.css" rel="stylesheet">
|
||||
<link href="{{ .Site.BaseURL }}/css/theme.css" rel="stylesheet">
|
||||
<link href="{{ .Site.BaseURL }}/css/hugo-theme.css" rel="stylesheet">
|
||||
<style type="text/css">
|
||||
:root #header + #content > #left > #rlblock_left {
|
||||
display:none !important;
|
||||
|
|
|
@ -14,17 +14,17 @@
|
|||
<div style="left: -1000px; overflow: scroll; position: absolute; top: -1000px; border: none; box-sizing: content-box; height: 200px; margin: 0px; padding: 0px; width: 200px;">
|
||||
<div style="border: none; box-sizing: content-box; height: 200px; margin: 0px; padding: 0px; width: 200px;"></div>
|
||||
</div>
|
||||
<script src="{{ .Site.BaseURL }}js/clipboard.min.js"></script>
|
||||
<script src="{{ .Site.BaseURL }}js/perfect-scrollbar.min.js"></script>
|
||||
<script src="{{ .Site.BaseURL }}js/perfect-scrollbar.jquery.min.js"></script>
|
||||
<script src="{{ .Site.BaseURL }}js/jquery.sticky-kit.min.js"></script>
|
||||
<script src="{{ .Site.BaseURL }}js/featherlight.min.js"></script>
|
||||
<script src="{{ .Site.BaseURL }}js/html5shiv-printshiv.min.js"></script>
|
||||
<script src="{{ .Site.BaseURL }}js/highlight.pack.js"></script>
|
||||
<script src="{{ .Site.BaseURL }}/js/clipboard.min.js"></script>
|
||||
<script src="{{ .Site.BaseURL }}/js/perfect-scrollbar.min.js"></script>
|
||||
<script src="{{ .Site.BaseURL }}/js/perfect-scrollbar.jquery.min.js"></script>
|
||||
<script src="{{ .Site.BaseURL }}/js/jquery.sticky-kit.min.js"></script>
|
||||
<script src="{{ .Site.BaseURL }}/js/featherlight.min.js"></script>
|
||||
<script src="{{ .Site.BaseURL }}/js/html5shiv-printshiv.min.js"></script>
|
||||
<script src="{{ .Site.BaseURL }}/js/highlight.pack.js"></script>
|
||||
<script>hljs.initHighlightingOnLoad();</script>
|
||||
<script src="{{ .Site.BaseURL }}js/modernizr.custom.71422.js"></script>
|
||||
<script src="{{ .Site.BaseURL }}js/learn.js"></script>
|
||||
<script src="{{ .Site.BaseURL }}js/hugo-learn.js"></script>
|
||||
<script src="{{ .Site.BaseURL }}/js/modernizr.custom.71422.js"></script>
|
||||
<script src="{{ .Site.BaseURL }}/js/learn.js"></script>
|
||||
<script src="{{ .Site.BaseURL }}/js/hugo-learn.js"></script>
|
||||
{{ partial "script.html" . }}
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -8,15 +8,15 @@
|
|||
{{ partial "favicon.html" . }}
|
||||
{{ .Scratch.Add "title" "" }}{{ if isset .Site.Data.titles .Title }}{{ .Scratch.Set "title" (index .Site.Data.titles .Title).title }}{{ else }}{{ .Scratch.Set "title" .Title}}{{end}}
|
||||
<title>{{ .Scratch.Get "title" }}</title>
|
||||
<link href="{{ .Site.BaseURL }}css/nucleus.css" rel="stylesheet">
|
||||
<link href="{{ .Site.BaseURL }}css/font-awesome.min.css" rel="stylesheet">
|
||||
<link href="{{ .Site.BaseURL }}css/hybrid.css" rel="stylesheet">
|
||||
<link href="{{ .Site.BaseURL }}css/featherlight.min.css" rel="stylesheet">
|
||||
<link href="{{ .Site.BaseURL }}css/perfect-scrollbar.min.css" rel="stylesheet">
|
||||
<link href="{{ .Site.BaseURL }}css/horsey.css" rel="stylesheet">
|
||||
<link href="{{ .Site.BaseURL }}css/theme.css" rel="stylesheet">
|
||||
<link href="{{ .Site.BaseURL }}css/hugo-theme.css" rel="stylesheet">
|
||||
<script src="{{ .Site.BaseURL }}js/jquery-2.x.min.js"></script>
|
||||
<link href="{{ .Site.BaseURL }}/css/nucleus.css" rel="stylesheet">
|
||||
<link href="{{ .Site.BaseURL }}/css/font-awesome.min.css" rel="stylesheet">
|
||||
<link href="{{ .Site.BaseURL }}/css/hybrid.css" rel="stylesheet">
|
||||
<link href="{{ .Site.BaseURL }}/css/featherlight.min.css" rel="stylesheet">
|
||||
<link href="{{ .Site.BaseURL }}/css/perfect-scrollbar.min.css" rel="stylesheet">
|
||||
<link href="{{ .Site.BaseURL }}/css/horsey.css" rel="stylesheet">
|
||||
<link href="{{ .Site.BaseURL }}/css/theme.css" rel="stylesheet">
|
||||
<link href="{{ .Site.BaseURL }}/css/hugo-theme.css" rel="stylesheet">
|
||||
<script src="{{ .Site.BaseURL }}/js/jquery-2.x.min.js"></script>
|
||||
<style type="text/css">:root #header + #content > #left > #rlblock_left
|
||||
{display:none !important;}</style>
|
||||
{{ partial "style.html" . }}
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
<input id="search-by" type="text" placeholder="Search">
|
||||
<span data-search-clear=""><i class="fa fa-close"></i></span>
|
||||
</div>
|
||||
<script type="text/javascript" src="{{ .Site.BaseURL }}js/lunr.min.js"></script>
|
||||
<script type="text/javascript" src="{{ .Site.BaseURL }}js/horsey.js"></script>
|
||||
<script type="text/javascript" src="{{ .Site.BaseURL }}/js/lunr.min.js"></script>
|
||||
<script type="text/javascript" src="{{ .Site.BaseURL }}/js/horsey.js"></script>
|
||||
<script type="text/javascript">
|
||||
var baseurl = "{{ .Site.BaseURL }}";
|
||||
</script>
|
||||
<script type="text/javascript" src="{{ .Site.BaseURL }}js/search.js"></script>
|
||||
<script type="text/javascript" src="{{ .Site.BaseURL }}/js/search.js"></script>
|
||||
|
|
Loading…
Reference in a new issue