Setup Instructions

Chobble Template Instructions

You can use this template to get a fully-featured website up-and-running without needing to write a single line of code, with a built-in Content Management System courtesy of PagesCMS, and flexible support for products, news, team members, events, menus, and more!

Before you begin, you'll need:

  1. A GitHub Account - For hosting your site's source code and "building" it into a full site.
  2. A Neocities Account - For hosting your website so the public can access it (free tier available)

I also recommend signing up for these two services for easy spam-protected contact forms:

  1. Formspark - Handles contact form submissions and sends them to your email (free tier: 250 submissions/month)
  2. Botpoison - Provides reasonably effective spam protection for your contact forms (free tier available)

Step 1: Fork or Use This Template

  1. Go to the template repository
  2. Click "Use this template"
  3. Click "Create a new repository"
  4. Name your repository (e.g., weyland-corp-site)
Screenshot of the 'Use this template' button in the top right of the Github desktop interface

Step 2: Neocities Configuration

  1. Create a Neocities account
  2. Note your site name (e.g., weyland-corp.neocities.org)
  3. Go to Settings → API → Generate API Key
  4. Copy your API key for the next step

Step 3: Contact Form Setup (Optional)

For a working contact form:

  1. Sign up at Formspark (free tier: 250 submissions/month)
  2. Create a form and copy the form ID
  3. Optional: Sign up at Botpoison for spam protection
  4. Copy your Botpoison secret key into your Formspark settings
  5. Note the Botpoison public key for the next step

Step 4: GitHub Secrets Configuration

In your GitHub repository:

  1. Go to Settings → Secrets and variables → Actions
  2. Add the following secrets:
Secret Name Description Required
NEOCITIES_API_KEY Your Neocities API key Yes
FORMSPARK_ID Formspark form ID Optional
BOTPOISON_PUBLIC_KEY Botpoison key Optional
Github secrets screenshot showing my three secret keys

Step 5: Edit Your Content

  1. Visit PagesCMS.org
  2. Sign in with GitHub
  3. Select your repository
  4. Start editing your site content, settings, and configuration through the visual interface

All site configuration can be managed through PagesCMS, including site name, social links, opening times, and more.

Step 6: Automated Deployment

Your site automatically deploys to the Neocities subdomain you noted before whenever you:

The build-and-deploy.yaml Github Action (link) handles the build and deployment process.

Available Content Types

Theme Customisation

  1. Visit the theme editor on this demo site
  2. Customise colors, fonts, spacing, and other design variables
  3. Copy the generated CSS code
  4. Paste it into src/css/theme.scss in your repository
  5. Commit and push to apply your custom theme

Layouts & Components

The template includes various layouts for different page types. View all available layouts and their documentation at: src/_layouts/ (link)

Image Optimisation

Images are automatically optimised during build:

SEO & Meta Tags

File Structure

Understanding the file structure can help advanced users make direct edits:

├── src/
│   ├── _data/          # Global data files (editable via PagesCMS)
│   ├── _includes/      # Template partials
│   ├── _layouts/       # Page layouts
│   ├── css/            # Stylesheets (theme.scss for customisation)
│   ├── images/         # Image assets
│   ├── js/             # JavaScript files
│   ├── pages/          # Static pages
│   ├── news/           # Blog posts
│   ├── products/       # Product pages
│   ├── events/         # Event listings
│   └── ...             # Other content types
├── _site/              # Built output (auto-generated)
├── .eleventy.js        # Eleventy configuration
├── .pages.yml          # PagesCMS configuration
└── package.json        # Dependencies

Build Errors

Deployment Issues

Content Not Updating

Custom Domains

  1. Purchase a domain
  2. In Neocities settings, add your domain
  3. Update DNS records as instructed by Neocities
  4. Update site URL in PagesCMS under Site Configuration

Analytics

To add analytics, override the src/_includes/head-scripts.html file with your tracking code.

Chobble customers get Goatcounter included as standard.

Support & Resources

License

This template is licensed under AGPLv3. You're free to use, modify, and distribute it, but you must:

Hire Me

Does this all sound like hard work? Hire me and I'll make a website for you based on the Chobble Template, with 100% transparent hourly pricing for all jobs.

Opening Hours


Regular Events


Contact


This is a demo site. If you'd like a website just like this for your business, get in touch with me at chobble.com.