Commit Graph
27 Commits
Author SHA1 Message Date
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 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 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 8cea142b81 projects: Support featured image with automatic resizing
- Require Hugo v0.49
- Refactor project archetype to new Hugo v0.49 directory-based archetype
- Deprecate `image_preview` option
- Revise demo projects to use new functionality

See #708
2018-10-12 01:13:10 +01:00
George Cushen 9bcecc7b25 shortcodes: Update figure and video to support files within page dir
To reference file in page folder, simply use
`{{< figure src="a.png" >}}`

To reference file from `static/img/` media library, set `library=1`
in shortcode. E.g. `{{< figure src="a.png" library=1 >}}`

See #708
2018-09-23 23:10:34 +01:00
George Cushen cfbcfe948c project widget: Make filter toolbar responsive
Close #697
2018-09-20 00:18:47 +01:00
George Cushen 6ef19085d4 Refactor most absolute URLs to relative URLs
See #683
2018-09-15 13:58:29 +01:00
Prateek Kumar 965a64ffaa Migrate from Bootstrap v3 to v4 (#571) 2018-09-08 22:50:36 +01:00
George Cushen 3eb8be428b project widget: Fix filter for case where tag is not CSS class name
Fix #660
2018-09-07 01:02:16 +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 4661fbcce6 projects widget: Add support for tags containing spaces
Fix case where tag may contain spaces

Allow `tag` to be set directly to the name of an existing tag,
e.g. `tag = "Deep Learning"` rather than requiring the CSS class name
like `tag = ".deep-learning"`.

Close #602
2018-07-23 12:24:17 +01:00
Dongdong Tian 4167651b58 project widget: Enable content from any folder to be displayed
The widget is no longer limited to only displaying content from `content/project/` folder.

See #429
2018-01-04 22:34:04 +00:00
Thomas Mieling 18979019f9 widgets: Fix project filter buttons (#362) 2017-10-28 15:52:20 +01: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 466632ac4d Use noopener for external URLs that open in new tabs (Close #286) 2017-10-16 00:45:45 +01:00
George Cushen 22ed2d0161 Enable widgets to be used on other pages, not only homepage (#300) 2017-10-15 00:47:35 +01:00
George Cushen 488a1a7f1c project widget: Fix error when not using any filters (Fix #306) 2017-10-11 20:06:09 +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 d371607122 projects widget: Fix items overlapping when in list view (Fix #71) 2017-10-01 00:32:20 +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
Kirill Kirilenko 3996b85e05 Fix a741bc6 - missing target for card_text link (#79) 2017-01-02 20:07:20 +00:00
George Cushen a741bc6db8 projects: Open external link in new tab 2016-12-27 02:46:07 +00:00
George Cushen c76c5d6270 Parse Markdown in project summaries 2016-12-18 02:17:05 +00:00
George Cushen 8277658b81 Set widget identifiers to their respective filenames
Example: `content/home/about.md` widget is now linked from the
menu bar by setting the relevant URL as "#about" in `config.toml`.
2016-11-24 15:57:54 +00:00
George Cushen 44b46f1d40 projects widget: Improve external link handling 2016-11-14 03:43:00 +00:00
George Cushen 88205025ff Add filtering for projects (addresses #51) + add fade animation 2016-11-14 03:30:04 +00:00
George Cushen 61769e9b29 Refactor homepage sections as dedicated widgets in content/home/.
Enable full control of the order in which sections appear.
Add option to add custom Markdown content at top of widgets (e.g. to introduce sections).
Add Keybase option to config.
Use 2 space indentation.
Update docs.
Note: requires Hugo 0.16.
2016-09-24 18:22:47 +01:00