Skip to content

Commit 4a04b62

Browse files
committed
refactor: move img
1 parent ce673ae commit 4a04b62

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

layouts/_default/testimonials.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ <h1 class="page-title display-1 fw-bold text-primary mt-5 mb-xl-0 w-100">{{ . }}
2121
{{ range $i, $e := .Site.Data.home.testimonials.content.list }}
2222
<div class="col-12 col-xl-12 d-flex flex-column justify-content-center mb-3 px-3">
2323
<div class="pb-2">
24-
{{ partial "asset-image" (dict "src" "testimonials-left-quote.png" "alt" "" "size" "64x") }}
24+
{{ partial "asset-image" (dict "src" "testimonial/left-quote.png" "alt" "" "size" "64x") }}
2525
</div>
2626
<div class="card border-0 shadow p-xl-4 p-3">
2727
<p class="card-text text-dark w-100">
@@ -34,7 +34,7 @@ <h1 class="page-title display-1 fw-bold text-primary mt-5 mb-xl-0 w-100">{{ . }}
3434
</p>
3535
</div>
3636
<div class="pt-2 text-end">
37-
{{ partial "asset-image" (dict "src" "testimonials-right-quote.png" "alt" "" "size" "64x") }}
37+
{{ partial "asset-image" (dict "src" "testimonial/right-quote.png" "alt" "" "size" "64x") }}
3838
</div>
3939
</div>
4040
{{ end }}

layouts/partials/sections/testimonials.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ <h2 class="fs-1 fw-bold text-center text-light">
1414
</div>
1515
<div class="col-12 col-xl-7 d-flex flex-column justify-content-center">
1616
<div class="pb-2">
17-
{{ partial "asset-image" (dict "src" "testimonials-left-quote.png" "alt" "" "size" "64x") }}
17+
{{ partial "asset-image" (dict "src" "testimonial/left-quote.png" "alt" "" "size" "64x") }}
1818
</div>
1919
<div class="card d-flex flex-xl-row align-items-start border-0 shadow p-5">
2020
{{ $src := (printf "%s%s" "testimonial/" .image ) }}
@@ -27,7 +27,7 @@ <h2 class="fs-1 fw-bold text-center text-light">
2727
</p>
2828
</div>
2929
<div class="pt-2 text-end">
30-
{{ partial "asset-image" (dict "src" "testimonials-right-quote.png" "alt" "" "size" "64x") }}
30+
{{ partial "asset-image" (dict "src" "testimonial/right-quote.png" "alt" "" "size" "64x") }}
3131
</div>
3232
</div>
3333
{{ end }}

0 commit comments

Comments
 (0)