Skip to content

Commit

Permalink
Update hero.html
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Mar 21, 2024
1 parent d4ef127 commit ca6c032
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/layouts/partials/hero.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
{{ $img_path := "/assets/brand/bootstrap-logo-shadow.png" -}}
{{- $img_path_2x := "/assets/brand/[email protected]" -}}
{{- with (imageConfig (path.Join "/src/static" $img_path)) -}}
<img class="bd-booticon d-block mx-auto mb-3 mx-lg-0"
srcset="{{ $img_path }}, {{ $img_path_2x }} 2x"
src="{{ $img_path }}"
alt="Bootstrap"
width="{{ .Width }}"
height="{{ .Height }}">
{{- end }}
<img class="bd-booticon d-block mx-auto mb-3 mx-lg-0"
srcset="{{ $img_path }}, {{ $img_path_2x }} 2x"
src="{{ $img_path }}"
alt="Bootstrap"
width="{{ .Width }}"
height="{{ .Height }}">
{{- end }}
</a>
<div class="ms-3 ms-lg-0">
<h1 class="mb-1 mb-lg-2 f1 fw-600">The Bootstrap Blog</h1>
Expand Down

0 comments on commit ca6c032

Please sign in to comment.