<!doctype html><htmllang=en-audir=ltrclass=scroll-smoothdata-default-appearance=lightdata-auto-appearance=true><head><metacharset=utf-8><metahttp-equiv=content-languagecontent="en-au"><metaname=viewportcontent="width=device-width,initial-scale=1"><metaname=theme-colorcontent="rgb(255,255,255)"><metahttp-equiv=x-ua-compatiblecontent="ie=edge"><title>What's New in 2.0 ✨ · Congo</title><metaname=titlecontent="What's New in 2.0 ✨ · Congo"><metaname=descriptioncontent="Discover what's new in Congo version 2.0."><linkrel=canonicalhref=https://jpanther.github.io/congo/docs/version-2/><linkrel=alternatetype=application/rss+xmlhref=/congo/docs/version-2/index.xmltitle=Congo><linktype=text/cssrel=stylesheethref=/congo/css/main.bundle.min.001c0d1efdb688490593281d28088c05f329dba8795ad1d0908855388581c32d591279cc3cef35e1fa6a2d34617ac0acd30cae7cefc0823bc53648d159eb782f.cssintegrity="sha512-ABwNHv22iEkFkygdKAiMBfMp26h5WtHQkIhVOIWBwy1ZEnnMPO814fpqLTRhesCs0wyufO/AgjvFNkjRWet4Lw=="><scripttype=text/javascriptsrc=/congo/js/appearance.min.c6198a5ecbc6c7b35a8568d29315f50cf5d775d4461c515a476359767f1a745c245aa83fa96b0c7d83da976cf77481e1fc29537a2391a53ffe69a991638802e6.jsintegrity="sha512-xhmKXsvGx7NahWjSkxX1DPXXddRGHFFaR2NZdn8adFwkWqg/qWsMfYPal2z3dIHh/ClTeiORpT/+aamRY4gC5g=="></script>
<spanclass="transition-colors group-dark:hover:text-primary-400 group-hover:text-primary-600"><spanclass="relative inline-block align-text-bottom icon"><svgaria-hidden="true"focusable="false"data-prefix="fas"data-icon="search"class="svg-inline--fa fa-search fa-w-16"role="img"xmlns="http://www.w3.org/2000/svg"viewBox="0 0 512 512"><pathfill="currentcolor"d="M505 442.7 405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9.0 208 0S0 93.1.0 208s93.1 208 208 208c48.3.0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9.0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7.0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7.0 128 57.2 128 128 0 70.7-57.2 128-128 128z"/></svg></span></span><spanclass="decoration-primary-500 group-hover:underline group-hover:decoration-2 group-hover:underline-offset-2"></span></button></li></ul></nav></header><divclass="relative flex flex-col grow"><mainid=main-contentclass=grow><header><olclass="text-sm text-neutral-500 dark:text-neutral-400 print:hidden"><liclass="inline hidden"><aclass="hover:underline decoration-neutral-300 dark:underline-neutral-600"href=/congo/>Welcome to Congo! :tada:</a><spanclass="px-1 text-primary-500">/</span></li><liclass=inline><aclass="hover:underline decoration-neutral-300 dark:underline-neutral-600"href=/congo/docs/>Documentation</a><spanclass="px-1 text-primary-500">/</span></li><liclass="inline hidden"><aclass="hover:underline decoration-neutral-300 dark:underline-neutral-600"href=/congo/docs/version-2/>What's New in 2.0 ✨</a><spanclass="px-1 text-primary-500">/</span></li></ol><h1class="mt-0 text-4xl font-extrabold text-neutral-900 dark:text-neutral">What's New in 2.0 ✨</h1></header><sectionclass="mt-12 prose flex max-w-full flex-col dark:prose-invert lg:flex-row"><divclass="order-first px-0 lg:order-last lg:max-w-xs ltr:lg:pl-8 rtl:lg:pr-8"><divclass="toc ltr:pl-5 rtl:pr-5 lg:sticky lg:top-10"><detailsopenclass="mt-0 overflow-hidden rounded-lg ltr:-ml-5 ltr:pl-5 rtl:-mr-5 rtl:pr-5"><summaryclass="block py-1 text-lg font-semibold cursor-pointer bg-neutral-100 text-neutral-800 ltr:-ml-5 ltr:pl-5 rtl:-mr-5 rtl:pr-5 dark:bg-neutral-700 dark:text-neutral-100 lg:hidden">Table of Contents</summary><divclass="py-2 border-dotted border-neutral-300 ltr:-ml-5 ltr:border-l ltr:pl-5 rtl:-mr-5 rtl:border-r rtl:pr-5 dark:border-neutral-600"><navid=TableOfContents><ul><li><ahref=#tailwind-css-30>Tailwind CSS 3.0</a></li><li><ahref=#multilingual-support>Multilingual support</a></li><li><ahref=#rtl-language-support>RTL language support</a></li><li><ahref=#automatic-image-resizing>Automatic image resizing</a></li><li><ahref=#performance-improvements>Performance improvements</a></li><li><ahref=#site-search>Site search</a></li><li><ahref=#tables-of-contents>Tables of contents</a></li><li><ahref=#accessibility-improvements>Accessibility improvements</a></li><li><ahref=#a-whole-lot-more>A whole lot more</a></li><li><ahref=#next-steps>Next steps</a></li></ul></nav></div></details></div></div><divclass="min-w-0 min-h-0 max-w-prose grow"><divclass="lead !mb-9 text-xl">Congo 2.0 is packed with tons of new features and optimisations.</div><p>The original aim of Congo was to develop a theme that was simple and lightweight. Version 2 takes this one step further and makes the theme even more powerful while still maintaining its lightweight footprint.</p><p>Continue reading below to discover what’s new. When you’re ready to upgrade, check out the <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 ltr:-left-6 rtl:-right-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 noopener">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 ltr:-left-6 rtl:-right-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 noopener">eight languages</a>
with more to be added over time. By the way, <ahref=https://github.com/jpanther/congo/pullstarget=_blankrel="noreferrer noopener">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 ltr:-left-6 rtl:-right-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 ltr:-left-6 rtl:-right-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"srcset="/congo/docs/version-2/image-resizing_hudc3a1812e7aa4d065174f956d05e334c_253342_330x0_resize_box_3.png330w,
</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 ltr:-left-6 rtl:-right-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.jpgwidth=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 ltr:-left-6 rtl:-right-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 noopener">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 ltr:-left-6 rtl:-right-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 ltr:-left-6 rtl:-right-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 ltr:-left-6 rtl:-right-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 noopener">full changelog</a>
to learn more.</p><h2id=next-stepsclass="relative group">Next steps <spanclass="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-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/>Installation guide</a>