diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..caecf1a --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "languageTool.enabled": true +} diff --git a/README.md b/README.md index 0721ec1..ef06359 100644 --- a/README.md +++ b/README.md @@ -85,3 +85,53 @@ After a `git pull`, you may need to run `pip install git+https://git.autonomic.z ### Deploy a new `feeds_list.txt` Increment the `_v` (e.g. `v1` -> `v2`) in [`compose.yml`](./compose.yml) `configs` to avoid any deployment error. + +### Adding a leaflet map to a page + +To add a new leaflet map use the shortcode: +``` +{{< map geoJson="data/geojsonContributors.json">}} +``` +This way you can display a map on any page with any data. + +To add data to the map, add a new json file to the `data/` directory and use the [geojson datascructure](https://geojson.org/) in the json file. +Then point the `geoJson="data/newfile.json"` in the shortcode to the new file. + +If you wanna display new test in the tooltips just add a new property key/value. + +e.g. + +``` + "properties": { + "a": "new value", + } +``` +One catcha is that Javascipt always output the order of the object in alfabetic order, there is nothing to do about this. + +Key names `groupName` and `listOfNames` are reserved. +This will display it in the way it does now on the map +e.g. +``` +"properties": { + "groupName": "The Question of Funding", + "listOfNames": [ + "Adele Jarrar", + "Amany Khalifa", + ] +} +``` +So just to be clear if you want extra value under it, give the key name a letter that is after the `l` in the alfabet. +e.g. +``` +"properties": { + "groupName": "The Question of Funding", + "listOfNames": [ + "Adele Jarrar", + "Amany Khalifa", + ], + "m": "value under the list" +} +``` + +The new added value will alway be displayed the same and will be in a `

` tag. + diff --git a/content/contributors.md b/content/contributors.md index 46626b9..84d97d4 100644 --- a/content/contributors.md +++ b/content/contributors.md @@ -5,6 +5,8 @@ draft: false hidden: true --- +{{< map geoJson="data/geojsonContributors.json">}} + ## Lumbung members - **The Question of Funding** - Adele Jarrar diff --git a/content/publishers/_index.html b/content/publishers/_index.html new file mode 100644 index 0000000..e5c74ae --- /dev/null +++ b/content/publishers/_index.html @@ -0,0 +1,8 @@ +--- +draft: false +--- +

Lumbung of Publishers

+ +
+ {{< map geoJson="data/geojsonContributors.json">}} +
\ No newline at end of file diff --git a/content/publishers/about-lumbung-publishers.md b/content/publishers/about-lumbung-publishers.md new file mode 100644 index 0000000..eeab3b4 --- /dev/null +++ b/content/publishers/about-lumbung-publishers.md @@ -0,0 +1,47 @@ +--- +title: "About lumbung of Publishers" +date: 2022-10-18T13:33:21+05:00 +draft: false +authors: ["lumbung publishers"] +categories: ["shouts"] +title: lumbung books tutorial +tags: [ "publishers" ] +--- + +Within the cultural sphere, independent publishers and publishing collectives are particularly dependent on solidarity and the sharing of resources to survive. During documenta fifteen, lumbung of Publishers offers independent publishers the possibility to get to know each other and to share knowledge. The goal is to create a network that exists beyond the 100-day duration of documenta fifteen. + +![documenta fifteen: lumbung of Publishers, Harvest by Daniela and Camila from HAMBRE, 2022](https://documenta-fifteen.de/wp-content/uploads/2022/06/lumbung-of-Publishers-1280x838.jpeg) + +Among the invited publishers are the publishing collective consonni from Bilbao, the graphic experimentation workshop La Impresora from Puerto Rico, Ljubljana-based Stripburger, Rotopol from Kassel, and many more. + +Two stakeholders from each publishing house travel to Kassel to first participate in a two-day internal workshop. During the first Meydan weekend, from Friday, July 8 until Sunday, July 10, 2022, the publishers design a three-day public program, with presentations, workshops, and lectures. lumbung of Publishers offers visitors of documenta fifteen the possibility to get to know the independent publishers and their programs from different countries and to gain an insight into their survival strategies. + +The participating publishers and collectives showcase their publications and produce new ones on the spot. This happens in collaboration with lumbung Press, which is a collective project of lumbung members and lumbung artists for flexible and process-oriented production of print products on site in Kassel. + +lumbung Press is a partner project between documenta fifteen and Kunsthaus Göttingen. + +## LUMBUNG OF PUBLISHERS COLLABORATORS ARE CURRENTLY: +- Abdul Halik Azeez +- Bananafish Books +- BOLOHO (lumbung artists) +- consonni +- Cooperativa Cráter Invertido +- David Kaiza +- Erick Beltrán (lumbung artist) +- HAMBRE +- Jalada +- Kayfa ta +- kuš! +- Kutikuti +- La Impresora +- Marjin Kiri +- microutopías press +- N’fana Diakite +- Nieves +- Reading Room +- Relampago +- Rotopol Press +- Strapazin +- Stripburger + +![documenta fifteen: lumbung of Publishers, screenshot during a meeting, 2022](https://documenta-fifteen.de/wp-content/uploads/2022/06/lumbung-of-Publishers_2-1280x847.jpeg) \ No newline at end of file diff --git a/content/publishers/comics-reading.md b/content/publishers/comics-reading.md new file mode 100644 index 0000000..f375f44 --- /dev/null +++ b/content/publishers/comics-reading.md @@ -0,0 +1,21 @@ +--- +title: "Comics Reading" +date: 2022-10-18T13:31:58+05:00 +draft: false +authors: ["lumbung publishers"] +categories: ["shouts"] +title: lumbung books tutorial +tags: [ "publishers" ] +--- + +lumbung of Publishers: Comics Reading is an event by lumbung of Publishers together with Rotopol and friends. + +## PARTLY BARRIER-FREE +Access: + +Ground-level entrance via Obere Königsstraße. The entrance via Treppenstraße is not wheelchair accessible as there are several steps, but the second level of ruruHaus can be reached via an in-house elevator (140 x 160 cm). + +## DIRECTIONS +Entrance via Treppenstraße + +Obere Königsstraße 43, 34117 Kassel \ No newline at end of file diff --git a/content/publishers/lumbung-books-tutorial.md b/content/publishers/lumbung-books-tutorial.md new file mode 100644 index 0000000..85892fc --- /dev/null +++ b/content/publishers/lumbung-books-tutorial.md @@ -0,0 +1,14 @@ +--- +date: 2022-10-18 +draft: false +authors: ["lumbung publishers"] +categories: ["shouts"] +title: lumbung books tutorial +tags: [ "publishers" ] +--- + +In this short video you learn how you can share digital publications using books.lumbung.space: + +https://tv.lumbung.space/w/p/vpiJrFaFNxnCi7c5dEmnN5 + +Video made by Varia member Aggeliki (Kiki) Diakrousi while she was at Kefalonia, Greece in August 2022 \ No newline at end of file diff --git a/data/geojsonContributors.json b/data/geojsonContributors.json new file mode 100644 index 0000000..b171ffd --- /dev/null +++ b/data/geojsonContributors.json @@ -0,0 +1,33 @@ +{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [34.46684826773766, 31.501803673432892] + }, + "properties": { + "groupName": "The Question of Funding", + "listOfNames": [ + "Adele Jarrar", + "Amany Khalifa", + "Dena Matter", + "Fayrouz Sharqawi", + "Martin Heller", + "Mohammad Hawajri", + "Mohammad Abu Sal", + "Noor Abed", + "Raed Issa", + "Raoof Alajouri", + "Rayya Badran", + "Siwar Kraitm", + "Yazan Khalili" + ], + "video": "https://interactive-examples.mdn.mozilla.net/media/cc0-videos/flower.webm", + "iframe": "https://tv.lumbung.space/videos/embed/d5b26273-cb7e-4f5e-9041-5694a504405e?title=0", + "audio": "https://interactive-examples.mdn.mozilla.net/media/cc0-audio/t-rex-roar.mp3" + } + } + ] +} \ No newline at end of file diff --git a/themes/lumbung-theme/layouts/partials/publishers_post_card.html b/themes/lumbung-theme/layouts/partials/publishers_post_card.html new file mode 100644 index 0000000..ae4f6c5 --- /dev/null +++ b/themes/lumbung-theme/layouts/partials/publishers_post_card.html @@ -0,0 +1,26 @@ +
+ +
diff --git a/themes/lumbung-theme/layouts/publishers/list.html b/themes/lumbung-theme/layouts/publishers/list.html new file mode 100644 index 0000000..55ca335 --- /dev/null +++ b/themes/lumbung-theme/layouts/publishers/list.html @@ -0,0 +1,16 @@ +{{ define "main" }} +
+ {{.Content}} + +
+
+ {{ range where (.Paginator 13).Pages "Params.hidden" "ne" "true" }} + {{- partial "publishers_post_card.html" . -}} + {{ end }} +
+ + +
+{{ end }} diff --git a/themes/lumbung-theme/layouts/shortcodes/map.html b/themes/lumbung-theme/layouts/shortcodes/map.html new file mode 100644 index 0000000..eb32332 --- /dev/null +++ b/themes/lumbung-theme/layouts/shortcodes/map.html @@ -0,0 +1,95 @@ +{{ with .Get "geoJson" }} +{{ $geoJson := . }} +{{ $data := getJSON $geoJson }} +
+ + + + + + +
+ + + + + +
+{{ 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 7c517d9..2b9874a 100644 --- a/themes/lumbung-theme/static/css/main.css +++ b/themes/lumbung-theme/static/css/main.css @@ -1761,7 +1761,7 @@ a.timeline-url { /* Timeline Events - Right Side */ .timeline-event:nth-child(2n) { margin-right: -5vw; - } +} .timeline-event:nth-child(36n + 8), .timeline-event:nth-child(36n + 24) { margin-right: -6vw; @@ -1788,3 +1788,113 @@ a.timeline-url { padding: 0; } } + + +/*=============================================== +Styles for publishers page +================================================= */ + +.publishers-page .map { + margin-block: 2rem 4rem; + border: 1px solid; +} + +.card.publishers { + border: 2px solid var(--social-dark); + background-color: var(--social-light); + max-width: min-content; + margin-bottom: 2em; + flex: auto; + margin: 0 3em 3em 0; + align-self: start; + color: var(--social-dark); + transition: transform 0.1s ease-in-out; +} + +.card.publishers .link-wrapper { + text-decoration: none; + color: inherit; +} + +.card.publishers:hover { + transform: rotate(5deg); +} + +.h-entry.publishers header { + display: flex; + flex-direction: column; +} + +.h-entry.publishers header h2 { + padding: 0.5em 0.5em 0.2em 0.5em; + margin: 0; + border: none; +} + +.h-entry.publishers header h2:hover { + cursor: pointer; +} + +.h-entry.publishers header h2 a { + text-decoration: none; + color: var(--social-dark); +} + +.h-entry.publishers header time { + text-align: right; + padding: 0.6em 0.8em; + font-size: 1rem; +} + +.card.publishers .header-metadata { + align-items: center; +} + +.card.publishers .header-metadata .dt-published { + border-bottom: 2px solid var(--social-dark); +} + +.card.publishers .filler { + min-height: 1rem; +} + +.card.publishers .author.p-author { + border-color: var(--social-dark); + padding: 0.5em 1.2em 0.5em 1.2em; +} + +.card.publishers .p-summary { + display: flex; +} + +.card.publishers .p-summary.landscape { + flex-direction: column; +} + +.card.publishers .summary-image > img { + display: inherit; +} + +.card.publishers .summary-text { + font-size: 18px; +} + +.card.publishers .footer-filler { + border-left: 2px solid var(--social-dark); + border-top: none; +} + +.card.publishers .post-footer { + border-top: 2px solid var(--social-dark); + flex-flow: row; + font-size: 0.9rem; + background-color: var(--social-light); + color: var(--social-dark); + padding: 1em; + justify-content: space-between; + align-items: center; +} + +.card.publishers .post-footer svg { + fill: var(--social-dark) +} \ No newline at end of file