Skip to content
View bwag84's full-sized avatar
🏠
Working from home
🏠
Working from home

Block or report bwag84

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don't include any personal information such as legal names or email addresses. Markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
bwag84/README.md

Bart Wagener - Professional Portfolio

A Hugo static site for Bart Wagener's professional portfolio, using the CareerCanvas theme. This site is automatically deployed to GitHub Pages.

🌐 Live Site: https://bartwagener.com/ πŸ”— GitHub Pages URL: https://bwag84.github.io/bwag84/

πŸš€ Quick Start

Prerequisites

Local Development

  1. Clone the repository

    git clone https://github.com/bwag84/bwag84.git
    cd bwag84
  2. Initialize the theme submodule

    git submodule update --init --recursive
  3. Install dependencies

    npm install
  4. Run the development server

    npm run dev
    # or
    hugo server -D

    Visit http://localhost:1313 to view the site.

βš™οΈ Initial GitHub Pages Setup

Important: This is a one-time setup required after pushing to GitHub for the first time.

If you see a 404 error when visiting your site, you need to enable GitHub Actions as the deployment source:

  1. Go to repository settings:

  2. Change the deployment source:

    • Under "Build and deployment" section
    • Find the "Source" dropdown (may be set to "Deploy from a branch")
    • Click the dropdown and select "GitHub Actions"
    • It saves automatically
  3. Trigger the first deployment:

    • Go to the "Actions" tab: https://github.com/bwag84/bwag84/actions
    • Click on "Deploy Hugo site to Pages" workflow on the left sidebar
    • Click the "Run workflow" button (top right, green button)
    • Click the green "Run workflow" button in the dropdown
  4. Wait for deployment:

    • Watch the workflow run (takes 1-2 minutes)
    • Once it completes with a green checkmark βœ“, your site is live
  5. Visit your site:

Note: You only need to do this once. After the initial setup, every push to main will automatically trigger deployments.

🌐 Custom Domain Setup

This site uses a custom domain: bartwagener.com

The custom domain is configured using:

  • static/CNAME file containing the domain name
  • baseURL in hugo.toml set to https://bartwagener.com/

If you need to verify or reconfigure the custom domain in GitHub:

  1. Go to: https://github.com/bwag84/bwag84/settings/pages
  2. Under "Custom domain", ensure it shows: bartwagener.com
  3. Check "Enforce HTTPS" (recommended)
  4. Ensure your DNS is configured correctly:
    • For apex domain (bartwagener.com):
      • Add A records pointing to GitHub Pages IPs:
        • 185.199.108.153
        • 185.199.109.153
        • 185.199.110.153
        • 185.199.111.153
    • For www subdomain (www.bartwagener.com):
      • Add CNAME record pointing to: bwag84.github.io

Note: DNS changes can take up to 24-48 hours to propagate fully.

πŸ“ Making Updates

Updating Content

All content is managed through markdown files and configuration:

  • Personal Info: Edit hugo.toml - name, tagline, email, social links, etc.
  • About Section: Edit content/about.md
  • Skills: Edit content/skills.md
  • Experience: Edit content/experience.md
  • Technical Stack: Edit content/technical.md
  • Blog Posts: Add/edit files in content/blog/

Adding a New Blog Post

hugo new content blog/your-post-title.md

Or manually create a file in content/blog/ with front matter:

---
title: "Your Post Title"
date: 2025-01-15
draft: false
description: "SEO description for the post"
tags: ["SEO", "Digital Marketing"]
---

Your content here...

Adding Custom Images

Place images in static/images/ and reference them as /images/filename.png in your content.

πŸ”„ Deploying Updates

The site automatically deploys to GitHub Pages when you push to the main branch.

Step-by-Step Deployment

  1. Make your changes (edit content, add blog posts, update config, etc.)

  2. Test locally

    npm run dev

    Verify everything looks good at http://localhost:1313

  3. Commit your changes

    git add .
    git commit -m "Your descriptive commit message"
  4. Push to GitHub

    git push origin main
  5. Automatic deployment

    • GitHub Actions will automatically build and deploy your site
    • Check the "Actions" tab in your GitHub repository to monitor progress
    • Site will be live at https://bwag84.github.io/bwag84/ in 1-2 minutes

🎨 Customization

Colors

The theme uses a three-tier color system in hugo.toml:

  • Base colors: Hex values (single source of truth)
  • Semantic colors: References to base colors
  • Section colors: Component-specific colors

Change colors by editing the [params.colors] section in hugo.toml.

Layout Overrides

Custom layouts go in layouts/ to override theme defaults:

  • layouts/partials/hero.html - Hero section
  • layouts/partials/contact.html - Contact section
  • layouts/partials/footer.html - Footer

Theme layouts remain in themes/careercanvas/layouts/.

πŸ› οΈ Build Commands

# Development server with drafts
npm run dev

# Production build
npm run build:css && npm run build

# Update theme
git submodule update --remote themes/careercanvas

πŸ“ Project Structure

.
β”œβ”€β”€ .github/workflows/   # GitHub Actions for deployment
β”œβ”€β”€ content/            # All content (markdown files)
β”‚   β”œβ”€β”€ about.md
β”‚   β”œβ”€β”€ skills.md
β”‚   β”œβ”€β”€ experience.md
β”‚   β”œβ”€β”€ technical.md
β”‚   └── blog/          # Blog posts
β”œβ”€β”€ layouts/           # Custom layout overrides
β”‚   └── partials/
β”œβ”€β”€ static/            # Static assets (images, files)
β”‚   β”œβ”€β”€ images/
β”‚   └── files/
β”œβ”€β”€ themes/            # Theme (git submodule)
β”‚   └── careercanvas/
β”œβ”€β”€ hugo.toml          # Main configuration file
└── package.json       # Node dependencies

πŸ”§ Troubleshooting

GitHub Pages Not Updating

  1. Check the "Actions" tab in your GitHub repo for errors
  2. Ensure GitHub Pages is enabled:
    • Go to Settings β†’ Pages
    • Source should be "GitHub Actions"

Submodule Not Loading

git submodule update --init --recursive

Build Errors

# Clear Hugo cache
hugo mod clean

# Reinstall dependencies
rm -rf node_modules package-lock.json
npm install

πŸ“š Documentation

  • Project Guide: See CLAUDE.md for detailed development instructions
  • Theme Docs: themes/careercanvas/README.md
  • Color Customization: themes/careercanvas/COLOR_CUSTOMIZATION.md
  • Blog Guide: BLOG_GUIDE.md

πŸ“„ License

This portfolio site is personal property of Bart Wagener.

🀝 Contact

Pinned Loading

  1. bwag84 bwag84 Public

    Building out bartwagener.com on Github Pages and learning a lot along the way!

    HTML