Closed nomelab closed 4 years ago
Problem:
A feature was added for "Edit this page" in the docs page type, see thread: https://github.com/gcushen/hugo-academic/issues/617
But, this is a static link only to: root: https://github.com/gcushen/hugo-academic/edit/master/content/
Go to: https://academic-demo.netlify.com/courses/example/ Scroll to bottom, click "Edit this page" it redirects you to:
https://github.com/gcushen/hugo-academic/edit/master/content/courses/example/_index.md
which is a broken link.
Similarly, go to: https://www.nomelab.com/software/ Click, on "ABLE" scroll to bottom, click "Edit this page" it redirects you to: https://github.com/gcushen/hugo-academic/edit/master/content/software/FeCrAl_Handbook/_index.md
There is no way I have found to edit the root of this directory nor a simple way to remove this feature from the docs pages.
Thanks.
The feature for editing pages is controlled by the edit_page option in params.toml.
edit_page
params.toml
Problem:
A feature was added for "Edit this page" in the docs page type, see thread: https://github.com/gcushen/hugo-academic/issues/617
But, this is a static link only to: root: https://github.com/gcushen/hugo-academic/edit/master/content/
Go to: https://academic-demo.netlify.com/courses/example/ Scroll to bottom, click "Edit this page" it redirects you to:
https://github.com/gcushen/hugo-academic/edit/master/content/courses/example/_index.md
which is a broken link.
Similarly, go to: https://www.nomelab.com/software/ Click, on "ABLE" scroll to bottom, click "Edit this page" it redirects you to: https://github.com/gcushen/hugo-academic/edit/master/content/software/FeCrAl_Handbook/_index.md
There is no way I have found to edit the root of this directory nor a simple way to remove this feature from the docs pages.
Thanks.