A ready-to-use blog template powered by bckt and automatically deployed to GitHub Pages.
- Zero installation required - Just write markdown and push
- Automatic deployment - GitHub Actions handles everything
- Auto-updating - Always uses the latest bckt release (or pin to a specific version)
- Clean, responsive theme - Beautiful out of the box
- Client-side search - Built-in search functionality
Click the "Use this template" button at the top of this repository, then:
- Choose a repository name (e.g.,
my-blog) - Make it public (required for GitHub Pages on free accounts)
- Click "Create repository from template"
- Go to your new repository's Settings → Pages
- Under Source, select "GitHub Actions"
- Save
Edit bckt.yaml:
title: "Your Blog Name"
description: "Your blog description"
base_url: "https://yourusername.github.io/your-repo-name"Push your changes, and GitHub Actions will automatically deploy your site!
Create new posts in the posts/ directory. Each post should be in its own folder with a post.md file:
posts/
my-first-post/
post.md
Post format:
---
title: "My First Post"
slug: "my-first-post"
date: "2025-01-15T12:00:00Z"
tags:
- blogging
abstract: "A brief description of your post"
---
Your content here in Markdown format...Push to GitHub, and your site will rebuild automatically!
- Navigate to
posts/in your repository - Click "Add file" → "Create new file"
- Name it
posts/my-post-title/post.md - Add frontmatter and content
- Commit directly to main
If you want to preview locally:
# Install bckt
curl -L https://github.com/vrypan/bckt/releases/latest/download/bckt-[your-platform].tar.gz | tar xz
# Create a new post
bckt-new --title "My Post"
# Preview locally
bckt dev
# When ready, commit and push
git add .
git commit -m "Add new post"
git pushEdit bckt.yaml to customize:
title- Your site namedescription- Site description (used in meta tags)base_url- Your GitHub Pages URLhomepage_posts- Number of posts on the homepagedate_format- How dates are displayed
The default theme is bckt3. You can customize it by editing files in the themes/bckt3/ directory, or create your own theme. See bckt documentation for details.
You can use your own domain instead of username.github.io. Here's how:
echo "blog.yourdomain.com" > skel/CNAME
git add skel/CNAME
git commit -m "Add custom domain"
git pushFor subdomain (e.g., blog.yourdomain.com):
Add a CNAME record in your DNS provider:
- Type:
CNAME - Name:
blog - Value:
yourusername.github.io
For apex domain (e.g., yourdomain.com):
Add A records pointing to GitHub's IPs:
185.199.108.153185.199.109.153185.199.110.153185.199.111.153
- Repository Settings → Pages
- Under Custom domain, enter your domain
- Click Save and wait for DNS check
- Enable "Enforce HTTPS"
base_url: "https://blog.yourdomain.com"Detailed instructions: See Custom Domain Setup for provider-specific DNS configuration and troubleshooting.
By default, the workflow uses the latest bckt release. To pin to a specific version:
echo "v0.6.2" > .bckt-version
git add .bckt-version
git commit -m "Pin bckt version"
git pushTo switch back to auto-updating, delete the .bckt-version file.
Every time you push to the main branch, GitHub Actions:
- Checks out your repository
- Downloads bckt (latest or pinned version)
- Runs
bckt renderto generate HTML - Deploys the
html/directory to GitHub Pages
The workflow file is at .github/workflows/deploy.yml.
.
├── .github/
│ └── workflows/
│ └── deploy.yml # GitHub Actions workflow
├── posts/ # Your blog posts go here
│ └── hello-from-bckt/
│ └── post.md
├── themes/
│ └── bckt3/ # Default theme
├── skel/ # Static assets (copied to output)
├── bckt.yaml # Site configuration
├── .gitignore
└── README.md
- Check the Actions tab for errors
- Verify GitHub Pages source is set to "GitHub Actions"
- Clear your browser cache
Common issues:
- Invalid YAML frontmatter in posts
- Missing required fields (title, slug, date)
- Invalid date format (use ISO 8601:
YYYY-MM-DDTHH:MM:SSZ)
Check the Actions tab for detailed error messages.
- blog.vrypan.net - Personal blog using bckt
- steve.photo - Photography site with bckt-photo
This template is free to use. bckt is licensed under the MIT License.
Happy blogging! Questions? Open an issue.