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

github.com/vaga/hugo-theme-m10c.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Quintão <ghustavus@gmail.com>2019-06-17 22:03:12 +0300
committerFabien <vaga@users.noreply.github.com>2019-06-17 22:52:30 +0300
commit621b9e40514bf5f65843c81bfdd35a143eab8f2d (patch)
treedf62b347f2ebccd527f094d923341c483543a29c
parent752e38782a97c9439c9a323e277d504342c97cd5 (diff)
re insert relURL
reinsert relURL wrongly removed. Co-Authored-By: Fabien <vaga@users.noreply.github.com>
-rw-r--r--layouts/_default/baseof.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index a10b797..684af5f 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -17,7 +17,7 @@
</head>
<body>
<header class="app-header">
- <a href="{{ .Site.BaseURL }}"><img class="app-header-avatar" src="{{.Site.Params.avatar | default " avatar.jpg "}}" alt="{{ .Site.Params.author | default "John Doe" }}" /></a>
+ <a href="{{ .Site.BaseURL }}"><img class="app-header-avatar" src="{{ .Site.Params.avatar | default "avatar.jpg" | relURL }}" alt="{{ .Site.Params.author | default "John Doe" }}" /></a>
<h1>{{ .Site.Title }}</h1>
<p>{{ .Site.Params.description | default "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc vehicula turpis sit amet elit pretium." }}</p>
<div class="app-header-social">