<!doctype html><htmllang=en-AUdir=ltrclass=scroll-smoothdata-default-appearance=lightdata-auto-appearance=true><head><metacharset=utf-8><metaname=viewportcontent="width=device-width,initial-scale=1"><metaname=theme-colorcontent="rgb(255,255,255)"><title>What's New in 2.0 ✨ · Congo</title>
<metaname=titlecontent="What's New in 2.0 ✨ · Congo"><scripttype=text/javascriptsrc=/congo/js/appearance.min.74ad8406faea02f3e186ba5126249aaeed9073629e04b05037b903396b188724.jsintegrity="sha256-dK2EBvrqAvPhhrpRJiSaru2Qc2KeBLBQN7kDOWsYhyQ="></script><linktype=text/cssrel=stylesheethref=/congo/css/main.bundle.min.9602fe0216290b9ff0322c1fd14e88ab9fc0a13741f4de563f67831708d72bb2.cssintegrity="sha256-lgL+AhYpC5/wMiwf0U6Iq5/AoTdB9N5WP2eDFwjXK7I="><scriptdefertype=text/javascriptid=script-bundlesrc=/congo/js/main.bundle.min.5ff2b3a0b729a3f13a3d681740c924c9009e2be09e22a8458e486651e9e1af40.jsintegrity="sha256-X/KzoLcpo/E6PWgXQMkkyQCeK+CeIqhFjkhmUenhr0A="data-copy=Copydata-copied=Copied></script><metaname=descriptioncontent="
</span></span></code></pre></div><p>Best of all there’s nothing you need to change! Simply insert standard Markdown image syntax and let the theme do the rest. If you want a little more control, the <code>figure</code> shortcode has been completely rewritten to provide the same resizing benefits.</p><h2id=performance-improvementsclass="relative group">Performance improvements <spanclass="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100"><aclass="group-hover:text-primary-300 dark:group-hover:text-neutral-700"style=text-decoration-line:none!importanthref=#performance-improvementsaria-label=Anchor>#</a></span></h2><p>This update packs performance improvements throughout. A key objective for this release was to improve Lighthouse scores and Congo now scores a perfect 100 on all four metrics.</p><figure><picture><sourcesrcset="/congo/docs/version-2/lighthouse_hu2dd769ba6150bc188f19ac555e8a2ca4_64698_330x0_resize_q75_h2_box.webp330w,/congo/docs/version-2/lighthouse_hu2dd769ba6150bc188f19ac555e8a2ca4_64698_660x0_resize_q75_h2_box.webp660w
,/congo/docs/version-2/lighthouse.jpg 1200w" sizes=100vw></picture></figure><p>There’s too many individual changes to highlight them here but the results speak for themselves. If you want to dig deeper, you can
<ahref=/congo/docs/version-2/lighthouse/>view the Lighthouse report</a>. Real world performance will vary based upon server configuration.</p><h2id=site-searchclass="relative group">Site search <spanclass="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100"><aclass="group-hover:text-primary-300 dark:group-hover:text-neutral-700"style=text-decoration-line:none!importanthref=#site-searcharia-label=Anchor>#</a></span></h2><p>Powered by <ahref=https://fusejs.iotarget=_blankrel=noreferrer>Fuse.js</a>, site search allows visitors to quickly and easily find your content. All searches are performed client-side meaning there’s nothing to configure on the server and queries are performed super fast. Simply enable the feature in your site configuration and you’re all set. Oh, and it also supports full keyboard navigation!</p><h2id=tables-of-contentsclass="relative group">Tables of contents <spanclass="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100"><aclass="group-hover:text-primary-300 dark:group-hover:text-neutral-700"style=text-decoration-line:none!importanthref=#tables-of-contentsaria-label=Anchor>#</a></span></h2><p>A highly requested feature, Congo now supports tables of contents on article pages. You can see it in action on this page. The contents are fully responsive and will adjust to take advantage of the space available at different screen resolutions.</p><p>Available on a global or per article basis, the table of contents can be fully customised using standard Hugo configuration values, allowing you to adjust the behaviour to suit your project.</p><h2id=accessibility-improvementsclass="relative group">Accessibility improvements <spanclass="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100"><aclass="group-hover:text-primary-300 dark:group-hover:text-neutral-700"style=text-decoration-line:none!importanthref=#accessibility-improvementsaria-label=Anchor>#</a></span></h2><p>From adding ARIA descriptions to more items or simply adjusting the contrast of certain text elements, this release is the most accessible yet.</p><p>Version 2 also introduces “skip to content” and “scroll to top” links that enable quick navigation. There’s also keyboard shortcuts for enabling items like search without reaching for the mouse.</p><p>The new image resizing features also provide full control over <code>alt</code> and <code>title</code> elements enabling an accessible experience for all visitors.</p><h2id=a-whole-lot-moreclass="relative group">A whole lot more <spanclass="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100"><aclass="group-hover:text-primary-300 dark:group-hover:text-neutral-700"style=text-decoration-line:none!importanthref=#a-whole-lot-morearia-label=Anchor>#</a></span></h2><p>There’s countless other minor changes to explore. From being able to display taxonomies on articles and list pages, to using the new <code>headline</code> author parameter to customise your homepage. There’s also improved JSON-LD strucured data which further optimises SEO performance. Plus the entire theme has had extra polish to ensure a consistent design language.</p><p>🚀 Check out the <ahref=https://github.com/jpanther/congo/blob/dev/CHANGELOG.mdtarget=_blankrel=noreferrer>full changelog</a> to learn more.</p><h2id=next-stepsclass="relative group">Next steps <spanclass="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100"><aclass="group-hover:text-primary-300 dark:group-hover:text-neutral-700"style=text-decoration-line:none!importanthref=#next-stepsaria-label=Anchor>#</a></span></h2><p>If you’re ready to upgrade, read the <ahref=https://jpanther.github.io/congo/docs/version-2/upgrade/>upgrading from version 1 guide</a> to get started. If you’re new to Congo, check out the <ahref=https://jpanther.github.io/congo/docs/installation/>Installati