-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add JS logic to toggle GitHub/GitLab content
This code does 2 things: 1. Toggles <articles> with ids that start with github- and gitlab- to hide/show either of the two. 2. Stores and reads a parameter from the URL to override and persist the GitHub/GitLab widget selection across pages (without client-side data)
- Loading branch information
Showing
1 changed file
with
67 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters