Sign in

What does {{#post}} do?

  • This topic has 2 replies, 2 voices, and was last updated 2 months, 2 weeks ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #9616
    Avatar photobjazmoore

    I have tried to locate this one in the documentation (Sorry Bob – I seem to be somewhat challenged in the layout of the docs).  I saw this code snippet when reading about {{#checkIf}}:

    {{#post}}
       {{#checkIf id '==' 10}}
             your code here...
       {{/checkIf}}
    {{/post}}

    I could not find the {{#Post}} helper anywhere.  I suspect it retrieves properties about the current post, but cannot confirm.  Wondering if anyone knows for sure.

    Thanks

    #9617
    Avatar photoBob

    ref: https://getpublii.com/dev/post-page-tags/

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #9618
    Avatar photobjazmoore

    Dang it!  I knew I had seen that somewhere…

    Much thanks Bob!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.