Mono theme for isaaccasanova.com
Mono theme for isaaccasanova.com
A second theme that lives beside Menca. One line in _config.yml switches between them.
Menca’s files (_layouts/, _includes/, _sass/) are not modified.
Install (once)
-
Copy everything in this folder into the repo root. Nothing here overwrites an existing file except
index.html(step 2) and the two profile images. -
Open your current
index.html. Move everything below its front matter into_includes/menca/home.html(replacing the placeholder comment). Then replaceindex.htmlwith the one in this folder. If your old front matter used a layout other thandefault, tell me — the newindex.htmlassumeslayout: default. -
In
_config.yml, add:# Theme switch — comment this line out to go back to Menca. layouts_dir: _themes/mono/layouts home_post_count: 5and update the identity fields (these were still Menca defaults):
title: Isaac Casanova description: Mobile engineer in New York. Notes on iOS, privacy, and the ethics of building software. url: "https://isaaccasanova.com" - Optional but recommended, in
_config.yml:google-analytics: UA-180637374-1— Universal Analytics stopped processing data in 2023. Remove it, or replace with a GA4 ID / Plausible. The mono layout doesn’t load analytics at all.color_scheme: dark— only Menca reads this; harmless to leave.
_pages/about.suggested.mdis a draft About page written from your résumé. Rename it toabout.md(replacing the old one) if you want it, or cherry-pick paragraphs.
Switch themes
- Mono:
layouts_dir: _themes/mono/layoutspresent in_config.yml. - Menca: comment that line out.
Restart jekyll serve after changing it — _config.yml isn’t watched.
Edit content
_data/roles.yml— the work timeline. One entry per role; one line per project.logois optional (omit it for no tile); optionalurllinks the company name._data/facts.yml— the four lines under your name._data/links.yml— the “elsewhere” list.images/logos/— company marks. Addlogo_invert: truefor dark marks,logo_fill: truefor marks that carry their own background.css/mono.css— all styling; colours are the CSS variables at the top.
Notes
- Posts and pages keep
layout: post/layout: page. Both themes provide those names. - The Contact page still renders Menca’s form include; it works, but it’s unstyled under mono. If you keep the contact form, I’ll write a mono version of that include.
/posts/is a new page listing every post; the homepage shows the latesthome_post_count.- The theme toggle stores its choice in
localStorageand follows the system preference before a choice is made.