Update index to include the bits
bits are in templates/index/*.html they can't go into content/ because ... *reasons*
This commit is contained in:
parent
5bd0ae4fd1
commit
930736ccbb
|
@ -15,19 +15,3 @@ in our [manifesto](/docs/manifesto),
|
|||
namely *anti-commoditization*,
|
||||
*self-reliance*,
|
||||
and *radical cooperation*.
|
||||
|
||||
## news
|
||||
|
||||
|
||||
|
||||
## join us!
|
||||
|
||||
if you like to bake, want to learn more about baking,
|
||||
or just love bread, come [join us](/join)!
|
||||
it's easy to apply for membership and we're looking forward to having you.
|
||||
|
||||
## bakers
|
||||
|
||||
> in order of their most recent bake
|
||||
|
||||
{{ users() }}
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
{% extends "base.html" %}
|
||||
{% block main_content %}
|
||||
{{ section.content | safe }}
|
||||
|
||||
{% include "index/news.html" %}
|
||||
{% include "index/join.html" %}
|
||||
{% include "index/bakers.html" %}
|
||||
|
||||
{% endblock main_content %}
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
<h2>bakers</h2>
|
||||
<p class="description">in order of their most recent bake</p>
|
||||
{% set user_data = load_data(path="static/users.toml") %}
|
||||
<ul>
|
||||
{% for u in user_data.all -%}
|
|
@ -0,0 +1,6 @@
|
|||
<h2>join us!</h2>
|
||||
<p>
|
||||
if you like to bake, want to learn more about baking,
|
||||
or just love bread, come <a href="/join">join us</a>!
|
||||
it's easy to apply for membership and we're looking forward to having you.
|
||||
</p>
|
|
@ -0,0 +1,11 @@
|
|||
<h2>news</h2>
|
||||
<ul>
|
||||
{% set s = get_section(path="news/_index.md") %}
|
||||
{% for p in s.pages %}
|
||||
{% if loop.index > 3 %}
|
||||
<li><a href="/news#news-item-4">older news</a></li>
|
||||
{% break %}
|
||||
{% endif %}
|
||||
<li><a href="{{ p.permalink }}">{{ p.title }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
Loading…
Reference in New Issue