nextcloud / website

An attempt to build a new website (obsolete)
7 stars 4 forks source link

[WIP] Implement homepage #3

Closed Espina2 closed 5 years ago

MorrisJobke commented 6 years ago

Could you remove the .DS_Store files, then this looks good 👍

jospoortvliet commented 6 years ago

Hmm I get a white page and these errors: Building sites … ERROR 2018/02/22 20:47:25 Error while rendering "home" in "": template: /home/jospoortvliet/source/website/themes/nextcloud/layouts/index.html:26:23: executing "/home/jospoortvliet/source/website/themes/nextcloud/layouts/index.html" at <index .Site.Data.css...>: error calling index: index of untyped nil ERROR 2018/02/22 20:47:25 Error while rendering "page" in "blog/": template: /home/jospoortvliet/source/website/themes/nextcloud/layouts/post/single.html:26:23: executing "/home/jospoortvliet/source/website/themes/nextcloud/layouts/post/single.html" at <index .Site.Data.css...>: error calling index: index of untyped nil ERROR 2018/02/22 20:47:25 Error while rendering "404" in "": template: /home/jospoortvliet/source/website/themes/nextcloud/layouts/404.html:26:23: executing "/home/jospoortvliet/source/website/themes/nextcloud/layouts/404.html" at <index .Site.Data.css...>: error calling index: index of untyped nil

Espina2 commented 6 years ago

If you are in my branch, you have to run npm install to install all the dependencies, and after gulp watch, so it compiles the assets.

jospoortvliet commented 6 years ago

what is gulp and what is gulp watch supposed to do, I get a command not found ;-)

Did npm install

Espina2 commented 6 years ago

Gulp deals with all asset compilation such as transforming the scss in css, and create a bundle for all the javascript files and transpile it (transform new javascript in old javascript) so we have better browser coverage.

Try this: npm install npm install -g gulp gulp watch

The first two you just need to run one time.

jospoortvliet commented 6 years ago

Ok, all done - still not working ;-)

no errors from gulp and hugo (that's an improvement). It is quite broken: screenshot_20180227_145534

Not sure what causes it... There's at least some CSS loaded. WIP?

Espina2 commented 6 years ago

Its working, you have the current state Dude if see on the PR it's a Work in progress. This is will not be a project in where you put one day of work and is all done. It will take time, the more we have more faster will be.