68 Commits

Author SHA1 Message Date
rra
d0fd3f018e found the culprit 2024-11-25 18:10:12 +01:00
rra
86c9df0c66 use first image in content as featured image using regex, hugo forum topic 52527 2024-11-25 17:04:52 +01:00
rra
5fe7cacea3 enable CJK language flag to properly trim summaries in asian scripts 2024-11-25 16:57:41 +01:00
rra
f68fc86ca3 fix pen cards / broken liks
All checks were successful
continuous-integration/drone/push Build is passing
2024-11-25 10:11:17 +01:00
rra
a722904938 page resources are returned in reverse, so get the last image rather than the first
All checks were successful
continuous-integration/drone/push Build is passing
2024-11-24 12:03:07 +01:00
rra
856ff9851e minor changes to single pages, centering and showing metadata 2024-11-24 11:40:39 +01:00
rra
e07393b97e if posts are of section pen, we render them as pen cards
All checks were successful
continuous-integration/drone/push Build is passing
2024-11-20 13:37:03 +01:00
rra
600d242be8 change flex direction to column to display images, fix #67
All checks were successful
continuous-integration/drone/push Build is passing
2024-11-20 13:25:12 +01:00
rra
5b06fee300 make timeline posts show up as the pen cards rather than the broken generic card
All checks were successful
continuous-integration/drone/push Build is passing
2024-11-20 11:43:07 +01:00
73f3d53fff update feed list again
All checks were successful
continuous-integration/drone Build is passing
2024-10-17 14:55:40 +05:00
6886deae8c deploy new feeds list 2024-10-17 14:49:52 +05:00
90669cc2af Add Arus Balik RSS feed 2024-10-17 14:45:16 +05:00
rra
d3797f83dd update feedlist, trying with extra whitespace
All checks were successful
continuous-integration/drone Build is passing
2024-08-07 16:42:39 +07:00
rra
8e05b2b975 update feedlist 2024-08-04 09:24:35 +00:00
rra
1a8e642351 Update feeds_list.txt 2024-08-04 09:23:47 +00:00
a15379a028 Style map markers to dots
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-20 09:47:08 +01:00
5b5db0654e update starting coordinates for kios
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-19 20:02:05 +05:00
29c68ea84c tweak map css
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-31 15:00:58 +05:00
3d974383f5 restore lumbung kios menu link
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-30 16:36:07 +05:00
b017e20443 fix some incorrect pins
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-11 15:15:19 +05:00
a9ced785ba delete duplicate coordinate
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-11 15:02:14 +05:00
51b89b404c Merge pull request 'Add publishers & contributor maps' (#66) from feature/leaflet-map into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #66
2023-09-11 09:50:47 +00:00
1af032b9a1 Fix order of co-ordinates
Google Maps and GeoJSON use different formats: https://stackoverflow.com/questions/74103909/different-coordinate-format-in-geojson-and-google-maps
2023-09-11 14:47:24 +05:00
605c8542b0 delete commented code 2023-09-11 13:05:48 +05:00
f1fe945f16 make map take full screen width 2023-09-11 13:03:36 +05:00
0af39ad212 update contributors map 2023-09-10 18:38:07 +05:00
d73b7647c8 add la impresora website to contributors map 2023-09-08 11:38:50 +00:00
8a6a6644cd hide kios me from nav menu 2023-07-21 13:21:38 +05:00
bb4b0a8400 Merge branch 'main' into feature/leaflet-map 2023-07-21 12:57:15 +05:00
296ad19a19 add contributors map 2023-05-06 01:13:26 +05:00
17cfc04c64 add arts collaboratory member orgs to geojson 2023-05-06 01:10:48 +05:00
a22a7d9922 add missing entries to lumbung gallery geojson list 2023-05-06 00:45:45 +05:00
3ddb2e6aaa fill out contributors geojson list 2023-05-06 00:45:27 +05:00
5347b9ae20 add publishers page to menu 2023-05-05 22:41:42 +05:00
131d17f89c fix map floating above menu 2023-05-05 22:41:34 +05:00
f1a87a899f add lumbung gallery members geojson 2023-05-05 20:36:10 +05:00
f47d869348 remove duplicate titles 2023-05-03 15:30:08 +05:00
798e30ad46 add posts list to lumbung publishers page 2023-05-03 15:27:19 +05:00
3dcb7712db add website field to publishers map popup 2023-05-03 14:41:33 +05:00
91f5a092e5 add title to kios page 2023-05-03 14:26:09 +05:00
d50bf0ebba move kios map to its own page 2023-05-03 14:25:42 +05:00
8a47929095 add geojson list of lumbung contributors 2023-05-03 14:21:12 +05:00
51d7520ec9 Revert "fix author color in lumbung callery cards"
This reverts commit 2c81341f86.
2023-05-02 23:05:23 +05:00
9463b8bacf fix reversed coordinates 2023-05-02 23:02:18 +05:00
2c81341f86 fix author color in lumbung callery cards 2023-05-02 23:01:55 +05:00
fca32b9b04 hide contributors map 2023-05-02 22:59:34 +05:00
e0fe888eb9 hide contributors map 2023-05-02 22:59:15 +05:00
9d4cf8d394 Merge pull request 'front page redesign & post filtering' (#63) from r/lumbung.space:main into main
Reviewed-on: #63
2023-05-02 22:58:49 +05:00
b196fc363b add trailing space 2023-05-02 22:57:39 +05:00
9dff545b05 update css in preparation for MR 2023-05-02 22:57:27 +05:00
b5119752c7 change the calendar output dir 2023-05-02 22:51:19 +05:00
5d3bfe7b69 change calendar events folder back to old name 2023-05-02 22:51:12 +05:00
a4279bc6c3 hide contributors map 2023-05-02 22:51:00 +05:00
7366856523 update calendar events directory 2023-05-02 22:50:51 +05:00
11ba5b920a hide contributors map 2023-05-02 22:50:43 +05:00
5179c5fa6c chore: remove whitespace [ci skip] 2023-05-02 22:50:29 +05:00
rra
6bff57966d Update 'themes/lumbung-theme/layouts/partials/news-ticker.html'
remove imprint references
2023-05-02 22:49:42 +05:00
52ed4661f2 chore: remove whitespace [ci skip]
All checks were successful
continuous-integration/drone Build is passing
continuous-integration/drone/push Build is passing
2023-03-28 10:27:13 +02:00
rra
dd6e32c2b9 Update 'themes/lumbung-theme/layouts/partials/news-ticker.html'
Some checks failed
continuous-integration/drone/push Build is failing
remove imprint references
2023-03-18 11:05:59 +01:00
f241689eb7 map: change line appearance based on dispatch status 2023-02-08 16:51:46 +05:00
5506d3cfa2 map: add layer groups and layer controld for makers, retailers, dispatches 2023-02-07 15:34:56 +05:00
99bea6ae6c map: display popup on clicking marker or route 2023-01-31 16:24:39 +05:00
8f7b53be73 display dispatches from api on map 2023-01-31 12:20:45 +05:00
ba38a91ea4 change the calendar output dir
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-19 10:48:26 +01:00
478e718ca1 change calendar events folder back to old name
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-19 14:25:12 +05:00
53b68a28bb hide contributors map
Some checks failed
continuous-integration/drone/push Build is failing
2022-12-19 14:21:40 +05:00
238870f6fb update calendar events directory
Some checks failed
continuous-integration/drone/push Build is failing
2022-12-19 13:53:06 +05:00
4bcaa81efe hide contributors map
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-19 13:27:26 +05:00
37 changed files with 2361 additions and 78 deletions

View File

@ -56,7 +56,7 @@ services:
volumes:
- content:/src/content
environment:
OUTPUT_DIR: /src/content/calendar
OUTPUT_DIR: /src/content/events
CALENDAR_URL: "https://cloud.lumbung.space/remote.php/dav/public-calendars/WbnHM8YdCkKT6bcT?export"
command: |
bash -c "
@ -153,7 +153,7 @@ networks:
configs:
feeds_list:
name: beta_lumbung_space_feeds_list_v4
name: beta_lumbung_space_feeds_list_v8
file: feeds_list.txt
feeds_list_pen:
name: beta_lumbung_space_feeds_list_pen_v2

View File

@ -4,7 +4,7 @@ title = "lumbung.space"
theme = "lumbung-theme"
pluralizeListTitles = "false"
paginate = 20
hasCJKlanguage = "true"
[params]
logo = "/img/logo.svg"

7
content/kios/_index.html Normal file
View File

@ -0,0 +1,7 @@
---
draft: false
---
<h1>Lumbung Kios</h1>
{{< kios_map >}}

View File

@ -4,9 +4,7 @@ date: 2022-05-30T17:56:51+05:00
draft: false
hidden: true
---
{{< map geoJson="data/geojsonContributors.json">}}
## Lumbung members
- **The Question of Funding**
- Adele Jarrar

View File

@ -3,6 +3,4 @@ draft: false
---
<h1>Lumbung of Publishers</h1>
<article class="map">
{{< map geoJson="data/geojsonContributors.json">}}
</article>
{{< map geoJson="data/lumbung-publishers-members.json">}}

View File

@ -4,7 +4,6 @@ date: 2022-10-18T13:33:21+05:00
draft: false
authors: ["lumbung publishers"]
categories: ["shouts"]
title: lumbung books tutorial
tags: [ "publishers" ]
---

View File

@ -4,7 +4,6 @@ date: 2022-10-18T13:31:58+05:00
draft: false
authors: ["lumbung publishers"]
categories: ["shouts"]
title: lumbung books tutorial
tags: [ "publishers" ]
---

View File

@ -0,0 +1,17 @@
---
title: "Harvesting: Majelis in Casco Art Institute 15th & 16th March 24"
date: "2024-04-18 07:39:51+00:00" #2021-06-10T10:46:33+02:00
draft: false
summary: ""
contributors: ["aline_crater"]
original_link: "https://pen.lumbung.space/2024/04/18/harvesting-majelis-in-casco-art-institute-15th-16th-march-24/"
feed_name: "pen.lumbung.space"
card_type: "pen"
sources: ["pen.lumbung.space"]
tags: ['majelis', 'documentafifteen', 'lumbung', 'lumbungdotspace', 'lumbungkios']
---
<figure class="wp-block-image size-large"><img alt="" class="wp-image-2165" height="724" src="diagrama_2-1024x724.jpg" width="1024"/></figure>
<figure class="wp-block-image size-large"><img alt="" class="wp-image-2167" height="724" src="diagrama_3-1024x724.jpg" width="1024"/></figure>
<figure class="wp-block-image size-large"><img alt="" class="wp-image-2168" height="724" src="diagrama_1-1-1024x724.jpg" width="1024"/></figure>

View File

@ -0,0 +1,20 @@
---
title: "Harvesting: Majelis in Nieuwe Instituut 8th March 24"
date: "2024-03-08 00:08:37+00:00" #2021-06-10T10:46:33+02:00
draft: false
summary: ""
contributors: ["dianoninoo"]
original_link: "https://pen.lumbung.space/2024/03/08/harvesting-majelis-in-nieuwe-instituut-8th-march-24/"
feed_name: "pen.lumbung.space"
card_type: "pen"
sources: ["pen.lumbung.space"]
tags: ['majelis', 'documentafifteen']
---
<figure class="wp-block-image size-large"><img alt="" class="wp-image-2148" height="701" src="1_diana-cantarey_harvesting-rotterdam-1024x701.png" width="1024"/></figure>
<figure class="wp-block-image size-large"><img alt="" class="wp-image-2149" height="1024" src="2_diana-cantarey_harvesting-rotterdam-768x1024.png" width="768"/></figure>
<figure class="wp-block-image size-large"><img alt="" class="wp-image-2152" height="1024" src="3_diana-cantarey_harvesting-rotterdam-768x1024.png" width="768"/></figure>
<figure class="wp-block-image size-large"><img alt="" class="wp-image-2150" height="706" src="4_diana-cantarey_harvesting-rotterdam-1024x706.png" width="1024"/></figure>
<figure class="wp-block-image size-large"><img alt="" class="wp-image-2153" height="768" src="5_diana-cantarey_harvesting-rotterdam-1024x768.png" width="1024"/></figure>
<figure class="wp-block-image size-large"><img alt="" class="wp-image-2151" height="1024" src="6_diana-cantarey_harvesting-rotterdam-768x1024.png" width="768"/></figure>

Binary file not shown.

View File

@ -0,0 +1,25 @@
---
title: "test-post"
date: "2024-11-24" #2021-06-10T10:46:33+02:00
draft: false
summary: ""
contributors: ["cem"]
original_link: "https://pen.lumbung.space/timeline/majelis-akbar-harvest-by-community-immunity-january-2022/"
feed_name: "pen.lumbung.space"
sources: ["timeline", "pen.lumbung.space"]
timelines: ['Community Immunity', 'drawing', 'Majelis Akbar']
hidden: true
---
<figure class="wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-12 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><img alt="" class="wp-image-1130" src="doc15Jan26-1.tiff"/></figure>
<figure class="wp-block-image size-large"><img alt="" class="wp-image-1134" src="doc15Jan26-2.tiff"/></figure>
<figure class="wp-block-image size-large"><img alt="" class="wp-image-1133" src="doc15Jan26-3.tiff"/></figure>
<figure class="wp-block-image size-large"><img alt="" class="wp-image-1132" src="doc15Jan26-4.tiff"/></figure>
<figure class="wp-block-image size-large"><img alt="" class="wp-image-1137" src="doc15Jan26-5.tiff"/></figure>
<figure class="wp-block-image size-large"><img alt="" class="wp-image-1136" src="doc15Jan26-6.tiff"/></figure>
<figure class="wp-block-image size-large"><img alt="" class="wp-image-1135" src="doc15Jan26-7.tiff"/></figure>
<figure class="wp-block-image size-large"><img alt="" class="wp-image-1138" src="doc15Jan26-8.tiff"/></figure>
<figure class="wp-block-image size-large"><img alt="" class="wp-image-1131" src="doc15Jan26-9.tiff"/></figure>
</figure>
<p></p>

View File

@ -8,25 +8,686 @@
"coordinates": [34.46684826773766, 31.501803673432892]
},
"properties": {
"groupName": "The Question of Funding",
"groupName": "The Question of Funding"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [0.5734484820058058, 50.85790334202201]
},
"properties": {
"groupName": "Project Art Works",
"website": "https://projectartworks.org/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-74.07431121925988, 4.619179535235933]
},
"properties": {
"groupName": "Más Arte Más Acción (MAMA)"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [13.386239006356751, 52.523934403771726]
},
"properties": {
"groupName": "ZK/U Center for Art and Urbanistics"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [19.04074926483718, 47.4974407113006]
},
"properties": {
"groupName": "OFF Biennale Budapest",
"website": "https://offbiennale.hu/en"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [13.41370482677673, 52.51892080935371]
},
"properties": {
"groupName": "Foundationclass Collective"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [72.87087082003174, 19.08736847618492]
},
"properties": {
"groupName": "Amol K Patil"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [114.14808699429824, 22.285773210867482]
},
"properties": {
"groupName": "Asia Art Archive"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [99.91390756934803, 13.74139295651044]
},
"properties": {
"groupName": "Baan Noorg Collaborative Arts and Culture"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [90.3858719270149, 23.74689226511707]
},
"properties": {
"groupName": "Britto Arts Trust"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [27.479276909569442, -11.669492189481062]
},
"properties": {
"groupName": "Centre D'Art Waza"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [121.55187310159481, 25.045507983044228]
},
"properties": {
"groupName": "Chang En Man"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [28.187136183103206, -26.021853817682118]
},
"properties": {
"groupName": "Chimurenga"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [139.58008052241715, 35.298166892078385]
},
"properties": {
"groupName": "Cinema Caravan and Takashi Kuribayashi"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [10.169482425564317, 36.802404978640865]
},
"properties": {
"groupName": "El Warcha",
"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"
"Aziz Aissaoui",
"Aziz Romdhani",
"Benjamin Perrot",
"Chiraz Guellela",
"Marlene Halbgewachs",
"Naomi Nantois Meadow",
"Radhouane Boudhraa",
"Selma Kossentini"
]
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [13.451740815341942, 52.49779005820405]
},
"properties": {
"groupName": "Fehras Publishing Practices",
"listOfNames": [
"Kenan Darwich",
"Omar Nicolas",
"Sami Rustom"
]
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [9.483263587967974, 51.311336885707874]
},
"properties": {
"groupName": "Jimmie Durham & A Stick in the Forest by the Side of the Road",
"listOfNames": [
"Elisa Strinna",
"Iain Chambers",
"Joen Vedel",
"Jone Kvie",
"Maria Thereza Alves",
"Wilma Lukatsch",
"Bev Koski"
]
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [35.21310551666355, 31.76733099252696]
},
"properties": {
"groupName": "Jumana Emil Abboud"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-63.91481978132442, -37.271646816944155]
},
"properties": {
"groupName": "La Intermundial Holobiente",
"website": "https://holobiente.org/about/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-7.989797589960902, 31.6340362904925]
},
"properties": {
"groupName": "LE 18"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [35.49964657559596, 33.89690601954764]
},
"properties": {
"groupName": "Marwa Arsanios"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [105.83249954367894, 21.02706091062608]
},
"properties": {
"groupName": "Nguyen Trinh Thi"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [13.408243756908556, 52.5230262579981]
},
"properties": {
"groupName": "Nino Bulling"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [4.479831292633461, 51.930411030394396]
},
"properties": {
"groupName": "ook_Reinaart Vanhoe"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [77.10141217533906, 28.728014858593568]
},
"properties": {
"groupName": "Party Office B2B Fadescha"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [13.386957747304395, 52.52177288712362]
},
"properties": {
"groupName": "Pinar Öǧrenci"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [153.00963090140675, -27.46220865204788]
},
"properties": {
"groupName": "Richard Bell"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [44.35310240776209, 33.32616738818097]
},
"properties": {
"groupName": "Sada [regroup]"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [34.4665008962111, 31.503376106954537]
},
"properties": {
"groupName": "Safdar Ahmed"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [8.775977801119634, 34.43170453288712]
},
"properties": {
"groupName": "Siwa Plateforme - L'economat at Redeyef"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [35.20407938450352, 31.903997468677233]
},
"properties": {
"groupName": "Subversive Film"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [32.581610847260045, 0.3477040574423913]
},
"properties": {
"groupName": "Another Roadmap Africa Cluster (ARAC)"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [29.750418620033138, -2.3494284497346016]
},
"properties": {
"groupName": "Another Roadmap Africa Cluster (ARAC)"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [27.475392399224123, -11.683364230446546]
},
"properties": {
"groupName": "Another Roadmap Africa Cluster (ARAC)"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [15.2691657643659643, -4.420454699194776]
},
"properties": {
"groupName": "Another Roadmap Africa Cluster (ARAC)"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [27.485824535687396, -29.309551408874707]
},
"properties": {
"groupName": "Another Roadmap Africa Cluster (ARAC)"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [28.041650669467376, -26.2059787867045]
},
"properties": {
"groupName": "Another Roadmap Africa Cluster (ARAC)"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [3.3594070759044734, 6.523389224486557]
},
"properties": {
"groupName": "Another Roadmap Africa Cluster (ARAC)"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [31.26463960304166, 30.052628131582498]
},
"properties": {
"groupName": "Another Roadmap Africa Cluster (ARAC)"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-0.200965, 5.560014]
},
"properties": {
"groupName": "Nubuke Foundation - Arts Collaboratory"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [33.897204, 35.513829]
},
"properties": {
"groupName": "Ashkal Alwan - Arts Collaboratory"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [35.513829, 33.897204]
},
"properties": {
"groupName": "Temporary Art Platform - Arts Collaboratory"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [44.816479, 20.474939]
},
"properties": {
"groupName": "Cultural Centre GRAD - Arts Collaboratory"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-74.087834, 4.635649]
},
"properties": {
"groupName": "Lugar a Dudas - Arts Collaboratory"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-76.549099, 3.451646]
},
"properties": {
"groupName": "Helena Producciones - Arts Collaboratory"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [18.463735, -33.940484]
},
"properties": {
"groupName": "Gugulective - Arts Collaboratory"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [14.692108, -17.441967]
},
"properties": {
"groupName": "Raw Material Company - Arts Collaboratory"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-90.516175, 14.624033]
},
"properties": {
"groupName": "La Torana - Arts Collaboratory"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [106.832686, -6.218968]
},
"properties": {
"groupName": "ruangrupa"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [28.047305, -26.204103]
},
"properties": {
"groupName": "Keleketla! Library - Arts Collaboratory",
"city": "Johannesburg",
"country": "South Africa"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [67.063473, 24.861462]
},
"properties": {
"groupName": "Vasl Artists' Association - Arts Collaboratory"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [3.379206, 6.453060]
},
"properties": {
"groupName": "Video Art Network Lagos - Arts Collaboratory"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-68.122441, -16.507456]
},
"properties": {
"groupName": "Casa Tres Patios - Arts Collaboratory"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-77.033966, -12.046374]
},
"properties": {
"groupName": "Bisagra - Arts Collaboratory"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [121.028812, 14.565859]
},
"properties": {
"groupName": "Green Papaya Art Projects - Arts Collaboratory"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [32.570926, -25.965053]
},
"properties": {
"groupName": "Nucleo de Arte - Arts Collaboratory"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-99.127662, 19.433735]
},
"properties": {
"groupName": "Casa Gallina - Arts Collaboratory"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-56.168350, -34.905134]
},
"properties": {
"groupName": "Espacio de Arte Contemporáneo - Arts Collaboratory"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [72.825833, 18.964700]
},
"properties": {
"groupName": "Clark House Initiative - Arts Collaboratory"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [104.9165275, 11.5636628]
},
"properties": {
"groupName": "SA SA BASSAC - Arts Collaboratory"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [34.018124, -6.859864]
},
"properties": {
"groupName": "La Source du Lion - Arts Collaboratory"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-60.641688, -32.944242]
},
"properties": {
"groupName": "El Levante - Arts Collaboratory"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-70.648204, -33.447503]
},
"properties": {
"groupName": "Metales Pesados - Arts Collaboratory"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-46.6523816, -23.5351122]
},
"properties": {
"groupName": "Casa do Povo - Arts Collaboratory"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [36.8127757, 10.1634717]
},
"properties": {
"groupName": "L'Art Rue - Arts Collaboratory"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [110.3661793, -7.7830803]
},
"properties": {
"groupName": "KUNCI Cultural Studies Center - Arts Collaboratory"
}
}
]

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,319 @@
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-67.02312138226604, 18.473952560246335]
},
"properties": {
"groupName": "La Impresora",
"website": "https://cargocollectivecom/laimpresora",
"listOfNames": [
"Amanda Hernández",
"Nicole Delgado Poueymirou"
]
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [121.48494201935183, 31.248587159325307]
},
"properties": {
"groupName": "Bananafish Books",
"listOfNames": [ "Qing / Wei" ],
"website": "https://instagram.com/bananafishbooks"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-2.9342512170102952, 43.26413418446196]
},
"properties": {
"groupName": "Consonni",
"listOfNames": [
"Maria Mur Dean",
"Munts Brunet"
],
"website": "https://www.consonni.org"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-99.1347000127044, 19.452826396857443]
},
"properties": {
"groupName": "Cooperativa Cráter Invertido",
"listOfNames": [
"Jazael Olguinzapata",
"Sari Denisse",
"Mario Dominguez"
],
"website": "https://www.visibleproject.org/blog/project/editorialmovement-mexico-city-mexico/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [2.1649055407407434, 41.396244293766436]
},
"properties": {
"groupName": "Erick Beltrán"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-70.66692136271297, -33.442317042843925]
},
"properties": {
"groupName": "HAMBRE",
"listOfNames": [
"Daniela Sepúlveda Guzmán",
"Camila González Simon"
],
"website": "https://hambrehambrehambre.com"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [31.23460265148997, 30.04863553908884]
},
"properties": {
"groupName": "Kayfa-ta",
"listOfNames": [
"Maha Maamoun",
"Ala Younis"
],
"website": "www.kayfa-ta.com"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [35.90847989847126, 31.969726971911616]
},
"properties": {
"groupName": "Kayfa-ta",
"listOfNames": [
"Maha Maamoun",
"Ala Younis"
],
"website": "www.kayfa-ta.com"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [24.100226353313147, 56.97988198342907]
},
"properties": {
"groupName": "kuš!",
"listOfNames": [
"David Schilter",
"Monika Grūzīte"
],
"website": "http://www.komikss.lv"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [24.932134774628967, 60.1883622930113]
},
"properties": {
"groupName": "Kutikuti",
"listOfNames": [
"Petra Virtanen",
"Johanna Rojola or roju (they /them)"
],
"website": "https://kutikutisf.wordpress.com/category/news/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [106.84599411307272, -6.20175313758691]
},
"properties": {
"groupName": "Marjin Kiri",
"listOfNames": [
"Ronny Agustinus",
"Pradewi Tri Chatami"
],
"website": "https://marjinkiri.com"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-56.18580127552417, -34.899210176795584]
},
"properties": {
"groupName": "microutopías",
"listOfNames": [
"Darío Marroche",
"Magui Testoni"
],
"website": "https://microutopias.press"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [8.541196230458853, 47.38275909850193]
},
"properties": {
"groupName": "Nieves",
"listOfNames": ["Benjamin Sommerhalder"],
"website": "https://www.nieves.ch"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-74.06936870435806, 4.7283471458218695]
},
"properties": {
"groupName": "Relampago",
"listOfNames": ["Andrés and Valeria"],
"website": "https://instagram.com/proyectorelampago"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [9.479151985185684, 51.31700304920649]
},
"properties": {
"groupName": "Rotopol Press",
"listOfNames": ["Rita Fürstenau"],
"website": "http://www.rotopolpress.de"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [8.541196230458853, 47.38275909850193]
},
"properties": {
"groupName": "Strapazin",
"listOfNames": [
"(David Basler) Milva Stutz",
"Lika Nüssli"
],
"website": "https://strapazin.ch"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [14.506004050784611, 46.062038080618365]
},
"properties": {
"groupName": "Stripburger",
"listOfNames": [
"Katerina Mirovic",
"Tanja Skale"
],
"website": "https://www.stripburger.org/en/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [7.394589665360936, 9.081206604987218]
},
"properties": {
"groupName": "Jalada Africa",
"listOfNames": ["Richard Ali"],
"website": "https://www.jaladaafrica.org"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [37.88198388123684, 0.18736237622547486]
},
"properties": {
"groupName": "Jalada Africa",
"listOfNames": ["Wanjeri Gakuru"],
"website": "https://www.jaladaafrica.org"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [80.72724100901736, 8.040603024970357]
},
"properties": {
"groupName": "The Packet",
"listOfNames": ["Abdul Halik Azeez"],
"website": "https://www.instagram.com/the_packet"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-4.159429300086695, 17.67169725681633]
},
"properties": {
"groupName": "Les Editions TAKABA",
"listOfNames": ["Nfana DIAKITE"],
"website": "https://www.facebook.com/editions.takaba"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [113.25937734969307, 23.16313833792756]
},
"properties": {
"groupName": "BOLOHO",
"listOfNames": [
"Di Liu",
"Jiaxin Li (Xiaotian)",
"Siyan"
],
"website": "https://instagram.com/readingroom2191"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [32.32078434190578, 1.5643986962732304]
},
"properties": {
"groupName": "David Kaiza",
"website": "https://cipesa.org/2016/09/david-kaiza-ugandan-writer-and-journalist/"
}
}
]
}

View File

@ -12,3 +12,6 @@ https://ruangrupa.id/feed/
https://wajukuuarts.wordpress.com/feed/
https://www.masartemasaccion.org/feed/?lang=en
https://www.ruralschoolofeconomics.info/rss.xml
https://riwanua.id/feed/
https://zapier.com/engine/rss/9657521/balik

View File

@ -22,6 +22,9 @@
{{- partial "partials/shout_card.html" . -}}
{{ end }}
{{ else if in .Params.sources "pen.lumbung.space" }}
{{- partial "partials/pen_card.html" . -}}
{{ else if eq .Section "social" }}
{{- partial "partials/social_card.html" . -}}

View File

@ -2,13 +2,11 @@
<main class="main single">
<article class="h-entry">
<header>
<h1 class="p-name"><a href="{{ .Permalink }}" class="u-url">{{ .Title }}</a></h1>
<p>
Published by <a class="p-author" href="/about">{{ $.Param "author" }}</a>
on <time class="dt-published" datetime="{{ .Date.Format `Jan 02 2006` }}">{{ .Date.Format "Jan 02, 2006" }}</time>
</p>
<h1 class="p-name single"><a href="{{ .Permalink }}" class="u-url">{{ .Title }}</a></h1>
<div class="metadata"><span class="from p-author">{{ if .Params.contributors }}By <b>{{range .Params.contributors}} <a href='{{ "/contributors/" | relLangURL }}{{ . | urlize }}/'> {{ . }},</a> {{ end }}</b>{{ end }} {{with .Params.original_link }}originally posted on <b><a href="{{ . }}">{{ end }}{{ .Params.feed_name }}</a></b> on <time class="dt-published" datetime="{{ .Date.Format `Jan 02 2006` }}">{{ .Date.Format "Jan 02, 2006" }}</time></span></div>
</header>
<div class="e-content">
{{with .Params.featured_image}}<img src="{{.}}"></img>{{end}}
{{ .Content }}
</div>
</article>

View File

@ -23,6 +23,16 @@
{{- partial "partials/shout_card.html" . -}}
{{ end }}
{{ else if eq .Section "pen" }}
{{ if in .Params.sources "pen.lumbung.space" }}
{{- partial "partials/pen_card.html" . -}}
{{ end }}
{{ else if eq .Section "timeline"}}
{{ if in .Params.sources "pen.lumbung.space" }}
{{- partial "partials/pen_card.html" . -}}
{{ end }}
{{ else if eq .Section "social" }}
{{- partial "partials/social_card.html" . -}}

View File

@ -0,0 +1,16 @@
{{ define "main" }}
<main class="kios-page">
{{.Content}}
<section class='entries'>
<div class="h-feed">
{{ range where (.Paginator 13).Pages "Params.hidden" "ne" "true" }}
{{- partial "publishers_post_card.html" . -}}
{{ end }}
</div>
<nav class="pagination">
{{ template "_internal/pagination.html" . }}
</nav>
</main>
{{ end }}

View File

@ -22,6 +22,7 @@
<li><a href="/social/">social</a></li>
<li><a href="/sources/pen.lumbung.space/">pen</a></li>
<li><a href="/shouts/">shouts</a></li>
<li><a href="/publishers/">publishers</a></li>
<li class="has-submenu">ekonomi
<ul class="submenu">
<li><a href="/tags/lumbungkiosproducts/">kios</a></li>

View File

@ -1 +0,0 @@
<iframe src="https://documenta-fifteen.de/en/external-ticker-lumbung/" sandbox="allow-same-origin allow-scripts allow-popups allow-popups-to-escape-sandbox" scrolling="no" loading="lazy" style="overflow: hidden" width="100%" height="80px" frameborder="0"></iframe>

View File

@ -1,7 +1,7 @@
<div class='pen card {{ .Params.feed_name }} filter-item' data-section="{{ .Section }}" data-sources='{{- partial "data/sources.html" . -}}' data-contributors='{{- partial "data/contributors.html" . -}}' data-tags='{{- partial "data/tags.html" . -}}'>
<article class="h-entry pen">
<header>
<div class="pen-source"><span class="from p-author">From {{ if .Params.author }}<b>{{.Params.author}}</b> at {{ end }}<a href="{{ "/categories/" | relLangURL }}{{ .Params.feed_name | urlize }}">{{ .Params.feed_name }}</a></span></div>
<div class="pen-source"><span class="from p-author">From {{ if .Params.author }}<b>{{.Params.author}}</b> at {{ end }}<a href="{{ "/sources/" | relLangURL }}{{ .Params.feed_name | urlize }}">{{ .Params.feed_name }}</a></span></div>
{{ $postPermalink := .Permalink}}
<time class="dt-published" datetime="{{ .Date.Format `Jan 02 2006` }}">{{ .Date.Format "Jan 02, 2006" }}</time>
@ -24,7 +24,19 @@
{{ .Summary }}
</div>
</div>
<small>this should show the first image in the content</small>
{{$first_image := ""}}
{{$matches := findRESubmatch `<img\s.*?src=(?:'|")([^'">]+)(?:'|")` .Content 1 }}
{{range $matches}}{{$first_image = index . 1}}{{end}}
{{with .Resources.Get $first_image}}
{{if .ResourceType}}
{{.ResourceType}}
{{.MediaType}}
<img src="{{ .Permalink }}" alt="">
{{/* uncomment below to crash the build*/}}
{{.Width}}
{{end}}
{{end}}
<footer class='post-footer'>
<a href="{{ .RelPermalink }}">
<svg width="11" height="11" viewBox="0 0 11 11" xmlns="http://www.w3.org/2000/svg">

View File

@ -1,26 +1,46 @@
<div class='publishers card {{ .Params.feed_name }}'>
<article class="h-entry publishers">
{{ $postPermalink := .Permalink}}
<a href="{{ .Permalink }}" class="link-wrapper">
<header>
<h2 class="p-name">
<div class='publishers social card' data-section="{{ .Section }}">
<article class="h-entry social">
<header>
{{ $postPermalink := .Permalink}}
<h2 class="p-name"><a href="{{ .Permalink }}" class="u-url">
{{ .Title }}
</h2>
</header>
<div class="p-summary">
<div class="summary-text">
{{ .Summary }}...
</div>
</div>
</a></h2>
</header>
<footer class='post-footer'>
<svg width="11" height="11" viewBox="0 0 11 11" xmlns="http://www.w3.org/2000/svg">
<path d="M10.2172 3.892C9.86979 3.02585 9.33722 2.34509 8.61023 1.77874C8.23826 1.49028 7.72957 1.04191 7.21547 0.839212C7.21382 0.703503 7.14487 0.575079 6.97767 0.503871C5.42624 -0.162284 3.69503 0.311299 2.52647 1.51482C1.94635 2.11223 1.51951 2.8478 1.21108 3.62501C0.914861 4.3676 0.507572 5.32483 0.948415 6.07996C1.00646 6.17836 1.09356 6.24193 1.1908 6.27306C1.2735 7.35573 1.57765 8.46801 2.37847 9.21874C3.2325 10.0162 4.43613 10.3053 5.5673 10.1773C6.72371 10.0468 7.96432 9.57061 8.8816 8.82474C9.01086 8.71974 9.1274 8.60844 9.23337 8.49296C9.27968 8.4924 9.32805 8.4875 9.37839 8.4718C11.3643 7.82491 10.8101 5.37347 10.2172 3.892Z" />
</svg>
<time class="dt-published" datetime="{{ .Date.Format `Jan 02 2006` }}">
{{ .Date.Format "Jan 02, 2006" }}
</time>
</footer>
</a>
{{ with (index (.Resources.ByType "video") 0) }}
{{/* TODO this current logic does not suport video & image mixed */}}
<div class="p-summary">
<video controls width="540px" preload="none" poster="{{ $postPermalink }}/thumbnail.png">
<source src="{{.Permalink}}" type="video/mp4">
</video>
{{ else}}
{{ with (index (.Resources.ByType "image") 0) }}
{{ $height := add .Height 0.0}}
{{ $ratio := div $height .Width}}
{{ $thumb := .Fit "540x540 q80 webp"}}
<div class="p-summary{{if gt $ratio 1 }} portrait {{else}} landscape {{end}}">
<div class="summary-image {{if gt $ratio 1 }} portrait {{else}} landscape {{end}}">
<a href="{{ $postPermalink }}"><img src="{{ $thumb.Permalink }}" alt="{{ .Title }}"> </a>
</div>
{{ else }}
<div class="p-summary">
{{ end }}
{{ end }}
<div class="summary-text">
{{ .Summary }}
</div>
</div>
<div class="social-source"></div>
<footer class='post-footer'>
<div class='footer-metadata'>
<span class="from p-author">{{ if .Params.contributors }}From {{range .Params.contributors}}<b> <a href='{{ "/contributors/" | relLangURL }}{{ . | urlize }}/'> {{ . }}</a> {{end}}</b> on{{ end }}</span>
<time class="dt-published" datetime="{{ .Date.Format `Jan 02 2006` }}">{{ .Date.Format "Jan 02, 2006" }}</time>
</div>
{{ if .Truncated }}
<div class="footer-filler" style="border-color: transparent" ></div>
<div class='read-more'><a href="{{ .RelPermalink }}">Read More…</a></div>
{{ end }}
</footer>
</article>
</div>

View File

@ -19,7 +19,8 @@
</div>
{{end}}
{{ else if (.Resources.ByType "image") }}
{{ with (index (.Resources.ByType "image") 0) }}
{{/* Somehow the image resources are iterated in reverse, so we need to get the last one*/}}
{{ range last 1 (.Resources.ByType "image") }}
{{ $img := . }}
{{ $height := add .Height 0.0}}
{{ $ratio := div $height .Width}}

View File

@ -1,16 +1,13 @@
{{ define "main" }}
<main class="publishers-page">
{{.Content}}
<section class='entries'>
<div class="h-feed">
{{ range where (.Paginator 13).Pages "Params.hidden" "ne" "true" }}
{{- partial "publishers_post_card.html" . -}}
{{ range where site.RegularPages "Type" "publishers" }}
<div class="post">
{{ partial "partials/publishers_post_card.html" . -}}
</div>
{{ end }}
</div>
<nav class="pagination">
{{ template "_internal/pagination.html" . }}
</nav>
</main>
{{ end }}

View File

@ -0,0 +1,117 @@
<link
rel="stylesheet"
href="https://unpkg.com/leaflet@1.9.3/dist/leaflet.css"
integrity="sha256-kLaT2GOSpHechhsozzB+flnD+zUyjE2LlfWPgU04xyI="
crossorigin=""
/>
<script
src="https://unpkg.com/leaflet@1.9.3/dist/leaflet.js"
integrity="sha256-WBkoXOwTeyKclOHuWtc+i2uENFpDZ9YPdf5Hf+D7ewM="
crossorigin=""
></script>
<div id="map"></div>
<style>
#map {
width: 100%;
padding-bottom: 70%;
margin-bottom: 80px;
}
.black-dot {
background-color: black;
border-radius: 50%;
}
</style>
<script>
var osm = L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
maxZoom: 19,
attribution: '&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'
});
var blackDotIcon = L.divIcon({
className: 'black-dot',
iconSize: [20, 20],
iconAnchor: [10, 10]
});
// Create makers layer group
var makers = L.layerGroup();
{{ with getJSON "https://kios-admin.lumbung.space/api/makers"}}
{{ range .docs }}
var makerMarker = L.marker(L.GeoJSON.coordsToLatLng({{ .location }}), {
icon: blackDotIcon
});
makerMarker.bindPopup({{ .name }})
makers.addLayer(makerMarker);
{{ end }}
{{ end }}
// Create retailers layer group
var retailers = L.layerGroup();
{{ with getJSON "https://kios-admin.lumbung.space/api/retailers"}}
{{ range .docs }}
var retailerMarker = L.marker(L.GeoJSON.coordsToLatLng({{ .location }}), {
icon: blackDotIcon
});
retailerMarker.bindPopup({{ .name }})
retailers.addLayer(retailerMarker);
{{ end }}
{{ end }}
// Create dispatches layer group
var dispatches = L.layerGroup();
{{ with getJSON "https://kios-admin.lumbung.space/api/dispatches"}}
{{ range .docs }}
var start = L.GeoJSON.coordsToLatLng({{ .startingPoint.location }});
var startMarker = L.marker(start, {icon: blackDotIcon});
startMarker.bindPopup({{ .startingPoint.name }});
var end = L.GeoJSON.coordsToLatLng({{ .endPoint.location }});
var endMarker = L.marker(end, {icon: blackDotIcon});
endMarker.bindPopup({{ .endPoint.name }});
// Add line to display dispatch route
var myDashArray = {{ .status }} === "routeRequested" ? "20, 10" : {{ .status }} === "completed" ? "1, 5" : "0, 0"; // Dashed line based on status
var route = L.polyline([start, end], {color: '#000', dashArray: myDashArray });
// Generate string to display list of products in popup
var productsString = "";
var productsList = {{ .products }};
productsList.forEach((product, i) => productsString = productsString + product.productTitle + (i + 1 < productsList.length ? ', ' : ""));
route.bindPopup(
'<p>Origin: <strong>' + {{ .startingPoint.name }} + '</strong><br />' +
'Destination: <strong>' + {{ .endPoint.name }} + '</strong><br />' +
'Courier: <strong>' + {{ .courier.name }} + '</strong><br />' +
'Products: <strong>' + productsString + '</strong><br />' +
'Status: <strong>' + {{ .status }} + '</strong></p>');
dispatches.addLayer(route);
dispatches.addLayer(startMarker);
dispatches.addLayer(endMarker);
{{ end }}
{{ end }}
var map = L.map('map', {
center: [-6.1815, 106.8228],
zoom: 3,
layers: [osm, dispatches]
});
var overlayMaps = {
"Dispatches": dispatches,
"Makers": makers,
"Retailers": retailers
};
var layerControl = L.control.layers(overlayMaps, null, {collapsed: false, position: "topleft"}).addTo(map);
window.addEventListener('load', (event) => {
map.invalidateSize();
});
</script>

View File

@ -64,6 +64,8 @@
return '<video width="320" controls style="padding-bottom: 12px; width: 100%;"><source src="' + objectOrder[key] + '"></video>'
} else if (key === 'audio') {
return '<audio controls style="padding-bottom: 12px; width: 100%;"><source src="' + objectOrder[key] + '"></audio>'
} else if (key === 'website') {
return '<p><strong>website: </strong><a href="'+ objectOrder[key] + '">' + objectOrder[key] + '</a></p>'
} else {
return '<p>' + objectOrder[key] + '</p>'
}

View File

@ -53,11 +53,6 @@
/*Main Stuff*/
html {
scroll-behavior: smooth;
}
body {
font-size: 21px;
font-family: Gudea, sans-serif;
@ -91,6 +86,7 @@ a {
.container .single {
max-width: 65ch;
margin: auto;
}
.card {
@ -560,11 +556,11 @@ footer.post-footer {
}
.shout .p-summary.portrait {
/* flex-direction: row; */
flex-direction: column;
}
.shout .p-summary.landscape {
flex-direction: column;
.shout .p-summary.landscape
{ flex-direction: column;
}
.shout .summary-image > img {
@ -1011,6 +1007,21 @@ label:hover {
text-align: center;
}
/* publishers card */
.publishers.card {
display: flex;
}
/* leaflet map */
#map {
margin-top: 2rem;
margin-bottom: 4rem !important;
/* makes map "break out of container" and take full-width */
width: 100vw !important;
transform: translateX(-10%);
}
/* Paginator */
@ -1932,6 +1943,10 @@ input:checked + label + .description {
height: auto;
}
.single header{
margin:0;
}
.single .h-entry figure{
margin: 0 0 20px;
}
@ -1940,6 +1955,27 @@ input:checked + label + .description {
margin: 0;
}
.single h1 {
padding: 0.5rem;
background: #fff;
width:100%;
}
.e-content{
padding:1em;
}
.single .metadata{
border: 2px solid #333;
font-size: 14px;
padding: 0.5rem;
align-items: center;
background: #e8e8e8;
position:relative;
width:calc(100% + 2em);
right:1em;
}
/* lumbung radio player widget */
.lumbung-radio-player {
display: flex;