From 29170aa80e2a89ec9fdcf663855e3b1d56e7d7bc Mon Sep 17 00:00:00 2001 From: John Costa Date: Mon, 30 Mar 2026 22:32:17 +0100 Subject: [PATCH] feat: Adding places tab with a map --- content/places/_index.md | 3 ++ content/places/velvet-revival.md | 20 +++++++++++ hugo.toml | 4 +++ layouts/partials/recentPosts.html | 2 +- layouts/places/list.html | 56 +++++++++++++++++++++++++++++++ 5 files changed, 84 insertions(+), 1 deletion(-) create mode 100644 content/places/_index.md create mode 100644 content/places/velvet-revival.md create mode 100644 layouts/places/list.html diff --git a/content/places/_index.md b/content/places/_index.md new file mode 100644 index 0000000..7c1aefe --- /dev/null +++ b/content/places/_index.md @@ -0,0 +1,3 @@ ++++ +title = 'Places' ++++ diff --git a/content/places/velvet-revival.md b/content/places/velvet-revival.md new file mode 100644 index 0000000..7e616ab --- /dev/null +++ b/content/places/velvet-revival.md @@ -0,0 +1,20 @@ ++++ +title = 'Velvet Revival' +lon=-0.5598389213990184 +lat=51.31993995350889 +date = "2026-03-30" +author = "John Costa" +tags = ["Places", "Clothes", "Shops", "Woking"] ++++ + +[Velvet Revival](https://www.velvet-revival.co.uk/) is a vintage shop which sells up-cycled goods. It's in [Woking](https://en.wikipedia.org/wiki/Woking). + +I found the selection to be great. I bought a [Carhartt](https://www.carhartt.com/en-gb/) t-shirt, which is very nice, and I suspect a new trend in my wardrobe. + +If you're ever in Surrey, or fancy a stroll outside London (the train is 25 minutes), this is a cute little shop to visit. + +### Flyer + +| Front | Back | +| :--------------------------------------------------------------------------: | :------------------------------------------------------------------------: | +| ![Flyer Front](https://static.johncosta.tech/velvet-revival-flyer-front.jpg) | ![Flyer Back](https://static.johncosta.tech/velvet-revival-flyer-back.jpg) | diff --git a/hugo.toml b/hugo.toml index 240c072..07958e7 100644 --- a/hugo.toml +++ b/hugo.toml @@ -22,6 +22,10 @@ theme = 'risotto' weight = 10 name = 'Gists' pageRef = '/gists' +[[menu.main]] + weight = 15 + name = 'Places' + pageRef = '/places' [params.about] title = "John Costa" diff --git a/layouts/partials/recentPosts.html b/layouts/partials/recentPosts.html index 7f45331..54f6756 100644 --- a/layouts/partials/recentPosts.html +++ b/layouts/partials/recentPosts.html @@ -1,6 +1,6 @@

Recent Posts

diff --git a/layouts/places/list.html b/layouts/places/list.html new file mode 100644 index 0000000..2207154 --- /dev/null +++ b/layouts/places/list.html @@ -0,0 +1,56 @@ +{{ define "main" }} +

{{ .Title | markdownify }}

+ +{{ .Content }} + + + + +
+ + + + + +{{ end }} + +{{ define "aside" }} +{{ if .Params.description }} +

{{ .Params.description }}

+{{ end }} +{{ end }}