Keep your posts, pages and images. This guide assumes your site already builds
with Jekyll and has a _config.yml and Gemfile.
Before switching themes: save a backup or create a migration branch. Theme-specific settings and layouts are not converted automatically; check the preview before publishing.
Follow steps 1–5, then use the migration checklist. For field-by-field lookup, use the migration mappings below.
1. Prepare your site
Create a migration branch or backup. Record your home page, a post, a page,
search and feed URLs so you can check them after switching themes.
Keep your existing url, baseurl, permalink and custom domain settings
unless you intend to change your public addresses.
Check local overrides first. Files in _layouts, _includes and assets
with the same paths as theme files take precedence. Old copies can hide the new
design or keep loading old scripts. Review them individually; move obsolete
theme copies outside the site source, preserving your own content and customizations.
Keep useful custom layouts and includes, then adapt their parent layouts, include paths and CSS to the new theme. For site-wide additions, prefer the supported custom hooks reference over copying a complete theme layout.
2. Switch to a pinned remote theme
In _config.yml, remove the old theme and replace any existing remote_theme:
remote_theme: dieghernan/chulapa@v2.3.0
Add these entries to your existing plugins list, keeping unrelated plugins:
plugins:
- jekyll-remote-theme
- jekyll-include-cache
In your Gemfile, add these dependencies if missing:
gem "jekyll-remote-theme"
gem "jekyll-include-cache"
Remove the old theme gem if nothing else uses it. Keep Jekyll and dependencies
needed by your content or publishing workflow. The
personal-blog Gemfile
provides a dependency reference; merge it with your file rather than replacing it.
Run bundle install.
Use the published version above for the features described here. An unpinned
theme follows main. Mermaid, PhotoSwipe and GoatCounter require v2.2.0 or later.
3. Adapt layouts and front matter
Review _config.yml defaults as well as the settings between --- lines in
posts and pages. Explicit page values override defaults: an old layout: post
will still need changing even if you set a new post default.
Layouts and page front matter
| Existing setting or purpose | Field or combination in Chulapa | Constraint or reference |
|---|---|---|
layout: post for an article |
layout: default, header_type: post |
Layout reference. |
layout: page for a regular page |
layout: default, header_type: base |
Standalone page addresses still follow their configured permalink. |
image or cover for a header photograph |
header_img with a suitable header_type |
The old field is not translated; header options specify the supported types. |
toc: true |
show_toc: true |
TOC options. |
Page comments: true |
show_comments: true |
Also needs the site provider and a comment-capable layout. |
Page search: false |
include_on_search: false |
Local Lunr/Fuse/Simple-Jekyll-Search indexes only; not an Algolia exclusion or Google crawler directive. |
| Post or collection document in built-in feeds | include_on_feed: true |
Requires a resolved date; set collection dates explicitly for Jekyll 3/4 consistency and output: true to publish linked collection articles. Standalone pages are not selected. Feed constraints. |
Keep title, date, categories, tags and existing public permalinks.
Replace obsolete includes and classes using the
layout and snippet reference and demos.
4. Reconnect navigation and integrations
Translate old settings in _config.yml, preserving unrelated settings,
existing addresses and provider identifiers. In the preview, follow the
edited menu and footer links, test search and open an old comment thread.
Site configuration and integrations
| Purpose | Fields or output | Constraint or reference |
|---|---|---|
| Site author stored as a plain string | author mapping with name |
Other profile fields are in Site author; guest page authors have their own mapping. |
| Appearance | chulapa-skin.skin |
Exact supported skin name; fonts/color overrides remain separate. Theming reference. |
| Navbar | navbar.nav entries: title, url, optional child |
One dropdown level; old links are not imported. Navbar. |
| Footer | footer.links entries: label, icon, url; footer.copyright |
Old links/copyright are not translated. Footer. |
| Search | search.provider, search.landing_page; page layout: search, matching permalink |
Default path /search; provider selection creates neither page nor hosted index. Search reference. |
| Comments | comments.provider, provider identifiers; page/default show_comments |
No automatic provider migration; existing discussion IDs and URLs affect matching. Cactus ID migration, corrected Welcomments URLs in v2.2.0 and legacy local corrections are in Comments. |
| Existing subscriber addresses | /atom.xml, /rss.xml, optional jekyll-feed /feed.xml |
Built-in feeds select dated posts/collection documents with include_on_feed: true; collection output must publish linked articles. jekyll-feed’s default path can coexist; two generators must not write the same path. |
| Google Analytics 4 | gtag_id |
Existing measurement ID; duplicate custom tracking scripts can count twice. GA reference. |
| GoatCounter | goatcounter |
Requires v2.2.0; version and production constraints. |
For setup steps, see local search, comment providers and preserving a feed URL.
Local overrides and release boundary
Local layouts, includes and assets can override either installation method. Keep useful overrides and adapt them using Custom hooks. A version pin limits available features. Mermaid, PhotoSwipe and GoatCounter require v2.2.0 or later.
5. Preview, then publish
Run bundle exec jekyll serve. Restart it after changing _config.yml.
Check representative pages against the URLs you recorded, including images
and links when your site uses a baseurl. Review titles, descriptions and
canonical URLs in the generated HTML.
Keep an existing publishing workflow if it installs the new dependencies and builds your site successfully. If you need GitHub Actions publishing:
- In your repository, open Settings > Pages and select GitHub Actions.
- Add a workflow under
.github/workflows/, using the template workflow as a starting point. Adapt its branch and build settings to your repository. - Keep the published version pin in
_config.yml. Merge the migration when the preview is ready, then check the publishing run in Actions. - Open the address in Settings > Pages and repeat the checklist’s live checks. Analytics may load only in production; verify it there.
Upgrade to v2.3.0
When upgrading from v2.2.0, check these changes in v2.3.0:
- Icons. Font Awesome Free 7 is the default. Set
fa_version: 6in_config.ymlto keep the previous hosted version. If you use a kit with legacy icon names, enable v4 compatibility in the kit settings. See Font Awesome settings. - Copied script includes. Update your copy of
_includes/components/scripts.htmlto use Bootstrap 4.6.2 and Popper.js 1.16.1. Copy the matching integrity hashes with the script URLs. See JavaScript assets and local overrides. - Copied Fuse.js search pages. Use the updated adapter and load it as a module. Check the order and number of results for your usual queries. See Fuse.js setup.
- Feeds. Check existing subscriptions at
/atom.xmland/rss.xml. If your site already serves a custom/feed.jsonor/subscribe/, check which content the build publishes at those URLs. See Publish posts in the built-in feeds.
Common migration problems
| Problem | What to check or change |
|---|---|
| The old design is still visible | Review local _layouts, _includes and matching assets. Move obsolete theme copies outside the source; adapt useful customizations rather than deleting all custom files. Rebuild and refresh. |
Jekyll reports an unknown include_cached tag |
Install jekyll-include-cache, enable it under plugins, run bundle install and restart Jekyll. |
| A layout is missing, or an old include fails | Check explicit page front matter and configuration defaults for old layout names. Translate theme-specific includes; use layout: default for ordinary posts and pages. |
| CSS or images return 404 | Check url, baseurl and asset paths. Keep url as the domain and use baseurl for the site subpath. See site settings. |
| Search opens a missing page or returns no results | Check search.provider, create the search page and match its permalink to search.landing_page. For local providers check include_on_search; Algolia needs its uploaded index and uses files_to_exclude for exclusions. Check the chosen provider guide. |
| Readers’ feed URL stops working, or posts are missing | Preserve the existing feed URL. Keep jekyll-feed for /feed.xml if needed; built-in feeds require dates and include_on_feed: true. Avoid duplicate output paths. |
Migration checklist
- Save a backup or migration branch and record important URLs.
- Review local layouts, includes and assets for old theme overrides.
- Set
remote_theme: dieghernan/chulapa@v2.3.0and remove conflicting theme settings. - Install and enable both remote-theme and include-cache plugins.
- Translate layouts and front matter, including
_config.ymldefaults. - Replace old theme-specific includes and classes used in content.
- Adapt author details and skin; rebuild navbar/footer links and check destinations.
- Test search and an existing comment thread, if enabled.
- Open the feed URLs used by your readers and check recent posts.
- Check analytics configuration and remove duplicate tracking snippets.
- Preview on mobile and with a keyboard; verify images, URLs and metadata.
- Publish, check the build result and repeat the key checks on the live site.