Skip to content

Commit

Permalink
🔀 Merge branch 'dev' into stable
Browse files Browse the repository at this point in the history
  • Loading branch information
jpanther committed Aug 16, 2021
2 parents e004dff + 6816ff0 commit d993ca0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion exampleSite/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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/" },
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/author.html
Original file line number Diff line number Diff line change
@@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/home/profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit d993ca0

Please sign in to comment.