Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diwao/hestia-pure.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordiwao <diwao@me.com>2018-01-08 13:07:20 +0300
committerdiwao <diwao@me.com>2018-01-08 13:07:20 +0300
commit906bd75b54892b9c4b81092fe6bbc629b16514b5 (patch)
treec620797e64e47cf32e8cd860e16ba77fc15d6285
parent5a355a1f14d9b96249ce5327ee5d3208b3001410 (diff)
https対応のためパスを変更
-rw-r--r--layouts/_default/li.html2
-rw-r--r--layouts/partials/head.html2
-rw-r--r--layouts/partials/header.html2
-rw-r--r--layouts/partials/js.html2
4 files changed, 4 insertions, 4 deletions
diff --git a/layouts/_default/li.html b/layouts/_default/li.html
index c2f8e16..bc03e0c 100644
--- a/layouts/_default/li.html
+++ b/layouts/_default/li.html
@@ -1,6 +1,6 @@
<article class="card pure-u-1 pure-u-md-1-2 pure-u-lg-1-3">
<a class="card__thumb" href="{{ .Permalink }}">
- <img src="{{ if and (.Params.image) (ne .Params.image "") }}{{ .Site.BaseURL }}{{ .Params.image }}{{ else }}{{ .Site.BaseURL }}image/theme/og.png{{ end }}" alt="">
+ <img src="{{ if and (.Params.image) (ne .Params.image "") }}/{{ .Params.image }}{{ else }}/image/theme/og.png{{ end }}" alt="">
</a>
<a href="{{ .Permalink }}">
<h3>{{ .Title }}</h3>
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index c6560e2..5a69c38 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -44,6 +44,6 @@
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.7.0/styles/atom-one-dark.min.css">
<link rel="stylesheet" href="https://unpkg.com/purecss@1.0.0/build/pure-min.css">
<link rel="stylesheet" href="https://unpkg.com/purecss@1.0.0/build/grids-responsive-min.css">
- <link rel="stylesheet" href="{{ .Site.BaseURL }}css/style.css">
+ <link rel="stylesheet" href="/css/style.css">
<link rel="alternate" href="{{ .Site.BaseURL }}index.xml" type="application/rss+xml" title="{{ .Site.Title }}">
</head>
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 4994453..fa8f1bf 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -1,6 +1,6 @@
<header class="header">
{{ $isHomePage := eq .Title .Site.Title }}{{ if eq $isHomePage true }}
- <h1><a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a></h1>{{ end }}{{ if eq $isHomePage false }}<div class="site-title"><a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a></div>{{ end }}
+ <h1><a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a></h1>{{ end }}{{ if eq $isHomePage false }}<div class="site-title"><a href="/">{{ .Site.Title }}</a></div>{{ end }}
<p class="site-desc">{{ .Site.Params.description }}</p>
{{ if .Site.Params.googlecustomsearch }}
<div class="search">
diff --git a/layouts/partials/js.html b/layouts/partials/js.html
index 49b7511..45468d5 100644
--- a/layouts/partials/js.html
+++ b/layouts/partials/js.html
@@ -20,4 +20,4 @@
</script>{{ end }}
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.7.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
-<script src="{{ .Site.BaseURL }}js/script.js"></script>
+<script src="/js/script.js"></script>