The first step in this process is to create a new Hugo theme.
hugo new theme tailwind-keyes
I’ve seen Tailwind CSS mentioned more than once over the past couple of years, and these mentions have always been favourable.
My web design days are fading in the distance, so I thought it might be a good idea to attempt to create a Hugo template based on tailwind.
My usual way of modifying the behaviour of
pendulum.now()when testing has been to mock it:
with mock.patch( "pendulum.now", return_value=pendulum.parse("2020-01-01 00:00:00") ): ...
However, I did something mad today, and delved into the docs and found a neater way:
with pendulum.test(pendulum.parse("2020-01-01 00:00:00")):