Sha256: c41a5c7d1f18f4eedb3e832756201120660dcb4b38fa7594cdabd68706130529

Contents?: true

Size: 1.19 KB

Versions: 2

Compression:

Stored size: 1.19 KB

Contents

<li id="${results[i].ref}" class="pb-4" data-component="info-cards/search-results">

  <div class="row">

    <div class="col-4 col-md-3 col-lg-2 mt-0 d-flex align-items-center">
      <a href="${item.url}">
        <img src="${item.image}" alt="${item.title}">
      </a>
    </div>

    <div class="col-8 col-md-9 col-lg-10 mt-0 d-flex align-items-center">
      <div class="mt-0">
        <div class="mt-0 mb-1">
          <a href="${item.url}" class="text-dark">
            <i class="fas fa-angle-right fa-xs text-muted ml-1" data-fa-transform="left-2"></i>
            ${item.title}
          </a>
        </div>

        <div class="line-clamp mb-1">
          <a href="${item.url}" class="nav-link text-break py-1 px-0 text-success">
            <i class="fas fa-link fa-xs"></i>
            ${window.location.protocol}//${window.location.hostname}${item.url}
          </a>
        </div>

        <div class="line-clamp">
          <span class="badge badge-primary">
            <i class="fas fa-star"></i> ${results[i].score.toFixed(1)}
          </span>
          <span class="text-muted">${(item.description ? item.description : item.content)}</span>
        </div>
      </div>
    </div>

  </div>

</li>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jekyll-theme-marketing-1.0.1 _includes/components/info-cards/search-results.html
jekyll-theme-marketing-1.0.0 _includes/components/info-cards/search-results.html