• hawksworx
  • blog
  • speaking
  • about
  • search

Notes - page 1273

  • Newest
  • Previous
  • Next
  • Oldest

The archive of what I posted on Twitter, which I now self host due to a lack of trust in Twitter and some other reasons.

I'll soon begin refelcting all my Mastodon posts here too. I'm happier self-hosting or maintaining an archive of my content on URLs that I can own.

There are tools to help you do this too. Such as this one from the makers of Eleventy.

A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 18th 2019 replying to this from @Mandy_Kerr
@Mandy_Kerr These are amazing.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 18th 2019 replying to this from @
@MazTweeta @Netlify We might leave that to @netflix.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 18th 2019 replying to this from @mbleigh
@mbleigh @slightlylate @jensimmons But it's a fair comment. The term "static site generator" doesn't really describe all the things that these sometimes bundle in.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 17th 2019 replying to this from @mbleigh
@mbleigh @slightlylate @jensimmons It's common now for SSGs to roll in a JS framework too. Which can be great, but can also mean you need to know what that does and how so you don't mishandle it and cause yourself problems.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 17th 2019 replying to this from @jensimmons
@jensimmons - It allows a variety of templating tools
- It feels logical & organised
- It has a small technology footprint (so is easy to install)
- I can extend it with JS (which I understand)

And a biggie for me...

- It only outputs what you ask. No frameworks or unexpected JS magic.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 17th 2019 replying to this from @brad_frost
@brad_frost @davatron5000 @mirisuzanne @MinaMarkham Still holding out hope for @antarcticjs
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 17th 2019 replying to this from @Mapio
@Mapio @Netlify Oh no, that's not normal.

If this is still happening, I'd suggest contacting the support team via support@netlify.com. That's usually the best way to get assistance.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 16th 2019 replying to this from @heydonworks
@heydonworks @eleven_ty Likewise
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 16th 2019 replying to this from @WhosTheSuit
@FinalBullet Yes! In Pocklington, near York.

I still have my old PE teacher’s shouts of “GET OFF THE APARATUS!” ringing in my ears from when we were too eager and started dangling from it before given the say so.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 15th 2019 replying to this from @ludobourgoin
@ludobourgoin @Netlify Yep. You can make your own page for the thank you message. And tell @Netlify to send people to that by specifying it as the "action" property of your form html element.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 15th 2019 replying to this from @bcomnes
@uhhyeahbret Nailed it.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 14th 2019 replying to this from @trysmudford
@trysmudford @GoHugoIO Yeah! Not only does this bring an update to the Linux distro, but it also adds the ability to select the build image used by the build bots for each of your sites.

Making future distro rollouts far easier.

Double win!
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 14th 2019
YYYYYYES!

@GoHugoIO enthusiasts rejoice! https://twitter.com/Netlify/status/1106281135708033024
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 14th 2019
By crikey, that @bruised_blood is a talented chap! I'm currently soaking up all the beautiful pixels in his glorious portfolio, please don't disturb me from my happy place. https://twitter.com/bruised_blood/status/1106188151599648768
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 14th 2019 replying to this from @_munter_
@_munter_ @SaraSoueidan Oh, that's nice.

This approach also attempts to address the need to perform those image transformations at build time, which can slow builds down of you have many many images.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 14th 2019 replying to this from @_munter_
@_munter_ @SaraSoueidan Assetgraph did this too? I might misunderstand. How would it do these on-the-fly transformations directly on the CDN at request time?

That's mostly what I'm demonstrating here. The macro for html generation is a pretty common utility in SSGs, right?
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 14th 2019 replying to this from @SaraSoueidan
@SaraSoueidan You bet.
The @eleven_ty part is just a helper to output the markup for the picture element. @GoHugoIO could do that bit too.

@Netlify Large Media gives you sensible version control of this large source image assets and automatic asset transformation on-the-fly.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 14th 2019 replying to this from @SaraSoueidan
@SaraSoueidan Pssst. You might be there already.

https://twitter.com/philhawksworth/status/1105862954300395525
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 13th 2019 replying to this from @StuRobson
@StuRobson @eleven_ty @frctl 🤔 Wondering what in my little boilerplate project might demand that.

For what it's worth, I install node and npm via nvm to make my life a little easier if I need to jump around to different versions on different projects.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 13th 2019
I made a little example of using @Netlify's new image transformation service along with a shortcode in @eleven_ty (but you could use any SSG in this way) to generate the markup and assets for responsive images using the <picture> element.

https://example-nlm-picture.netlify.com
Embedded image from social media
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 13th 2019 replying to this from @johnlindquist
@johnlindquist @Netlify I love this too. And I use it a lot for quick-starting projects.
You can even feed it more configuration to set up more of the environmental pieces if you need to.

Super handy if you have a list of project boilerplates, like you might have at an agency.

https://www.netlify.com/docs/deploy-button/
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 13th 2019 replying to this from @silviopaganini
@silviopaganini @healves82 @tudor_prodan @smakosh @gatsbyjs @GraphQL @HasuraHQ @Netlify ha ha.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 13th 2019 replying to this from @tudorprd
@tudor_prodan @healves82 @smakosh @gatsbyjs @GraphQL @HasuraHQ @Netlify If the friction in deploying is low, and your confidence in automated deploys is high, this model works really nicely. It means your site can stay fresh without you needing to manage a server to keep it alive.

My own site redeploys every time I tweet.

https://www.hawksworx.com/blog/keeping-a-jamstack-site-feeling-fresh-with-recent-tweets/
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 13th 2019 replying to this from @
@healves82 @tudor_prodan @smakosh @gatsbyjs @GraphQL @HasuraHQ @Netlify If only this were up to me!
Prepare for... HawkStack™

I think we should use whichever term makes it easiest to communicate what the architecture is. #JAMstack has been getting more broadly understood, but I've also heard:

- StaticFirst
- Pre-rendered
- ShortStack

& more!
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • March 13th 2019 replying to this from @qlex_
@qlex_ @Netlify Most odd. 🤔

Would you mind contacting the support team? They are usually in a much better position to help with this sort of thing.

Reach them via http://netlify.com/support
  • Permalink
  • |
  • Twitter
  • Newest
  • Previous
  • Next
  • Oldest

The source code of this site is available on GitHub and is hosted and updated by Netlify automatically after each code commit

Other than where specified, the content on this site is published under a Creative Commons Attribution 3.0 licence.

Subscribe to a feed of blog posts on this site.