• hawksworx
  • blog
  • speaking
  • about
  • search

Notes - page 409

  • 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 • April 4th 2018 replying to this from @patrick_h_lauke
@patrick_h_lauke @robertnyman @vinceallenvince @JSCampRo Nice. This is like opening a time capsule.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 4th 2018 replying to this from @benpbarnett
@benpbarnett Buy them all.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 3rd 2018
Excellent! Now that AWS and @netlify have added support for @nodejs v8.10, we can write our #serverless functions without getting tangled up in callback hell. https://twitter.com/Netlify/status/981254404119650304
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 3rd 2018 replying to this from @gr3gtatum
@TatumCreative @_Nec Yep. You should be good to go!

One thing that sometimes catches people out, is the URL routing to avoid serving 404s. The docs should have you covered:

https://www.netlify.com/docs/redirects/#history-pushstate-and-single-page-apps
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 3rd 2018 replying to this from @allanwhite
@allanwhite I have to admit... I totally forgot that this terse format existed in TOML!
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 3rd 2018 replying to this from @allanwhite
@allanwhite @Netlify Wonderful! Thanks Allan!
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 3rd 2018 replying to this from @allanwhite
@allanwhite Cool cool. Just curious.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 3rd 2018 replying to this from @_Mike_AM
@mmorowitz It's the stuff that piled up in my inbox which I then read 2 days later in the cold light of "not a day abandoned to highjinx and endless banter" that tipped me over the edge.

Uh-oh. I might be the April Fool Grinch.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 3rd 2018
Dear internet. You know that thing that you wrote and sent out via email, twitter, web, or whatever on Sunday? Well, I ready some of it and then noticed you were just joshing. It was one of 100 similar things that occupied my time.

I want that time back.
Until next year.
Humbug.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 3rd 2018 replying to this from @allanwhite
@allanwhite do you have an example of a redirect defined in TOML in a single line? (whether it worked or not)
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 3rd 2018 replying to this from @allanwhite
@allanwhite Not sure I quite understand that... but the redirect rules in the toml would need to to be in the format shown above, I believe.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 3rd 2018 replying to this from @benpbarnett
@benpbarnett I'm going to regret this, but....
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 3rd 2018 replying to this from @allanwhite
@allanwhite @NadiehBremer You mean the format you've used in a _redirects file instead of in the netlify.toml?

This rule should totally work regardless of if you set it in a _redirects file or via netlify.toml, but in the toml, it would have to be expressed in valid toml format.

https://github.com/toml-lang/toml
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 3rd 2018 replying to this from @
@ChrisJohnsoct @Netlify Hey Chris. That's odd. Can I suggest you report that to support@netlify.com?

That way the right people (who monitor that email rather than the rather more noisy twitter mentions) will see this and be better placed to help.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 3rd 2018
Who's got two thumbs and really enjoyed speaking at @render_conf?

https://www.flickr.com/photos/whiteoctevents/40317737574/in/album-72157667111416898/
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 3rd 2018 replying to this from @VeryThorough
@VeryThorough @NadiehBremer oooh yes. Me too.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 3rd 2018 replying to this from @slicknet
@slicknet @Netlify @zapier @flaviocopes @jekyllrb Gotcha.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 3rd 2018 replying to this from @charis
@charis @Netlify We support you in this endeavour.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 3rd 2018 replying to this from @NadiehBremer
@NadiehBremer Oh yeah!

There's no way to do that automatically via the Netlify admin UI, but you can serve each site on Netlify, then gather them together in your main site via redirects. You'll need to take care of your root URLs in paths, of course.

I recommend a netlify.toml for configs
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 3rd 2018 replying to this from @Jack_Franklin
@Jack_Franklin SOLD
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 3rd 2018 replying to this from @rafahari
@rafahari @charis @Netlify MY beer.
MINE.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 3rd 2018 replying to this from @NadiehBremer
@NadiehBremer I can sit patiently and wait until you are ready to share.

⌘R
⌘R
⌘R
⌘R
⌘R
⌘R

... enough. I need to see it right now!
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 3rd 2018 replying to this from @Jack_Franklin
@Jack_Franklin Real stories and experience make for fascinating talks when they bring practical lessons and insights.

Like your talks do.

Gutted that I can't attend this due to travel. It's going to be ace.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 3rd 2018 replying to this from @kr8n3r
@igloo_si @NetlifyCMS @gitchat A lot of the people in there are based in the US... pretty sure that it will get more lively later in the day.
  • Permalink
  • |
  • Twitter
A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth • April 3rd 2018 replying to this from @ppk
@ppk @perfnowconf Sometime tooting is appropriate!
  • 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.