Commit Graph
494 Commits
Author SHA1 Message Date
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
George Cushen 89247fa534 docs: add Patreon link 2018-11-02 22:29:16 +00:00
Carlos Cámara 35b552f213 i18n: fix Catalan translation (#779) 2018-11-02 18:30:19 +00:00
George Cushen 74212542b2 fix(profile): fix social link when mailto scheme is used
Fix #763
2018-10-28 16:19:00 +00:00
George Cushen e7ed2608c3 fix(profile): fix social link when mailto scheme is used
Fix #763
2018-10-28 16:06:36 +00:00
George Cushen 8a4a302d47 fix(profile): fix social link when mailto scheme is used
Fix #763
2018-10-28 14:16:37 +00:00
George Cushen 75abb65a94 feat(talk): support YAML front matter for talks
Close #555
2018-10-28 01:17:05 +01:00
George Cushen 1290763945 feat(page): re-apply markdownify on author names
Close #761
2018-10-28 00:23:30 +01:00
George Cushen e877046fa7 docs: update screenshot 2018-10-27 18:23:47 +01:00
George Cushen 9e49f64903 fix(css): fix project widget's simple mode when widget is renamed 2018-10-27 18:22:28 +01:00
George Cushen ab20e8f9f2 refactor(js): use relative URL for Mathjax config JS
Works around potential multi-host asset Permalink bug in Hugo.

See #751
Close #757
2018-10-27 12:34:45 +01:00
George Cushen fa5de9234d feat(profile): support [[params.social]] links to homepage sections
Enables using email icon to link to contact form.

Close #754
2018-10-25 20:22:03 +01:00
George Cushen bbfd7e9439 feat(i18n): support multi-lingual multi-host (one baseURL per language)
Enables having a different sub-domain per language.

See https://gohugo.io/content-management/multilingual/#configure-multilingual-multihost

Close #751
2018-10-25 19:18:41 +01:00
George Cushen 5440c0eb11 fix(js): linking to a homepage section from another page
Links to a homepage section from another page could scroll to the wrong
location if the linked section occurred below a project widget.

Cause: did not take into account dynamically loaded project images.

See #754
2018-10-25 15:05:54 +01:00
George Cushen 2f9d2ab80f fix(css): contact widget style wasn't applied if widget was renamed 2018-10-25 14:21:49 +01:00
George Cushen e79c1ee36a feat(pub/talk): make internal url_ links relative to their page bundle 2018-10-21 21:37:12 +01:00
George Cushen bc04138f61 Bump version 2018-10-21 21:01:55 +01:00
George Cushen e9597c72c7 feat(archetype): add hugo new template for docs/tutorial layout
- To use: `hugo new --kind docs tutorial/hello.md`
- Remove [header] from exampleSite docs since it's deprecated for docs
2018-10-21 21:00:43 +01:00
Thom Wiggers 8d8cddfdb2 Load MathJax config without eval() (#735)
This allows stricter content security policies for 
`Content-Security-Policy` header.
2018-10-21 20:32:44 +01:00
Dominik Vogel b7c4001ab0 fix(i18n): add missing German translations (#739) 2018-10-21 17:21:37 +01:00
George Cushen b28d5fafe5 feat(meta): re-constrain reading time to just posts
Close #740
2018-10-21 01:06:43 +01: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 34deeedb07 feat(theme): add Apogee and Cupcake themes
- Improve button styles on dark themes
- Add to Readme and Getting Started post
2018-10-20 21:49:33 +01:00
George Cushen c7ede46424 feat(widget): add optional contact form to contact widget
To use, set email form provider in the updated `contact.md`.

Close #713
2018-10-20 17:03:58 +01:00
George Cushen 5bea47a47a docs(example): edit example post 2018-10-18 23:12:38 +01:00