diff options
author | 贺叶霜 <i@heysh.xyz> | 2023-05-29 06:43:23 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-29 06:43:23 +0300 |
commit | 20bbb65bfaf691811ccc7ac900371098536bfe18 (patch) | |
tree | eaa5cea9c9a15fded143543f65f6a9abd0b55537 | |
parent | 2dc03edbe4ccf073aac4cd0f6dd7cb90349316c9 (diff) |
Update social-follow.html to meet hugo 0.112
prevent key `merge` to ruin the deployment. There must be some better method.
-rw-r--r-- | layouts/partials/social-follow.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/layouts/partials/social-follow.html b/layouts/partials/social-follow.html index 5da3176..73daa2b 100644 --- a/layouts/partials/social-follow.html +++ b/layouts/partials/social-follow.html @@ -2,6 +2,7 @@ {{ $count := len .Site.Social}} <div class="flex flex-wrap-reverse md:justify-end content-end md:content-start justify-start items-start {{if gt $count 4}}md:flex-col{{end}} max-h-16"> {{ range $key,$value:=.Site.Social }} + {{ if not (eq $key "_merge") }} <a href='{{$value}}' target="_blank" class="{{- $key}} icon pl-1 text-eucalyptus-400 hover:text-java-400" title="{{- $key}} link" rel="noopener" aria-label="follow on {{$key}}——Opens in a new window"> {{/* <object type="image/svg+xml" data='{{ relURL (printf "%s%s%s" "svg/" $key ".svg") }}' class="w-12 h-12 @@ -11,4 +12,5 @@ </div> </a> {{ end }} -</div>
\ No newline at end of file + {{ end }} +</div> |