Mtt
Mtt
I’m going to push out an update to the Tiny Theme for Micro.blog today that adds a few features. First, all posts (in the feed and on individual posts) include a CSS class that matches the category(ies) of that post. This will allow you to style individual posts differently based on the category. For examp... mattlangford.com
|
Embed
Mtt
Mtt

@Mtt The category class thing should work great for styling the examples above, particularly if you assign each post a single category. For those of you who are more aggressive with categories (using 2+ on individual posts), each category will be listed as a class. It may require some CSS gymnastics in that case to get everything working like you want. For example, if one post has category Image AND category Longform…you'll have to workout how you want to style that compared to a post with just one of those categories. But there's more...

|
Embed
Mtt
Mtt

@Mtt You could use CSS to create a pseudo-element by applying ":before" or ":after" to one of the new category classes. You could then add a ★ to posts in a featured category or an  to posts in an apple category. Emojis are in play, basic text is too. You can get really creative here. Anyway, I hope to see some cool stuff from yall.

|
Embed
gregmoore
gregmoore

@Mtt You've been knocking this theme out of the park. Truly excellent work.

|
Embed
Mtt
Mtt

@gregmoore Thanks. I have some more ideas for it, but mostly stuff that won't surface unless you know about it.

|
Embed
maique
maique

@Mtt So many cool things, I really have to think about moving my main blog to your theme! Thanks for the ongoing updates.

|
Embed
Mtt
Mtt

@maique Do it! Ha. Let me know if there's anything I can add/tweak that would make it a no-brainer.

|
Embed
maique
maique

@Mtt It's pretty easy already, of course. I do have a couple of partial layouts I made on mine at the moment, and a few other layouts have been edited as well. I would hate to break that, so I'll have to go through them, one at a time, and see what I'll have to port.

|
Embed
In reply to
Mtt
Mtt

@maique I've been there. One of my longer term ideas for the theme is to possibly use partial layouts to create options for landing pages and head-less content. But I've got to work that out in my head first. Would have to be a hidden feature for advanced users.

|
Embed
jeffperry
jeffperry

@Mtt I moved my theme to this literary today and I’m already loving it. Now you drop this?! Incredible.

|
Embed
numericcitizen
numericcitizen

@Mtt I'm soooo jalous of your work and theme!

|
Embed
numericcitizen
numericcitizen

@Mtt based on what I'm seeing now, this is how I'd like to see my MB website evolve eventually: cloud.numericcitizen.me/xFT6rb2v

|
Embed
Mtt
Mtt

@numericcitizen That’s achievable with Micro.blog. You’d have to think through how that scales on mobile devices, but it could be done.

|
Embed
Mtt
Mtt

@numericcitizen It’s free if you decide you want it.

|
Embed
Mtt
Mtt

@jeffperry You’re making me blush! I like the tweaks on your site. Looking good.

|
Embed
Mtt
Mtt

@jeffperry Is that the better blue from @danielpunkass?

|
Embed
numericcitizen
numericcitizen

@Mtt I would pay someone to build it for me!

|
Embed
pratik
pratik

@Mtt You’re making me reconsider changing my theme 😔

|
Embed
Mtt
Mtt

@pratik Do it! 🤪

|
Embed
pratik
pratik

@Mtt I’m still rocking your /Now page and I wouldn’t want to disappoint your that version

|
Embed
Mtt
Mtt

@pratik Ha! Maybe I should redo it all for this theme.

|
Embed
pratik
pratik

@Mtt BTW I ditched Pinboard and moved to Raindrop and am using their widget although preferred the earlier version of displaying bookmarks. The Trakt feed continues to frustrate me

|
Embed
Mtt
Mtt

@pratik Yeah, so many of these services are missing out on some great dev opportunities by not supplying a functional RSS feed.

|
Embed
pratik
pratik

@Mtt Yup! Been arguing with Trakt guys for months now. But at least got them to support Arc Browser in the meantime

|
Embed
Mtt
Mtt

@numericcitizen Make me a mobile version mock-up of what you sent me and I’ll see about a quote.

|
Embed
Mtt
Mtt

@pratik Brutal.

|
Embed
jeffperry
jeffperry

@Mtt Close! I just arbitrarily picked one in all honesty.

|
Embed
numericcitizen
numericcitizen

@Mtt here: cloud.numericcitizen.me/k1glxxcv

|
Embed
numericcitizen
numericcitizen

@Mtt I should give you some other info like clicking on my avatar would link to some external page...

|
Embed
pimoore
pimoore

@Mtt You sir, are just owning it with this theme. Absolutely fantastic work!

|
Embed
Mtt
Mtt

@pimoore Thank you. It still feels about 80% complete. I have a few more things I’m trying to figure out first before I add them.

|
Embed
warner
warner

@Mtt this has potential for someone like me posting about two fairly distinct topics: the arts & tech, to quickly signal what world a post is in.
Can I set meta robots noindex? If so, I'll give it a test!

|
Embed
warner
warner

@warner stand down, saw your prev response, will give it a go next week!

|
Embed
jsonbecker
jsonbecker

@Mtt ahh the category class is a great idea. I'm going to steal that for my theme, even though I have no idea how I want to use it (yet).

|
Embed
Mtt
Mtt

@warner Yeah, you could do that manually on your own. Or use this plugin that should work just fine.

|
Embed
Mtt
Mtt

@jsonbecker It’s an easy add, so no reason not to. And if inspiration strikes, it’ll be there.

|
Embed
jsonbecker
jsonbecker

@Mtt yup! I just never thought about it. Might be good incentive for me to use them different/better as well.

|
Embed