HugoBlox / hugo-blox-builder

🚨 GROW YOUR AUDIENCE WITH HUGOBLOX! 🚀 HugoBlox is an easy, fast no-code website builder for researchers, entrepreneurs, data scientists, and developers. Build stunning sites in minutes. 适合研究人员、企业家、数据科学家和开发者的简单快速无代码网站构建器。用拖放功能、可定制模板和内置SEO工具快速创建精美网站!
https://hugoblox.com/templates/
MIT License
8.19k stars 2.9k forks source link

Edit this page dead link #1473

Closed nomelab closed 4 years ago

nomelab commented 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.

gcushen commented 4 years ago

The feature for editing pages is controlled by the edit_page option in params.toml.