And finally, all six sets of Phosphor Icons for Micro.blog have been made available as plugins. That’s it. I’m done flooding your timeline for the day, maybe…
And finally, all six sets of Phosphor Icons for Micro.blog have been made available as plugins. That’s it. I’m done flooding your timeline for the day, maybe…
@numericcitizen I think that might be a question for @ericgregorich. I’ll bet he has plans for it though.
@numericcitizen @jimmitchell I’ll take a look a this when I get some time. First timing I’m seeing it.
@ericgregorich The latest release of Micro.blog for macOS got a “Use blog theme” preview feature which is pretty slick. It relies on Microformats to do its magic – but looking at your repo, it looks like Cards already uses Microformats, so maybe there’s nothing for you to do. cc @numericcitizen.
@jimmitchell thanks! I don’t have a Mac so I’ll need to rely on someone using the Cards Theme to try it out and let me know if there are problems.
@jimmitchell I tried the preview action in Micro.blog for macOS and got a warning that the theme didn’t support it… so there might be a few things to tweak before it works. cc @ericgregorich
@numericcitizen , please update to version 2.0.0 and give it another try. There was a small issue with the article tag that I resolved that may have been preventing compatibility. cc: @jimmitchell
@ericgregorich upgraded to 2.0.0, still getting this.
@numericcitizen It looks like @manton tried it and it worked for him. Maybe something is cached? I’m not sure what to tell you.
@numericcitizen @ericgregorich Is it possible that you’ve edited any of the templates? If so, your changes were probably based on earlier versions so wouldn’t have the extra markup. If this becomes a hassle, I may try to relax the requirement so it can work with more themes.
@manton @ericgregorich I do have made a few edits on the templates… I will try to use github to identify what is the diff and manually re-apply them on the newer files. This weekend. Thanks for your efforts.
@numericcitizen The changes are in the layouts/post/single.html file.
The article tag was moved and should look like this.
<article class=“post h-entry”>
And this was changed.
<div class=“e-content”>
{{ .Content }}
</div>
Hopefully your version is not too different.
@ericgregorich well, I tried and still the same warning that this theme doesn’t support the preview. I spent way too much time on this… and I must say that it’s not the best part of Micro.blog to be honest. It’s not your fault. But over time I realized that when you start making change to a theme, it’s like a fork on a GitHub repo, we lose sight of the original and must live with our decisions. I’ll post the file online so if you are curious. / cc @manton
@ericgregorich I tested the whole thing of the test blog and same results… the Cards plug-in installed and without any customization.
@numericcitizen thanks for letting me know. I wish I still had a Mac so I can test this myself. If you can share your single.html file I’ll take another look at it later.
@numericcitizen @ericgregorich Yeah, I’m not sure how to solve that, except to move to smaller templates so that edits don’t affect very much.
@numericcitizen The file you provided is missing all of the custom HTML from the theme.
The easiest thing to do may be to replace the content in your layouts/post/single.html file with the current content available from Github.
Some of your other files could be the same way. If you encounter any issues, you may also need to investigate them further.
If your customizations are minimal, you could delete your custom theme to ensure you have the latest files from the Cards Theme and start fresh.
@ericgregorich that is so strange… I’ll check that out tonight. Thanks for your continuous support.