_includes/card_horizontal.html in compost-jekyll-theme-0.1.8 vs _includes/card_horizontal.html in compost-jekyll-theme-0.1.9

- old
+ new

@@ -7,12 +7,14 @@ @param :title [String] Título de la Card @param :subtitle [string] Subtítulo @param :content [string] Contenido {%- endcomment -%} <div class="row justify-content-center container-lg mx-auto"> - <div class="col-12 col-md-5 px-4"> - {% include picture.html src=include.src width=500 img_class="w-100 object-fit-cover" %} - </div> + {% unless include.src %} + <div class="col-12 col-md-5 px-4"> + {% include picture.html src=include.src width=500 img_class="w-100 object-fit-cover" %} + </div> + {% endunless %} <div class="col-12 col-md pl-xl-5 pt-5 pt-md-0"> <div class=""> {% include headings/h1.html text=include.title class="d-inline-flex font-italic border-width-1 border-black border-bottom-dashed display-3 work-sans" %} </div>