Clients page
This commit is contained in:
parent
dba6bccf3c
commit
b9af5f811a
@ -18,3 +18,5 @@ collections:
|
||||
posts:
|
||||
output: true
|
||||
permalink: /blog/:title/
|
||||
clients:
|
||||
output: false
|
||||
|
5
src/_clients/a-client.md
Normal file
5
src/_clients/a-client.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
title: A. Client
|
||||
description: Someone we have done some work for. How did it help them? What did we achieve?
|
||||
image: pic03.jpg
|
||||
---
|
5
src/_clients/a-n-other.md
Normal file
5
src/_clients/a-n-other.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
title: A. N. Other
|
||||
description: Another client with another few sentences of text. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor.
|
||||
image: pic01.jpg
|
||||
---
|
@ -17,13 +17,19 @@
|
||||
{% assign items = site.posts %}
|
||||
{% elsif page.tiles-source == 'pages' %}
|
||||
{% assign items = site.pages %}
|
||||
{% elsif page.tiles-source == 'clients' %}
|
||||
{% assign items = site.clients %}
|
||||
{% endif %}
|
||||
|
||||
{% for item in items limit:page.tiles-count %}
|
||||
<section class="spotlight">
|
||||
<div class="image">{% if item.image %}<img src="{% if site.featured-image-source %}{{ item.image | prepend: site.featured-image-source | absolute_url }}{% else %}{{ "" | absolute_url }}/assets/images/{{ item.image }}{% endif %}" alt="" />{% endif %}</div>
|
||||
<div class="content">
|
||||
<h2><a href="{{ item.url | relative_url }}" class="link">{{ item.title }}</a></h2>
|
||||
<h2>
|
||||
{% if item.layout %}<a href="{{ item.url | relative_url }}" class="link">{% endif %}
|
||||
{{ item.title }}
|
||||
{% if item.layout %}</a>{% endif %}
|
||||
</h2>
|
||||
<p>{{ item.description }}</p>
|
||||
</div>
|
||||
</section>
|
||||
|
@ -1,9 +1,9 @@
|
||||
---
|
||||
layout: page
|
||||
layout: spotlight
|
||||
tiles-source: clients
|
||||
tiles-limit: 50
|
||||
title: Clients
|
||||
description: Clients of Autonomic
|
||||
---
|
||||
|
||||
### Clients
|
||||
|
||||
Insert fancy list of clients
|
||||
### Clients
|
Loading…
Reference in New Issue
Block a user