Commit Graph
71 Commits
Author SHA1 Message Date
George Cushen ce75013228 feat: automatically generate website icons
See #1439
2019-12-28 23:48:40 +00:00
George Cushen 3326ad410e fix: include manifest URL on all pages
BREAKING CHANGE:
If overriding icon.png, rename it to icon-32.png and add icon-512.png.

Fix #1245
See #1247
2019-07-31 01:01:31 +01:00
George Cushen 0011592861 feat: dynamically generate manifest
Adds name, lang, theme_color and background_color.

Removes 32px icon and adds 512px icon based on latest Google best
practices.
2019-07-27 22:56:26 +01:00
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 7c2a85c351 feat: improve listings
- link author profile pages in listings
- display author name (rather than username) in metadata
- refactor `list_format` to `view` and use new consistent mappings
- add `citation_style` in `params.toml`
- re-order Accomplishments widget in Demo
- make params/comments more consistent in all widget front matter
- Author page: don't show username if profile exists as that will
  already show the user's display name
- Publication card: move author and publication name to metadata bar to
  be consistent with other listings
- Remove portrait.jpg from static as it was duplicated for Demo author

BREAKING CHANGES: See issue below.

See #909
2019-02-04 22:14:28 +00:00
George Cushen 2cca75504c update logo icon 2019-01-19 20:20:29 +00: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
George Cushen 086441ff3e Fix web manifest
See #312
2017-11-11 19:27:14 +00:00
George Cushen b9ee3b4a6f Add web manifest
Close #312
2017-11-11 19:04:26 +00:00
George Cushen 09b91845a0 themes: Add dark theme
To use, set `color_theme = "dark"` in `config.toml`.

See #299 and #139
2017-11-11 17:55:42 +00: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 66ca3fca75 Add theme system
- Add `color_theme` option to config
- Add `font` option to config
- Add 3 themes
- Add 2 font styles
- Add documentation to Getting Started post
2017-09-30 16:26:19 +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
George Cushen cf5ca46f1f Fix article wrapping around share-box (#246)
Set `overflow: hidden` on `article-metadata` to contain `share-box`.
2017-08-30 00:12:33 +01:00
Dan Cardy 4a2d20a8f9 Fix menu bar collapse on mobile (#223) 2017-07-18 01:34:27 +01:00
Myles Johnson df8d4f987c Update JS libs and pull icon packs from cdnjs (#208)
* Update version of imagesLoaded, tweenMax, and mathJax
* Pull academicons and font-awesome from cdnjs
* Delete `fonts` folder
2017-06-12 22:33:30 +01:00
Ronny Chevalier b53076e1f8 layouts: Add Subresource Integrity (SRI) (#162) 2017-06-12 01:04:20 +01:00
George Cushen 579b43150e Update Academicons to v1.8.0 (Fix #197) 2017-06-12 00:04:33 +01:00
George Cushen a99cad2aed css: Make horizontal rules more visible (#178) 2017-05-30 01:11:22 +01:00
Ronny Chevalier c55b7b15f6 static: Optimize size of PNG icons (#161)
apple-touch-icon.png: 1908 bytes decrease (48.69% decrease)
icon.png: 199 bytes decrease (30.02% decrease)
2017-04-26 14:02:56 +01:00
George Cushen dccca171a7 Add full-width header image option for all content pages
* feature is consistent across Posts, Projects, Talks, Publications, and nodes (#105)
* `image` parameter is moved under a `[header]` section at the end of existing content's frontmatter
* `caption` parameter can be used to specify image credit/caption (#103)
* set `preview = false` under `[header]` to hide a post's thumbnail on homepage (#113)
* add example of customizing a taxonomy list page at `/tags/academic/`
* revert i18n->hard-coded change for node page titles (#118)
2017-02-11 20:30:10 +00:00
George Cushen c94187570c Improve readability on large screens + minor style improvements
* Limit paragraph width to optimize readability on large screens (#97)
* Markdownify publication authors (#101)
* Improve padding of first homepage widget (#98)
2017-01-26 01:33:00 +00:00
George Cushen 641c699899 Improve responsive scrolling for URL hashes (#81) 2017-01-24 20:26:13 +00:00
George Cushen 69f7bf3592 exampleSite: Move project images to better location 2017-01-12 17:48:16 +00:00
George Cushen 7901d14d75 Support categories parameter for posts (#73) 2017-01-12 09:51:57 +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 e604f07850 Update CSS to fix #75 2017-01-01 22:46:04 +00:00
George Cushen 59116be74e Support sub-menu navigation (#72) 2016-12-31 14:05:29 +00:00
George Cushen 652302d5c0 Update Font Awesome (close #69) 2016-12-23 00:14:10 +00:00
ymcrcat bddf9c07bb Add Talks feature and widgets (#63) 2016-12-14 00:11:04 +00:00
George Cushen f3e9dea37f projects widget: Fix animation 2016-11-24 15:09:03 +00:00
George Cushen 605902a884 Improve support for Markdown footnotes (fix #61) 2016-11-21 09:26:51 +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 a4bcb6cbf4 Update website icon using latest standards 2016-10-19 21:46:26 +01:00
George Cushen b8b6c88f60 Add alert shortcode
Alerts can be used to add side content such as tips, notes, or warnings to articles.
2016-10-19 00:08:54 +01:00
George Cushen 9c27ae98cf css: Improve style of contact widget and refactor (#36) 2016-10-05 03:12:19 +01:00
George Cushen dc0511a176 css: Add responsive text scaling and general improvements 2016-09-25 05:01:38 +01:00