Skip to content
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.

steem_posts_permlink

Anthony Channing edited this page Jun 4, 2018 · 5 revisions

{steem_posts_permlink}

Applies to: steem-posts.html

This placeholder will be replaced with the posts permlink whereever it appears in the template.

Example 1: Creating a link to the full post

In this example, we use this placeholder, along with {steem_posts_author}, to create a link to the full post around the {steem_posts_title}.

<a href="javascript:getSteemPost('{steem_posts_author}','{steem_posts_permlink}');">{steem_posts_title}</a>

Which for a given post will be rendered as:

<a href="javascript:getSteemPost('antonchanning','blockpress-can-load-a-stream-of-posts-module-loading-bug-fix');">Blockpress: Can load a stream of posts + module loading bug fix</a>

Back to Developer reference.