Commit Graph
6 Commits
Author SHA1 Message Date
George Cushen 64cceae099 fix: navbar active link highlighting and scrolling
Fixes edge case caused due to responsive navbar height. More
specifically, a possible race condition between Scrollspy init and
updating its offset.

Fix #1199
2019-07-13 00:55:22 +01:00
George Cushen a8c4f887e5 fix: navbar active link highlighting and scrolling
Fixes some edge cases caused due to responsive navbar height and dynamic
Portfolio widget height, as well as case where offset was non-integer,
requiring float to be rounded up.

Fix #1199
2019-07-11 20:54:52 +01:00
George Cushen 0810ee024f feat: enable pages to be edited on GitHub
`edit_page` option can be added to `params.toml`. For example,
`edit_page = {repo_url = "https://github.com/gcushen/hugo-academic", editable = {docs = true}}`

Currently works for GitHub repos and pages using the `docs` layout.
2019-07-08 13:13:32 +01:00
George Cushen 9263fcd3c9 refactor docs to use baseof 2019-06-01 15:15:19 +01:00
Russell J. Hewett 044957aca1 refactor(baseof): minor adjustments to site_footer to help accomodate the docs layout 2019-05-30 22:27:17 -04:00
Russell J. Hewett 1c2178bc44 refactor(baseof): added baseof template to replace template boilerplate 2019-05-30 21:47:46 -04:00