Skip to content

Commit

Permalink
Update examples
Browse files Browse the repository at this point in the history
  • Loading branch information
luost26 committed Sep 30, 2024
1 parent 878ed06 commit 7da9533
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 2 deletions.
3 changes: 2 additions & 1 deletion _showcase/default/badge1.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
show: true
width: 1
date: 2017-01-12 00:01:00 +0800
date: 2017-01-13 00:01:00 +0800
class: "" # Override the default card style
---
<div>
<img src="{{ 'assets/images/badges/PKU_red.png' | relative_url }}" class="img-fluid rounded" >
Expand Down
1 change: 1 addition & 0 deletions _showcase/default/badge2.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
show: true
width: 1
date: 2017-01-12 00:01:00 +0800
class: "" # Override the default card style
---
<div>
<img src="{{ 'assets/images/badges/MIT_Social_circle.png' | relative_url }}" class="img-fluid rounded" >
Expand Down
9 changes: 9 additions & 0 deletions _showcase/default/badge3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
show: true
width: 1
date: 2017-01-11 00:01:00 +0800
class: "" # Override the default card style
---
<div>
<img src="{{ 'assets/images/etc/tim_the_beaver.png' | relative_url }}" class="img-fluid rounded" >
</div>
Binary file added assets/images/etc/tim_the_beaver.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion showcase.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ <h1>{{ group.name }}</h1>
<div class="grid-sizer col-1"></div>
{% for item in group.items %}
<div class="p-2 grid-item col-md-{{ item.width }} col-sm-{{ item.width | times: 2 | at_most: 12 }} col-{{ item.width | times: 3 | at_most: 12 }}">
<div class="card border-0 shadow-sm bg-white">
<div class="{% if item.class != null %}{{ item.class }}{% else %}card border-0 shadow-sm bg-white{% endif %}">
{{ item.content }}
</div>
</div>
Expand Down

0 comments on commit 7da9533

Please sign in to comment.