Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Edit in prose footer #225

Closed
vectorsize opened this Issue · 1 comment

2 participants

@vectorsize

We (everyday users) also want to be able to add the edit in prose big button at the bottom of our posts like here
http://prose.io/help/eventually-consistent.html
Is that going to be possible anytime soon?
Thanks!

@michael
Owner

Oh yes. It is possible already. It's application-specific though, so it's totally up to the user if or where he wants to put that link or how he wants to style it.

However, it's just a link that needs to be specified. With Prose, I did this:

From a Prose help page's YAML frontmatter:

---
prose_link: http://prose.io/#prose/prose/edit/gh-pages/_posts/help/2012-06-20-internals.md
---

And in the template:

<div class="improve-article-wrapper">
  <div class="improve-article">
    <a class="button" href="{{ page.prose_link }}">Edit in Prose</a>
    <p>
      This article has been written and published using <a href="http://prose.io" target="_blank">Prose</a>. Please help improving this documentation by contributing to the text.
    </p>
  </div>
</div>
@vectorsize vectorsize closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.