Commit Graph
16 Commits
Author SHA1 Message Date
George Cushen 29ce18a050 feat(theme): add Strawberry theme
Also, refactor themes and theme system to replace primary_light and
primary_dark with SCSS lighten/darken funcs.

See #1091
2019-05-19 23:51:32 +01:00
George Cushen c9cd1afefb demo: change Tutorials to Courses and add List of Courses
Perhaps a more common use case of the docs layout.

See #109
2019-05-06 15:53:16 +01:00
George Cushen 8a6d151efb fix(nav): extend navbar active link highlighting to non-home pages
The original commit of the feature in abbd540 didn't work when `baseurl`
contained a sub-dir like we have for the docs site.

Fix abbd540
See #991
2019-05-05 23:41:33 +01:00
George Cushen abbd54045c feat(nav): extend navbar active link highlighting to non-home pages
Also,
- Fix ScrollSpy link scrolling/highlighting not working on widget pages
  except the home page
- Add `docs_section_pager = true` to `params.toml`.
- Add more demo tutorial pages and content to showcase the improved
navbar highlighting for child pages and the table of contents feature.
- Bump version in prep. for release

Close #991
2019-05-05 22:23:32 +01:00
George Cushen 92200d6327 refactor: convert CSS to SCSS
Remove Bootstrap from Header and assets.toml
  Remove Bootstrap JS CDN version in footer and assets.toml
  Add latest Bootstrap v4 SASS files locally
  Include Bootstrap JS locally
  Convert Academic's CSS to SASS (mainly SASS variables + Go templating)
  Convert Academic's theming system to integrate with SASS
  Parse SASS in header using Hugo and convert to CSS
  Minify and md5 fingerprint bundled CSS
  Fix Slider widget (reuses .wg-hero but animation and `clear` removed)
  Add Bootstrap files to repo so that Node is not required

See #680
2019-04-24 23:56:41 +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 6778929449 refactor: check admin created a homepage or give error 2019-03-31 19:50:26 +01:00
George Cushen 3fdddd7686 demo: document ability to auto update the copyright year
See #976
2019-03-24 19:03:09 +00:00
George Cushen 2de0d5da7f feat(widget): replace Projects and Custom with Portfolio and Blank
Essentially, the Projects and Custom widgets have been renamed and their
front matter upgraded to be consistent with the new Pages and Featured
widgets.

Also, refactor the demo, changing the section order and converting the
Teaching section to a Demos section which can be used to walk the user
thought the available demos.

See #918
2019-02-27 20:58:00 +00:00
George Cushen e1bcd74ea2 feat(gallery): generate web-friendly thumbnails
Close #932
2019-02-17 18:18:04 +00:00
George Cushen 066e7ebcfb demo: add blog based on Jupyter notebook 2019-02-05 11:43:16 +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 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 8a7c4eb2aa fix(nav): always right align search and dark mode icons
Also change nav links to be left aligned in the demo.
2019-01-22 18:35:53 +00:00
George Cushen 0a78ba6856 feat: hide page modification date for talks and publications
Having both talk/pub. date and page modification date displayed may
cause confusion.

Close #891
2019-01-22 18:22:06 +00:00
George Cushen ae8a86a047 refactor: restructure config using Hugo v0.53 approach
BREAKING CHANGES
See issue below and v4 release note for details

See #867
2019-01-20 01:35:04 +00:00