Commit Graph
84 Commits
Author SHA1 Message Date
George Cushen 581faa19e7 feat: add icon shortcode to render icons within Markdown content
See https://sourcethemes.com/academic/docs/writing-markdown-latex/#icons
2020-01-25 22:39:22 +00:00
George Cushen 949e15d19a demo: simplify inline math example for Goldmark 2019-12-16 11:49:06 +00:00
George Cushen ba772f60ce feat: upgrade from Mermaid v8.3.1 to v8.4.3
Close #1419
2019-12-12 20:54:47 +00:00
George Cushen 6d97e95942 feat: add support for Hugo v0.60 2019-12-07 19:58:43 +00:00
George Cushen 2192b11d04 style: center figure captions
Since figures are now centered.
2019-09-14 19:41:11 +01:00
George Cushen bc85b6800a demo: simplify documentation for writing content in Jupyter 2019-09-05 14:15:23 +01:00
George Cushen 9a2a4d40b9 demo: simplify documentation for writing content in Jupyter 2019-09-05 14:11:15 +01:00
George Cushen 3ee76244e9 demo: remove old theme gallery from post 2019-08-30 13:40:45 +03:00
George Cushen 310357e346 style: fix category icon spacing when --minify used
Fix #1219
2019-07-23 21:57:42 +01:00
George Cushen 96d061bfff bump version 2019-07-22 01:10:46 +01:00
George Cushen 255b5e8462 feat: revert Blackfriday math workaround + improve Mmark support
Guidance for using math going forward:
- add `markup: mmark` to front matter
- no longer need to escape inline or block math in body

Also, fix Mmark task lists by removing bullet points.
2019-07-20 19:43:13 +01:00
George Cushen 9a619efaec docs: fix typo 2019-07-18 09:45:02 +01:00
George Cushen 5b4d11825e demo: fix typo 2019-07-18 00:55:24 +01:00
George Cushen 0cffd47aca fix: improve handling of math and diagrams
Block math in body can now be wrapped in "<div>$$...$$</div>" tags
Inline math in body can now be wrapping in "`$...$`" backticks
Diagrams can now be created without shortcodes: "```mermaid ... ```"
2019-07-18 00:45:14 +01:00
George Cushen 28b4685408 demo: showcase out-set featured image
See #1175
2019-07-01 21:31:46 +01:00
George Cushen 80b3eb6ac4 feat: add placement option for featured images
Placement options: 1 = Full column width, 2 = Out-set, 3 = Screen-width.
Defaults to 1, full column width.
Deprecates the split title/image style that was shown on XL displays.

Close #1175
2019-07-01 18:45:38 +01:00
George Cushen 2d0de5ad3e docs: update themes 2019-06-17 13:23:59 +01:00
George Cushen 8857bffa20 feat: convert demo front matter from TOML to YAML
Unfortunately, the popular Markdown editors (VS Code and Typora) still
don't support the more human-friendly TOML front matter syntax.

Therefore, make it easier to edit content in popular editors by
converting the demo front matter from TOML to YAML.

Except for publications as they are primarily data based (rather than
content based) and are automatically generated by Academic Admin.

Also, continue to use TOML for configuration files.

See #1069
2019-05-06 17:48:02 +01:00
George Cushen 585bdf643b fix: add support for Hugo v0.55
Requires Hugo v0.55.2+.
Does not work with Hugo v0.55.0 due to bugs fixed in v0.55.2.

Fix #1017
2019-04-17 19:26:51 +01:00
George Cushen 25bac3db27 demo: make usernames consistently lowercase 2019-02-17 13:01:26 +00:00
George Cushen 066e7ebcfb demo: add blog based on Jupyter notebook 2019-02-05 11:43:16 +00:00
George Cushen 7c2a85c351 feat: improve listings
- link author profile pages in listings
- display author name (rather than username) in metadata
- refactor `list_format` to `view` and use new consistent mappings
- add `citation_style` in `params.toml`
- re-order Accomplishments widget in Demo
- make params/comments more consistent in all widget front matter
- Author page: don't show username if profile exists as that will
  already show the user's display name
- Publication card: move author and publication name to metadata bar to
  be consistent with other listings
- Remove portrait.jpg from static as it was duplicated for Demo author

BREAKING CHANGES: See issue below.

See #909
2019-02-04 22:14:28 +00:00
George Cushen 4c9c743ae6 chore: update demo URL
Also, fix Netlify ENV config
2019-01-29 15:05:15 +00:00
George Cushen ab7e896227 feat(user): add author profile system
- Add author taxonomy to config
- Restructure user data
- Add user profile pages
- Refactor author profile box
- Refactor author link in page metadata to point to author profile page
- Enable About widget to be re-used for different users

BREAKING CHANGES
See issue below and v4 release note for details

See #752
2019-01-20 00:10:03 +00:00
George Cushen 911620a8f3 docs: link to Academic Scripts repo 2018-11-11 01:49:26 +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 89247fa534 docs: add Patreon link 2018-11-02 22:29:16 +00: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 5bea47a47a docs(example): edit example post 2018-10-18 23:12:38 +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 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 031dd3e8fe exampleSite: Update front matter params/comments in sync with archetypes
Close #545
2018-07-15 03:42:08 +01:00
George Cushen 9e65c45d23 posts: Add option to display author names
Close #220
2018-06-29 19:23:12 +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 2417b124ac docs: Fix Markdown bullets 2018-01-20 15:11:28 +00:00
George Cushen 04cdf9c827 exampleSite: Reduce demo posts to just a copy of Readme
No longer attempt to duplicate content from documentation website. Just
link to it.

Replace Readme's theme table with new gallery shortcode.
2018-01-13 15:32:30 +00:00
George Cushen 09b91845a0 themes: Add dark theme
To use, set `color_theme = "dark"` in `config.toml`.

See #299 and #139
2017-11-11 17:55:42 +00:00
George Cushen 05fa83afa7 docs: Add FAQ 2017-11-02 20:52:16 +00:00
George Cushen 70ea150aeb docs: Update 📚 2017-10-26 22:56:06 +01:00
George Cushen d55dea2df7 docs: Update 📚 2017-10-22 16:46:52 +01:00
George Cushen e70dd994d5 docs: Correct 'Create a widget page' 2017-10-15 04:02:20 +01:00
George Cushen ff2690fcb8 widgets: Add Hero widget (#99) 2017-10-15 02:23:07 +01:00
George Cushen cf0e271482 docs: Add Widget Page docs (#300) 2017-10-15 01:09:42 +01:00
Martin G 2e3e8b7e31 docs: Update to add solutions to unexpected Mathjax behaviors (#292) 2017-10-07 21:55:03 +01:00