Skip to content

Commit

Permalink
update sb admin pro for updated badge
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtmiller committed Jul 8, 2020
1 parent f98624f commit a853e5a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@
{% for theme in themes_sorted limit: 8 %}
<div class="col-md-6">
<div class="item-preview mb-5">
{% if theme.update %}
<span class="badge badge-info position-absolute badge-pill" style="right: -.5rem; top: -.5rem; z-index: 999;">Updated!</span>
{% endif %}
<a class="item-preview-img box-shadow-lg d-block mb-3" href="{{ theme.src }}">
<img class="lazy img-fluid" data-src="{{ theme.img-thumbnail }}" alt="{{ theme.img-desc }}">
</a>
Expand Down
3 changes: 3 additions & 0 deletions _layouts/loop-themes.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@

<div class="col-md-4">
<div class="item-preview mb-5">
{% if theme.update %}
<span class="badge badge-info position-absolute badge-pill" style="right: -.5rem; top: -.5rem; z-index: 999;">Updated!</span>
{% endif %}
<a class="item-preview-img box-shadow-lg d-block mb-3" href="{{ theme.src }}">
<img class="lazy img-fluid" data-src="{{ theme.img-thumbnail }}" alt="{{ theme.img-desc }}">
</a>
Expand Down
1 change: 1 addition & 0 deletions _themes/2020-01-05-sb-admin-pro.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ layout: custom-redirect
type: theme
pro: true
new: true
update: true
rank: 2
---

0 comments on commit a853e5a

Please sign in to comment.