Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 8091dae

Browse files
committedMay 18, 2025
port to render-engine
1 parent ef9f198 commit 8091dae

File tree

5 files changed

+65
-3
lines changed

5 files changed

+65
-3
lines changed
 

‎app.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
from render_engine import Site, Page
2+
3+
app = Site()
4+
5+
6+
@app.page
7+
class Index(Page):
8+
template_path = "_layouts/index.html"
9+
content_path = "index.html"

‎index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
layout: index
33
lang: en
4-
title: Home
54
list_title: Recently on the blog
65
---
76

‎output/home.html

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<h2>Our Mission</h2>
2+
<div class="grid hero-section">
3+
<article class="pico-background-sand-100">
4+
<h3>Secure the bag</h3>
5+
<p>Establish guidance, mentorship, and career support for <em>Black Python Devs</em> Members</p>
6+
<p><a class="contrast" href="/about">Learn More</a></p>
7+
</article>
8+
<article class="pico-background-pumpkin-650">
9+
<h3 class="pico-color-pumpkin-50">Diversity By Inclusion</h3>
10+
<p class="pico-color-pumpkin-50">We encourage members to get involved beyond participation. Members can become maintainers, maintainers become leaders.</p>
11+
<p><a class="contrast" href="/about">Learn More</a></p>
12+
</article>
13+
<article class="pico-background-pumpkin-800">
14+
<h3 class="pico-color-pumpkin-50">Extend their reach</h3>
15+
<p class="pico-color-pumpkin-50">Great programs exist. Our goal is to help those programs make it our local communities.</p>
16+
<p><a class="contrast" href="/about">Learn More</a></p>
17+
</article>
18+
<article class="pico-background-zinc-800"
19+
">
20+
<h3 class="pico-color-pumpkin-50">Say it loud!</h3>
21+
<p class="pico-color-pumpkin-50">Our stack and our decisions are open source by default and we share what we're doing as loudly and often as possible.</p>
22+
<p><a class="contrast" href="/about">Learn More</a></p>
23+
</article>
24+
</div>
25+
26+
<hr />

‎output/index.html

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<h2>Our Mission</h2>
2+
<div class="grid hero-section">
3+
<article class="pico-background-sand-100">
4+
<h3>Secure the bag</h3>
5+
<p>Establish guidance, mentorship, and career support for <em>Black Python Devs</em> Members</p>
6+
<p><a class="contrast" href="/about">Learn More</a></p>
7+
</article>
8+
<article class="pico-background-pumpkin-650">
9+
<h3 class="pico-color-pumpkin-50">Diversity By Inclusion</h3>
10+
<p class="pico-color-pumpkin-50">We encourage members to get involved beyond participation. Members can become maintainers, maintainers become leaders.</p>
11+
<p><a class="contrast" href="/about">Learn More</a></p>
12+
</article>
13+
<article class="pico-background-pumpkin-800">
14+
<h3 class="pico-color-pumpkin-50">Extend their reach</h3>
15+
<p class="pico-color-pumpkin-50">Great programs exist. Our goal is to help those programs make it our local communities.</p>
16+
<p><a class="contrast" href="/about">Learn More</a></p>
17+
</article>
18+
<article class="pico-background-zinc-800"
19+
">
20+
<h3 class="pico-color-pumpkin-50">Say it loud!</h3>
21+
<p class="pico-color-pumpkin-50">Our stack and our decisions are open source by default and we share what we're doing as loudly and often as possible.</p>
22+
<p><a class="contrast" href="/about">Learn More</a></p>
23+
</article>
24+
</div>
25+
26+
<hr />

‎requirements.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
# page-generation
2-
gh-issues
1+
# Page Generation
2+
render-engine
3+
render-engine[cli]
4+
35

46
# linting
57
pre-commit

0 commit comments

Comments
 (0)
Please sign in to comment.