diff options
-rw-r--r-- | layouts/partials/author_card.html | 8 | ||||
-rw-r--r-- | layouts/partials/metadata.html | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/layouts/partials/author_card.html b/layouts/partials/author_card.html index 25e0701..23d97ae 100644 --- a/layouts/partials/author_card.html +++ b/layouts/partials/author_card.html @@ -1,12 +1,12 @@ <div class="mw7 center ph3 flex flex-column flex-row-ns"> <div class="w-10-ns"> - <img src="{{ .Site.Params.Owner_avatar }}" class="br-100"> + <img src="{{ .Site.Author.avatar }}" class="br-100"> </div> <div class="w-90-ns ph3-ns"> - <h5 class="f3 mv1 berkshire-swash">{{ .Site.Params.Owner }}</h5> - <h6 class="f4 fw4 pa0 ma0">{{ .Site.Params.Role }}</h6> + <h5 class="f3 mv1 berkshire-swash">{{ .Site.Author.name }}</h5> + <h6 class="f4 fw4 pa0 ma0">{{ .Site.Author.role }}</h6> <p class="f5 lh-copy"> - {{ .Site.Params.bio }} + {{ .Site.Author.bio }} </p> </div> </div> diff --git a/layouts/partials/metadata.html b/layouts/partials/metadata.html index 77373f9..f4e48e8 100644 --- a/layouts/partials/metadata.html +++ b/layouts/partials/metadata.html @@ -1,7 +1,7 @@ {{ $dateTime := .PublishDate.Format "2006-01-02" }} {{ $dateFormat := .Site.Params.dateFormat | default "Jan 2, 2006" }} -<p class="f6 lh-copy mv0 ph4 pv2">By {{ range .Params.authors }} {{ . }} {{ end }} +<p class="f6 lh-copy mv0 ph4 pv2">By {{ range .Params.author }} {{ . }} {{ end }} <br/> <i class="far fa-calendar"></i> <time class="f6 lh-copy mv0" datetime="{{ $dateTime }}">{{ .PublishDate.Format $dateFormat }}</time> |