It's coming —?live reloading via resources.GetRemote!

It's coming —?live reloading via resources.GetRemote!

We're being promised something pretty cool in the next version of Hugo — check out the example video at Hugo's new Twitter account and see those remote resources pop in!

I don't usually use emojis in this newsletter, but I think that news deserves a ??.

Also, because it's fun, here's a video recap of the highlights in today's newsletter. Arguably this should be a lot shorter, given our stellar build times, but there's a lot going on in Hugo land...

In case you missed it, the talk topics at the recent 11tyConf were pretty great, and they were, I think, notable for their relevance to all frontend devs, quite aside from any SSG camps to which we may belong.

They were widely spread across web performance, CSS, type systems, the creative freedom that SSGs enable, web components, scaling static sites, and how to manage light and dark mode — for more, see the conference playlist on YouTube.

New segments configuration and config key, security updates, general fixes

Bj?rn Erik Pedersen / Joe Mooring / Georg Makowski

Since my last newsletter, we've reached version 0.126.1 of Hugo. This version encompasses three major new features:

  • The Luminance method for returning relative luminance in the sRGB colorspace (great for adding custom image borders and text boxes, as well as checking contrast ratios for WCAG guidelines)
  • Content Adapters, allowing you to create pages from remote data sources
  • The Extras extension, enabling inserted text, mark text, superscript, and subscript in Markdown.


Building Static Sites that Scale?

David Large

If you've ever wanted to share layouts or editing components between multiple sites — or to syndicate content between your Hugo sites — check out CloudCannon's Site Mounting feature and the static API generator Flatlake (brought to you by Liam Bigelow, creator of Pagefind). Liam and I also co-wrote a more in-depth article on how to connect multiple sites as well, if you'd like a little more context.


Hugo Notice theme component

Nicolas Martignoni

A?Hugo theme component providing a shortcode: notice to display nice notices, and supporting dark mode. Complete with localization in 18 languages!


Creating a static Fediverse-enabled website with Hugo, Azure, and GitHub in 10 minutes (video)

Maho Pacheco

The title says it all, really — and it's worth pointing out that everything here fits within Azure's free tier. Try out Maho's template here.?


How to use Google Sheets as source data for Hugo content (video)

Bryan Klein

I suspect we'll see developments on this approach after the Content Adapters feature, but it's great to see the interoperability of CSV data populating a table element in a Hugo page. Thanks Bryan!


The Static Site Guide

Matt Cone

A book about creating and publishing static websites using HTML, CSS, and Hugo. It’s still a work in progress, but the completed chapters and code examples are all available under CC and MIT licenses, respectively. (Side note: Matt also wrote The Markdown Guide, which is also a fantastic resource.)


Content Adapter examples and performance

Joe Mooring

In a Hugo Discourse thread, Joe shares an example site and some amazing performance (build time) stats, approaching 0.0005 seconds per page, scaling linearly.?


Google Docs to Hugo in a Single Click (video)

Vikram Aruchamy

I'm a little late in sharing this one, but I like Vikram's solution here — collaborative editing rich text in Google Docs, reducing network egress costs, and running sites with GitHub Pages' free limit.


Duorama

Marcio Toledo

Marcio built Duorama.io with what I'd call an artisanal approach to development — HTML and CSS from scratch (no frameworks), using Hugo with no theme, and a minimum of JavaScript (though there's a dash of AlpineJS and a ParticleJS library for the hero animation).?




A MESSAGE FROM OUR SPONSOR

Looking for a Hugo CMS?

CloudCannon's Git-based CMS has everything you need for content management — with collaborative editing and full support for Hugo shortcodes under CloudCannon's 'Snippets' feature, your team can build new pages, edit them visually with live preview URLs, and host the best performing sites on the web.?



Until next time...

Happy coding, and feel free to pass this newsletter on to friends or colleagues who might be interested.

Also, let me know what you're building (or planning) with Hugo's new Content Adapter feature — I'd love to see your work!

?

—?David Large


要查看或添加评论,请登录

David Large的更多文章

  • Good things come in small packages

    Good things come in small packages

    It's a short newsletter from me this month, but when you're only waiting seconds to build your website with Hugo, who's…

  • New year, new Hugo themes, shortcodes, and modules!

    New year, new Hugo themes, shortcodes, and modules!

    I'm not sure if it's just the new(ish) year talking, but I'm feeling increasingly keen to refresh a few old Hugo sites.…

    3 条评论
  • Sowhat'snewwithyou? (Read at 2x speed)

    Sowhat'snewwithyou? (Read at 2x speed)

    Welcome, Hugo users, to the latest roundup of updates, tips, and innovative ways to unleash the world's fastest static…

  • All the news that fits in Hugo's build time!

    All the news that fits in Hugo's build time!

    Hello! A quick introduction to me and this newsletter: I write for CloudCannon, a Git-based CMS for static-first…

社区洞察

其他会员也浏览了