chore(partials): refactor partials

This commit is contained in:
Dillon
2020-02-21 23:42:35 +08:00
parent 611518ddd1
commit 4e6fe224cc
27 changed files with 554 additions and 534 deletions

View File

@@ -3,7 +3,7 @@
{{- with .Params.featuredImage -}}
<div class="featured-image-preview">
{{- $image := $.Params.featuredImagePreview | default . -}}
{{- partial "function/image.html" (dict "src" $image "alt" "featured image") -}}
{{- partial "plugin/image.html" (dict "src" $image "alt" "featured image") -}}
</div>
{{- end -}}
@@ -44,7 +44,7 @@
{{- /* Summary content */ -}}
<div class="content">
{{- partial "function/content.html" .Summary -}}
{{- partial "single/content.html" .Summary -}}
</div>
{{- /* Footer */ -}}