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

980px #7

Merged
merged 8 commits into from
Feb 12, 2016
Merged

980px #7

merged 8 commits into from
Feb 12, 2016

Conversation

adambharris
Copy link
Collaborator

fixes #3

if user

if route === 'home'
li.active
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Give this a try: li(class=(route === 'home' ? 'active' : ''))

(http://stackoverflow.com/questions/7563647/jade-inline-conditional)

@nealwu
Copy link
Owner

nealwu commented Feb 12, 2016

👍 after my comment above

adambharris added a commit that referenced this pull request Feb 12, 2016
@adambharris adambharris merged commit 1e575cf into master Feb 12, 2016
@adambharris adambharris deleted the 980px branch February 12, 2016 03:37
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

Successfully merging this pull request may close these issues.

Site styles should be default optimized for screens 980px wide
2 participants