Commit Graph
25 Commits
Author SHA1 Message Date
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 7eb10f2b26 refactor: consolidate list views 2019-02-07 13:50:11 +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 eb5c91f8f1 fix: feat(project): list associated posts
This commit fixes 3d9a1277a8

Fix #793
See #767
2018-11-04 17:51:06 +00: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
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 9ee3ade085 CSS: Make header margins more consistent again
See #681
See #571
2018-09-10 19:30:27 +01:00
George Cushen 674bb67364 Add documentation/courses/tutorials layout
- Close #405
- See #681 (improve consistency after #571 Bootstrap 4 migration)
- Add `search_results` to language file
- example site: Add example `tutorial` folder
- example site: Set privacy page to hidden (draft)
2018-09-09 23:28:36 +01:00
Prateek Kumar 965a64ffaa Migrate from Bootstrap v3 to v4 (#571) 2018-09-08 22:50:36 +01:00
George Cushen 3eb8355dc8 post widget: Add optional simple listing format
See #470
2018-04-16 02:36:20 +01:00
George Cushen f42cfe7d1a post archive: display listings consistent with posts widget (Close #262) 2017-09-30 23:21:13 +01:00
George Cushen 89e5445a46 Fix double slash in header image paths (#177) 2017-05-30 00:46:22 +01:00
George Cushen dccca171a7 Add full-width header image option for all content pages
* feature is consistent across Posts, Projects, Talks, Publications, and nodes (#105)
* `image` parameter is moved under a `[header]` section at the end of existing content's frontmatter
* `caption` parameter can be used to specify image credit/caption (#103)
* set `preview = false` under `[header]` to hide a post's thumbnail on homepage (#113)
* add example of customizing a taxonomy list page at `/tags/academic/`
* revert i18n->hard-coded change for node page titles (#118)
2017-02-11 20:30:10 +00:00
George Cushen c94187570c Improve readability on large screens + minor style improvements
* Limit paragraph width to optimize readability on large screens (#97)
* Markdownify publication authors (#101)
* Improve padding of first homepage widget (#98)
2017-01-26 01:33:00 +00:00
George Cushen 2220cd5d95 Require Hugo v0.18 and support section nodes as pages
* Post, Publication, and Talk nodes can now have a `_index.md` file with title and content.
* Example `_index.md` content files added to Example Site.
* Hugo v0.18+ required.
2017-01-20 00:57:16 +00:00
George Cushen 31f9ce5f94 Add internationalization (i18n) support (#12) 2016-12-19 06:01:11 +00:00
George Cushen 04048a5e73 posts: Add summary parameter for overriding auto-generated summary 2016-10-06 02:05:43 +01:00
George Cushen 2548ae2ad2 Refactor HTML indents to 2 spaces and refactor long lines 2016-09-24 19:46:20 +01:00
George Cushen 1f77c0572b Improve rendering of post summaries 2016-09-13 03:46:26 +01:00
George Cushen f06857f9d9 1) Add image option to page preamble to enable displaying an image in publication, post, and project page headers; 2) add detailed publication list to homepage, enabled by setting detailed_list = true under [params.publications] in config.toml. 2016-05-25 21:49:08 +01:00
George Cushen e714825a7a Auto-resize large images to fit screen; Improve sharing style 2016-05-20 00:21:48 +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 1a20f5e6d7 1) Add style for tables; 2) Add LinkedIn sharing; 3) Refactor footer container. 2016-05-17 21:24:37 +01:00
George Cushen 5c23d6b413 Auto-hide unused homepage sections; consolidate all instances of article metadata and publication links to two dynamic partials; convert publication links to absolute URLs; improve SEO; and rename section pager partial. 2016-05-11 16:27:18 +01:00
George Cushen 5985996691 ✨ Update layouts and fix JS 2016-05-08 00:07:40 +01:00