pratik
pratik
@Mtt Can I use `microhook-category-header.html` or the purpose it serves if I am already using the `microhook-archive-post-list.html`? What if I just add a bunch of these in the `microhook-archive-post-list.html template`: ``` {{ if eq .Title "CategoryHere" }}

Insert Content

{{ end }} ```
|
Embed
Progress spinner
Mtt
Mtt

@pratik No you can’t use both, but your solution is correct.

|
Embed
Progress spinner
pratik
pratik

@Mtt Thanks. That was easier than I thought. Now I can haz custom text on a few category pages.

|
Embed
Progress spinner
pratik
pratik

@Mtt BTW was checking out the changelog on Tiny. Quite a few new things 😀 How do you use a callout? I have used pullquote plugins in WordPress but not sure what type of callout I can use on my blog.

|
Embed
Progress spinner
Mtt
Mtt

@pratik I’m trying to work out a decent pull quote option. Haven’t quite nailed that down yet. You can see what I’m calling a callout here. Just add a callout class to a div or paragraph. I need to tweak the documentation to better explain that.

|
Embed
Progress spinner
pratik
pratik

@Mtt I saw that but that's similar to a blockquote, no? Or perhaps I'm not understanding what a callout is. Also, in a future update, can you enable displaying title/caption for images although I'm not sure how you can include it using markdown?

BTW if you are looking for new features to add in your roadmap, check out this post. I would love to have options for sidenotes (as opposed to footnotes), markers for external links, and grouping series of posts.

|
Embed
Progress spinner
Mtt
Mtt

@pratik Blockquotes, notes, alerts, asides, and callouts are all similar ways to present information. Different people use them in different says. Very few use all.

I’ll look into that list and see what I can do.

|
Embed
Progress spinner
chadkoh
chadkoh

@Mtt love it. Big callout fan

|
Embed
Progress spinner
Mtt
Mtt

@pratik

SIDENOTES: I think you’d almost want to build an entire theme around that concept instead of wedging it in to an existing theme. There’s also the issue of how to display them on mobile devices, in truncated posts, in title-less posts, etc. You’d just need a special theme for it to be done elegantly.

EXTERNAL LINK INDICATOR: You could achieve this manually by adding a class to links like outbound then using the :after property to insert a glyph. Could also be done with a plugin, I think.

GROUPING SERIES OF POSTS: I like the idea, but to be done properly, I think it would need to be built in to Hugo/Micro.blog instead of purely at the theme level. The only way a theme could do it would be to hijack categories, I think.

|
Embed
Progress spinner
Mtt
Mtt

@chadkoh 🎉

|
Embed
Progress spinner
pratik
pratik

@Mtt Agree about sidenotes. It sure looks pretty on the desktop, but maybe on mobile, they can be pop-overs with a tap (like how footnotes are on my blog now). But yeah, there are plenty of issues there just to cram it in an existing theme.

I was reading some how-tos for the external link indicator. I've to read more on how to do that. A plugin would be wonderful but that's beyond my capability for now.

The grouping series of posts, a feature that organizes related posts into a series, can be useful for live-blogging-type posts or a travelogue. But yeah, have to think about it more.

Thanks for considering.

|
Embed
Progress spinner
markstoneman
markstoneman

@Mtt @pratik I've been wrestling with how we have only one taxonomy on Micro.blog, but I'm starting to get used to it. I had tried adding prefixes to certain categories as a way of indicating an extra taxonomy, but I did this with special characters or emojis, which led to unwanted duplicates in my alphabetized category list. I imagine regular text would work, perhaps as a separate word so that search engines still pick up the part of the category name you need them to.

|
Embed
Progress spinner
markstoneman
markstoneman

@pratik Marking certain types of links with CSS would be a lot easier. (But why do,this? Won't the purpose and type of link be relatively clear from the context?

|
Embed
Progress spinner
markstoneman
markstoneman

@pratik The problem with captions on Micro.blog is you can't include them in your uploads folder anyway. That's why I have no problem adding them by hand. I've also started some CSS for them as I notice patterns in my own blogging here emerge.

|
Embed
Progress spinner
markstoneman
markstoneman

@Mtt Oh, I missed that one. No indentation, which could be handy in at least one place on my site.

|
Embed
Progress spinner
mandaris
mandaris

@pratik @Mtt You might want to look at the side notes and margins that we’re implemented with the Tufte theme.

|
Embed
Progress spinner
Mtt
Mtt

@mandaris Thanks. It appears to be a shortcode driven setup which is probably the best way to accomplish it within a theme. I've been hesitant to use shortcodes because of how they breakdown if someone switches themes. But it's probably a solid usecase for a plugin.

|
Embed
Progress spinner
pratik
pratik

@mandaris Oh yeah, that's awesome. I had not checked out Tufte in a while, but it does it extremely well. The video demo of how it works on mobile is exactly how I envisioned it. Anyway, it's a nice-to-have for Tiny, and I prefer @mtt to exercise his judgment on what he should and should not include as features.

|
Embed
Progress spinner
pratik
pratik

@markstoneman Can we not have captions if Micro.blog's Uploads don't support it? I mean, I upload images using a shortcut and can have it as part of that to display on my blog. The way news articles do it with tiny gray text below the image will be sufficient.

|
Embed
Progress spinner
pratik
pratik

@markstoneman Yeah, perhaps not that useful to mark links but sometimes I find it useful to know if it's an external link so I can open it in the background and not disrupt my flow of reading.

|
Embed
Progress spinner
mandaris
mandaris

@Mtt yes, that is a major downside for this implementation. I’ve played with the idea of making the plug-in, but I don’t have the bandwidth to support something like this. I really enjoy your approach of making the theme as simple as possible.

|
Embed
Progress spinner
mandaris
mandaris

@pratik have you thought about using <figure> and <figcaption> tags?

|
Embed
Progress spinner
pratik
pratik

@mandaris in Markdown?

|
Embed
Progress spinner
mandaris
mandaris

@pratik let’s see if this works in a response <figure> <a href="https://mandarismoore.com/uploads/2024/6ef04dec-4289-4d07-848f-2b55e885a327.jpg"></a> <figcaption>Me and the thing</figcaption> </figure>

|
Embed
Progress spinner
pratik
pratik

@mandaris Sorry, at least not on the timeline

|
Embed
Progress spinner
markstoneman
markstoneman

@pratik Today I saw a German archive site that decorates external links differently. The external ones have an arrow, but the arrow seems to be added after the link contents, maybe with CSS. See the right hand column of this search: https://www.archivportal-d.de/person/gnd/118542354?rows=20&query=wilhelm+groener&offset=0&_=1719627588548&hitNumber=1 I'm guessing this specific method wouldn't work so well in the middle of a text.

|
Embed
Progress spinner
markstoneman
markstoneman

@pratik I just meant that if I don't store captions with the images, then I simply deal with their formatting on an ad hoc basis in each post. I imagine, though, that you would need support from the host, if you wanted to pull in a page of images because those images are not linked to specific captions. But maybe I'm making too many assumptions here.

|
Embed
Progress spinner
pratik
pratik

@markstoneman But wouldn't having it in your code (markdown or HTML) be better for longevity so that regardless of where your image is hosted, it will have the necessary alt text and caption/title?

|
Embed
Progress spinner
markstoneman
markstoneman

@pratik Well yeah, but it only lives there on that blog post, including any migrated versions of it. But I can't repurpose the image without going back to the original post for the details stored there. That stuff used to live in my WordPress media library, which was the unwitting context of my remark.

|
Embed
Progress spinner