Sorry, i’m a bit frustrated.
Just compiled 0.15 because the ARM binary doesn’t seem to work on the RPi 2 - that was the first frustration. Newly compiled binary seems to work except none of the theme content is placed within reach of the published content:
pi@raspberrypi:/mnt/hugo_site $ ls
archetypes config.toml content data layouts public static themes
pi@raspberrypi:/mnt/hugo_site $ ls themes/hyde
archetypes images layouts LICENSE.md README.md static theme.toml
pi@raspberrypi:/mnt/hugo_site $ hugo server --bind=0.0.0.0 --port=8080 --baseURL=192.168.0.20/ --theme=hyde --buildDrafts -v
INFO: 2016/01/31 16:18:20 hugo.go:393: Using config file: /mnt/hugo_site/config.toml
INFO: 2016/01/31 16:18:20 hugo.go:483: using a UnionFS for static directory comprised of:
INFO: 2016/01/31 16:18:20 hugo.go:484: Base: /mnt/hugo_site/themes/hyde/static
INFO: 2016/01/31 16:18:20 hugo.go:485: Overlay: /mnt/hugo_site/static/
INFO: 2016/01/31 16:18:20 hugo.go:517: syncing static files to /
INFO: 2016/01/31 16:18:20 site.go:1274: found taxonomies: map[string]string{“tag”:“tags”, “category”:“categories”}
1 of 1 draft rendered
0 future content
2 pages created
0 non-page files copied
0 paginator pages created
0 categories created
0 tags created
in 124 ms
Watching for changes in /mnt/hugo_site/{data,content,layouts,static,themes}
Serving pages from memory
Web Server is available at http://192.168.0.20:8080/ (bind address 0.0.0.0)
Press Ctrl+C to stop
^Z[1] Exit 2 hugo server --bind=0.0.0.0 --port=8080 --baseURL=192.168.0.20/ --theme=hyde --buildDrafts -v
[2]+ Stopped hugo server --bind=0.0.0.0 --port=8080 --baseURL=192.168.0.20/ --theme=hyde --buildDrafts -v
pi@raspberrypi:/mnt/hugo_site $ bg
[2]+ hugo server --bind=0.0.0.0 --port=8080 --baseURL=192.168.0.20/ --theme=hyde --buildDrafts -v &
pi@raspberrypi:/mnt/hugo_site $ ls public static
public:
404.html about index.html index.xml robots.txt sitemap.xml
static:
pi@raspberrypi:/mnt/hugo_site $
It’s annoying not just being able to follow the getting started guide to produce a working site Nothing is copied. Loading the page from the server it’s clear none of the theme files can be found. How is this meant to work? Surely they should be copied to public?
Thanks