daattali / beautiful-jekyll

✨ Build a beautiful and simple website in literally minutes. Demo at https://beautifuljekyll.com
https://beautifuljekyll.com
MIT License
5.4k stars 16.27k forks source link

_config.yml error #368

Closed mark62726 closed 6 years ago

mark62726 commented 6 years ago

Hi man, good job on your theme 🍡 My error happend whenever i uncomment a line on _config (i.e navbar-img: "/img/test.png"), the github page send me an error "Your site is having problems building: You have an error on line 7 of your _config.yml file. For more information, see https://help.github.com/articles/page-build-failed-config-file-error/." But the line 7 is fine, i never touch it just uncomment and the error happen Then i comment it again, and everything works again image

mark62726 commented 6 years ago

NVM i resolve it by not uncoment a line, just write a new line with the same content

daattali commented 6 years ago

What was the problem exactly?


Dean Attali President & CEO AttaliTech Ltd http://AttaliTech.com http://attalitech.com

On 29 June 2018 at 01:05, mark62726 notifications@github.com wrote:

Closed #368 https://github.com/daattali/beautiful-jekyll/issues/368.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/daattali/beautiful-jekyll/issues/368#event-1707846884, or mute the thread https://github.com/notifications/unsubscribe-auth/AA6IFDcvVD7hCLw0mFmZxoVjt3gzYqIBks5uBbWcgaJpZM4U8b8C .

mark62726 commented 6 years ago

Hi man, thanks for the reply, the problem was: When i uncomment a line in _config.yml the page deployment send me the error "Your site is having problems building..." img

So i left the comented line and wrote a new with updated content Thats how i fixed the issue img

daattali commented 6 years ago

I notice there is a space in the beginning of the line in the first image - I wonder if that was the error? If you add a space as the first character in line 44, does it break again?


Dean Attali President & CEO AttaliTech Ltd http://AttaliTech.com http://attalitech.com

On 30 June 2018 at 14:45, mark62726 notifications@github.com wrote:

Hi man, thanks for the reply, the problem was: When i uncomment a line in _config.yml the page deployment send me the error "Your site is having problems building..." [image: img] https://raw.githubusercontent.com/mark62726/img-hosting/master/config.yml%20uncomment.png

So i left the comented line and wrote a new with updated content Thats how i fixed the issue [image: img] https://raw.githubusercontent.com/mark62726/img-hosting/master/new-line.png

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/daattali/beautiful-jekyll/issues/368#issuecomment-401559160, or mute the thread https://github.com/notifications/unsubscribe-auth/AA6IFOUSqLDRrI6I2wF10kNK3MGHQGISks5uB8dQgaJpZM4U8b8C .

mark62726 commented 6 years ago

That was the thing, the space. Such a noob error :(