Commit graph

478 commits

Author SHA1 Message Date
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
Thom Wiggers
edb547e64e Properly quote the Google Fonts URL (#736) 2018-10-18 22:23:48 +01:00
George Cushen
315fb47cf7 feat(pub): auto detect PDF and generate link
To automatically generate a PDF link for a publication, place a
PDF in your publication's own folder which has the same name as the
folder.
2018-10-17 22:30:50 +01:00
George Cushen
089d72ff62 feat(pub): convert citation system to use page bundles
Close #733

BREAKING CHANGE:

To create a publication cite link, place a `*.bib` file in a
publication's own folder (see Hugo's new Page Bundle feature)
2018-10-17 00:07:31 +01:00
George Cushen
061b56a088 dark theme: Fix contrast of muted text color 2018-10-14 02:08:26 +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
0b343e4599 Add featured image to detailed layout of pub/talk widgets
Close #708
2018-10-14 00:29:52 +01:00
Ryan
fbc294cdf2 Update Font Awesome to v5.4.1 (#731) 2018-10-13 23:46:08 +01: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
2afcb642db widgets: Refactor hero
Compute image path outside of HTML style element due to Hugo limitation
with relURL
2018-10-13 21:13:32 +01:00
George Cushen
339b727152 accessibility: Add alt tag to avatar image
See #705
2018-10-13 02:42:09 +01:00
George Cushen
22dfd20af4 accessibility: Increase contrast
See #704
2018-10-13 02:39:32 +01:00
George Cushen
8cea142b81 projects: Support featured image with automatic resizing
- Require Hugo v0.49
- Refactor project archetype to new Hugo v0.49 directory-based archetype
- Deprecate `image_preview` option
- Revise demo projects to use new functionality

See #708
2018-10-12 01:13:10 +01:00
George Cushen
ca7f604f2e license: Update year 2018-10-12 00:59:34 +01:00
George Cushen
2a055ca847 Update Readme 2018-10-10 01:58:53 +01:00
Dongdong Tian
f78135f432 i18n: Update Chinese translation (#717) 2018-10-01 00:04:24 +01:00