Commit Graph
16 Commits
Author SHA1 Message Date
George Cushen 88e0459e68 fix: Hugo 0.54+ breaks links to user profiles with non-ASCII usernames
* check if the Hugo generated author profile URL is valid
  * works around the Hugo bug, preventing invalid links
* rename `author` folder to `authors`
  * no need to GetPage authors/x and then GetPage author/x to check if
    user account was created
  * can just rename the folder and use `if .File` instead
  * more aligned with how Hugo's taxonomy system was designed
* refactor all author code

BREAKING CHANGE: rename `author` folder to `authors`

Fix #1064
2019-05-05 14:13:49 +01:00
George Cushen ea4621aedb refactor: homepage sections as headless leaf nodes
See #970
2019-03-17 20:31:20 +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 25bac3db27 demo: make usernames consistently lowercase 2019-02-17 13:01:26 +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 ab7e896227 feat(user): add author profile system
- Add author taxonomy to config
- Restructure user data
- Add user profile pages
- Refactor author profile box
- Refactor author link in page metadata to point to author profile page
- Enable About widget to be re-used for different users

BREAKING CHANGES
See issue below and v4 release note for details

See #752
2019-01-20 00:10:03 +00:00
George Cushen c586b640f9 exampleSite: Provide full date-time in content front matter
Work-around Hugo bug.

See https://github.com/sourcethemes/academic-kickstart/pull/1
2018-04-16 02:45:22 +01:00
George Cushen 29ba4f7ada widgets: Add active option to activate/deactivate widgets 2017-10-22 16:05:19 +01:00
George Cushen 19d069d9fb exampleSite: Update widget weight for demo 2017-09-24 23:06:40 +01:00
Yihui Xie 59e82f41c9 Fix layout of example site for Hugo 0.18 (#74) 2016-12-29 02:54:34 +00:00
George Cushen 31f9ce5f94 Add internationalization (i18n) support (#12) 2016-12-19 06:01:11 +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 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
George Cushen d0f29073d2 Add project summaries to homepage; Refactor h2 headings to h1 partly so Markdown renders better; Refactor url_image setting to image; Fix #top hash location when accessing home from another page; Improve SEO; Update README 2016-05-18 22:15:35 +01:00
George Cushen 6fc89cc46f ✨ Update example site 2016-05-07 02:21:09 +01:00
George Cushen 7867f653e8 Initial commit 2016-04-27 12:26:40 +01:00