Mobile app version of vmapp.org
Login or Join
Deb1703797

: Set up a wiki in watch mode with Hugo static site generator? In the midst of porting an all HTML site to the Hugo static site generator, my boss asked me to add a wiki to the site. The

@Deb1703797

Posted in: #StaticContent #WebDevelopment #Wiki

In the midst of porting an all HTML site to the Hugo static site generator, my boss asked me to add a wiki to the site. The turn around time on this port + addition of a wiki is somewhat short (about a week), IMO. This is exaperated because I'm new to Hugo, and also I've never set up a wiki site, thus I have no knowledge about what wiki(s) might work with Hugo ... or even if this is something that can be accomplished within this much time.

Is this something that can be accomplished? If so, what wiki(s) would work with Hugo?

Edit for clarification: The wiki would enable users to edit content. Accounts would be (probably be) required. Editors would make their changes via a web interface, not via Hugo. Hugo would (I believe) be run in watch mode so that wiki edits would be updated (almost) immediately.

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Deb1703797

2 Comments

Sorted by latest first Latest Oldest Best

 

@Margaret670

You can't make accounts with Hugo. Hugo just generates static webpages from your frontmatter and markdown details. It parses template style to specific layout that you have provided in your frontmatter.

You can create a wiki (By creating own wiki style) with Hugo but you can't make accounts for login and signup. It is not a CMS that saves login databases, as it doesn't use databases. But if you host your Hugo website in github pages, then you can allow other people to fork your github project, and later you decide weather you allow them to commit that changes or not. I don't see any other option for you.

10% popularity Vote Up Vote Down


 

@LarsenBagley505

It sounds like from your edit that you have come across the way to achieve this. I haven't used Hugo specifically, but having used other static site generators one way I have achieved this is to have a dynamic web portal which handled user access permissions and provided access to a series of base documents (markdown files in my case) for editing wiki articles and creating new articles. As each markdown file was changed or created the static site generator was set to regenerate the parts of the site that needed to be generated and performed well. To ensure that everyone didn't need access to the web portal I powered things like comments etc through social media plugins and so the only people who needed access to the portal where people who where approved to create and edit wiki articles for the site (which in the projects case was a small number of users affiliated with the organisation).

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme