Hi,
As stated in this post,(Document your work with Hugo) I’ve been using Hugo to document some of my projects. I was already using MediaWiki with XAMPP for a local Window Setup, but the nature of having everything in a format that is almost impossible to export (something MediaWiki is famous for), makes me nervous.
In short, if for some reason your MediaWiki installation becomes corrupted, you lose everything. Updating from version to version becomes a chore, and a dangerous one. Yes, you can export your content to XML, but if you have files added there too things turn into a mess pretty fast.
ENTER HUGO
I’m seriously considering moving everything to Hugo. With the inner links shortcode now added ({{< ref >}}
Hugo seems like a very good rival to MediaWiki.
Yes, it is not a collaboration tool like MediaWiki, even though that can also be solved with a community installation of Hugo (one where contributors can also publish through GitHub). For a “solo practitioner” like myself, using a Wiki means only using the very core features.
- Inner links ( again, (
{{< ref >}}
) - Templates ( Archetypes )
- File upload ( ??? )
- Edit content on page ( ??? )
- Creating pages while on page ( ??? )
The last two items are the ones I’m actively working on right now. Uploading files can be as simple as writing a small javascript plugin that saves the files locally.
Now, editing content while on the page and creating pages while on page, this should be easy to fix, but since Hugo gets rebuilt every time we run the server, I’m doubting how it could be accomplished.
I guess you could edit the content of a single html with a inline markdown editor plugin, then write the content of the particular .md on the fly, so the next time you run the Hugo server, it would have your last change saved.
But to create pages using a template on the fly… not so sure.
Any idea are highly appreciated.