digitalcraftsman / hugo-strata-theme

Port of HTML5UP's Strata theme to Hugo
Other
143 stars 92 forks source link

hugo in linux x64 not picking up theme? #32

Closed splashx closed 7 years ago

splashx commented 7 years ago

Version: 0.24.1 (tested 0.23 and 0.20, all behaving the same) - didn't test x32 Theme: slate (although I suspect this has nothing to do with the theme being used)

on OSX: ✅

$ grep theme config.toml 
theme = "slate"
$ ~/Downloads/hugo_0.24.1_macOS-64bit/hugo 
Started building sites ...
Built site for language en:
0 draft content
0 future content
0 expired content
0 regular pages created
6 other pages created
0 non-page files copied
0 paginator pages created
0 tags created
0 categories created
total in 10 ms
$ ls -la public/index.html 
-rw-r--r--  1 splash  staff  5180 Jun 30 11:14 public/index.html

freshly cloning the very same repo and running it on Linux x64 fails: ❌

$ grep theme config.toml 
theme = "slate"
$ ./hugo --verbose
INFO 2017/06/30 11:29:45 Using config file: 
WARN 2017/06/30 11:29:45 Unable to find static directory for theme slate in /home/<redacted>/themes/slate/static
INFO 2017/06/30 11:29:45 /home/<redacted>/static/ is the only static directory available to sync from
INFO 2017/06/30 11:29:45 syncing static files to /home/<redacted>/public/
WARN 2017/06/30 11:29:45 No translation bundle found for default language "en"
WARN 2017/06/30 11:29:45 Translation func for language en not found, use default.
WARN 2017/06/30 11:29:45 i18n not initialized, check that you have language file (in i18n) that matches the site language or the default language.
Started building sites ...
WARN 2017/06/30 11:29:45 [en] Unable to locate layout for "taxonomyTerm": [taxonomy/.terms.html.html taxonomy/.terms.html _default/terms.html.html _default/terms.html indexes/indexes.html.html indexes/indexes.html theme/taxonomy/.terms.html.html theme/taxonomy/.terms.html theme/_default/terms.html.html theme/_default/terms.html theme/indexes/indexes.html.html theme/indexes/indexes.html]
WARN 2017/06/30 11:29:45 [en] Unable to locate layout for "home": [index.html.html index.html _default/list.html.html _default/list.html theme/index.html.html theme/index.html theme/_default/list.html.html theme/_default/list.html]
WARN 2017/06/30 11:29:45 [en] Unable to locate layout for "404": [404.html theme/404.html]
Built site for language en:
0 draft content
0 future content
0 expired content
0 regular pages created
6 other pages created
0 non-page files copied
0 paginator pages created
0 tags created
0 categories created
total in 4 ms
$ ls -la public/index.html
ls: cannot access 'public/index.html': No such file or directory
$ 

Passing -t <theme> and/or --themesDir ./themes/ results the same

NOTe: this does work in OSX 🤔

splashx commented 7 years ago

wrong repo, obviously