Commit Graph
4 Commits
Author SHA1 Message Date
George Cushen 601620c7a6 feat: make taxonomy URLs singular
- make taxonomy URLs singular, consistent with other Academic pages (workaround Hugo attempting to publish taxonomy URLs with plural names). This requires the breaking change below.
- Fix extra space/lines appearing in the author cards underneath page content as reported at https://spectrum.chat/academic/help/publication-widget-adds-additional-lines-at-bottom-of-the-page~315f77d8-7cc8-44a9-a431-5b64b7556c53

BREAKING CHANGE:
Rename `name` to `title` in author profiles within `author/` folder.
2020-04-15 01:17:56 +01:00
George Cushen 94e6169320 fix: revert "fix: workaround Hugo GetPage/urlize bug with non-ASCII usernames"
This reverts commit 03af4df1

Ensure `removePathAccents = true` in `config.toml` to workaround the Hugo bug: https://github.com/gohugoio/hugo/issues/5687

Fix #1575
Fix #1563
2020-03-05 19:54:20 +00:00
George Cushen 03af4df12a fix: workaround Hugo GetPage/urlize bug with non-ASCII usernames
Attempt to use anchorize rather than urlize for fetching user profiles for users with non-ASCII usernames. Apparently `anchorize` does not perform URL encoding unlike `urlize`, so may be better suited for use with `GetPage`.

See https://github.com/gohugoio/hugo/issues/5687
2019-12-15 16:16:09 +00:00
Simone Rossi d0fb759153 feat: add Mention shortcode to mention people
To mention someone, type `{{% mention "username" %}}` where `username` corresponds to a user account in Academic. This will create a link to the user's profile page.

Close #1421
2019-11-16 16:14:08 +00:00