summaryrefslogtreecommitdiffstats
path: root/index.html
blob: 912ca638bbef31b8d4ec8e05d54e8534f26750e8 (plain)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{% meta %}
  title: Home
  top_link: 3
{% endmeta %}

{% block content %}
<div id="news">
  <h2>news</h2>
  {% for post in site.posts|batch(3)|first %}
  <p>
    <a href="{{ post.get_url() }}">{{ post.title }}</a>
    -
    {{ post.date.strftime('%Y, %B %d') }}
  </p>
  {% endfor %}
</div>


<div id="services">
  <h2>services</h2>
  <ul class="grid_16">
  {% for page in site.pages|sort(attribute='title') %}
    {% if page.service %}
      <li class="grid_8 {{ loop.cycle('omega', 'alpha') }}">
        <div class="grid_2 alpha">
          <img src="{{page.logo_url}}" alt="{{page.title}}" />
        </div>

        <div class="gird_6 omega"
          <h3>
            <a href="{{page.get_url()}}">{{page.title}}</a>
          </h3>

          <p>
            {{page.description}}
          </p>
        </div>
      </li>
    {% endif %}
  {% endfor %}
  </ul>
</div>

{% endblock %}