* Add copy-to-clipboard button and JS
* Ignore line numbers if present
* Rewrite heading permalink code to use vanilla JS
* README: Add credits to zenorocha/clipboard.js (MIT License)
@iBug really wants a place here in the Credits section :P
* Add .no-copy for hiding the button, update docs
* Add td.rouge-code to selectors
* Fix navigator.clipboard branch
* Add screenreader text for copy button
* Restore focus to the button after copying
* Add site-wide enable switch
* Do not markdownify title
* Support markup in titles
* Support markup in titles
* Fix seo.html as reviewed
* seo_title is now unconditionally computed
---------
Co-authored-by: iBug <git@ibugone.com>
* Make changes to schema easier
* Only show on one page not on all pages
* Move schema.html to _includes/ and move the URL guard out
---------
Co-authored-by: iBug <git@ibugone.com>
the `.hidden-links` popup disappears after you move the cursor out of it.
However, the white overlay on the screen does not disappear, as well as the `x` nav button on the top-right, remains as is.
Now when you click anywhere on the screen the popup appears again, and the `x` nav button turns back to a hamburger menu button.
And when you click on the hamburger menu, the popup disappears. now it's happening the exact opposite.
To remedy this, the pop up menu as well as the `x` nav button should also return back to normal once the popup disappears.
This commit fixes this issue.
* Update 10-layouts.md
Update social sharing section for appropriate Reddit example and resource locations.
* Update as reviewed
---------
Co-authored-by: iBug <git@ibugone.com>
Rakefile is like Makefile - it has dependency management,
while npm run scripts do not.
Aside from that, this also allows us to drop literally all Node.js packages,
as uglify-js is self-contained and has no dependencies.
Reduced node_modules from 17M to 374K.