Merge branch 'master' into patch-1

This commit is contained in:
Jimmy Cai 2022-10-29 14:38:05 +02:00 committed by GitHub
commit e762f3f01f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -34,7 +34,7 @@
</div> </div>
{{ end }} {{ end }}
{{ if (.Params.readingTime | default (.Site.Params.article.readingTime)) }} {{ if (.Params.readingTime | default (.Site.Params.article.readingTime)) }}
<div> <div>
{{ partial "helper/icon" "clock" }} {{ partial "helper/icon" "clock" }}
<time class="article-time--reading"> <time class="article-time--reading">

View File

@ -45,6 +45,7 @@
href='{{ .URL }}' href='{{ .URL }}'
{{ if eq (default true .Params.newTab) true }}target="_blank"{{ end }} {{ if eq (default true .Params.newTab) true }}target="_blank"{{ end }}
{{ with .Name }}title="{{ . }}"{{ end }} {{ with .Name }}title="{{ . }}"{{ end }}
rel="me"
> >
{{ $icon := default "link" .Params.Icon }} {{ $icon := default "link" .Params.Icon }}
{{ with $icon }} {{ with $icon }}