Commit Graph
36 Commits
Author SHA1 Message Date
George Cushen ec8b60f71f feat: move social share buttons below content
Also, add page_footer.html to help make page footers more consistent.

Close #1383
2019-10-12 17:23:08 +01:00
George Cushen c4b40faefa refactor: strip out Microdata from layouts
Forms part of the transition from Microdata to JSON-LD.

See #413
2019-09-09 22:28:12 +01:00
Julian Pawlowski 835d3d76c0 feat: support commenting for project, publication, and talk pages (#1240)
To use, set `commentable = {page = true, post = true, docs = true, project = true, publication = true, talk = true}` under the Comments section in `params.toml`.
2019-07-27 21:03:50 +01:00
Russell J. Hewett d0043daa72 refactor(baseof): moved all templates to use a main block 2019-05-30 22:27:23 -04:00
George Cushen d664b4bcba refactor: .Site.x to site.x 2019-05-01 23:36:59 +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 3944d35633 refactor: consolidate and simplify card views
- Consolidate the code for all card views into a single file
- `continue_reading` removed from i18n

See #918
2019-02-18 19:38:54 +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
Dongdong Tian 624a5cb78f fix: *_format to *_view
This fixes 7c2a85c .

See #909
See #926
2019-02-10 15:58:39 +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 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 8010d5a45c refactor(project): projects not listing child pages
Simplify code to get content name by using `.File.ContentBaseName` -
it gets content name irrespective of whether page is a bundle or not.

See #800

BREAKING CHANGE

`url_project` can now only be used to link pages to external websites.
To link a page to a project page, use `projects` option.
2018-11-29 21:01:37 +00:00
George Cushen 4018752dc8 fix(project): projects not listing child pages
Fix #800
2018-11-29 16:15:58 +00:00
George Cushen 3d9a1277a8 feat(project): list associated posts
Close #767
2018-11-03 22:37:36 +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 3358904dc3 feat(page): add author profile
The following boolean (true/false) page params control page features:

- share
- comments
- reading_time
- profile
2018-10-21 00:33:00 +01:00
George Cushen 5e223515a2 projects: Fix new folder-based projects breaking talk/publication links 2018-10-14 01:46:26 +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
Prateek Kumar 965a64ffaa Migrate from Bootstrap v3 to v4 (#571) 2018-09-08 22:50:36 +01:00
Serge Bibauw 2bc968b9c5 projects: Fix list of talks (#548)
- Sort list of talks by `time_start` rather than `date` (consistent with home page widget)
- Fix bug that made publications duplicate in talks list when there was no talk in a project
2018-07-15 18:01:59 +01:00
George Cushen 0c635d1a82 Update style of next/prev section pager nav (#393) 2018-01-13 02:52:20 +00:00
George Cushen 6b7202c7bc Display tags (if set) for all content types
Close #363
2017-10-31 20:25:05 +00:00
Dongdong Tian 4a72683eeb project page: Add option to list child talks and publications (Close #206)
* add `[params.projects]` config section to `config.toml`
* add `projects = [""]` array to publication and talk frontmatter
* project page: Add backwards compatible child list which considers 
   both new `projects` array and`url_project`
* update archetypes
* update example site
* update publication button links to consider `projects` array
* update talk button links to consider `projects` array
* remove details button from talk links to be consistent with publication links
2017-10-21 22:48:27 +01:00
George Cushen 466632ac4d Use noopener for external URLs that open in new tabs (Close #286) 2017-10-16 00:45:45 +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 a741bc6db8 projects: Open external link in new tab 2016-12-27 02:46:07 +00:00
George Cushen 31f9ce5f94 Add internationalization (i18n) support (#12) 2016-12-19 06:01:11 +00:00
George Cushen 2548ae2ad2 Refactor HTML indents to 2 spaces and refactor long lines 2016-09-24 19:46:20 +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 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