Just typed up a blog post on my little hack to quickly open / edit a page.
Hope someone will find it useful.
Cheers
Just typed up a blog post on my little hack to quickly open / edit a page.
Hope someone will find it useful.
Cheers
This is pretty cool
And we can skip the need for greasemonkey using .IsServer.
In my use of Hugo, the filename doesn’t always match the slug / url. So this would be a safer way to go around it.
Yes! You would however give up the ability to hit “Edit” on a live page, and the links allowing you to hop from live URL to dev URL.
But I agree that not having to install browser plugin + user script is quite nice.
I was trying this on MacOS Mojave, but adding a url scheme here isn’t a straightforward task