mirror of https://github.com/jpanther/congo.git
commit
d993ca047c
|
@ -15,7 +15,7 @@ enableEmoji = true
|
||||||
|
|
||||||
[author]
|
[author]
|
||||||
name = "Congo"
|
name = "Congo"
|
||||||
image = "/img/author.jpg"
|
image = "img/author.jpg"
|
||||||
links = [
|
links = [
|
||||||
{ twitter = "https://twitter.com/" },
|
{ twitter = "https://twitter.com/" },
|
||||||
{ facebook = "https://facebook.com/" },
|
{ facebook = "https://facebook.com/" },
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{{ if .Params.showAuthor | default (.Site.Params.article.showAuthor | default true) }}
|
{{ if .Params.showAuthor | default (.Site.Params.article.showAuthor | default true) }}
|
||||||
<div class="flex items-center">
|
<div class="flex items-center">
|
||||||
{{ with .Site.Author.image }}
|
{{ 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 }}
|
{{ end }}
|
||||||
<div>
|
<div>
|
||||||
{{ with .Site.Author.name }}
|
{{ with .Site.Author.name }}
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
>
|
>
|
||||||
<header class="flex flex-col items-center mb-3">
|
<header class="flex flex-col items-center mb-3">
|
||||||
{{ with .Site.Author.image }}
|
{{ 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 }}
|
{{ end }}
|
||||||
<h1 class="text-4xl font-extrabold">
|
<h1 class="text-4xl font-extrabold">
|
||||||
{{ .Site.Author.name | default .Site.Title }}
|
{{ .Site.Author.name | default .Site.Title }}
|
||||||
|
|
Loading…
Reference in New Issue