0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-03-01 01:54:24 +01:00

Tweak image.

This commit is contained in:
XhmikosR 2019-06-08 13:50:24 +03:00
parent b72135b4c3
commit 9f72bbae7c

View File

@ -27,9 +27,9 @@ Through donations and sponsorships we are able to maintain & improve Bootstrap.
{{- range (index $.Site.Data "services") }}
<div class="m-3 position-relative">
{{ if .website -}}
<a href="{{- .website -}}" class="stretched-link text-reset" title="{{- .name -}}">
<a href="{{ .website }}" class="stretched-link text-reset" title="{{ .name }}">
{{ end -}}
<img src="../assets/img/services/{{- .image -}}" alt="{{- .name -}}" class="mh-100 mw-100">
<img src="{{ printf ("/docs/%s/assets/img/services/%s") $.Site.Params.docs_version .image }}" alt="{{ .name }}" class="mh-100 mw-100">
{{ if .website -}}
</a>
{{ end -}}