Log in Sign up

Longer form writing than blog posts

I have a question or two about how I can use blot to stage some longer form writing I am doing. I write blog posts now in the "posts" folder. These are day to day or so views. The longer form writing would be more words but still markdown formatted. I would like to link to these articles from a landing page but not have them in the same posts folder and also hidden unless someone visits the landing page. I thought of a folder like _stories and then place all the markdown files in there and create the links on the landing page as I go. Is there another way you could suggest publishing longer form writing?

2 replies Asked Dec 4 '21 at 16:11 · Improve this question

Just to second this question, since I nearly asked a while ago about implementing a basic Read More -type split in Blog template posts, and about how to link from a front-page post to a longer text that didn't appear on the front page - which is in the same ballpark.

Answered Dec 5 '21 at 13:48 · Improve this answer

I'd use tags to accomplish this. Note that you will need to edit your template's source code. You could theoretically filter out posts tagged 'Longform' like so in your template's entries.html file:

{{#entries}}
  {{^tagged.longform}}
  ...
  {{/tagged.longform}}
{{/entries}}

And you could generate a list of all the posts tagged 'Longform' in a new template view like so:

{{#all_entries}}
  {{#tagged.longform}}
  ...
  {{/tagged.longform}}
{{/all_entries}}

Please let me know if you have any questions about this or anything else!

Answered Dec 10 '21 at 14:45 · Improve this answer

Markdown allowed