Merge branch 'master' of gitlab.com:autonomic-cooperative/autonomic-cooperative.gitlab.io

This commit is contained in:
czmj 2017-09-23 21:42:30 +01:00
commit 0915df6501
2 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,36 @@
<!DOCTYPE HTML>
<html>
{% include head.html %}
<body>
{% include header.html %}
<div id="main">
<header{% if page.image %} style="background-image: url('{% if site.featured-image-source %}{{ page.image | prepend: site.featured-image-source | absolute_url }}{% else %}{{ "" | absolute_url }}/assets/images/{{ page.image }}{% endif %}');"{% endif %}>
<h2>{{ page.title }}</h2>
<p>{{ page.description }}</p>
</header>
</div>
<section class="wrapper alt style2">
{% if page.tiles-source == 'posts' %}
{% assign items = site.posts %}
{% elsif page.tiles-source == 'pages' %}
{% assign items = site.pages %}
{% 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>
<p>{{ item.description }}</p>
</div>
</section>
{% endfor %}
</section>
{% include footer.html %}
</body>
</html>

8
src/blog.md Normal file
View File

@ -0,0 +1,8 @@
---
layout: spotlight
title: Blog
tiles-source: posts
tiles-limit: 50
---
### Clients