<!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.022d0ebc3b46a335eb1c7ef79b7f2de143d7cd5156d433638592ef1ce5f8554e.jsintegrity="sha256-Ai0OvDtGozXrHH73m38t4UPXzVFW1DNjhZLvHOX4VU4="></script><linktype=text/cssrel=stylesheethref=/congo/css/main.bundle.min.33a669351b9f936b30a0fc74240c4bd296cb15c8b2b1e40ea9ee7b6658af735b.cssintegrity="sha256-M6ZpNRufk2swoPx0JAxL0pbLFciyseQOqe57Zlivc1s="><scriptdefertype=text/javascriptid=script-bundlesrc=/congo/js/main.bundle.min.fba363b244ec92c2d7b9de42d4cebd0b8994fd07279923c5929eb4dc3d055606.jsintegrity="sha256-+6NjskTsksLXud5C1M69C4mU/QcnmSPFkp603D0FVgY="data-copy=Copydata-copied=Copied></script><metaname=descriptioncontent="
<ahref=https://jpanther.github.io/congo/docs/version-2/upgrade/>guide to upgrading</a>.</p><h2id=tailwind-css-30class="relative group">Tailwind CSS 3.0 <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=#tailwind-css-30aria-label=Anchor>#</a></span></h2><p>Tailwind CSS is at the heart of Congo and this new release contains the very latest
<ahref=https://tailwindcss.com/blog/tailwindcss-v3target=_blankrel=noreferrer>Tailwind CSS version 3</a>. It brings with it performance optimisations and support for some great new CSS features.</p><divstyle=position:relative;padding-bottom:56.25%;height:0;overflow:hidden><iframesrc=https://www.youtube.com/embed/TmWIrBPE6Bcstyle=position:absolute;top:0;left:0;width:100%;height:100%;border:0allowfullscreentitle="YouTube Video"></iframe></div><p>Implementing this new version has also removed some Tailwind plugin dependencies from the theme, allowing the overall footprint to remain lightweight.</p><h2id=multilingual-supportclass="relative group">Multilingual support <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=#multilingual-supportaria-label=Anchor>#</a></span></h2><p>A highly requested feature, Congo is now multilingual! If you publish your content in multiple languages, the site will be built with all the translations available.</p><divclass="text-2xl text-center"style=font-size:2.8rem>🇬🇧 🇩🇪 🇫🇷 🇪🇸 🇨🇳 🇧🇷 🇹🇷 🇧🇩</div><p>Thanks to submissions from the community, Congo has already been translated into
<ahref=https://github.com/jpanther/congo/tree/dev/i18ntarget=_blankrel=noreferrer>23 languages</a> with more to be added over time. By the way,
<ahref=https://github.com/jpanther/congo/pullstarget=_blankrel=noreferrer>pull requests</a> for new languages are always welcome!</p><h2id=rtl-language-supportclass="relative group">RTL language support <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=#rtl-language-supportaria-label=Anchor>#</a></span></h2><p>One of the benefits of the new Tailwind and Multilingual features is the ability to add RTL language support. When enabled, the entire site will reflow content from right-to-left. Every element in the theme has been restyled to ensure it looks great in this mode which aids authors who wish to generate content in RTL languages.</p><p>RTL is controlled on a per-language basis so you can mix and match both RTL and LTR content in your projects and the theme will respond accordingly.</p><h2id=automatic-image-resizingclass="relative group">Automatic image resizing <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=#automatic-image-resizingaria-label=Anchor>#</a></span></h2><p>A big change in Congo 2.0 is the addition of automatic image resizing. Using the power of Hugo Pipes, images in Markdown content are now automatically scaled to different output sizes. These are then presented using HTML <code>srcset</code> attributes enabling optimised file sizes to be served to your site visitors.</p><p><figure><pictureclass="mx-auto my-0 rounded-md"><sourcesrcset="/congo/docs/version-2/image-resizing_hudc3a1812e7aa4d065174f956d05e334c_253342_330x0_resize_q75_h2_box_3.webp330w,/congo/docs/version-2/image-resizing_hudc3a1812e7aa4d065174f956d05e334c_253342_660x0_resize_q75_h2_box_3.webp660w
</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=lighthouse.html>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