Skip to content

Commit

Permalink
remove baseurl from partials
Browse files Browse the repository at this point in the history
  • Loading branch information
rustyoz committed Aug 15, 2024
1 parent 8e4270e commit 1aa8fe7
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
22 changes: 11 additions & 11 deletions layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@
</div>
<script>
</script>
<script src="{{.Site.BaseURL}}js/blueimp-helper.js"></script>
<script src="{{.Site.BaseURL}}js/blueimp-gallery.js"></script>
<script src="{{.Site.BaseURL}}js/blueimp-gallery-fullscreen.js"></script>
<script src="{{.Site.BaseURL}}js/blueimp-gallery-indicator.js"></script>
<script src="{{.Site.BaseURL}}js/blueimp-gallery-video.js"></script>
<script src="{{.Site.BaseURL}}js/blueimp-gallery-vimeo.js"></script>
<script src="{{.Site.BaseURL}}js/blueimp-gallery-youtube.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script type="text/javascript" src="{{.Site.BaseURL}}js/jquery.js"></script>
<script type="text/javascript" src="{{.Site.BaseURL}}js/jquery.fitvids.js"></script>
<script type="text/javascript" src="{{.Site.BaseURL}}js/index.js"></script>
<script src="/static/js/blueimp-helper.js"></script>
<script src="/static/js/blueimp-gallery.js"></script>
<script src="/static/js/blueimp-gallery-fullscreen.js"></script>
<script src="/static/js/blueimp-gallery-indicator.js"></script>
<script src="/static/js/blueimp-gallery-video.js"></script>
<script src="/static/js/blueimp-gallery-vimeo.js"></script>
<script src="/static/js/blueimp-gallery-youtube.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script type="text/javascript" src="/static/js/jquery.js"></script>
<script type="text/javascript" src="/static/js/jquery.fitvids.js"></script>
<script type="text/javascript" src="/static/js/index.js"></script>
<script>
blueimp.Gallery(
document.getElementById('links').getElementsByTagName('a'),
Expand Down
22 changes: 11 additions & 11 deletions layouts/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,22 +31,22 @@
<meta name="HandheldFriendly" content="True" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<link rel="shortcut icon" href="{{.Site.BaseUrl}}images/favicon.png" type="image/png">
<link rel="icon" href="{{.Site.BaseUrl}}images/favicon.png" type="image/png">
<link rel="apple-touch-icon" href="{{.Site.BaseUrl}}images/apple-touch-icon.png" />
<link rel="shortcut icon" href="/images/favicon.png" type="image/png">
<link rel="icon" href="/images/favicon.png" type="image/png">
<link rel="apple-touch-icon" href="/images/apple-touch-icon.png" />

<link rel="stylesheet" type="text/css" href="{{.Site.BaseUrl}}css/fonts.css" />
<link rel="stylesheet" type="text/css" href="{{.Site.BaseUrl}}css/screen.css" />
<link rel="stylesheet" type="text/css" href="{{.Site.BaseUrl}}fonts/genericons.css" />
<link rel="stylesheet" type="text/css" href="/static/css/fonts.css" />
<link rel="stylesheet" type="text/css" href="/static/css/screen.css" />
<link rel="stylesheet" type="text/css" href="/fonts/genericons.css" />
<link href='http://fonts.googleapis.com/css?family=Philosopher' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Merriweather:300,700,700italic,300italic|Open+Sans:700,400" />

<link rel="stylesheet" href="{{.Site.BaseURL}}css/blueimp-gallery.css">
<script src="{{.Site.BaseURL}}js/jquery.blueimp-gallery.js"></script>
<script src="{{.Site.BaseURL}}js/blueimp-gallery.js"></script>
<link rel="stylesheet" href="/static/css/blueimp-gallery.css">
<script src="/static/js/jquery.blueimp-gallery.js"></script>
<script src="/static/js/blueimp-gallery.js"></script>

{{if .IsHome }}
<link rel="stylesheet" type="text/css" href="{{.Site.BaseUrl}}css/homepage.css" />
<link rel="stylesheet" type="text/css" href="/static/css/homepage.css" />
{{ end }}


Expand All @@ -58,7 +58,7 @@
<link href="{{.Site.Params.RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
{{else}}
{{ if ne .RelPermalink "/" }}
<link href="{{ .Site.BaseUrl }}index.xml" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
<link href="/index.xml" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
{{ end }}
{{if .IsNode}}
<link href="{{.RSSLink}}" rel="alternate" type="application/rss+xml" title="{{ if ne .RelPermalink "/" }}{{ .Title }} &middot; {{ end }}{{ .Site.Title }}" />
Expand Down

0 comments on commit 1aa8fe7

Please sign in to comment.