Commit 807e361e authored by Mike Street's avatar Mike Street
Browse files

Small tweaks

parent aec5c71e
......@@ -28,10 +28,10 @@ With that in mind, I set out to make the following new website:
<span class="info">Hey!</span> Feel free to have a play with the JSON API:
- Beers: [https://beer.mikestreety.co.uk/api/beers.json](https://beer.mikestreety.co.uk/api/beers.json)
- Breweries: [https://beer.mikestreety.co.uk/api/breweries.json](https://beer.mikestreety.co.uk/api/breweries.json)
- Beers: [https://alehouse.rocks/api/beers.json](https://alehouse.rocks/api/beers.json)
- Breweries: [https://alehouse.rocks/api/breweries.json](https://alehouse.rocks/api/breweries.json)
There are several transformations I do to the [Brewery data](https://gitlab.com/mikestreety-sites/ale-house-rock/-/blob/master/app/data/breweries.js) to the website, but the JSON above is more than enough to play with.
There are several transformations I do to the [Brewery data](https://gitlab.com/mikestreety-sites/ale-house-rock/-/blob/master/functions/api/process-beers-and-breweries.js) to the website, but the JSON above is more than enough to play with.
## Platform of choice
......@@ -61,7 +61,7 @@ This is an enhancement from the one used for my [personal site](/blog/deploy-11t
```js
// Get the beer JSON
let beers = await fetch('https://beer.mikestreety.co.uk/api/beers.json')
let beers = await fetch('https://alehouse.rocks/api/beers.json')
.then(data => data.json()),
// Get the latest ID from the JSON
......@@ -85,4 +85,3 @@ With 11ty powering it (and treating myself to a new domain name), all the beer r
**[Ale House Rock](https://alehouse.rocks/)**
If you're interested, the source code is accessible on [Gitlab](https://gitlab.com/mikestreety-sites/ale-house-rock).
......@@ -5,13 +5,13 @@ tags:
- Notes
---
I was looking through my [diary](/diary) the other day and te how little I hast posted over the last month or so compared to the rest of the year. I also remembered that I had gone through a blog writing marathon earlier in the year and scheduled posts for months to come - so it's not that I have _recently_ stopped writing, I've just not written anything (except the odd post here or there) since about April.
I was looking through my [diary](/diary) the other day and noted how little I hast posted over the last month or so compared to the rest of the year. I also remembered that I had gone through a blog writing marathon earlier in the year and scheduled posts for months to come - so it's not that I have _recently_ stopped writing, I've just not written anything (except the odd post here or there) since about April.
Over the last few weeks, however, there have been a couple of events I wanted to make a note of. Not for anyone, really, except myself.
### Commuter Bike Crash
About a month ago I experienced a rather embarrassing crash on the way to work. I was still close enough to home to hobble back after, but the accident broke my bike frame. I was avoiding a dog walker and another cyclist and didn't see a pothole masked by grass. The pothole caused me to lose control of the bike, after which I went head first into a low wall - which threw me over the handlebars and over the wall.
About a month ago I experienced a rather embarrassing crash on the way to work. I was still close enough to home to hobble back after, but the accident broke my bike frame. I was avoiding a dog walker and another cyclist and didn't see a pothole masked by grass. The pothole caused me to lose control of the bike, after which I went head first into a low wall - which threw me over the handlebars and over the wall.
I was ok - bruised ego and legs. Fortunately there was a A&E nurse who saw the whole thing and gave me a quick check up before we headed in different directions.
......@@ -30,4 +30,3 @@ While on holiday a couple of weeks ago (yes, the same week the cargo bike got re
What it does mean is that I can't drive, I can't cycle, I can't read small writing on packaging. Fortunately, I can still work, look after my children and do most other day-to-day activities.
It's been a pain - not being able to pop out in the car or cycle anywhere. Hopefully it will be better soon and I can start doing fun things again.
......@@ -64,7 +64,7 @@ layout: default.njk
{% for tag in tags %}{% include 'tag.njk' %}{% endfor %}
</div>
<p class="meta source">
<a href="https://gitlab.com/mikestreety/mikestreety/-/blob/master/{{ page.inputPath }}">View this post on Gitlab</a>
<a href="https://gitlab.com/mikestreety/mikestreety/-/blob/main/{{ page.inputPath }}" title="{{ page.inputPath }}">View this post on Gitlab</a>
</p>
</article>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment