So, you use Micro.blog to generate your static site. You totally embraced Hugo templating, even rolled your own custom theme for @manton’s server to push all your content through whenever your static site regenerates. Now you’re looking to refactor your bits and pieces into plugins, perhaps considering plugin creation when pondering the insertion of new functionality. Wait … just me? F$&k it … play along.
Also … Apple engineers … I'm not asking for development mode in mobile Safari … but … for f$&k's sake … let me at least quickly empty the GD cache so I only reload once to see the f$&king changes.
I keep finding myself wanting to systematically refine all the slapdash CSS and bumping up against the #ADHD hesitancy upon realization that I'd really want to work in some SASS, and I'd have to sit before the desktop in the office where I store sh$t I only need occasionally
Okay, Mastodon, you finally managed to pull an image …
but … bro … it ain't the right image.
When you're so impatient about your Hugo build you add nearly two months to the publish date of a post just to get it to rebuild along with the other 29 that make the inital cut.
Waste a day creating a
Hugo
shortcode…to drop into a Ulysses sheet that takes captioned images, somewhat like … say … these images here…
parses that source and caption data out of the markdown with which the shortcode has been fed, and uses this parsed data to generate a
glightbox
gallery for displaying the images … so when you activate an anchor they’re all like…and, as for how these
a.glightbox
elements oughta look at rest, let’sflexbox
those little f$&kers into a tidy, symmetric grid so when the lightbox isn’t active, they’re all like…f$&kin’ ✓.
Okay, whatever, apparently I had been carrying around the wrong hex set for
theme-color
ever since I went about setting sh$t up for favicons.Okay, what tag do I need to style to get rid of this ridiculous orange … it's not
html
orbody
unless the custom stylesheet is still cached.If anyone knows why Mastodon is now the lone platform sh$tting the preview-card-bed (of the platforms attempting to provide a preview), don't be shy.
.@manton piddled with a shortcode yesterday for taking a link to an existing post (glad this worked by simply changing the relative URL to use the
md
extension) and generating a preview card like I described when I first got on the platform. I stopped short of styling … but this is the kind of info I feel is available when generating timeline posts from long form Hugo posts with a title, etc.Okay, whatever, so I wasted the day rolling my own preview card Hugo shortcode on account of all the referencing to my own essays I tend to do. Perhaps it might be worth it once I decide how to style the MFer. Images are the unstyled card content and the impatient attempt at styling I threw up before growing bored with CSS for the day.
Big O of f$&k me
Jesus, refreshing my memory of AWK and scripting the aggregation myself would have been faster.
Okay, I've got one for ya @manton … okay … now I have two. ⑴ Why are we still acting like replies aren't meant to include assets? Imagery more times than not contributes at a higher value than wordsmithery … and using Mimi to
upload ➞ copy markdown
seems to work flawlessly. 🄑 Okay … it turns out the second one is pointed at Gluon … 'cause I just tested inline@
invocation in the Micro.Blog app and it was allRandom thought 2-beers deep @manton, were we to consider some custom Micro.blog markup (for … say specifying Twitter
@
versus MB/Mastodon@
… or the zillion other cross-post specific applications) … is there currently a point in the parsing process for such a filter (gave up on that term … spousal-type is calling me to dinner)?For the Twitter card dabblers … stick your summary where your title is meant to be when you don't have a proper title for your post. Feels more on point to me.
More stupid Twitter card tricks @manton. The crawler is only fetching images for posts created since whatever change got it going again. I was using Ulysses to re-publish some of the posts I wanted to drop into a thread so I would get proper cards. Success. Then today I thought I'd try manipulating the date and time property. Changing it for the already published post did nothing so I deleted the original post, went back to Ulysses, and tried re-publishing with it backdated. Total success … even with what I think is an identical URL.
Had no idea you could create your own markup in Ulysses
Alrighty, created the Ulysses image to Hugo shortcode to semantic figure tags … guess I oughta make 'em look like sumptin with some CSS
I noticed you added webp support @manton … I was replacing images with their URLs in Ulysses … some uploads were duds … turns out they were webp … Ulysses sh$t the bed but uploading directly through the web client works perfectly.
So @manton … I see the Ulysses image captions coming through. Is there a way for me to grab these with my theme? My web skills wax and wane depending on how long it's been. (I remember setting up a shortcode for captions but this time around I was looking for something I could get setup where I neededn't touch it after it's pushed from Ulysses).
Anyone know if you can edit a previous post created through Ulysses, or are we just being notified we have changed sh$t since it was posted? The former would be great so the links would remain the same across edits (now that Twitter cards started working again).
.@manton did you tinker or did my tinkering catch up? All of a sudden Twitter's card crawler is doing its job.
Dammit, now I gotta figure out where the underline text-decoration value is coming from … f$&k it … tonight those f$&kers are gonna stay underlined.
Totally need to overhaul my Hugo theme implementation's use of the favorites category to pin posts to the top of category pages. I have too many "favorites."