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
This commit is contained in:
Aadil Ayub 2023-09-11 09:50:47 +00:00
commit 51b89b404c
16 changed files with 2222 additions and 62 deletions

View File

@ -25,5 +25,8 @@ paginate = 20
source = "sources" source = "sources"
timeline = "timelines" timeline = "timelines"
[permalinks] [permalinks]
timelines = "/timeline/:slug/" timelines = "/timeline/:slug/"

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

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

View File

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

View File

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

View File

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

View File

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

View File

@ -5,28 +5,699 @@
"type": "Feature", "type": "Feature",
"geometry": { "geometry": {
"type": "Point", "type": "Point",
"coordinates": [34.46684826773766, 31.501803673432892] "coordinates": [31.501803673432892, 34.46684826773766]
}, },
"properties": { "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": [ "listOfNames": [
"Adele Jarrar", "Aziz Aissaoui",
"Amany Khalifa", "Aziz Romdhani",
"Dena Matter", "Benjamin Perrot",
"Fayrouz Sharqawi", "Chiraz Guellela",
"Martin Heller", "Marlene Halbgewachs",
"Mohammad Hawajri", "Naomi Nantois Meadow",
"Mohammad Abu Sal", "Radhouane Boudhraa",
"Noor Abed", "Selma Kossentini"
"Raed Issa", ]
"Raoof Alajouri", }
"Rayya Badran", },
"Siwar Kraitm", {
"Yazan Khalili" "type": "Feature",
], "geometry": {
"video": "https://interactive-examples.mdn.mozilla.net/media/cc0-videos/flower.webm", "type": "Point",
"iframe": "https://tv.lumbung.space/videos/embed/d5b26273-cb7e-4f5e-9041-5694a504405e?title=0", "coordinates": [13.451740815341942, 52.49779005820405]
"audio": "https://interactive-examples.mdn.mozilla.net/media/cc0-audio/t-rex-roar.mp3" },
"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": [-58.424717920825884, -34.60590628674898]
},
"properties": {
"groupName": "La Intermundial Holobiente"
}
},
{
"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": [5.560014, -0.200965]
},
"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": [33.897204, 35.513829]
},
"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": [4.635649, -74.087834]
},
"properties": {
"groupName": "Lugar a Dudas - Arts Collaboratory"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [3.451646, -76.549099]
},
"properties": {
"groupName": "Helena Producciones - Arts Collaboratory"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-33.940484, 18.463735]
},
"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": [14.624033, -90.516175]
},
"properties": {
"groupName": "La Torana - Arts Collaboratory"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-6.218968, 106.832686]
},
"properties": {
"groupName": "ruangrupa"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-26.204103, 28.047305]
},
"properties": {
"groupName": "Keleketla! Library - Arts Collaboratory",
"city": "Johannesburg",
"country": "South Africa"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [24.861462, 67.063473]
},
"properties": {
"groupName": "Vasl Artists' Association - Arts Collaboratory"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [6.453060, 3.379206]
},
"properties": {
"groupName": "Video Art Network Lagos - Arts Collaboratory"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-16.507456, -68.122441]
},
"properties": {
"groupName": "Casa Tres Patios - Arts Collaboratory"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-12.046374, -77.033966]
},
"properties": {
"groupName": "Bisagra - Arts Collaboratory"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [14.565859, 121.028812]
},
"properties": {
"groupName": "Green Papaya Art Projects - Arts Collaboratory"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-25.965053, 32.570926]
},
"properties": {
"groupName": "Nucleo de Arte - Arts Collaboratory"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [19.433735, -99.127662]
},
"properties": {
"groupName": "Casa Gallina - Arts Collaboratory"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-34.905134, -56.168350]
},
"properties": {
"groupName": "Espacio de Arte Contemporáneo - Arts Collaboratory"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [18.964700, 72.825833]
},
"properties": {
"groupName": "Clark House Initiative - Arts Collaboratory"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [11.5636628, 104.9165275]
},
"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": [-33.447503, -70.648204]
},
"properties": {
"groupName": "Metales Pesados - Arts Collaboratory"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-23.5351122, -46.6523816]
},
"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": [-7.7830803, 110.3661793]
},
"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

@ -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,9 +22,10 @@
<li><a href="/social/">social</a></li> <li><a href="/social/">social</a></li>
<li><a href="/sources/pen.lumbung.space/">pen</a></li> <li><a href="/sources/pen.lumbung.space/">pen</a></li>
<li><a href="/shouts/">shouts</a></li> <li><a href="/shouts/">shouts</a></li>
<li><a href="/publishers/">publishers</a></li>
<li class="has-submenu">ekonomi <li class="has-submenu">ekonomi
<ul class="submenu"> <ul class="submenu">
<li><a href="/tags/lumbungkiosproducts/">kios</a></li> {{/* <li><a href="/tags/lumbungkiosproducts/">kios</a></li> */}}
<li><a href="/tags/lumbunggallery/">gallery</a></li> <li><a href="/tags/lumbunggallery/">gallery</a></li>
</ul> </ul>
</li> </li>

View File

@ -1,26 +1,46 @@
<div class='publishers card {{ .Params.feed_name }}'> <div class='publishers social card' data-section="{{ .Section }}">
<article class="h-entry publishers"> <article class="h-entry social">
{{ $postPermalink := .Permalink}} <header>
<a href="{{ .Permalink }}" class="link-wrapper"> {{ $postPermalink := .Permalink}}
<header> <h2 class="p-name"><a href="{{ .Permalink }}" class="u-url">
<h2 class="p-name">
{{ .Title }} {{ .Title }}
</h2> </a></h2>
</header> </header>
<div class="p-summary">
<div class="summary-text">
{{ .Summary }}...
</div>
</div>
<footer class='post-footer'> {{ with (index (.Resources.ByType "video") 0) }}
<svg width="11" height="11" viewBox="0 0 11 11" xmlns="http://www.w3.org/2000/svg"> {{/* TODO this current logic does not suport video & image mixed */}}
<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" /> <div class="p-summary">
</svg> <video controls width="540px" preload="none" poster="{{ $postPermalink }}/thumbnail.png">
<time class="dt-published" datetime="{{ .Date.Format `Jan 02 2006` }}"> <source src="{{.Permalink}}" type="video/mp4">
{{ .Date.Format "Jan 02, 2006" }} </video>
</time> {{ else}}
</footer> {{ with (index (.Resources.ByType "image") 0) }}
</a> {{ $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> </article>
</div> </div>

View File

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

View File

@ -0,0 +1,93 @@
<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;
}
</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>'
});
// 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 }}));
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 }}));
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);
startMarker.bindPopup({{ .startingPoint.name }});
var end = L.GeoJSON.coordsToLatLng({{ .endPoint.location }});
var endMarker = L.marker(end);
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: [0, 0],
zoom: 2,
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>' return '<video width="320" controls style="padding-bottom: 12px; width: 100%;"><source src="' + objectOrder[key] + '"></video>'
} else if (key === 'audio') { } else if (key === 'audio') {
return '<audio controls style="padding-bottom: 12px; width: 100%;"><source src="' + objectOrder[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 { } else {
return '<p>' + objectOrder[key] + '</p>' return '<p>' + objectOrder[key] + '</p>'
} }

View File

@ -53,11 +53,6 @@
/*Main Stuff*/ /*Main Stuff*/
html {
scroll-behavior: smooth;
}
body { body {
font-size: 21px; font-size: 21px;
font-family: Gudea, sans-serif; font-family: Gudea, sans-serif;
@ -1011,6 +1006,21 @@ label:hover {
text-align: center; text-align: center;
} }
/* publishers card */
.publishers.card {
display: flex;
}
/* publishers map */
#map {
margin-top: 2rem;
margin-bottom: 4rem;
/* makes map "break out of container" and take full-width */
width: 100vw !important;
transform: translateX(-10%);
}
/* Paginator */ /* Paginator */