Capella Jekyll documentation
SEO and sharing
What Capella does for search engines and social sharing without any setup, and what to set before you launch.
What Capella does for you
- Titles and descriptions. Each page gets a title (“Page title | Site title”) and a description, from
titleanddescriptionin its front matter, falling back to_config.yml. Thejekyll-seo-tagplugin writes them, along with the canonical address. - Social sharing. Open Graph and Twitter tags with a sharing image. Every page uses
/assets/img/demo/og.jpgunless it sets its ownimage:. A post shares its own photo (imagein its front matter). See Writing posts. - Breadcrumbs. Posts and category pages carry breadcrumb data, so search results can show “Capella > Travel > Post title”. Category pages need the
category:line in their front matter for this. See Writing posts. - A sitemap at
/sitemap.xml, from thejekyll-sitemapplugin. - A feed of your posts at
/feed.xml, fromjekyll-feed, linked from every page. - Pages kept out of search. The search page, the thank-you page, the 404 page, the two extra home pages (
/home-2/and/home-3/), the/typography/page and the/blocks/catalogue are markednoindexand left out of the sitemap. - Clean HTML. One main heading per page, headings in order, real links, a skip link, labeled form fields, and the whole page’s CSS inline by default, which helps speed.
To hide any other page from search, add these two lines to its front matter:
noindex: true
sitemap: false
Before you launch
- Set
urlin_config.ymlto your real address, with no slash at the end. Sharing tags, the sitemap, the feed and the Web3Forms redirect all need it. - Write a
titleanddescriptioninindex.htmlthat say what your blog is about. Every page needs its owndescription. - Fill in
author:in_config.yml. - Replace
assets/img/demo/og.jpgwith your own 1200 × 630 picture. The stand-in is a plain pale card. - Check that every post has an
excerpt, animageand animage_alt. - Switch both forms out of demo mode. See Newsletter and contact forms.
- Add your site to Google Search Console and submit
https://your-domain.com/sitemap.xml.
Checking it
- Paste your address into PageSpeed Insights for speed, accessibility and SEO scores. Capella is aimed at a score of 100.
- The Rich Results Test shows the structured data search engines see.
- To check social sharing, paste a post’s address into a draft post on a social network before publishing it.
The /blocks/ and /typography/ pages
/blocks/ is the block catalogue and /typography/ shows every Markdown element. They’re in your copy so you can look things up while you build, and search engines are told to ignore them. If you don’t want them public, delete blocks.html and typography.md.