Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Undefined variable: "$fa-var-sitemap". #37

Closed
aboettger-tuhh opened this issue Nov 27, 2018 · 4 comments
Closed

Error: Undefined variable: "$fa-var-sitemap". #37

aboettger-tuhh opened this issue Nov 27, 2018 · 4 comments

Comments

@aboettger-tuhh
Copy link
Contributor

aboettger-tuhh commented Nov 27, 2018

Discourse: v2.2.0.beta4 +353

When you open the page in browser you see only

Error: Undefined variable: "$fa-var-sitemap".
on line 5 of plugins/discourse-ldap-auth/auto_generated/plugin b5e97b66bal5dcff76b2524272bb34dd1df3b54c.css
>> content: $fa-var-sitemap;
@aboettger-tuhh
Copy link
Contributor Author

The variable was last seen in the app/assets/stylesheets/vendor/font_awesome/_variables.scss file.

This is the committ:
discourse/discourse@03deda2

@aboettger-tuhh
Copy link
Contributor Author

workaround:

  • fork the repo
  • remove the lines in plugin.rb
    &:before {                                                                 
      content: $fa-var-sitemap;                                                
    }
    
  • use the forked repo in the discourse container

result
no icon, but a usable login

image

@jonmbake
Copy link
Owner

Thanks for the heads up. Looks like it was broken in discourse/discourse#6557. Feel free to submit a PR if you have a fix!

@akhalidy-IDM
Copy link

@aboettger-tuhh fixed worked for me as well.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants