I would have posted this in a Github Gist or using Tinkerbin, but the indentation appears WAY off when I copy and paste my HAML.
The error message is: Inconsistent indentation: "\t\t " was used for indentation, but the rest of the document was indented using 2 spaces.
I posted an imgur to show you where the error is happening, the browser is telling me line 8, as you can see in the photo.
Bear with me, this is probably an easy fix but I am very new to HAML.
If you're using SublimeText, add the following to Packages/User/Preferences.sublime-settings
"tab_size": 2,
"translate_tabs_to_spaces": true
... then re-paste the code and all tabs will be changed to spaces.
I think you should use either space or tab, or you can select all and convert into spaces once finish your code, SUBLIME text editor is best for it
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With