Compare commits

...

3 Commits

Author SHA1 Message Date
Case Duckworth 5287ad1964 Delete public/
should be ignored now
2021-11-21 13:51:03 -06:00
Case Duckworth b27960f0de Other stuff 2021-11-21 13:50:31 -06:00
Case Duckworth 930736ccbb Update index to include the bits
bits are in templates/index/*.html
they can't go into content/ because ... *reasons*
2021-11-21 13:49:45 -06:00
11 changed files with 26 additions and 19 deletions

View File

@ -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() }}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

View File

@ -1 +0,0 @@
*{position:relative}body,html{width:100%;margin:0;padding:0;font:18px/1.3 CMUTypewriterTextRegular, monospace;background-color:wheat;background:url("/bread.png") repeat}#main{max-width:40em;padding:1em;margin:auto;background:white}#footer{margin-top:1em;text-align:center}#header,#footer{background:white;width:100%}#header{margin-bottom:1em}#header .nav{z-index:100;background:white;padding-right:1em}#header *{margin:0;padding:0;display:inline}.nav li:after{content:" (#) "}.subtitle,blockquote{font-style:italic}pre,code{font:14px/1.1 monospace;background:#ddd}#users{text-align:right;position:absolute;right:0}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 759 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 318 B

View File

@ -39,7 +39,7 @@ html {
.nav li:after {
content: " (#) ";
}
.subtitle,blockquote {
.subtitle,blockquote,.description {
font-style: italic;
}
pre,

View File

@ -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 %}

View File

@ -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 -%}

View File

@ -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>

11
templates/index/news.html Normal file
View File

@ -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>

View File

@ -2,7 +2,7 @@
{% block section_listing %}
{% for page in section.pages %}
<div class="article">
<div class="header">
<div class="header" id="news-item-{{ loop.index }}">
<h2>
<a href="{{ page.permalink }}">{{ page.title }}</a>
</h2>