Commit Graph
68 Commits
Author SHA1 Message Date
George Cushen a40a7ffe29 feat(widget): animate Tag Cloud 2019-02-08 00:41:27 +00:00
George Cushen 7eb10f2b26 refactor: consolidate list views 2019-02-07 13:50:11 +00:00
George Cushen f40c63d7ac feat: add People widget 2019-02-05 21:08:40 +00: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 bc7e541f61 fix(shortcode): allow for multiple child elements in Alerts
Previously, alerts were designed just for a single child consisting of
a paragraph.

Now supports styling of multiple children including lists.

Fix #881
2019-01-15 18:30:02 +00:00
George Cushen b68a0995f6 fix: url_custom button height varies when using icons
Fix #872
2019-01-12 20:02:42 +00:00
George Cushen 3da446cf77 fix(widget): rename Accomplishments widget + use soft-hyphen 2018-12-31 11:55:14 +00:00
Mrinal Jain ae9882de90 feat(widget): add Accomplishments widget
See #792
See #773
2018-12-31 00:47:22 +00:00
George Cushen 811b52f280 feat(page): improve featured image ratio on small screens 2018-12-04 23:36:24 +00:00
George Cushen d2330cb261 feat(theme): enable users to switch between day and night modes
Close #807
2018-12-02 00:17:35 +00:00
George Cushen ddd8e9ad5d fix(search): fix layout on Safari/Webkit
Fix #825
2018-11-29 00:01:51 +00:00
George Cushen e95405f79a feat(search): add search icon to navbar to open new search dialog
* Search icon added to navbar if search enabled in config
* New search dialog added which overlays current page when searching
* The docs search box now opens the new search dialog instead of
  displaying results within the docs page itself

Close #784

BREAKING CHANGE:

Search widget is deprecated and `content/home/search.md` should be
removed
2018-11-17 22:42:27 +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 dd5422981b feat: Add support for icons in url_custom
Close #787
Close #326
2018-11-03 22:17:00 +00:00
George Cushen de269ebdb8 feat(project): add showcase mode and revert card view to resized images
* add project showcase layout, set `view = 2` in `projects.md` to use
* revert card view to use resized images rather than cropped images
* fix project filters for tags with non-ASCII (i18n) characters
* add single column wide layout for project widget, to use set
  `widget_layout` in `projects.md`
* add `flip_alt_rows` widget option to flip alternate rows in showcase
  mode
* `url_` link buttons can now be added for projects
* all link buttons now appear in page header rather than under a 'links'
  section within the page
* Markdown slides can now be linked from any page by using new `slides`
  option
* Isotope JS is now only activated when required (i.e. when using card
  view or when filters are defined)
* `links` translation removed from i18n
* consolidate talk, pub., and new project links files into new single
  `page_links.html` for all pages
* move project widget layouts to their own files

Close #764
Close #785
Close #776
Close #645
Close #326

BREAKING CHANGE:

CSS class names of project tags are now prefixed with `js-id-` to
namespace them and prevent clashes with existing CSS classes.

Migrate any filter `tag`s in `projects.md` that are prefixed `.` to the
new `.js-id-` prefix.
2018-11-03 20:13:43 +00:00
George Cushen 9e49f64903 fix(css): fix project widget's simple mode when widget is renamed 2018-10-27 18:22:28 +01:00
George Cushen 2f9d2ab80f fix(css): contact widget style wasn't applied if widget was renamed 2018-10-25 14:21:49 +01:00
George Cushen 3358904dc3 feat(page): add author profile
The following boolean (true/false) page params control page features:

- share
- comments
- reading_time
- profile
2018-10-21 00:33:00 +01:00
George Cushen 34deeedb07 feat(theme): add Apogee and Cupcake themes
- Improve button styles on dark themes
- Add to Readme and Getting Started post
2018-10-20 21:49:33 +01:00
George Cushen 061b56a088 dark theme: Fix contrast of muted text color 2018-10-14 02:08:26 +01:00
George Cushen faa4812677 Add optional stream layout with featured image for publications + talks
- exampleSite: Add featured images to talks and publications
- exampleSite: Change default layouts to use stream layout

Close #718
2018-10-13 23:44:49 +01:00
George Cushen c37cf33fc6 Add featured image system with focal points and responsive XL split
- featured image: Enable focal point to be set by user in front matter
- pages: Featured image responsively transforms to split view on XL monitors
- pages: Refactor page title, metadata, and image into one reusable module
- archetypes: Migrate to folder approach and update image options
- post widget: Refactor detailed layout to use featured image
- accessibility: Add alt tag to header and featured image
- accessibility: Improve text contrast based on Lighthouse audit
- publication: Entirely deprecate old `image` front matter option
- docs: Remove header image option (was never a documented feature)
- project widget: Add `noopener` to external links

See #708
Fix #728
Fix #704
Fix #705
See #718
2018-10-13 21:58:51 +01:00
George Cushen 0cd9c1d959 posts: Add featured image option and stream layout for widget
To use:

1. Set `list_format = 2` in `content/home/posts.md`
2. Refactor a post named `X.md` to `content/post/X/index.md`
3. Add an image named `featured.*` to your post's new folder
2018-09-30 23:53:24 +01:00
George Cushen bfae0511d3 Add experience widget
* See `exampleSite/content/home/experience.md` for demo
* Add `present` to language pack

Also:
* Enable color theme packs to change link color
* Reduce font size in docs sidebar

Close #378
2018-09-30 22:52:52 +01:00
George Cushen f754e4c7e5 CSS: Prevent Hugo encoding Google Fonts and fix docs sidebar toggle bg
Close #707
2018-09-23 18:28:50 +01:00
George Cushen 09c3164f51 docs layout: Fix responsiveness of sidebar over range of resolutions
Fix #698
2018-09-23 00:52:56 +01:00
George Cushen d2d2f09f4c docs layout: Fix case where side nav links can overlap 2018-09-16 20:16:15 +01:00
George Cushen 179c7f7331 Revise table of contents for docs layout and top navbar
- Add title to Table of Contents (add `on_this_page` i18n)
- Add back to top link in Table of Contents (add `back_to_top` i18n)
- Enable custom HTML in Table of Contents
  (create `layouts/partials/docs_toc_foot.html`)
- Revised alert shortcode style
- Enable icons as menu items in main navbar (use HTML in `Name` field)
- Enable `[[menu.main_right]]` options for having both left and right
  aligned main menu links
2018-09-16 16:57:32 +01:00
George Cushen a86e35245e about widget: Refactor avatar (#683) 2018-09-15 18:24:15 +01:00
George Cushen 6c40356235 CSS: Fix Bootstrap 4 grid system for Safari
Close #690
Also, see #571
2018-09-13 21:36:24 +01:00
George Cushen 9ee3ade085 CSS: Make header margins more consistent again
See #681
See #571
2018-09-10 19:30:27 +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
Conor Anderson a1989ea25c Upgrade from Font Awesome v4 to v5 (#659)
Require Hugo v0.48+
2018-09-01 18:10:23 +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 d886800a9f style: Fix tag color and search box in dark theme
Close #632
2018-08-11 12:44:23 +01:00
George Cushen bb3adc1781 Add search engine widget
Close #169
2018-07-23 19:25:39 +01:00
George Cushen 669ad912d3 tags: Change style to Bootstrap label
Avoid confusion between tags and link buttons such as those on project
or publication pages.

Close #588
Inspired by #549
2018-07-07 20:52:19 +01:00
George Cushen a555dd792b mathjax: Improve handling of long equations
* Use automatic linebreak feature instead of CSS overflow scrolling
* Disable mathjax notifications
* Highlight any undefined macros within equations
* Load output processors with `-full` option rather than on demand
* Update MathJax version

Fix #496
Fix #586
2018-07-07 19:45:35 +01:00
George Cushen 9b1be1019d mathjax: Horizontally scroll long equations
Close #496
2018-06-29 18:31:48 +01:00
George Cushen 7f25b7463e shortcode: Add Google Docs
Enables easily embedding Google Slides.

To use, copy and paste the share link from Google Docs in the form:
`{{< gdocs "https://..." >}}`
2018-04-22 12:25:51 +01:00
George Cushen e6b2f1d285 Add hl shortcode for highlighting key phrases
To use: `{{< hl >}}highlighted quote{{< /hl >}}`
2018-04-22 00:08:56 +01:00
George Cushen 09674dd538 figure shortcode: Fix caption style
See #328
2018-04-21 23:19:43 +01:00
George Cushen f23526e55d figure shortcode: Support i18n and unnumbered captions
- Figures are now unnumbered by default
- To number a figure, use the form:
  - `{{< figure src="image.jpg" title="Caption" numbered="true" >}}`
- Add i18n translation for "Figure" in captions
- Update English and Chinese language packs

Close #328 and #513
2018-04-21 10:35:15 +01:00
George Cushen a5a0037c68 Prevent wrapping in code blocks
Use horizontal scrolling for long lines of code rather than wrapping.

Fix #467
2018-04-16 01:25:11 +01:00
George Cushen 793d91e5c6 Wrap long words in headings to prevent overlapping content
Fix #481
2018-04-16 01:03:51 +01:00
George Cushen f6f182d42d dark theme: Add support for MathJax zoom
Fix #486
2018-04-16 00:56:33 +01:00
Benasse 2b1a42e7e0 about widget: Center multi-line social icons
Center social icons when there is more than one line.

See #494
2018-03-24 15:12:41 +00:00
George Cushen 66b71fa2f6 Add video shortcode and remove image shadow 2018-01-28 01:14:44 +00:00
George Cushen b02f5eceda Apply card style to detailed list view and refactor 2018-01-21 22:34:32 +00:00