Personal blog built with Jekyll and hosted on GitHub Pages.
Visit: carsten-j.github.io
- Docker installed on your system
- Git
-
Clone the repository:
git clone https://github.com/carsten-j/carsten-j.github.io.git cd carsten-j.github.io -
Make the Jekyll script executable (first time only):
chmod +x jekyll.sh
-
Run the development server:
./jekyll.sh
-
Open your browser and navigate to
http://localhost:4000
The site will automatically rebuild when you make changes to files. The script includes --drafts flag so draft posts in _drafts/ will be visible locally.
If you prefer not to use Docker:
-
Install Ruby 3.1 or higher and Bundler:
gem install bundler
-
Install dependencies:
bundle install
-
Serve the site:
bundle exec jekyll serve --drafts
The site automatically deploys to GitHub Pages when changes are pushed to the master branch.
-
Make your changes locally and test them
-
Commit and push to the
masterbranch:git add . git commit -m "Your commit message" git push origin master
-
GitHub Actions will automatically:
- Build the site using the
github-pagesgem - Deploy to GitHub Pages
- Your changes will be live at https://carsten-j.github.io/
- Build the site using the
- Check the Actions tab in the GitHub repository to see the deployment status
- Build logs are available if there are any errors
_posts/- Blog posts in Markdown format_drafts/- Draft posts (not published)_layouts/- HTML templates for pages and posts_includes/- Reusable HTML components_sass/- SASS stylesheetscss/- Compiled CSSimages/- Static images
Create a new file in _posts/ with the format: YYYY-MM-DD-title.markdown
Example frontmatter:
---
layout: post
title: "Your Post Title"
date: 2026-01-17 10:00:00 +0100
categories: [category1, category2]
---Posts support:
- Markdown formatting
- Code syntax highlighting
- MathJax for mathematical equations (use
$...$for inline,$$...$$for blocks)
- Jekyll 3.9.x - Static site generator (via github-pages gem)
- Kramdown - Markdown processor
- Rouge - Syntax highlighting
- MathJax 3 - Mathematical notation
- Font Awesome 6 - Icons
- GitHub Actions - CI/CD pipeline