mirror of
https://gitlab.com/greenleebt/business-website.git
synced 2026-08-17 16:26:16 +00:00
init
This commit is contained in:
commit
59d5238af5
89 changed files with 6040 additions and 0 deletions
18
_includes/tiles.html
Normal file
18
_includes/tiles.html
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{% if 'posts' == site.tiles-source %}
|
||||
{% assign tiles = site.posts %}
|
||||
{% elsif 'pages' == site.tiles-source %}
|
||||
{% assign tiles = site.html_pages | where_exp: "item", "item.show_tile != false" %}
|
||||
{% endif %}
|
||||
<section id="one" class="tiles">
|
||||
{% for tile in tiles limit:site.tiles-count %}
|
||||
<article>
|
||||
<span class="image">
|
||||
<img src="{{ tile.image }}" alt="{{ tile.title }}" />
|
||||
</span>
|
||||
<header class="major">
|
||||
<h3><a href="{{ tile.url | relative_url }}" class="link">{{ tile.title }}</a></h3>
|
||||
<p>{{ tile.description }}</p>
|
||||
</header>
|
||||
</article>
|
||||
{% endfor %}
|
||||
</section>
|
||||
Loading…
Add table
Add a link
Reference in a new issue