Skip to content

Commit 4efde16

Browse files
leejordanLee
andauthored
basic lo-fi theme with unfinished nav (#3)
Co-authored-by: Lee <lee@Lees-MacBook-Pro.local>
1 parent a50e465 commit 4efde16

10 files changed

Lines changed: 971 additions & 24 deletions

File tree

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
Title: Hello world this is all placeholders
2+
Authors: Sam Bull
3+
4+
5+
6+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse congue, odio imperdiet placerat tincidunt, augue nisl blandit quam, ac rhoncus diam eros quis tellus. Maecenas bibendum vulputate nulla, eget rutrum magna. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Sed lobortis lacus sit amet urna bibendum posuere. Mauris id mollis velit. Ut molestie eget lectus a porta. Nullam iaculis, mi eget facilisis bibendum, mi ipsum eleifend magna, vel sollicitudin odio erat eu felis. In hac habitasse platea dictumst. Nullam efficitur lacinia diam, nec sagittis nisl commodo at. Maecenas eleifend lectus sit amet ultricies tempus. In eget mauris vel dolor rhoncus fermentum vitae vel urna. Mauris porttitor pellentesque nunc, id dignissim ex aliquet bibendum. Sed a ipsum dignissim, congue massa ac, vulputate diam. Donec congue ornare est at blandit. Cras viverra tincidunt pellentesque. Fusce posuere pellentesque sem, at interdum risus rutrum eu.
7+
8+
```
9+
> v
10+
v ,,,,,"Hello"<
11+
>48*, v
12+
v,,,,,,"World!"<
13+
>25*,@
14+
```
15+
16+
Etiam pretium viverra fermentum. Duis consectetur tempor elit vel porta. Praesent sagittis pretium lobortis. Pellentesque vel ex tortor. Nulla varius placerat est, sed scelerisque mauris cursus et. Maecenas venenatis, ligula ac ultrices condimentum, lorem turpis convallis mauris, a euismod nibh erat at mauris. Aliquam efficitur orci id nulla suscipit aliquet. Donec aliquam felis non nisl suscipit vulputate. Proin finibus vel sapien ultrices volutpat. Vestibulum facilisis libero id leo convallis, at auctor sem interdum. Aenean non suscipit risus, maximus commodo velit. Etiam eleifend neque non tellus tempus suscipit. Vivamus mattis mi sed orci elementum, sed dictum nulla tristique. Donec nec orci vel urna pulvinar luctus. Quisque rutrum nunc at mi mattis auctor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
17+
18+
```
19+
# This code is junk and does almost nothing
20+
def junk_function():
21+
# Seriously, this code is junk
22+
return "junk"
23+
24+
# Calling the junk code
25+
junk_function()
26+
```
27+
28+
Phasellus volutpat lacus congue purus sollicitudin, nec efficitur augue pharetra. Donec lobortis nulla vitae lectus vehicula, quis blandit magna efficitur. Cras pretium tellus id eros pulvinar tincidunt. Praesent eu fringilla neque, sed mollis velit. Aliquam eros leo, suscipit sed bibendum nec, lacinia id velit. Donec ut neque fermentum, volutpat erat at, tempor arcu. Duis ut molestie risus, vel pharetra diam. Sed lacinia a eros at pellentesque. Sed rhoncus luctus suscipit. Mauris quis feugiat erat. Fusce consequat, magna nec fringilla efficitur, nisi nunc lobortis ex, sit amet vestibulum est lorem id est. Nullam sodales erat id velit cursus, vitae pulvinar erat tristique. Curabitur non vestibulum purus, ac accumsan dui. Mauris aliquet nisl in gravida fringilla.
29+
30+
```
31+
package main
32+
33+
import "fmt"
34+
35+
func main() {
36+
fmt.Println("Hello, world!")
37+
}
38+
39+
```
40+
41+
Etiam lectus orci, porta eu accumsan eu, commodo in purus. Maecenas id euismod arcu. In eget ante sed quam varius suscipit. Cras porttitor mi vel diam varius, et feugiat arcu gravida. Maecenas sagittis, urna nec accumsan ultrices, risus eros volutpat justo, id aliquet augue risus eget odio. Nunc vel iaculis elit. Donec mauris odio, vulputate ut rhoncus a, elementum non ex. Fusce nec mauris ac metus placerat mollis. Interdum et malesuada fames ac ante ipsum primis in faucibus. Aenean ut sollicitudin velit.
42+
43+
Donec at tortor facilisis, egestas urna non, varius magna. Vivamus id eros in quam accumsan dictum. Etiam laoreet erat sagittis fermentum vehicula. Fusce rutrum dolor in sem rhoncus, eu ultrices erat semper. Ut ornare felis a orci placerat, a convallis urna condimentum. Quisque vel feugiat urna. Ut eget libero odio. Cras est leo, sollicitudin quis lorem a, interdum aliquam leo. Maecenas pharetra ligula enim, ut imperdiet lorem dapibus tempor.
44+
45+
Some further content.

content/pages/index.md

Lines changed: 81 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,84 @@
1-
Title: Home Page
1+
Title: About us
22
Status: hidden
33
save_as: index.html
44

5-
Aio-libs home page.
5+
We are a co-operative of developers who maintain open-source libraries for the Python module [asyncio](https://docs.python.org/3/library/asyncio.html), including [aiohttp](https://docs.aiohttp.org/en/stable/) and associated ecosystem.
6+
7+
## Sponsors
8+
9+
Asyncio would not be possible without our amazing sponsors. Please consider joining them to help fund our work. Our finances are entirely transparent and managed by [Open Collective](https://opencollective.com/aio-libs).
10+
11+
> ### Sponsor Card
12+
> ![]({static}/images/aiohttp.svg)
13+
> Blockquotes can be used for featured content blocks I guess. Nice to keep things simple, especially these days am I right?
14+
>
15+
> I usually am.
16+
17+
### Asyncio Cooperative (Totally Fictional)
18+
19+
Welcome to the **Asyncio Cooperative**, a completely made-up, not-real, absolutely placeholder homepage for a co-operative of developers who *pretend* to maintain open-source libraries in the Python `asyncio` ecosystem, including `aiohttp`. None of this text should be taken seriously. It exists only as illustrative filler and friendly nonsense.
20+
21+
- Welcome to the **Asyncio Cooperative**, a completely made-up, not-real, absolutely placeholder homepage for a co-operative of developers who *pretend* to maintain open-source libraries.
22+
- In the Python `asyncio` ecosystem, including `aiohttp`.
23+
- None of this text should be taken seriously. It exists only as illustrative filler and friendly nonsense.
24+
25+
Everything below is **invented**, **non-binding**, and **purely demonstrative**.
26+
27+
### Who We Are (Allegedly)
28+
29+
We are a fictional co-operative of developers who, in this placeholder universe, collaboratively maintain asyncio-based libraries. This paragraph exists only to show what such a section *might* look like, not to describe any real organization, governance model, or human beings.
30+
31+
#### Heading of fourth level
32+
33+
If this were a real homepage (which it is not), this section might talk about values, collaboration, and sustainability. Instead, it simply reminds you again that this is **sample markdown text** and should not be confused with reality.
34+
35+
##### Fifth level heading
36+
37+
Asyncio would not be possible without our amazing sponsors. Please consider joining them to help fund our work. Our finances are entirely transparent.
38+
39+
###### Sixth level headings seem kind of pointless tbh
40+
41+
## What We (Pretend to) Maintain
42+
43+
In this entirely fabricated scenario, the co-op claims stewardship over parts of the asyncio ecosystem, such as:
44+
45+
- `aiohttp`
46+
- imaginary subprojects
47+
- hypothetical integrations
48+
- vibes-based abstractions
49+
50+
None of these claims are real. This list is placeholder content designed to show structure, not truth. If you are reading this expecting accuracy, please stop and re-read the disclaimer: **this is all made up**.
51+
52+
### hypothetical integrations
53+
54+
Our fictional mission is to demonstrate what a mission statement *could* look like in markdown. Any resemblance to real missions, goals, or philosophies is accidental and coincidental.
55+
56+
This paragraph exists solely to fill space and illustrate layout. It does not represent the intentions of the asyncio community, the aiohttp maintainers, or anyone else who actually exists.
57+
58+
---
59+
60+
## Example Async Code (For Demonstration Only)
61+
62+
Below is a code sample that looks realistic but is included only as decorative filler. It is not advice, documentation, or an endorsement of anything.
63+
64+
```python
65+
import asyncio
66+
import aiohttp
67+
68+
async def fetch_placeholder(url):
69+
async with aiohttp.ClientSession() as session:
70+
async with session.get(url) as response:
71+
return await response.text()
72+
73+
async def main():
74+
text = await fetch_placeholder("https://example.com")
75+
print("This output is also fictional:", text[:50])
76+
77+
asyncio.run(main())
78+
```
79+
## Our Completely Fake Mission
80+
81+
Our fictional mission is to demonstrate what a mission statement *could* look like in markdown. Any resemblance to real missions, goals, or philosophies is accidental and coincidental.
82+
83+
This paragraph exists solely to fill space and illustrate layout. It does not represent the intentions of the asyncio community, the aiohttp maintainers, or anyone else who actually exists.
84+

pelicanconf.py

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import logging
22

33
SITENAME = "aio-libs"
4-
SITEURL = ""
4+
# PROBABLY WANT TO DO SOMETHING WITH SITEURL SAM
5+
SITEURL = "http://127.0.0.1:8000/"
56
SUMMARY_MAX_PARAGRAPHS = 1
67

78
ARTICLE_PATHS = ("news",)
@@ -43,13 +44,23 @@
4344

4445
# Theme
4546
THEME = "theme/"
46-
# TODO: LINKS/SOCIAL
47+
THEME_STYLESHEET_URL = "/theme/css/aio-libs-theme.css"
48+
THEME_USE_HIGHLIGHT = True
49+
50+
DISPLAY_PAGES_ON_MENU = True
51+
DISPLAY_CATEGORIES_ON_MENU = True
52+
DISPLAY_SPONSORS_ON_MENU = True
53+
SPONSORS = [
54+
("Bill Gates", 'http://google.com'),
55+
("TerenceCorp", 'http://google.com')
56+
]
57+
DISPLAY_LINKS_ON_MENU = True
4758
LINKS = (
4859
("Pelican", "https://getpelican.com/"),
4960
("Python.org", "https://www.python.org/"),
50-
("Jinja2", "https://palletsprojects.com/p/jinja/"),
51-
("You can modify those links in your config file", "#"),
61+
("Jinja2", "https://palletsprojects.com/p/jinja/")
5262
)
63+
5364
SOCIAL = (
5465
("You can add links in your config file", "#"),
5566
("Another social link", "#"),

theme/static/css/aio-libs-theme.css

Lines changed: 255 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
50 KB
Binary file not shown.
Binary file not shown.

theme/static/css/highlight.min.css

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

theme/static/css/main.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)