Use this guide when you already work with Jekyll and want to run one of the starter examples. You need Ruby, Bundler and an internet connection for the remote theme download. For a first site without installing software, use the browser tutorial.
Prepare your copy
- Copy the contents of your selected example folder into your own site
repository. Keep
_postsor_projectsat the site root, alongside_config.yml. - Edit the existing
title,descriptionandrepositoryvalues in_config.yml. Seturlto your site’s origin, such ashttps://ana.github.io, andbaseurlto/my-blogfor that repository’s site or""for a site at the domain root. - Replace sample content and placeholder links. Blog posts go in
_posts/YYYY-MM-DD-title.md; portfolio projects go in_projects/. - Keep the supplied design, or follow Choose a skin.
To keep a released version, append a tag such as
@v2.1.0toremote_theme; Mermaid is unavailable in that release.
Preview the site
From your copied site’s directory, run:
bundle install
bundle exec jekyll serve --url http://localhost:4000 --baseurl ""
Open http://localhost:4000. Check the home page, an article or project, and image
and navigation links. Restart Jekyll after editing _config.yml.
Publish the site
Follow remote-theme publishing to configure GitHub Actions for your copy. The example folders do not include a publishing workflow; copying them does not publish a site.
Wait for the publishing run to succeed, then open the address in Settings > Pages. Check the same content and links on the public site, including its repository path.