Commit Graph
445 Commits
Author SHA1 Message Date
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
George Cushen 0cd9c1d959 posts: Add featured image option and stream layout for widget
To use:

1. Set `list_format = 2` in `content/home/posts.md`
2. Refactor a post named `X.md` to `content/post/X/index.md`
3. Add an image named `featured.*` to your post's new folder
2018-09-30 23:53:24 +01:00
George Cushen bfae0511d3 Add experience widget
* See `exampleSite/content/home/experience.md` for demo
* Add `present` to language pack

Also:
* Enable color theme packs to change link color
* Reduce font size in docs sidebar

Close #378
2018-09-30 22:52:52 +01:00
George Cushen 9bcecc7b25 shortcodes: Update figure and video to support files within page dir
To reference file in page folder, simply use
`{{< figure src="a.png" >}}`

To reference file from `static/img/` media library, set `library=1`
in shortcode. E.g. `{{< figure src="a.png" library=1 >}}`

See #708
2018-09-23 23:10:34 +01:00
George Cushen f754e4c7e5 CSS: Prevent Hugo encoding Google Fonts and fix docs sidebar toggle bg
Close #707
2018-09-23 18:28:50 +01:00
George Cushen 09c3164f51 docs layout: Fix responsiveness of sidebar over range of resolutions
Fix #698
2018-09-23 00:52:56 +01:00
George Cushen 6746342f2d posts: Make using content template (e.g. hugo new) optional 2018-09-21 00:08:25 +01:00
George Cushen cfbcfe948c project widget: Make filter toolbar responsive
Close #697
2018-09-20 00:18:47 +01:00
Daniel Roy 9c0d14cda4 Support custom site description and thumbnail image for SEO and sharing (#696)
* Add  `description` to config
* Add `sharing_image` to config
2018-09-18 19:53:13 +01:00
George Cushen d2d2f09f4c docs layout: Fix case where side nav links can overlap 2018-09-16 20:16:15 +01:00
George Cushen 179c7f7331 Revise table of contents for docs layout and top navbar
- Add title to Table of Contents (add `on_this_page` i18n)
- Add back to top link in Table of Contents (add `back_to_top` i18n)
- Enable custom HTML in Table of Contents
  (create `layouts/partials/docs_toc_foot.html`)
- Revised alert shortcode style
- Enable icons as menu items in main navbar (use HTML in `Name` field)
- Enable `[[menu.main_right]]` options for having both left and right
  aligned main menu links
2018-09-16 16:57:32 +01:00
George Cushen 6faf695727 Add slides feature
Example added to `exampleSite/content/slides/example-slides.md` and
linked from `exampleSite/content/talk/example-talk.md`.

Close #693
2018-09-16 16:39:30 +01:00
George Cushen a86e35245e about widget: Refactor avatar (#683) 2018-09-15 18:24:15 +01:00
Andrew Fowlie 02d84dff98 publication: Add optional DOI link (#677) 2018-09-15 17:49:13 +01:00
George Cushen 7919efd7a3 JS: Fix Algolia template and refactor Hero 2018-09-15 17:26:56 +01:00
George Cushen 6ef19085d4 Refactor most absolute URLs to relative URLs
See #683
2018-09-15 13:58:29 +01:00
George Cushen 6c40356235 CSS: Fix Bootstrap 4 grid system for Safari
Close #690
Also, see #571
2018-09-13 21:36:24 +01:00
George Cushen 9306b834ab docs layout: Support nested docs folders
See #682
2018-09-11 22:12:49 +01:00
Sergi Almacellas Abellana e363d9a1db i18n: Add Catalan translation (#676) 2018-09-11 21:44:22 +01:00
Stefano Cecere 48c7924745 i18n: Update Italian translation (#685) 2018-09-11 21:41:42 +01:00
George Cushen 99e0edf9bb config: Allow twitter social icon to be commented out
Breaking change:
`twitter` option added to `config.toml` for social sharing metadata
2018-09-10 19:50:54 +01:00
George Cushen 304211dba0 Support multiple instances of docs layout with their own menus
Close #682
2018-09-10 19:34:06 +01:00
George Cushen 9ee3ade085 CSS: Make header margins more consistent again
See #681
See #571
2018-09-10 19:30:27 +01:00
George Cushen 674bb67364 Add documentation/courses/tutorials layout
- Close #405
- See #681 (improve consistency after #571 Bootstrap 4 migration)
- Add `search_results` to language file
- example site: Add example `tutorial` folder
- example site: Set privacy page to hidden (draft)
2018-09-09 23:28:36 +01:00
George Cushen f45e2c0ca5 about widget: Fix avatar not showing in some cases 2018-09-09 01:18:46 +01:00
Prateek Kumar 965a64ffaa Migrate from Bootstrap v3 to v4 (#571) 2018-09-08 22:50:36 +01:00
George Cushen 3eb8be428b project widget: Fix filter for case where tag is not CSS class name
Fix #660
2018-09-07 01:02:16 +01:00
George Cushen 099a13b688 talks: Parse Markdown in authors param (#673) 2018-09-07 00:34:37 +01:00
George Cushen 7b639f107c widgets: Upgrade to Font Awesome 5
See #659
2018-09-03 01:06:18 +01:00
George Cushen 934003ae94 Update theme metadata 2018-09-02 18:40:22 +01:00
Conor Anderson a1989ea25c Upgrade from Font Awesome v4 to v5 (#659)
Require Hugo v0.48+
2018-09-01 18:10:23 +01:00
George Cushen c375fb41ef featurette widget: Add support for title and subtitle
Close #664
2018-08-28 23:54:11 +01:00
George Cushen 36084c5607 search: refactor so that only one index is generated 2018-08-27 22:31:21 +01:00
Kazuki Matsumaru 47c30556f9 i18n: Add Japanese translation (#654) 2018-08-26 00:20:50 +01:00