🔀 Merge branch 'dev' into stable

pull/155/head v1.0.0
James Panther 2021-08-16 17:44:03 +10:00
commit d993ca047c
No known key found for this signature in database
GPG Key ID: D36F789E45745D17
3 changed files with 3 additions and 3 deletions

View File

@ -15,7 +15,7 @@ enableEmoji = true
[author]
name = "Congo"
image = "/img/author.jpg"
image = "img/author.jpg"
links = [
{ twitter = "https://twitter.com/" },
{ facebook = "https://facebook.com/" },

View File

@ -1,7 +1,7 @@
{{ if .Params.showAuthor | default (.Site.Params.article.showAuthor | default true) }}
<div class="flex items-center">
{{ with .Site.Author.image }}
<img class="w-24 h-24 !mt-0 !mb-0 mr-4 rounded-full" src="{{ . }}" />
<img class="w-24 h-24 !mt-0 !mb-0 mr-4 rounded-full" src="{{ . | absURL }}" />
{{ end }}
<div>
{{ with .Site.Author.name }}

View File

@ -8,7 +8,7 @@
>
<header class="flex flex-col items-center mb-3">
{{ with .Site.Author.image }}
<img class="mb-2 rounded-full w-36 h-36" src="{{ . }}" />
<img class="mb-2 rounded-full w-36 h-36" src="{{ . | absURL }}" />
{{ end }}
<h1 class="text-4xl font-extrabold">
{{ .Site.Author.name | default .Site.Title }}