Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
18 changes: 18 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Deploy

on:
push:
branches:
- main

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Deploy over SSH
uses: appleboy/ssh-action@v1.2.5
with:
host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_USER }}
key: ${{ secrets.SSH_KEY }}
script: ${{ secrets.DEPLOY_COMMAND }}
18 changes: 18 additions & 0 deletions .github/workflows/deploy_draft.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Deploy draft site

on:
push:
branches:
- draft

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Deploy over SSH
uses: appleboy/ssh-action@v1.2.5
with:
host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_USER }}
key: ${{ secrets.SSH_KEY }}
script: ${{ secrets.DRAFT_DEPLOY_COMMAND }}
30 changes: 30 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Test build

on: [pull_request]

jobs:
test:
runs-on: ubuntu-latest

strategy:
matrix:
python-version: ["3.10"]

steps:
- name: Check out code
uses: actions/checkout@v6

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install beemo

- name: Build the site
env:
BEEMO_CONFIG: config.yml
run: beemo build
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export BEEMO_CONFIG=config.yml
BEEMO_CONFIG=config.yml

.PHONY: build logs analytics serve serve-analytics

Expand All @@ -15,4 +15,4 @@ serve:
python -m http.server -d www 8000

serve-analytics:
python -m http.server -d analytics 8000
python -m http.server -d analytics 8000
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ Blog posts were imported from WordPress using [scripts/wp.py](scripts/wp.py). Ev
from the WordPress site using [scripts/scrape_events.py](scripts/scrape_events.py). Pages were
imported using [scripts/wp_pages.py](scripts/wp_pages.py).

See the [USER GUIDE](docs/user-guide.md) for instructions on how to manage the content.

Note that commits to the `main` branch are automatically deployed to the live site (provided the
build succeeds); and commits to the `draft` branch are automatically deployed to
`draft.mcrcoderdojo.org.uk`.

## Build

Requires [beemo](https://github.com/bennuttall/beemo) installed. Log processing additionally requires `beemo[logs]`.
Expand Down
17 changes: 14 additions & 3 deletions config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
csv_dir: csv
templates_dir: templates
base_url: https://mcrcoderdojo.org.uk

build:
pages_dir: content/pages
posts_dir: content/posts
pages_dir: content/pages
static_dir: static
templates_dir: templates
blog_root: posts
output_dir: www
blog_root: blog

logs:
logs_dir: apache2
pattern: "mcrcoderdojo.org.uk-access*"

analytics:
output_dir: analytics
manifest_path: www/manifest.json
2 changes: 0 additions & 2 deletions content/pages/404/meta.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
modified: '2026-04-09T16:55:29+00:00'
slug: "404"
title: 404 Page not found
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions content/pages/about/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ <h2>
</p>
<p>
<div class="wp-caption aligncenter" id="attachment_1150" style="width: 310px">
<a href="/wp-content/uploads/2019/10/532446_10152298889205262_259669480_n.jpg">
<img alt="" class="wp-image-1150 size-medium" decoding="async" height="225" loading="lazy" sizes="auto, (max-width: 300px) 100vw, 300px" src="images/532446_10152298889205262_259669480_n-300x225.jpg" width="300"/>
<a href="/wp-content/uploads/2019/10/532446_10152298889205262_259669480_n.webp">
<img alt="" class="wp-image-1150 size-medium" decoding="async" height="225" loading="lazy" sizes="auto, (max-width: 300px) 100vw, 300px" src="images/532446_10152298889205262_259669480_n-300x225.webp" width="300"/>
</a>
<p class="wp-caption-text" id="caption-attachment-1150">
<em>
Expand All @@ -70,8 +70,8 @@ <h2>
</p>
<p>
<div class="wp-caption alignnone" id="attachment_6" style="width: 310px">
<a href="/wp-content/uploads/2013/12/mcrcoderdojo.jpg">
<img alt="" class="size-medium wp-image-6" decoding="async" height="200" loading="lazy" sizes="auto, (max-width: 300px) 100vw, 300px" src="images/mcrcoderdojo-300x200.jpg" width="300"/>
<a href="/wp-content/uploads/2013/12/mcrcoderdojo.webp">
<img alt="" class="size-medium wp-image-6" decoding="async" height="200" loading="lazy" sizes="auto, (max-width: 300px) 100vw, 300px" src="images/mcrcoderdojo-300x200.webp" width="300"/>
</a>
<p class="wp-caption-text" id="caption-attachment-6">
<em>
Expand Down
5 changes: 1 addition & 4 deletions content/pages/about/meta.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
author: Ben Nuttall
cover_image: Mcr-Coderdojo-12_63-small1.jpg
modified: '2022-04-14T10:45:26'
slug: about
cover_image: images/Mcr-Coderdojo-12_63-small1.webp
title: About
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions content/pages/birthday-photos/index.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
[![](images/mcrcoderdojo-300x200.jpg)](/wp-content/uploads/2013/12/mcrcoderdojo.jpg)
[![](images/mcrcoderdojo-300x200.webp)](/wp-content/uploads/2013/12/mcrcoderdojo.webp)

1st Birthday

[![](images/MG_6458-300x151.jpg)](/wp-content/uploads/2014/12/MG_6458.jpg)
[![](images/MG_6458-300x151.webp)](/wp-content/uploads/2014/12/MG_6458.webp)

2nd Birthday

[![](images/McrCoderDojo3-300x225.jpg)](/wp-content/uploads/2013/12/McrCoderDojo3.jpg)
[![](images/McrCoderDojo3-300x225.webp)](/wp-content/uploads/2013/12/McrCoderDojo3.webp)

3rd Birthday

[![](images/FullSizeRender-300x174.jpg)](/wp-content/uploads/2017/01/FullSizeRender.jpg)
[![](images/FullSizeRender-300x174.webp)](/wp-content/uploads/2017/01/FullSizeRender.webp)

4th Birthday

[![](images/mcrdojo5-300x165.jpg)](/wp-content/uploads/2017/12/mcrdojo5.jpg)
[![](images/mcrdojo5-300x165.webp)](/wp-content/uploads/2017/12/mcrdojo5.webp)

5th Birthday
3 changes: 0 additions & 3 deletions content/pages/birthday-photos/meta.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
author: Steven Flower
modified: '2017-12-14T09:04:15'
slug: birthday-photos
title: Birthday Photos
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 1 addition & 3 deletions content/pages/contact-us/meta.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
author: Steven Flower
modified: '2025-09-28T20:28:43'
slug: contact-us
cover_image: images/panoram-1024x576.webp
title: Contact Us
3 changes: 0 additions & 3 deletions content/pages/data/meta.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
author: Steven Flower
modified: '2015-02-02T18:07:20'
slug: data
title: Data
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 1 addition & 3 deletions content/pages/elsewhere/meta.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
author: Ben Nuttall
modified: '2022-04-14T11:59:52'
slug: elsewhere
cover_image: images/MCR-CODERDOJO-05-1038x576.webp
title: Elsewhere
Binary file removed content/pages/events/images/YELLOW-LOGO.jpg
Binary file not shown.
Binary file added content/pages/events/images/YELLOW-LOGO.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 1 addition & 4 deletions content/pages/events/meta.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
author: Ben Nuttall
cover_image: YELLOW-LOGO.jpg
modified: '2022-02-28T20:49:41'
slug: events
cover_image: images/YELLOW-LOGO.webp
title: Events
3 changes: 0 additions & 3 deletions content/pages/faqs/meta.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
author: Steven Flower
modified: '2014-03-17T08:19:59'
slug: faqs
title: FAQs
Binary file removed content/pages/home/images/DSC06736-2.jpg
Binary file not shown.
Binary file added content/pages/home/images/DSC06736-2.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 1 addition & 4 deletions content/pages/home/meta.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
author: Ben Nuttall
cover_image: DSC06736-2.jpg
modified: '2024-08-30T09:23:09'
slug: home
cover_image: images/DSC06736-2.webp
title: Manchester CoderDojo
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 1 addition & 4 deletions content/pages/practicals/meta.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
author: Steven Flower
cover_image: mcrcoderdojo-kit.jpg
modified: '2022-04-14T11:42:39'
slug: practicals
cover_image: images/mcrcoderdojo-kit.webp
title: Practicals
Binary file not shown.
5 changes: 1 addition & 4 deletions content/pages/support/meta.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
author: Steven Flower
cover_image: mcrcoderdojo-post-its.jpg
modified: '2024-02-11T16:39:43'
slug: support
cover_image: images/mcrcoderdojo-post-its.webp
title: Support Us
Binary file removed content/pages/venue/images/2024-02-11_16h36_48.png
Diff not rendered.
5 changes: 1 addition & 4 deletions content/pages/venue/meta.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
author: Steven Flower
cover_image: 2024-02-11_16h36_48.png
modified: '2024-03-07T18:06:05'
slug: venue
cover_image: images/2024-02-11_16h36_48.webp
title: How to find us
Binary file removed content/pages/volunteer-roles/images/DSC06738-2.jpg
Diff not rendered.
5 changes: 1 addition & 4 deletions content/pages/volunteer-roles/meta.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
author: Lisa Brown
cover_image: DSC06738-2.jpg
modified: '2023-04-09T17:13:35'
slug: volunteer-roles
cover_image: images/DSC06738-2.webp
title: Volunteer Roles
Binary file removed content/posts/01000110/images/photo.jpg
Diff not rendered.
7 changes: 0 additions & 7 deletions content/posts/01000110/meta.yml

This file was deleted.

Diff not rendered.
7 changes: 0 additions & 7 deletions content/posts/20-sunday-8th-february-2015/meta.yml

This file was deleted.

Diff not rendered.
7 changes: 0 additions & 7 deletions content/posts/21-sunday-8th-march-2015/meta.yml

This file was deleted.

Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
51 changes: 0 additions & 51 deletions content/posts/22-sunday-10th-may-2015/index.html

This file was deleted.

7 changes: 0 additions & 7 deletions content/posts/22-sunday-10th-may-2015/meta.yml

This file was deleted.

Diff not rendered.
7 changes: 0 additions & 7 deletions content/posts/23-sunday-14th-june-2015/meta.yml

This file was deleted.

Diff not rendered.
7 changes: 0 additions & 7 deletions content/posts/24-sunday-12th-july-2015/meta.yml

This file was deleted.

Diff not rendered.
7 changes: 0 additions & 7 deletions content/posts/25-sunday-13th-september-2015/meta.yml

This file was deleted.

Diff not rendered.
7 changes: 0 additions & 7 deletions content/posts/26-18th-october-2015/meta.yml

This file was deleted.

Diff not rendered.
7 changes: 0 additions & 7 deletions content/posts/27-15th-november-2015/meta.yml

This file was deleted.

Diff not rendered.
7 changes: 0 additions & 7 deletions content/posts/28-13th-december-2015/meta.yml

This file was deleted.

Diff not rendered.
7 changes: 0 additions & 7 deletions content/posts/29-7th-february-2016/meta.yml

This file was deleted.

Diff not rendered.
Loading