pi@retropie : ~/hugo/philotechtech $ hugo server
Error: “/home/pi/hugo/philotechtech/themes/ananke/layouts/partials/func/GetFeaturedImage.html:35:1” : parse failed: template: partials/func/GetFeaturedImage.html:35: function “return” not defined
I made no changes to the theme itself. I followed the getting started document exactly. I can’t find an answer to this on your forum, search engine, or knowledge base.
That got me a lot further! Thanks. Now I’m getting this error when I run hugo server: pi@retropie : **~/hugo/philotechtech ** hugo server
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem-{PLATFORM}.so’ from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object ‘/usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so’ from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
The server starts, but I don’t get anything out of the url and port.
I compiled it using the instructions on the site, and it works now without error. However, when I try to load the site, it gives me a can’t connect error. Do I need to adjust the web server settings somehow? Thanks again!
I have the Pi4 on my home network. 192.168.254.22:1313 That is the static lan ip of the pi4. The pi4 is accessible at that ip via many other ports for other services from my iMac. I’m definitely getting something wrong. Please help and thank you.
“First, while Hugo includes the ability to serve pages via hugo server , this capability is intended for development use only.”
I guess I didn’t comprehend the purpose of Hugo then. I thought it was a static style replacement for Wordpress or Joomla. If it isn’t for serving pages, what is it for? I would like to use it for its intend purpose if so.