This is the source code for joewebber.co.uk, built with the Hugo static site generator.
-
Install Hugo
- On Ubuntu:
sudo apt-get install hugo - Or see Hugo install docs
- On Ubuntu:
-
Run the site locally
hugo server
The site will be available at
http://localhost:1313. -
Build for production
hugo
The static files will be generated in the
public/directory.
content/— Markdown posts and pageslayouts/— HTML templates (Go templates)static/— CSS, images, and other static assetsconfig.toml— Site configuration
This site uses Decap CMS for content management.
- Navigate to
https://joewebber.co.uk/admin/(orhttp://localhost:1313/admin/when running locally) - Authenticate with your GitHub account
- Start creating and editing content
The CMS uses GitHub OAuth for authentication. Only users with write access to the joewebber/joewebber-co-uk repository can access and use the CMS. This is controlled at the GitHub repository level through:
- Repository collaborators with write permissions
- Organization team members with write access
- Repository owners
To ensure only you can access the admin screen, make sure no other users have write access to your GitHub repository. You can verify this in your repository settings under "Collaborators and teams" or "Manage access".
- Edit posts and pages through a user-friendly interface
- Add new blog posts without touching code
- Upload and manage images
- Preview content before publishing
Upload the contents of the public/ folder to your web server or use a static hosting service (Netlify, Vercel, GitHub Pages, etc).
MIT License