Insert Content
{{ end }} ```Insert Content
{{ end }} ```@Mtt Thanks. That was easier than I thought. Now I can haz custom text on a few category pages.
@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.
@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.
@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.
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.
@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.
@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.
@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?
@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.
@Mtt Oh, I missed that one. No indentation, which could be handy in at least one place on my site.
@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.
@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.
@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.
@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.
@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.
@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>
@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.
@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.
@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?
@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.