manton
manton

Updated a few things with the Micro.blog publishing backend, including a new “Rebuild” button on the Account → “View logs” page. Useful for doing a slower, complete sync of your blog if anything was accidentally out of date.

|
Embed
jasraj
jasraj

@manton hi Manton, congrats on the email newsletters rollout recently. Is it possible to show an excerpt at the bottom of a longer post, e.g. so that readers have to click "read more" to view the full post? (like this).

I was thinking might be handy for some of my longer posts, like one I just posted.

|
Embed
manton
manton

@jasraj No, that's not currently possible. If you're using weekly/monthly emails, you could post a summary as a new post and then use categories to exclude the full-length post. In the future, we may want more control over the email template so truncation could be controlled.

|
Embed
jasraj
jasraj

@manton okay, thank you.

|
Embed
crossingthethreshold
crossingthethreshold

@jasraj The Micro.blog Tufte theme appears to offer this feature if the post starts with a title. @pimoore, Tufte’s developer, might be able to say more? @manton

|
Embed
manton
manton

@jasraj @frostedechoes @crossingthethreshold Oh yeah, thanks for clarifying. I was just talking about newsletters.

|
Embed
crossingthethreshold
crossingthethreshold

@frostedechoes Thank you Robert. I didn't know about this. Good to know if I 'theme switch.'

|
Embed
jasraj
jasraj

@manton @crossingthethreshold @frostedechoes thank you all, I hadn't made it so clear in my original question to Manton, but I was actually asking about the blog itself (not newsletters), so this is very useful to know! I hadn't realised this.

ps. I'm a fan of the theme @pimoore (and others) use, I've asked him about it previously... I hadn't realised he was its developer :)

|
Embed
pimoore
pimoore

@jasraj @manton @crossingthethreshold @frostedechoes That’s correct, Tufte has the option to enter a post summary using a shortcode. This has different font formatting which will show on both the index page and the article page itself. When I have posts with a summary I manually enter the <!--more--> tag immediately afterward, and that will truncate the post on the index page at that point.

So in Markdown you would have the following:

# Post title
{{< summary >}}Summary (tl;dr) here{{< /summary >}}<!--more-->
Post starts here…

If you don’t include a summary with a titled post, it will truncate after a certain length so long as it doesn’t split a word or html tag.
|
Embed
jasraj
jasraj

@pimoore okay great - thanks for the clarifcication, Pete.

|
Embed
jasraj
jasraj

@pimoore hi Pete, I'm experimenting with the Tufte theme. How might I change the 'reply by email' mail-to address at the bottom of each post, from the custom email provided to my own?

|
Embed
pimoore
pimoore

@jasraj Thanks for checking out Tufte! That parameter can be changed in the config.json template, just scroll down to the bottom where you see “mailto”: and change the email address in the second set of quotes to yours (leave the quotes in). Also right above that is the subtitle parameter which you can also change to be whatever you want.

|
Embed
jasraj
jasraj

@pimoore thank you!

|
Embed
jasraj
jasraj

@timapple thank you!

|
Embed
crossingthethreshold
crossingthethreshold

@pimoore a belated “thank you” for this explanation 🙏🏻

|
Embed
pratik
pratik

@pimoore @jasraj Is it possible to make the "reply by email" feature available in other themes? Via a plugin? I don't want to enable comments on my photoblog but want a way for someone to get in touch with me if they need to.

|
Embed
pimoore
pimoore

@pratik @jasraj That’s a good question, pinging @help on this one.

|
Embed
maique
maique

@pimoore @pratik @jasraj I managed to get it to work on my blog, and helped two others do the same. A plug-in would be perfect, as no fiddling would be needed, and I’m not even sure if this trick works on all themes, but I’m willing to share the way I got it to work, if that helps. It’s very VERY much based on Tufte’s implementation, and it requires some editing of the layouts, but it works.

|
Embed
pratik
pratik

@maique Please do as I'm in a fiddling mood today 😬

|
Embed
maique
maique

@pratik 😊 Here you go: Reply by Email.

Please let me know if it’s clear, it’s a work in progress, as usual.

|
Embed
pratik
pratik

@maique Much thanks and looks straightforward. Except I don't have a config.json file in the theme (Kiko) I'm using right now. Am I already obsolete?

|
Embed
maique
maique

@pratik Oops! That’s one question I don’t know how to reply to, sorry. I’m using a very slightly modified Kiko, and it was there 😔 Maybe some of the others can help here? My knowledge only goes this far…

|
Embed
help
help

@pratik In your custom theme, you can create a new template called config.json with just the field you want to customize and Micro.blog will automatically merge it into the default config.

|
Embed
sod
sod

@pratik @pimoore @jasraj @maique Reply by email plug-in, nifty idea! I've started working on one.

Screenshot of plugin settings with two fields for an email address and button label. There's also an option to automagically include the button in the theme.

|
Embed
manton
manton

@sod Looks great!

|
Embed
pimoore
pimoore

@sod @pratik @jasraj @maique @timapple @manton Bonus points for using the word “automagically” in the description. 👌🏻

|
Embed
In reply to
pratik
pratik

@sod Awesome! Looking forward to using it. In the meantime, I'm going to try out @maique's hack.

|
Embed
maique
maique

@sod @pimoore @pratik @jasraj @timapple @manton Looks incredible! Will make it SO much easier. Thank you for taking the time to get this together.

|
Embed
jasraj
jasraj

@sod cool! (cc'ing @thebaer in case you might be interested, Matt)

|
Embed
sod
sod

@pratik It's really just a proof of concept for now, and the documentation lacks. But I think it's ready for alpha testing. So if you're up for that, follow the instructions here. @maique @pimoore @jasraj @timapple @manton

|
Embed
pimoore
pimoore

@sod @pratik @maique @jasraj @timapple @manton This is awesome, perfect excuse to test this out as I start porting another theme… 😏

|
Embed
sod
sod

@maique Thank you! 😊 Your well-written instructions inspired me to build the plug-in. By the way, you may want to change ?subject=Reply to to ?subject=Reply%20to%20 in your template. Read here for an explaination. @pratik

|
Embed
maique
maique

@sod Thank you, and thank you! Updated the instructions, the Gist with the partial code, and my own site ☺️

|
Embed