diff --git a/themes/lumbung-theme/layouts/_default/list.html b/themes/lumbung-theme/layouts/_default/list.html index 30c0bff..e93d0c7 100644 --- a/themes/lumbung-theme/layouts/_default/list.html +++ b/themes/lumbung-theme/layouts/_default/list.html @@ -23,6 +23,10 @@ {{ else if in .Params.categories "pen" }} {{- partial "pen_card.html" . -}} + + {{ else if in .Params.categories "book" }} + + {{- partial "book.html" . -}} {{ else if in .Params.categories "page" }} diff --git a/themes/lumbung-theme/layouts/index.html b/themes/lumbung-theme/layouts/index.html index 4227dd2..0f9408f 100644 --- a/themes/lumbung-theme/layouts/index.html +++ b/themes/lumbung-theme/layouts/index.html @@ -1,82 +1,32 @@ {{ define "main" }}
-
lumbung.space is a social and publishing platform for sharing harvests by all members online. It is non-extractive, co governed by the users, and is built on open platforms.
-
-
- - harvest -

harvest

-
-

Digital timeline of harvests for collective learning

-
+
+{{ range (.Paginate (.Site.RegularPages.GroupByDate "January 2006") 20 ).PageGroups }} -
- - calendar -

calendar

-
-

Watch out for upcoming lumbung programs on our open-source calendar

-
- -
- - tv -

tv

-
-

Video archive. Watch or upload videos or start a livestream

-
- -
- - social -

social

-
-

Like twitter but for us! Jokes, announcements, chitchat

-
- -
- - lumbung.pen -

pen

-
-

Write and publish longer texts.

-
- -
- - shouts -

shouts

-
-

lumbung members and artists share content from their ekosistems

-
- -
- - kios -

kios

-
-

Network of decentralized and self-run Kios to sell products at different locations

-
- -
- - gallery -

gallery

-
-

Collectively governed, non speculative, and regenerative gallery of the lumbung network

-
- -
- - lumbung.books -

books

-
-

Archive of publications. Share, read or download PDFs and ebooks

-
- + {{ .Key }} + {{ range .Pages }} + {{ if in .Params.categories "tv"}} + {{- partial "video_box.html" . -}} + {{ else if in .Params.categories "calendar" }} + {{- partial "calendar_card.html" . -}} + {{ else if in .Params.categories "network" }} + {{- partial "network_card.html" . -}} + {{ else if in .Params.categories "pen" }} + {{- partial "pen_card.html" . -}} + {{ else if in .Params.categories "shouts" }} + {{- partial "shout_card.html" . -}} + {{ else if in .Params.categories "books.lumbung.space"}} + {{- partial "book_card.html" . -}} + {{ else }} + {{- partial "card.html" . -}} + {{ end }} + {{ end }} + {{ end }}
- +
@@ -85,5 +35,4 @@
-{{ end }} - +{{ end }} \ No newline at end of file diff --git a/themes/lumbung-theme/static/css/main.css b/themes/lumbung-theme/static/css/main.css index 1fa9d9c..7c517d9 100644 --- a/themes/lumbung-theme/static/css/main.css +++ b/themes/lumbung-theme/static/css/main.css @@ -45,6 +45,9 @@ --sounds-light: #ECC5EC; --sounds-dark: #CA14D4; + + --books-dark: #954d43; + --books-light: #edd7c4; } @@ -94,6 +97,26 @@ body > iframe { background-color: peachpuff; } +.date-marker{ + background-color: #333333; + color: white; + font-style: bold; + padding: 1em; + margin: 1em; + height: max-content; + flex: 0 0 15%; + font-family: Gudea; + font-weight: 700; + text-align: center; +} +.date-marker:nth-child(odd){ + transform: rotate(3deg); +} +.date-marker:nth-child(even){ + transform: rotate(-2deg); +} + + .side-bar { border: 2px solid var(--border-color); max-width: 400px; @@ -723,6 +746,18 @@ div.pen-source { color: var(--kios-dark); } +/* books cards */ + +.book.card { + background-color: var(--books-light); + color: var(--books-dark); + border-color: var(--books-dark); +} + +.tape-label.book span{ + background-color: var(--books-dark); +} + /* calendar cards */ .card.calendar { @@ -816,7 +851,7 @@ div.pen-source { } -/* Card metadata (video & calendar) */ +/* Card metadata (video, calendar & books) */ .tape-label { display: flex;