Commit graph

597 commits

Author SHA1 Message Date
George Cushen
080b72a3bd fix: pagination links
Must remain .URL rather than .RelPermalink
2019-04-18 08:38:44 +01:00
George Cushen
80e352158e docs: edit readme 2019-04-17 20:04: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
817cac04dd fix(search): make search dialog easier to close
Whilst searching, the navbar is now hidden to prevent user attempting to
close dialog by clicking on navbar links. Otherwise, when clicking on an
in-page anchor link in navbar, the page content will not be reloaded and
will remain hidden underneath the dialog.

Fix #996
2019-04-15 19:08:16 +01:00
George Cushen
308a81825d docs: revise readme 2019-04-15 00:02:35 +01:00
George Cushen
01114416aa fix(style): text_color_light = true only working in Safari
The .home-section.dark` selector blocks were not being applied by Chrome
and Firefox due to them not supporting CSS Selectors Level 4.

Selectors Level 4 allows the :not() pseudo-class to accept multiple
selectors. See https://stackoverflow.com/a/35993791

However, currently, it is only supported by Safari:
https://caniuse.com/#feat=css-not-sel-list
2019-04-10 19:26:37 +01:00
George Cushen
d7ff9a634f bump version 2019-04-09 21:04:45 +01:00
George Cushen
e6cb0b6628 js: update Reveal to v3.8.0 and rename example slides as bundle 2019-04-09 19:18:43 +01:00
George Cushen
7467e65799 fix(widget): Hero text color when text_color_light = false 2019-04-07 20:01:12 +01:00
George Cushen
f812eb7033 feat(pub): add support for Preprint, Thesis, and Patent types
Note: "Manuscript" is renamed to "Preprint".

Close #769
2019-04-07 18:35:45 +01:00
Jens True
b466f34bf9 i18n: add Danish translation (#1005) 2019-04-03 19:51:30 +01:00
George Cushen
6778929449 refactor: check admin created a homepage or give error 2019-03-31 19:50:26 +01:00
George Cushen
aa8b3f35ba feat(widget): add option to customize section spacing
Close #433
2019-03-24 19:24:58 +00: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
5358dd00ad feat(footer): add ability to auto update the copyright year
To use, add `{year}` to `Copyright` option in `config.toml`. Displays
current year.

Close #976
2019-03-24 18:57:04 +00:00
George Cushen
c27134a5c7 fix(widget): tag and category filters not working in Pages and Featured
Fix #989
2019-03-23 20:09:27 +00:00
George Cushen
ea4621aedb refactor: homepage sections as headless leaf nodes
See #970
2019-03-17 20:31:20 +00:00
Dongdong Tian
839e198c7f i18n: update Chinese translation (#979) 2019-03-16 12:19:17 +00:00
George Cushen
a554d5dc10 docs: edit features and update guide 2019-03-04 01:03:54 +00:00
George Cushen
a62c6bf01f style: don't color authors as links in Pages widget with Cite view
Authors are still clickable but colored the same as the rest of the
entry.

Only the publication title link is colored as a normal link.

See #950
2019-03-03 22:09:00 +00:00
George Cushen
177dd391d3 style(widget): improve appearance of Experience & Accomplishments
New mobile first approach improves style of widgets on small devices.

Close #860
2019-03-03 20:15:20 +00:00
Guansong Wang
e2274c6b35 fix: "See More" link in Pages widget not appearing
After the "Offset and Limit" section, `$query` would have length of `$items_count`, which makes `$count` always equal to `$items_count`. The later "if" condition for adding the "see all posts" link will never be met.

The fix is to record the length of `$query` into `$count` before any offset and limit.

See #963
2019-03-01 21:01:16 +00:00
George Cushen
de28ca4241 fix: citation view in Featured widget (#961) 2019-02-28 20:40:12 +00:00
Yaozhu Sun
f47640ebc9 fix: citation view in Pages widget (#961) 2019-02-28 20:37:45 +00:00
George Cushen
f01260371b fix: ed8f04e Pages and Featured widgets
Fix #721
2019-02-28 20:33:09 +00:00
George Cushen
d2a90467f3 bump version 2019-02-27 22:49:46 +00:00
Bertrand Thierry
ed8f04ea2f feat(widget): enable splitting Talks section into past and upcoming talks
See #721
2019-02-27 22:06:39 +00: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
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
d821bfec76 style: improve contrast of links in dark sections 2019-02-24 22:11:40 +00:00
George Cushen
2e146eed9c feat: consolidate Featured Talks/Pubs widgets into Featured widget
See #918
2019-02-24 19:45:02 +00:00
gcushen
4a45b9003e demo: fix text_color_light 2019-02-24 02:58:26 +00:00
gcushen
2df001d05c demo: fix text_color_light 2019-02-24 02:58:08 +00:00
gcushen
c59f526ecd demo: fix text_color_light 2019-02-24 02:57:30 +00:00
George Cushen
9985bc5e89 feat: consolidate Recent Posts/Talks/Pubs widgets into Pages widget
BREAKING CHANGES: See issue below

See #918
2019-02-24 01:06:53 +00:00
Dominik Vogel
3eed9f56ad i18n: update DE (#954) 2019-02-23 21:47:47 +00:00
George Cushen
3462cadba1 demo: add gallery section 2019-02-20 17:46:08 +00:00
George Cushen
3ac394a58c feat(widget): apply a background color, gradient, or image to any widget
Also renames Hero Carousel widget to Slider.

BREAKING CHANGES:

- widget `[header]` options removed and replaced with `[background]`
- `hero_carousel` widget renamed to `slider`

Close #948
2019-02-19 13:11:55 +00:00
George Cushen
92c7617ace fix(widget): revert row-based project card view back to masonry 2019-02-18 20:28:49 +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
1dc9c8d197 fix: do not load Fuse.js from CDN when using local assets
Fix #945
2019-02-18 18:10:40 +00:00
George Cushen
bf696662e5 feat(user): add index of authors
Close #943
2019-02-17 22:34:21 +00:00
George Cushen
cbeca239dc fix(talk): all_day option not working in list and compact views
Fix #940
2019-02-17 20:28:00 +00:00
George Cushen
e1bcd74ea2 feat(gallery): generate web-friendly thumbnails
Close #932
2019-02-17 18:18:04 +00:00
George Cushen
25bac3db27 demo: make usernames consistently lowercase 2019-02-17 13:01:26 +00:00
George Cushen
d7135a1b88 feat(widget): hero: multiple paragraphs, extra cta, note, & image
- Support multiple paragraphs
- Icon support for `[cta]` call-to-action button
- Add optional alternative call-to-action link `[cta_alt]`
- Add optional note underneath cta button
- Add optional image
- Refresh the demo's instance of the Hero widget

Close #935
2019-02-14 02:13:09 +00:00
George Cushen
26df07a634 refactor: rename url_custom to links
BREAKING CHANGE:
Rename `url_custom` to `links` if using it in the front matter of any
content file.

See #765
2019-02-13 02:05:01 +00:00
George Cushen
188505b375 feat(pub): add search box to enable filtering by any attribute
Close #922
See #390
2019-02-13 01:21:18 +00:00
George Cushen
fe52f6b55e refactor: consolidate and simplify compact views
- Update demo
- Fix archetype

See #918
2019-02-11 14:08:49 +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