Skip to content

Caffeinated Content — Post Templating

Here is a quick rundown of this feature that can’t wait til version 2!

Each template will be made up of any text/html you choose. From there, the template will be populated by tokens. The following is the current list of tokens:

  • [who] - author name
  • [date] - post date
  • [content] - post content
  • [markov_content] - post content rewritten using markov

Multiple templates can be defined and will be picked at random for individual posts.

The default template is roughly comprised of the following simple line:

<em><strong>[who]</strong> asked: </em><br/><br/>[content]

As an added benefit, this should simplify the management interface quite a bit as we won’t need the prefix/postfix boxes or markov option anymore.   If anyone has further tokens they’d like to see included or input into this option, feel free to comment or email!

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*