Skip to content

Conversation

ct-martin
Copy link
Member

Fixes #118

image
image

@ct-martin
Copy link
Member Author

Re Travis: linking to # is the standard practice for doing this; you shouldn't be checking any URL that matches ^#.*

@ct-martin
Copy link
Member Author

Ok, so to make clear, I added the flag allow_hash_href to HTMLProofer. This allows the href="#" to pass checks. This won't break the intended purpose b/c hash links are only for reference to a location within the same page.

Copy link
Member

@justwheel justwheel left a comment

Choose a reason for hiding this comment

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

This is great @ct-martin! Thanks for working on this. 🎉 Going to merge. ⚽ ➡️ 🥅

<li class="nav-item">
{% endif %}
<a class="nav-link" href="{{ tab.link }}">{{ tab.name }}</a>
</li>
Copy link
Member

Choose a reason for hiding this comment

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

Looking at the scratch code I put together on this yesterday, this is way more elegant than what I had. Nice!

@justwheel justwheel added the improvement Improves on something that already exists label Apr 21, 2020
@justwheel justwheel merged commit 0e17c3f into FOSSRIT:master Apr 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement Improves on something that already exists

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reorganize navigation bar with dropdown menus

2 participants