Commit Graph

5 Commits

Author SHA1 Message Date
mtail 3e6baa1915 Save a magic Netlify cookie to indicate language selection.
The value of the nf_lang cookie overrides the browser's Accept-Language
setting.
2018-06-16 22:31:13 -07:00
mtail 5cf5c040b1 Experiment with Netlify language cookie override. 2018-06-16 21:59:12 -07:00
Martin Taillefer c389a3af38
Couple site fixes. (#1408)
- Get style switching working again.

- Don't show the Edit this Page option for the archived version of the site.
2018-06-01 06:16:21 -07:00
Martin Taillefer ba0cf03b36 A number of visual improvements. (#1366)
- The privacy link in the footer is now actually visible and uses the same coloring as the rest of the
text in the footer.

- The gear menu in the top right now actually looks like a real menu instead of a panel of links. Highlights behave as expected and
visuals are cleaner.

- The :before hack to cause proper scrolling in the face of our header is now more selective. It's only applied to
header items instead of all items that have an id attribute. This is more surgical in nature and avoids
potential issues such as was worked around by a counter-hack for tables. The counter hack is no longer
needed.

- Don't show the Edit This Pages on GitHub menu items for pages that are generated outside of the main doc process
(reference pages mainly). This won't kick in until I regenerate the reference docs, at which point they'll
gain the 'generated' front-matter entry, which will trigger the removal of the menu item.

- Apply a number of script improvements suggested by my editor.
2018-05-29 21:07:13 -04:00
mtail 951a8ed9f4 Switch from Jekyll to Hugo. 2018-05-25 20:02:32 -07:00