@peterimoore Can you point me to a repository on Github for the theme(s) you've tried with M.b? Maybe I'll notice something quickly.
@peterimoore You’re not alone in this. I spent hours importing and trying Hugo themes on my test account last week and all of them seemed to have major incompatibilities so I gave up.
@peterimoore I have done this work before, and would be happy to help. I’d for sure take it as a post on the Discourse (or write it up on custom) so that others can benefit.
It’s actually pretty easy to do most Jekyll themes, I’d imagine. But Hugo is easiest, where you really just have to add a few magic things to the header and you’re 95% there. My own site was originally a custom Hugo blog I tweaked a little to bring over to M.b.
@peterimoore so for Hugo, all the official M.b themes are on the M.b GitHub. I basically just compared and figured it out. Some of those are forks from Jekyll that I think even have the diffs. While it’s true the template engines are different, they organizationally are accomplishing the same things so it’s 95% just small syntax tweaks.
@peterimoore if you point me in the direction of one you like, I can peek at whether it’s one I think would be easy to convert and start blogging about the steps.
@peterimoore quick look at tufte looks super easy, exception for the MathJax part I'm less sure of. The basic page/post layouts though are very straight forward and most of the work is in the css anyway.
@peterimoore looks like some folks from the R world already made a Tufte Hugo theme
This would work out of the box, though you might need/want to add this to the header:
<link rel="authorization_endpoint" href="https://micro.blog/indieauth/auth" />
<link rel="token_endpoint" href="https://micro.blog/indieauth/token" />
<link rel="micropub" href="https://micro.blog/micropub" />
<link rel="microsub" href="https://micro.blog/microsub" />
<link rel="webmention" href="https://micro.blog/webmention" />
<link rel="subscribe" href="https://micro.blog/users/follow" />