yamlhugo

Is it possible to edit YML file from a seperate admin portal for static web development HUGO theme?


I have a hugo theme website and i want to make an admin portal to edit the contents of the website which are all located in the data/homepage.yml file.

Is there a way to keep my website a static website and still have an admin portal to update the contents like the phrases and stuff?


Solution

  • It is possible to do that, but your question is very generic, so I can only give you some broad guidelines.

    1. Check out the Frontend Interfaces with Hugo page on their documentation site. This is a list of services or programs to help manage your Hugo site.
    2. If you're version controlling using git, and hosting the code on something like GitHub, you could look into the in-browser editors they provide. Making the repository private, and restricted to only the admins means that you've got editor authentication covered.

    Some other constraints for you to consider in your search: