chore(forkawesome): update forkawesome css
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
<figure>
|
||||
{{- /* Lazyload */ -}}
|
||||
{{- $loading := resources.Get "svg/loading.svg" | minify -}}
|
||||
<img src="{{ $loading.RelPermalink | safeURL }}" data-sizes="auto" data-src="{{ .Destination | safeURL }}" alt="{{ .Text }}"{{ with .Title }} title="{{ . }}"{{ end }} class="lazyload">
|
||||
{{- $caption := .Title | default .Text -}}
|
||||
{{- with $caption -}}
|
||||
{{- partial "function/image.html" (dict "src" .Destination "alt" .Text "title" .Title ) -}}
|
||||
{{- with .Title | default .Text -}}
|
||||
<figcaption class="image-caption">
|
||||
{{- . -}}
|
||||
</figcaption>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
{{- /* Content */ -}}
|
||||
<div class="content">
|
||||
{{- partial "hook/content.html" .Content | safeHTML -}}
|
||||
{{- partial "function/content.html" .Content -}}
|
||||
</div>
|
||||
</div>
|
||||
{{- end -}}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
{{- with .Params.featuredImage -}}
|
||||
<div class="featured-image-preview">
|
||||
{{- $image := $.Params.featuredImagePreview | default . -}}
|
||||
{{- partial "hook/image" $image -}}
|
||||
{{- partial "function/image.html" (dict "src" $image "alt" "featured image") -}}
|
||||
</div>
|
||||
{{- end -}}
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
|
||||
{{- /* Summary content */ -}}
|
||||
<div class="content">
|
||||
{{- partial "hook/content.html" .Summary | safeHTML -}}
|
||||
{{- partial "function/content.html" .Summary -}}
|
||||
</div>
|
||||
|
||||
{{- /* Footer */ -}}
|
||||
|
||||
Reference in New Issue
Block a user