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

Add banner when viewing previous versions #243

Open
frangio opened this issue Sep 9, 2020 · 1 comment
Open

Add banner when viewing previous versions #243

frangio opened this issue Sep 9, 2020 · 1 comment
Labels

Comments

@frangio
Copy link
Contributor

frangio commented Sep 9, 2020

Some users are visiting the docs for older versions of a project when they are actually interested in the latest version. We can have a banner at the top of older versions reminding people that they're not looking at the latest version.

@frangio frangio added the design label Nov 24, 2020
@frangio
Copy link
Contributor Author

frangio commented Apr 13, 2021

This should probably be added in article.hbs using something like:

{{#unless (eq @root.page.componentVersion.version @root.page.component.latestVersion.version)}}
<!-- banner -->
{{/unless}}

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

No branches or pull requests

1 participant