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

github.com/mattbutton/silhouette-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt <kendoran@gmail.com>2018-12-18 11:39:01 +0300
committerMatt <kendoran@gmail.com>2018-12-18 11:39:01 +0300
commit93e0ded08d809cc6b9b6b38a49d85fad44561d58 (patch)
tree3ae8e03fa10b4fb05ae96677cd7c1fe6b0027f05
parent159805b467a48df13a55ceb5212cd14e90309dc2 (diff)
fixed image paths
-rw-r--r--exampleSite/content/post/hugoisforlovers.md3
-rw-r--r--layouts/_default/baseof.html6
-rw-r--r--layouts/_default/list.html2
-rw-r--r--layouts/partials/sidebar-about-me.html2
4 files changed, 6 insertions, 7 deletions
diff --git a/exampleSite/content/post/hugoisforlovers.md b/exampleSite/content/post/hugoisforlovers.md
index e148dd8..2ceb274 100644
--- a/exampleSite/content/post/hugoisforlovers.md
+++ b/exampleSite/content/post/hugoisforlovers.md
@@ -13,8 +13,7 @@ categories = [
"golang",
]
menu = "main"
-featureImage = "/images/hugo-logo.png"
-featureText = "FOO"
+featureImage = "images/hugo-logo.png"
+++
First, go to [Hugo releases](https://github.com/spf13/hugo/releases) and download the
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 44dda54..bc1fc9d 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -9,8 +9,8 @@
<title>{{ block "title" . }}{{ with .Params.Title }}{{ . }} | {{ end }}{{ .Site.Title }}{{ end }}</title>
- <link rel="icon" type="image/png" href='{{ "/images/favicon-16x16.png" | absURL }}' sizes="16x16">
- <link rel="icon" type="image/png" href='{{ "/images/favicon-32x32.png" | absURL }}' sizes="32x32">
+ <link rel="icon" type="image/png" href='{{ "images/favicon-16x16.png" | absURL }}' sizes="16x16">
+ <link rel="icon" type="image/png" href='{{ "images/favicon-32x32.png" | absURL }}' sizes="32x32">
<link href="https://fonts.googleapis.com/css?family=Montserrat,Oswald" rel="stylesheet">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
@@ -27,7 +27,7 @@
<body>
<nav class="navbar fixed-top navbar-expand-md navbar-dark bg-dark py-1 top-nav">
<div class="container">
- <a class="navbar-brand pr-2" href="{{ "/" | absURL }}">{{ .Site.Title | upper }}</a>
+ <a class="navbar-brand pr-2" href="{{ .Site.BaseURL }}">{{ .Site.Title | upper }}</a>
<button class="navbar-toggler collapsed" type="button" data-toggle="collapse" data-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
<i class="fas fa-bars"></i>
</button>
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 4bc62db..b3610d6 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -5,7 +5,7 @@
background-image: linear-gradient(
rgba(0, 0, 0, 0.15),
rgba(0, 0, 0, 0.15)
- ), url('{{ "/images/hero-main.jpg" | absURL }}');
+ ), url('{{ "images/hero-main.jpg" | absURL }}');
height: 500px;
}
diff --git a/layouts/partials/sidebar-about-me.html b/layouts/partials/sidebar-about-me.html
index 0c03779..957d790 100644
--- a/layouts/partials/sidebar-about-me.html
+++ b/layouts/partials/sidebar-about-me.html
@@ -2,4 +2,4 @@
<div>
{{ .Site.Params.IntroDescription }}
</div>
-<a href='{{ "/about/" | absURL }}' class="btn btn-outline-secondary mt-3" role="button">Read More...</a> \ No newline at end of file
+<a href='{{ "about/" | absURL }}' class="btn btn-outline-secondary mt-3" role="button">Read More...</a> \ No newline at end of file