Hello! Iβm using the Hugo/Academic template together with Netlify CMS, and GitHub hosting. I tried to update the contents of my website using first the CMS itself, then by editing GitHub files directly, according to the Academic documentation. Both attempts have failed:
Namely, if I edit the content of the various .md files, such as /content/home/Experience.md, these edits are not shown in the website, when I open it in a browser (even after I wait a while), even if the commit itself (done on the main branch) is successful, i.e. edits to the file itself are saved.
On the other hand, I cannot anywhere in my github repository find text contained in the default contents of these widgets, so clearly I was not updating content in the right place.
I also tried to get NetlifyCMS to let me edit all of the various widgets using its GUI. Right now the only βCollectionsβ I see in the CMS are the default ones in Academic: Authors, Posts,etc. If I edit content from there, the changes are seen on the website, so I tried to add there other widgets from the Academic template (Experience, etc). However, I found no place in the siteβs source code (or in the very austere Netlify CMS interface) where to edit that list of widgets.
Hey @tudorpopescu,
Any chance you could share your repo with us so we can see how itβs set up? At the very least, please send your config.yml for the CMS and your Netlify site name Thanks!
Thanks Jen for your help, and sorry for the late reply. My repo is here and my netlify site name is: tudorpopescu. Please let me know if you are able to have a look or if I should send anything else.
Wow, really not sure what to say. βExperienceβ was just the name of the widget that I was trying to edit, but Iβve no idea about the syntax error that you saw. Is there a way to get round it? Also, I never did actually find a way to edit those Widgets, and support from Hugo/Academic seems unresponsive.
Thank you Jen! I fixed that syntax error and committed the change, however the Experience widget still shows content from the generic template, such as the text βTaught electronic engineering and researched semiconductor physics.β. I cannot find where in my github files this text resides, so I can replace with my own!
Furthermore, while the Experience and Projects widget are all visible as you scroll down the main page at tudorpopescu.com, the siteβs top header contains a section (Posts) that is not in that list. I found an entry for this in /config/_default/menus.toml, however after editing that section name to something else and committing, still the changes do not appear on the live site. Thus, what I am editing here appears to be always different from the files that the site actually gets its contents from.
This combination of Hugo/Academic and GitHub appears very cumbersome, so let me shift gears and ask: what other website solution can I use to make this process simpler?
All I want here is a basic personal website with text and a few pictures&links, which Iβd have thought could just be done in a WYSIWYG interface, that allows direct editing of the text as it appears on the site. How could I achieve this?
i canβt answer the first question for you but i can help you with the second! For a simple site, i really recommend stackbit. Itβs a free service that deploys to netlify and allows you to pick a CMS, (i recommend Netlify CMS, but there are also others to choose from), and a static site generator. You can also pick a theme. Once you have made your choices, it deploys to netlify and you have a fully working site. Check it out and see how it goes! I use stackbit for one of my sites and i like it a lot.