Can't get background image path in SASS to work

I’m seeing this being suggested a few times now. Is this still best practice or is it more of a workaround?

  1. Scss specific background image link
  2. https://github.com/jekyll/jekyll/issues/3646 (and the stack overflow answer linked in it).