-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathbento.html
More file actions
30 lines (29 loc) · 1.18 KB
/
bento.html
File metadata and controls
30 lines (29 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
---
layout: base
title: Quick Links
permalink: /bento/
---
<div class="container-fluid py-5">
<div class="container">
<div class="bento__grid">
<!-- Render all bento grid items from configuration -->
{% for item in site.data.bento_grid %}
<!-- {{ item.title }} -->
<a href="{{ item.url }}" class="bento__link" {% if item.external %}target="_blank"{% endif %}>
<div class="bento__item {% if item.size %}bento__item--{{ item.size }}{% endif %} {{ item.background }} {{ item.text_color }}">
<div class="bento__content">
<i
class="{{ item.icon }} bento__content__icon bento__content__icon--{% if item.size == 'large' %}large{% else %}medium{% endif %} mb-3"
></i>
<h{% if item.size == 'large' %}3{% else %}4{% endif %} class="bento__content__heading">{{ item.title }}</h{% if item.size == 'large' %}3{% else %}4{% endif %}>
<p class="bento__content__text">
{{ item.description }}
</p>
<span class="bento__content__btn btn {{ item.button_class }}">{{ item.button_text }}</span>
</div>
</div>
</a>
{% endfor %}
</div>
</div>
</div>