-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Edit button #230
Comments
We do something similar for PouchDB: https://github.com/pouchdb/pouchdb/blob/master/docs/_layouts/default.html#L74 https://github.com/pouchdb/pouchdb/blob/master/docs/_includes/edit_button.html This way you can turn it on and off depending on the page using frontmatter. |
I'd like to try to implement this. But I'm having troubles getting the site working on my machine. Anybody got some pointers? |
@bartw thanks Bart! what ruby version do you have installed (
and then, in theory, you should be able to do |
Hi !! I would like to work on this issue.Secondly for edit button do , i need to create it for just the main page hoodie.ie or for its other dependent pages as well. |
I think you could add the edit button to the header*.html files here: https://github.com/hoodiehq/hood.ie/tree/gh-pages/_includes Note that the setup is currently quite complicated with CSS being served from another place. We hope to clean this all up soon via #312. But feel free to give it a try :) |
As we use jekyll for http://hood.ie/, all pages can be directly edited on GitHub. For example, the content of http://hood.ie/community/ can be edited here: https://github.com/hoodiehq/hood.ie/edit/gh-pages/community/index.html (You need to be signed in)
To make it simpler for visitors to fix a typo and help with improving our site in general, we would like to add an edit button to every page, like on http://nobackend.org/ (bottom right of page)
Here is how the code looks like for the edit button:
https://github.com/noBackend/nobackend.org/blob/gh-pages/_layouts/page.html#L57
We would love something similar on http://hood.ie/ :)
The text was updated successfully, but these errors were encountered: