<!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.2dd44849efa9d0ef68e8cdede2901f86dec79026811f5cf6b25aa2b8cd8ee63e.cssintegrity="sha256-LdRISe+p0O9o6M3t4pAfht7HkCaBH1z2slqiuM2O5j4="><scriptdefertype=text/javascriptid=script-bundlesrc=/congo/js/main.bundle.min.f29ffdffd9ab4cc95250c3c7196b2d5dae8ee6ef0a4139451073f90183ae7e31.jsintegrity="sha256-8p/9/9mrTMlSUMPHGWstXa6O5u8KQTlFEHP5AYOufjE="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><imgclass="mx-auto my-0 rounded-md"width=4134height=2337srcset="/congo/docs/version-2/image-resizing_hudc3a1812e7aa4d065174f956d05e334c_253342_330x0_resize_box_3.png330w,/congo/docs/version-2/image-resizing_hudc3a1812e7aa4d065174f956d05e334c_253342_660x0_resize_box_3.png660w,/congo/docs/version-2/image-resizing_hudc3a1812e7aa4d065174f956d05e334c_253342_1024x0_resize_box_3.png1024w
</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><imgsrc=/congo/docs/version-2/lighthouse.jpgloading=lazywidth=100%height=autostyle=max-width:600px;max-height:136px></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