Adding tags & V&A

This commit is contained in:
JP Hastings-Spital 2023-12-26 22:35:14 +00:00
parent 7bd7ac68ae
commit fdcc905239
9 changed files with 92 additions and 8 deletions

View file

@ -4,10 +4,12 @@ emoji: ❓
date: {{ .Date }}
timings:
- starts: 2024-01-01T00:00Z
duration: P1H
duration: PT1H
link: https://...
location:
name:
latitude:
longitude:
summary:
tags:
---

View file

@ -772,6 +772,13 @@ abbr:hover {
border-bottom: 1px dotted;
}
time {
color: $dark-color;
@media (prefers-color-scheme: light) {
color: $light-color;
}
}
body.nownownow .post-content > p {
position: relative;
line-height: inherit;

View file

@ -11,6 +11,10 @@ location:
latitude: 51.53052698618849
longitude: -0.1196719819977664
summary: A rag & swing band play jazz into the early hours.
tags:
- music
- jazz
- swing
---
> The Cable Street Rag Bands Thursday night residency at Jamboree. 1920s and 30s jazz and swing all night long with a jam session from 11:30 - 12:30.

View file

@ -11,6 +11,9 @@ location:
latitude: 51.50918934310175
longitude: -0.12754071312701715
summary: A delightful folk music band play in a cocktail bar at the national portrait gallery.
tags:
- music
- folk
---
> Hidden behind a secret entrance on Charing Cross Road, Larrys is our brand-new underground cocktail bar located in the historic vaults of the National Portrait Gallery. Originally built as coal storage in 1896, the spectacular exposed brick space has been transformed offering a slice of elegance deep into the evening (seven days a week), just a short stroll from Covent Garden and Trafalgar Square. Sip on classic cocktails and dine on lavish bar snacks, amidst over 100 portraits of the famous faces of Londons West End.

View file

@ -0,0 +1,38 @@
---
title: "V&A Friday Late"
emoji: 🌜
date: 2023-12-26T21:32:28Z
timings:
- starts: 2023-11-24T18:30:00Z
duration: PT3H30M
- starts: 2024-02-23T18:30:00Z
duration: PT3H30M
- starts: 2024-03-29T18:30:00Z
duration: PT3H30M
- starts: 2024-04-26T18:30:00+01:00
duration: PT3H30M
- starts: 2024-06-28T18:30:00+01:00
duration: PT3H30M
- starts: 2024-07-26T18:30:00+01:00
duration: PT3H30M
- starts: 2024-08-30T18:30:00+01:00
duration: PT3H30M
- starts: 2024-09-27T18:30:00+01:00
duration: PT3H30M
- starts: 2024-10-25T18:30:00+01:00
duration: PT3H30M
- starts: 2024-11-29T18:30:00Z
duration: PT3H30M
link: https://www.vam.ac.uk/info/friday-late
location:
name: V&A Museum
latitude: 51.49674517159667
longitude: -0.17217997709319485
summary: Friday night exploration of the V&A museum, with drinks, lectures & installations!
tags:
- design
- art
- inspire
---
> The original contemporary late night event. Friday Late celebrates all aspects of contemporary visual culture and design in society, bringing audiences together with leading and emerging artists and designers through live performance, film, installation, debate, DJs and more.

View file

@ -0,0 +1,22 @@
---
title: "Lunchtime Lecture: Dyslexia - a Superpower for Creativity"
emoji: 🥪
date: 2023-12-26T21:25:18Z
timings:
- starts: 2024-03-21T13:00:00Z
duration: PT55M
link: https://www.vam.ac.uk/event/6l7wwY7g3M0/p23101-lunchtime-lecture-kristjana-williams-artwork-mar-2024
location:
name: V&A Museum (The Lydia and Manfred Gorvy Lecture Theatre)
latitude: 51.49674517159667
longitude: -0.17217997709319485
summary: Kristjana Williams talks about her creative journey with neurodivergence.
tags:
- lecture
- neurodivergence
- creativity
---
If I can find some time away from work this afternoon I'd love to attend this lecture!
> Join us for a fascinating and inspiring conversation with Kristjana Williams, a renowned artist and designer who has overcome dyslexia to create stunning artworks that have been exhibited and commissioned worldwide. Kristjana will share her personal and professional journey, from her childhood in Iceland to her studies at Central Saint Martins, and how she has embraced her neurodiversity as a source of creativity and innovation.

View file

@ -19,14 +19,15 @@
{{ range $page.Params.timings }}
{{ $event := dict "Title" $page.Title "Page" $page.Page "Date" (time.AsTime .starts) "Duration" (partial "iso8601.duration" .duration) }}
{{ if $event.Date.Before time.Now }}{{ continue }}{{ end }}
{{ $bundle := $event.Date.Format "Jan 2006" }}
{{ $bundle := $event.Date.Format "2006-01" }}
{{ $events = merge $events (dict $bundle (sort ((index $events $bundle) | append $event) "Date" "asc")) }}
{{ break }}{{/* Only show the first on the list */}}
{{ end }}
{{ end }}
{{ range $key, $bundledEvents := $events }}
{{ range $bundledEvents := $events }}
<div class="posts-group">
<div class="post-year">{{ $key }}</div>
<div class="post-year">{{ (index $bundledEvents 0).Date.Format "Jan 2006" }}</div>
<ul class="posts-list">
{{ range $bundledEvents }}

View file

@ -2,12 +2,18 @@
<main class="post h-event">
{{ partial "memex-header.html" . }}
{{ $timing := index .Params.timings 0 -}}
{{ $timings := slice -}}
{{ range .Params.timings -}}
{{ if (time.AsTime .starts).Before time.Now -}}
{{ $timing = . -}}
{{ if (time.AsTime .starts).After time.Now -}}
{{ $timings = $timings | append . -}}
{{ end -}}
{{ end -}}
{{ $timing := dict }}
{{ if gt (len $timings) 0 }}
{{ $timing = index $timings 0 }}
{{ else }}
{{ $timing = index .Params.timings 0 }}
{{ end }}
<article>
<hgroup class="post-title">
@ -57,6 +63,7 @@
<line x1="3" y1="10" x2="21" y2="10"></line>
</svg>
On {{ partial "year-relative-date.html" (slice (time.AsTime $timing.starts) "dt-start") }}
{{ with sub (len $timings) 1 }}{{ if gt . 0 }} (and {{ . }} other{{ if gt . 1}}s{{end}}){{ end }}{{ end }}
</p>
<p>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-clock">

View file

@ -3,7 +3,7 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-tag meta-icon"><path d="M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z"></path><line x1="7" y1="7" x2="7" y2="7"></line></svg>
{{ range . -}}
<span class="tag p-category"><a href="{{ "/tags/" | absLangURL }}{{ . | urlize }}/" data-pagefind-sort="tag">{{.}}</a></span>
<span class="tag p-category"><a href="{{ "/tags/" }}{{ . | urlize }}/" data-pagefind-sort="tag">{{.}}</a></span>
{{ end }}
</p>
{{ end }}