Commit Graph
11 Commits
Author SHA1 Message Date
George Cushen ec4f5a11bf feat(talk): add support for event address
Forms part of the transition from Microdata to JSON-LD.

See #413
2019-09-09 17:33:08 +01:00
George Cushen 8857bffa20 feat: convert demo front matter from TOML to YAML
Unfortunately, the popular Markdown editors (VS Code and Typora) still
don't support the more human-friendly TOML front matter syntax.

Therefore, make it easier to edit content in popular editors by
converting the demo front matter from TOML to YAML.

Except for publications as they are primarily data based (rather than
content based) and are automatically generated by Academic Admin.

Also, continue to use TOML for configuration files.

See #1069
2019-05-06 17:48:02 +01:00
George Cushen 585bdf643b fix: add support for Hugo v0.55
Requires Hugo v0.55.2+.
Does not work with Hugo v0.55.0 due to bugs fixed in v0.55.2.

Fix #1017
2019-04-17 19:26:51 +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 a622c8d19f refactor(talk): rename date options in front matter
date, time_start, time_end renamed to publishDate, date, date_end,
respectively.

BREAKING CHANGES: Rename above 3 options in front matter of all talks.

Also, refactor the 404 page so that it just lists the latest 10 pages
overall. This is a more flexible approach than separately listing the
latest pages for only a few different types of content.

See #721
2019-02-27 21:48:16 +00:00
George Cushen 1584b2db62 refactor: consolidate and simplify compact views
- Consolidate the code for all compact views into a single file
- Make authors clickable in all compact views
- Improve archetypes

BREAKING CHANGES:
`abstract_short` field dropped in publications and talks in favour of
`summary` field.

See #918
See https://github.com/gcushen/hugo-academic/issues/916#issuecomment-462274214
2019-02-11 13:59:18 +00:00
George Cushen e913aacb34 refactor: restructure config and front matter parameters
- contact widget: support custom contact links with `contact_links`
- talks: add `all_day`
- custom_css/js -> plugins_css/js
- load custom css/js from `assets/` dir instead of `static/`
- minify custom css/js
- convert publication types from config params to i18n translations
- projects: always list child items (config option deprecated)

BREAKING CHANGES: Refer to issue below.

See #867
2019-01-26 20:36:15 +00:00
George Cushen 70b87306be refactor: rename selected to featured
BREAKING CHANGES
See issue below and v4 release note for details

See #867
2019-01-20 00:32:50 +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 5e223515a2 projects: Fix new folder-based projects breaking talk/publication links 2018-10-14 01:46: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