Commit Graph
455 Commits
Author SHA1 Message Date
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
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