Fix bad URL forming
This commit is contained in:
parent
113550eb8a
commit
decd168757
2 changed files with 7 additions and 7 deletions
|
@ -1,7 +1,7 @@
|
||||||
<div class="links">
|
<div class="links">
|
||||||
<a href="{{ .Site.BaseURL }}">Home</a>
|
<a href="{{ .Site.BaseURL }}">Home</a>
|
||||||
{{ range first 1 (where .Site.Pages "Type" "post") }}
|
{{ range first 1 (where .Site.Pages "Type" "post") }}
|
||||||
<a href="{{ .Site.BaseURL }}post/">Archive</a>
|
<a href="{{ .Site.BaseURL }}/post/">Archive</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ range where .Site.Pages "Type" "!=" "post" }}
|
{{ range where .Site.Pages "Type" "!=" "post" }}
|
||||||
<a href="{{ .Permalink }}">{{ .Title }}</a>
|
<a href="{{ .Permalink }}">{{ .Title }}</a>
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
{{ if .RSSlink }}
|
{{ if .RSSlink }}
|
||||||
<link href="{{ .RSSlink }}" rel="alternative" type="application/rss+xml" title="{{ .Title }}" />
|
<link href="{{ .RSSlink }}" rel="alternative" type="application/rss+xml" title="{{ .Title }}" />
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<link rel="stylesheet" type="text/css" href="{{ .Site.BaseURL }}css/main.css" />
|
<link rel="stylesheet" type="text/css" href="{{ .Site.BaseURL }}/css/main.css" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<a id="title" href="{{ .Site.BaseURL }}" title="{{ .Site.Title }}">
|
<a id="title" href="{{ .Site.BaseURL }}" title="{{ .Site.Title }}">
|
||||||
|
@ -23,27 +23,27 @@
|
||||||
<div id="social">
|
<div id="social">
|
||||||
{{ if .Site.Params.email }}
|
{{ if .Site.Params.email }}
|
||||||
<a href="mailto:{{ .Site.Params.email }}" title="Email {{ .Site.Params.email }}">
|
<a href="mailto:{{ .Site.Params.email }}" title="Email {{ .Site.Params.email }}">
|
||||||
<img alt="Email" src="{{ .Site.BaseURL }}images/email.svg" />
|
<img alt="Email" src="{{ .Site.BaseURL }}/images/email.svg" />
|
||||||
</a>
|
</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if .Site.Params.github }}
|
{{ if .Site.Params.github }}
|
||||||
<a href="https://github.com/{{ .Site.Params.github }}" title="Github">
|
<a href="https://github.com/{{ .Site.Params.github }}" title="Github">
|
||||||
<img alt="GitHub" src="{{ .Site.BaseURL }}images/github.svg" />
|
<img alt="GitHub" src="{{ .Site.BaseURL }}/images/github.svg" />
|
||||||
</a>
|
</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if .Site.Params.facebook }}
|
{{ if .Site.Params.facebook }}
|
||||||
<a href="https://facebook.com/{{ .Site.Params.facebook }}" title="Facebook">
|
<a href="https://facebook.com/{{ .Site.Params.facebook }}" title="Facebook">
|
||||||
<img alt="Facebook" src="{{ .Site.BaseURL }}images/facebook.svg" />
|
<img alt="Facebook" src="{{ .Site.BaseURL }}/images/facebook.svg" />
|
||||||
</a>
|
</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if .Site.Params.twitter }}
|
{{ if .Site.Params.twitter }}
|
||||||
<a href="https://twitter.com/{{ .Site.Params.twitter }}" title="Twitter">
|
<a href="https://twitter.com/{{ .Site.Params.twitter }}" title="Twitter">
|
||||||
<img alt="Twitter" src="{{ .Site.BaseURL }}images/twitter.svg" />
|
<img alt="Twitter" src="{{ .Site.BaseURL }}/images/twitter.svg" />
|
||||||
</a>
|
</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if .Site.Params.linkedin }}
|
{{ if .Site.Params.linkedin }}
|
||||||
<a href="https://linkedin.com/in/{{ .Site.Params.linkedin }}" title="LinkedIn">
|
<a href="https://linkedin.com/in/{{ .Site.Params.linkedin }}" title="LinkedIn">
|
||||||
<img alt="LinkedIn" src="{{ .Site.BaseURL }}images/linkedin.svg" />
|
<img alt="LinkedIn" src="{{ .Site.BaseURL }}/images/linkedin.svg" />
|
||||||
</a>
|
</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue