Commit Graph
162 Commits
Author SHA1 Message Date
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
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
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 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
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 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 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
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 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
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 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 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
Prateek Kumar 965a64ffaa Migrate from Bootstrap v3 to v4 (#571) 2018-09-08 22:50:36 +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
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
George Cushen fc399910b1 exampleSite: Add examples of selected talks and feature/skill widgets 2018-08-12 23:00:02 +01:00
George Cushen a11d8843bb Add built-in search engine
Complement existing integration of Algolia search engine with
alternative option of built-in search engine based on Fuse.

Setting `engine = 1` in `config.toml` will enable the built-in solution.

Close #635
2018-08-12 15:39:55 +01:00
George Cushen f1a32966f3 talk widget: Add exclude_selected option to hide selected talks
Close #623
2018-08-10 20:16:01 +01:00
George Cushen beaa10b674 widgets: Add carousel
Close #622
2018-08-09 22:37:44 +01:00
George Cushen 51af6be900 search: Do not automatically focus cursor on search box 2018-08-09 21:33:11 +01:00
George Cushen efc201cf0c Attempt to load local copy of third party JS/CSS assets if available
Allows to create an entirely offline site.

To use, concatenate vendor JS to `static/js/vendor/main.min.js` and
concatenate vendor CSS to `static/css/vendor/main.min.css`.

See #489
2018-07-29 12:52:07 +01:00
George Cushen bb3adc1781 Add search engine widget
Close #169
2018-07-23 19:25:39 +01:00
George Cushen 4661fbcce6 projects widget: Add support for tags containing spaces
Fix case where tag may contain spaces

Allow `tag` to be set directly to the name of an existing tag,
e.g. `tag = "Deep Learning"` rather than requiring the CSS class name
like `tag = ".deep-learning"`.

Close #602
2018-07-23 12:24:17 +01:00
George Cushen d84b961f81 exampleSite: Fix project link 2018-07-18 19:17:41 +01:00
George Cushen d567fd9533 exampleSite: Remove custom tag page demo
Fix #594 - error was caused by case mismatch between case of tag in
content front matter and case of tag in name of custom tag page folder.

Rather than rename the tag folder from 'academic' to 'Academic' to match
the tag case in the content front matter, let's just delete it for now.

Close #594
2018-07-18 19:17:13 +01:00
George Cushen c42f4a8cf2 config: Document how to link to a resume/CV
Close #478
2018-07-15 15:21:44 +01:00
George Cushen da15b18f26 config: Fix broken link to date formatting documentation
Close #590
2018-07-15 14:35:09 +01:00
George Cushen 031dd3e8fe exampleSite: Update front matter params/comments in sync with archetypes
Close #545
2018-07-15 03:42:08 +01:00
George Cushen 2abaa8454e exampleSite: Add note on TOML syntax
Close #542
2018-07-07 21:26:59 +01:00
George Cushen 9e65c45d23 posts: Add option to display author names
Close #220
2018-06-29 19:23:12 +01:00
George Cushen bf01c80d08 Link cookie consent "learn more" to privacy policy
To enable, create `privacy.md` in `content/` and add your privacy
policy.

Close #537
2018-06-29 10:36:07 +01:00
Stefan Neuhaus ea98bc1f8c docs: Fix link to Blackfriday documentation (#551) 2018-06-03 19:41:40 +01:00
George Cushen 1a37b61971 exampleSite: Use full filenames for projects parameter 2018-05-18 01:34:05 +01:00
George Cushen 7cc95ba252 config: Add hasCJKLanguage and enableGitInfo options 2018-04-21 12:59:18 +01:00
George Cushen c22d653c43 Add Privacy Pack
- To enable, set `privacy_pack = true` in `config.toml`
- Show a cookie consent message to visitors
- Anonymize IP in Google Analytics (if enabled)

See #507
2018-04-21 12:07:57 +01:00
George Cushen c586b640f9 exampleSite: Provide full date-time in content front matter
Work-around Hugo bug.

See https://github.com/sourcethemes/academic-kickstart/pull/1
2018-04-16 02:45:22 +01:00
George Cushen 3eb8355dc8 post widget: Add optional simple listing format
See #470
2018-04-16 02:36:20 +01:00
George Cushen 4dda8bc80a docs: Fix link to latest release notes 2018-01-20 15:19:35 +00:00
George Cushen 7997025d9f docs: Fix link to latest release 2018-01-20 15:12:08 +00:00
George Cushen 2417b124ac docs: Fix Markdown bullets 2018-01-20 15:11:28 +00:00