feat(author): add author_link and fix highlight bug

This commit is contained in:
Dillon
2020-02-01 01:52:27 +08:00
parent 2a7611b5ae
commit 8aa4b6dce6
22 changed files with 136 additions and 110 deletions

View File

@@ -1,13 +1,13 @@
<figure>
<img
{{- $res := resources.Get "svg/loading.svg" | minify -}}
{{ $res := resources.Get "svg/loading.svg" | minify -}}
src="{{ $res.RelPermalink }}"
data-sizes="auto"
data-src="{{ .Destination | safeURL }}"
alt="{{ .Text }}"
{{- with .Title -}}
{{ with .Title -}}
title="{{ . }}"
{{- end -}}
{{ end -}}
class="lazyload"
>
<figcaption class="image-caption">