Commit Graph
10 Commits
Author SHA1 Message Date
George Cushen 9a5a33e354 fix: Book layout
Remove duplicate footer.
2020-07-25 02:19:48 +01:00
George Cushen 8d75e9e27a feat: add options to highlight active links and show current language
`highlight_active_link` and `show_language` added to `main_menu` in `params.toml`:

`main_menu = {align = "l", show_logo = true, highlight_active_link = true, show_language = false}`

For example, enables disabling highlighting active main menu links on scroll if it's found to be inaccurate in a certain case, such as towards the end of a homepage with lots of very short widgets that are linked in the menu.
2020-06-17 20:29:03 +01:00
George Cushen 2d63a0090a feat: add initial RTL language support 2020-04-11 22:25:03 +01:00
George Cushen db7a6f41ae feat(docs): add flexibility for using docs menu with updates layout 2019-10-12 22:18:22 +01:00
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