Commit Graph
28 Commits
Author SHA1 Message Date
George Cushen e6cb0b6628 js: update Reveal to v3.8.0 and rename example slides as bundle 2019-04-09 19:18:43 +01:00
George Cushen 3ea332ca67 refactor(js): shorten MathJax filename and minify + fingerprint assets
Remove fingerprinting from MathJax config JS to shorten its generated
filename. Reduces chance of JS filenames becoming too long for user's OS
to handle due to long Sha512 asset fingerprinting.

Minifies and fingerprints Academic's own JS for faster loading and to
prevent old versions getting cached by web browser.

Refactors Algolia search JS into its own file.

Close #768
See #794
2018-11-11 16:06:24 +00:00
George Cushen 5440c0eb11 fix(js): linking to a homepage section from another page
Links to a homepage section from another page could scroll to the wrong
location if the linked section occurred below a project widget.

Cause: did not take into account dynamically loaded project images.

See #754
2018-10-25 15:05:54 +01:00
George Cushen 6faf695727 Add slides feature
Example added to `exampleSite/content/slides/example-slides.md` and
linked from `exampleSite/content/talk/example-talk.md`.

Close #693
2018-09-16 16:39:30 +01:00
George Cushen 7919efd7a3 JS: Fix Algolia template and refactor Hero 2018-09-15 17:26:56 +01:00
George Cushen 674bb67364 Add documentation/courses/tutorials layout
- Close #405
- See #681 (improve consistency after #571 Bootstrap 4 migration)
- Add `search_results` to language file
- example site: Add example `tutorial` folder
- example site: Set privacy page to hidden (draft)
2018-09-09 23:28:36 +01:00
Prateek Kumar 965a64ffaa Migrate from Bootstrap v3 to v4 (#571) 2018-09-08 22:50:36 +01:00
George Cushen a11d8843bb Add built-in search engine
Complement existing integration of Algolia search engine with
alternative option of built-in search engine based on Fuse.

Setting `engine = 1` in `config.toml` will enable the built-in solution.

Close #635
2018-08-12 15:39:55 +01:00
Alexander Minges d48bcdf30a Add OpenStreetMap-based alternative to Google Maps (#360)
* add leaflet JS as alternative to gmap JS
* changes to `config.toml`:
  * add `zoom = 15`
  * add `map = 0` (`map` sets the map provider - refer to comments)
  * change `google_maps_api_key` to `map_api_key`
2017-11-02 21:14:26 +00:00
George Cushen b1c975fa4c project widget: Fix long title appearing on new line (Fix #324)
* Only affects simple list mode, not card mode
2017-10-19 19:58:16 +01:00
George Cushen 3d4884a9f0 publications: Add citation feature + improvements (#302 #310 #205 #286)
* Add citation feature (#302)
* Remove detail button since all pub. titles are now linked (#310)
* Optimize order of pub. buttons and add more button options (#205)
* Use noopener for external URLs that open in new tabs (#286)
2017-10-16 02:05:39 +01:00
George Cushen f640bc4250 contact widget: Add option to show Google Maps (Close #301)
* Add `google_maps_api_key = ""` option to config
* Add `latitude = "37.4275"` option to config
* Add `longitude = "-122.1697"` option to config
2017-10-15 06:26:04 +01:00
Thomas Mieling e8cfcabb76 widgets: Enable reuse of project widget (Close #100)
* Replace ids by classes
* Adapt click functions for filter links to filter only in the
relevant widget
* Hide project filter buttons, when there is only one
2017-10-07 21:25:50 +01:00
George Cushen fcdf9b887f publications: Add filter for year (Close #171) 2017-09-19 23:07:56 +01:00
George Cushen 3cb84281d8 project widget: Enable changing default filter (#88)
Use `filter_default = 0` to specify index of default filter
2017-09-19 20:24:24 +01:00
Dan Cardy 4a2d20a8f9 Fix menu bar collapse on mobile (#223) 2017-07-18 01:34:27 +01:00
Ronny Chevalier b53076e1f8 layouts: Add Subresource Integrity (SRI) (#162) 2017-06-12 01:04:20 +01:00
George Cushen 641c699899 Improve responsive scrolling for URL hashes (#81) 2017-01-24 20:26:13 +00:00
George Cushen ae3a757777 Add publication filter #26 2017-01-12 06:41:13 +00:00
George Cushen 794cbd5c4e project widget: Wait for images to load to prevent overlapping (#76) 2017-01-02 04:04:25 +00:00
George Cushen 88205025ff Add filtering for projects (addresses #51) + add fade animation 2016-11-14 03:30:04 +00:00
George Cushen ee331055ef Highlight active navigation item + various improvements.
Highlight active navigation item using Scrollspy.
Prevent navbar hiding initial content when jumping to in-page anchor.
Use material style for navbar shadow.
Change color of links in alert boxes for better visibility.
2016-11-11 06:13:11 +00:00
George Cushen d0f29073d2 Add project summaries to homepage; Refactor h2 headings to h1 partly so Markdown renders better; Refactor url_image setting to image; Fix #top hash location when accessing home from another page; Improve SEO; Update README 2016-05-18 22:15:35 +01:00
George Cushen 1e3879e5a7 Fix smooth scrolling for Home and Back to Top links 2016-05-12 23:43:43 +01:00
George Cushen 4130199888 ✨ Fix JS hash scrolling 2016-05-08 14:03:09 +01:00
George Cushen 5985996691 ✨ Update layouts and fix JS 2016-05-08 00:07:40 +01:00
George Cushen 1e30c8486e ✨ Improve theme style 2016-05-08 00:03:25 +01:00
George Cushen 7867f653e8 Initial commit 2016-04-27 12:26:40 +01:00