This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Personal blog and portfolio site for leocardz.com built with Jekyll 4.4.1, using the Minima theme with Bootstrap 5 for styling. Deployed via GitHub Pages.
# Install dependencies
bundle install
# Copy vendor assets (Bootstrap, jQuery, Popper.js) to _sass/vendor and assets/vendor
rake copy
# Local development server (http://localhost:4000)
bundle exec jekyll serve
# Build for production
bundle exec jekyll build
compress.html # HTML minification wrapper
└── default.html # Base HTML structure (head + skeleton)
├── page.html # Static pages (about, contact, etc.)
├── post.html # Blog post template with navigation
├── archive.html
├── projects.html
└── timeline.html
_posts/ - Blog posts using YYYY-MM-DD-slug.markdown naming_pages/ - Static pages (about, contact, projects, feeds, search)_includes/html/ - Reusable components (head, sidebar, footer, SEO)_header/ - Header assets_drafts/ - Unpublished posts---
layout: post
title: Post Title
date: 2024-01-01 12:00:00 +0100
permalink: /2024/01/01/slug
id: /2024/01/01/slug
excerpt: Brief description
categories: [article]
tags: [tag1, tag2]
sitemap: true
feed: true
featured: false
divider: false
author:
name: Leonardo Cardoso
redirect_from:
- /old-url
external_url: https://example.com # Optional: for linked posts
github_url: https://github.com/... # Optional: source link
gist_url: https://gist.github.com/... # Optional
---
_config.yml defines:
jekyll-sitemap, jekyll-redirect-fromManaged via Rakefile tasks:
rake copy - Copies Bootstrap, jQuery, and Popper.js assetsrake clean - Removes vendor directories_sass/vendor/ and assets/vendor/