Commit Graph
518 Commits
Author SHA1 Message Date
George Cushen bc7e541f61 fix(shortcode): allow for multiple child elements in Alerts
Previously, alerts were designed just for a single child consisting of
a paragraph.

Now supports styling of multiple children including lists.

Fix #881
2019-01-15 18:30:02 +00:00
gcushen 85a12b0ad7 feat(widget): emojify About widget interests
Close #845
2019-01-15 17:42:08 +00:00
George Cushen 0592f83382 fix(search): include Algolia JS when engine set to Algolia
Fix #878
2019-01-15 15:10:13 +00:00
Daniel Antal 55e1d6a12c i18n: add Hungarian (#877) 2019-01-14 20:40:55 +00:00
George Cushen b68a0995f6 fix: url_custom button height varies when using icons
Fix #872
2019-01-12 20:02:42 +00:00
George Cushen 512e2ffde4 fix(search): disable shortcuts when user is typing
Fix #875
2019-01-12 19:38:48 +00:00
David Alberto Montaño Fetecua 37cb6220fe i18n: update FR and ES translations (#871) 2019-01-08 21:19:43 +00:00
George Cushen 6cac50ecd6 bump version 2018-12-31 12:00:44 +00:00
George Cushen 3da446cf77 fix(widget): rename Accomplishments widget + use soft-hyphen 2018-12-31 11:55:14 +00:00
Mrinal Jain ae9882de90 feat(widget): add Accomplishments widget
See #792
See #773
2018-12-31 00:47:22 +00:00
Ian Eve Perry 628d09d791 fix(widget): always right align dates in Experience widget
Dates in the experience widget don't currently right align if the location string is longer than the date string. This changes the widget so the dates are always right aligned.

See #858
2018-12-30 23:59:36 +00:00
Dominik Vogel 91e5e9fb10 i18n: update German translation (#847) 2018-12-28 21:27:33 +00:00
gcushen afcf657f93 workaround TOML line break bug in Hugo v0.53
See #852
2018-12-28 01:05:20 +00:00
George Cushen 0312857779 fix(widget): make location optional
Fix #843
2018-12-18 22:25:28 +00:00
George Cushen fbcb7f2761 feat(widget): restrict post filter to only one tag or category
Close #815

BREAKING CHANGES

Remove `tags_include` and `tags_exclude` from `home/posts.md`
Add `filter_tag` and `filter_category` to `home/posts.md`
2018-12-16 00:48:51 +00:00
George Cushen 5c0c7f5def feat(icon): update FA from 5.4.1 to 5.6.0 2018-12-12 16:55:02 +00:00
George Cushen 7aef1cdce9 fix(page): button urls broken for internal links on Windows
Fix #829
2018-12-05 00:06:46 +00:00
George Cushen 811b52f280 feat(page): improve featured image ratio on small screens 2018-12-04 23:36:24 +00:00
George Cushen f2f3177d78 feat(widget): add appointment booking link to contact widget
Close #828

BREAKING CHANGE

Replace any `\n` with `\\` in the `address` field.
2018-12-03 17:47:34 +00:00
George Cushen 2bfa048699 bump version 2018-12-02 00:21:01 +00:00
George Cushen d2330cb261 feat(theme): enable users to switch between day and night modes
Close #807
2018-12-02 00:17:35 +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 935e31470d fix: fix(sharing): use small Twitter card for small images
This commit fixes 929d500d44

Fix #813
2018-11-29 16:57:46 +00:00
George Cushen 929d500d44 fix(sharing): use small Twitter card for small images
Also, check for featured image and avatar image when computing optimal
image to use in Twitter card.

Fix #813
2018-11-29 16:32:27 +00:00
George Cushen 4018752dc8 fix(project): projects not listing child pages
Fix #800
2018-11-29 16:15:58 +00:00
Paulo Moreno 11c1ebe955 fix(i18n): fix Hero widget and search for multilingual sites
Fix #820
2018-11-29 12:18:45 +00:00
George Cushen ddd8e9ad5d fix(search): fix layout on Safari/Webkit
Fix #825
2018-11-29 00:01:51 +00:00
George Cushen cd05bec3be feat(linked data): improve itemtype for project showcase + pub. stream
Close #819
2018-11-25 22:30:08 +00:00
George Cushen c1b2899f6a docs: add Project KickstartR to readme 2018-11-18 23:42:16 +00:00
George Cushen 07c9f4f387 feat(search): Add search shortcuts (/ and ESC)
* Press / to toggle search dialog
* Press ESC to close search dialog

See #784
2018-11-17 23:39:06 +00:00
George Cushen e95405f79a feat(search): add search icon to navbar to open new search dialog
* Search icon added to navbar if search enabled in config
* New search dialog added which overlays current page when searching
* The docs search box now opens the new search dialog instead of
  displaying results within the docs page itself

Close #784

BREAKING CHANGE:

Search widget is deprecated and `content/home/search.md` should be
removed
2018-11-17 22:42:27 +00:00
George Cushen 3ea332ca67 refactor(js): shorten MathJax filename and minify + fingerprint assets
Remove fingerprinting from MathJax config JS to shorten its generated
filename. Reduces chance of JS filenames becoming too long for user's OS
to handle due to long Sha512 asset fingerprinting.

Minifies and fingerprints Academic's own JS for faster loading and to
prevent old versions getting cached by web browser.

Refactors Algolia search JS into its own file.

Close #768
See #794
2018-11-11 16:06:24 +00:00
George Cushen 911620a8f3 docs: link to Academic Scripts repo 2018-11-11 01:49:26 +00:00
George Cushen d0154a840b Bump version 2018-11-11 01:45:08 +00:00
George Cushen 2ee38a83d7 docs: link to Academic Scripts repo 2018-11-11 01:40:19 +00:00
George Cushen d01237d003 fix(search): add index page of docs to search index
Allows to search content on the main page of docs/tutorials/courses.

Previously, all docs pages except the main page were indexed.
2018-11-11 01:19:37 +00:00
George Cushen 68166bac4a feat(page): support preview_only in combination with header image
Enables use of featured image for thumbnails only with a full-width
header image `[header]` shown on the page itself.

See https://github.com/gcushen/hugo-academic/issues/728#issuecomment-436225586
See https://sourcethemes.com/academic/docs/managing-content/#featured-image
See #728
2018-11-10 17:42:12 +00:00
Dongdong Tian 3b4616e357 fix(i18n): update Chinese (#797) 2018-11-05 21:23:45 +00:00
George Cushen c084f016ae fix(widgets): fix hero image path when canonifyurls=true 2018-11-05 21:16:29 +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 2eb58c08b7 Bump version 2018-11-04 00:41:33 +00:00
George Cushen d930502a55 feat: add preview_only option for featured image
Add `preview_only = true` under `[image]` in a page's front matter to
only show featured image in page previews and not on the page itself.

Example: https://raw.githubusercontent.com/gcushen/hugo-academic/master/exampleSite/content/post/getting-started/index.md

Close #789
See #728
2018-11-03 23:42:15 +00:00
George Cushen 0ff174bbf4 feat(shortcodes): add support for image gallery in page bundle
To use:

1. Create a gallery album folder in page bundle
2. Add images to album folder
3. Paste `{{< gallery album="<ALBUM FOLDER>" >}}` in your page content

Close #786
2018-11-03 23:27:03 +00:00
George Cushen 3d9a1277a8 feat(project): list associated posts
Close #767
2018-11-03 22:37:36 +00:00
George Cushen dd5422981b feat: Add support for icons in url_custom
Close #787
Close #326
2018-11-03 22:17:00 +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 c7f2d55c65 Set min_version to string rather than float
See https://github.com/gohugoio/hugo/issues/5399
2018-11-03 18:19:35 +00:00
Sun Yaozhu 4b5c97262c fix(widgets): respect the date_format option for experience widget (#783) 2018-11-03 18:09:39 +00:00
George Cushen ca4fd7159d feat(widgets): do not require email if using Netlify contact form
Netlify routes messages from contact form to its admin panel, so no
email address is required.

By not requiring email in this case, it is not revealed to any spam bots
which might try to scrape a website's public Git repository.

Close #775
2018-11-03 17:26:27 +00:00
George Cushen 31eb870296 chore: require Hugo v0.50+
Hugo v0.50 fixes bug with using `hugo new` to create new pages

See #732
2018-11-03 13:13:23 +00:00