Commit Graph
42 Commits
Author SHA1 Message Date
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 a86e35245e about widget: Refactor avatar (#683) 2018-09-15 18:24:15 +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 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
Prateek Kumar 965a64ffaa Migrate from Bootstrap v3 to v4 (#571) 2018-09-08 22:50:36 +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 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 d886800a9f style: Fix tag color and search box in dark theme
Close #632
2018-08-11 12:44:23 +01:00
George Cushen bb3adc1781 Add search engine widget
Close #169
2018-07-23 19:25:39 +01:00
George Cushen 669ad912d3 tags: Change style to Bootstrap label
Avoid confusion between tags and link buttons such as those on project
or publication pages.

Close #588
Inspired by #549
2018-07-07 20:52:19 +01:00
George Cushen a555dd792b mathjax: Improve handling of long equations
* Use automatic linebreak feature instead of CSS overflow scrolling
* Disable mathjax notifications
* Highlight any undefined macros within equations
* Load output processors with `-full` option rather than on demand
* Update MathJax version

Fix #496
Fix #586
2018-07-07 19:45:35 +01:00
George Cushen 9b1be1019d mathjax: Horizontally scroll long equations
Close #496
2018-06-29 18:31:48 +01:00
George Cushen 7f25b7463e shortcode: Add Google Docs
Enables easily embedding Google Slides.

To use, copy and paste the share link from Google Docs in the form:
`{{< gdocs "https://..." >}}`
2018-04-22 12:25:51 +01:00
George Cushen e6b2f1d285 Add hl shortcode for highlighting key phrases
To use: `{{< hl >}}highlighted quote{{< /hl >}}`
2018-04-22 00:08:56 +01:00
George Cushen 09674dd538 figure shortcode: Fix caption style
See #328
2018-04-21 23:19:43 +01:00
George Cushen f23526e55d figure shortcode: Support i18n and unnumbered captions
- Figures are now unnumbered by default
- To number a figure, use the form:
  - `{{< figure src="image.jpg" title="Caption" numbered="true" >}}`
- Add i18n translation for "Figure" in captions
- Update English and Chinese language packs

Close #328 and #513
2018-04-21 10:35:15 +01:00
George Cushen a5a0037c68 Prevent wrapping in code blocks
Use horizontal scrolling for long lines of code rather than wrapping.

Fix #467
2018-04-16 01:25:11 +01:00
George Cushen 793d91e5c6 Wrap long words in headings to prevent overlapping content
Fix #481
2018-04-16 01:03:51 +01:00
George Cushen f6f182d42d dark theme: Add support for MathJax zoom
Fix #486
2018-04-16 00:56:33 +01:00
Benasse 2b1a42e7e0 about widget: Center multi-line social icons
Center social icons when there is more than one line.

See #494
2018-03-24 15:12:41 +00:00
George Cushen 66b71fa2f6 Add video shortcode and remove image shadow 2018-01-28 01:14:44 +00:00
George Cushen b02f5eceda Apply card style to detailed list view and refactor 2018-01-21 22:34:32 +00:00
George Cushen 72c793b179 Add gallery shortcode (#398) 2018-01-13 15:19:59 +00:00
George Cushen 0c635d1a82 Update style of next/prev section pager nav (#393) 2018-01-13 02:52:20 +00:00
George Cushen 0514bbd48d Add featurette/blurb widget
Example use: https://raw.githubusercontent.com/sourcethemes/academic-www/master/content/home/features.md

Close #424
2018-01-05 19:42:16 +00:00
George Cushen 5f8e04b83b themes: Support background option 2017-12-03 18:43:47 +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 df4f44f112 talks: Add start and end times (#298 #334)
* show start and end times on talk page
* add `time_start` to talk frontmatter, e.g. `2030-06-01T13:00:00`
* add `time_end` to talk frontmatter, e.g. `2030-06-01T15:00:00`
* update format of talk listings, adding time metadata
2017-10-22 01:51:17 +01:00
George Cushen b1c975fa4c project widget: Fix long title appearing on new line (Fix #324)
* Only affects simple list mode, not card mode
2017-10-19 19:58:16 +01:00
George Cushen 41d0123b54 config: Add option to display logo instead of title in nav bar (#214)
* Add `logo = ""` to `[params]` config
2017-10-17 01:59:51 +01:00
George Cushen 3d4884a9f0 publications: Add citation feature + improvements (#302 #310 #205 #286)
* Add citation feature (#302)
* Remove detail button since all pub. titles are now linked (#310)
* Optimize order of pub. buttons and add more button options (#205)
* Use noopener for external URLs that open in new tabs (#286)
2017-10-16 02:05:39 +01:00
George Cushen f640bc4250 contact widget: Add option to show Google Maps (Close #301)
* Add `google_maps_api_key = ""` option to config
* Add `latitude = "37.4275"` option to config
* Add `longitude = "-122.1697"` option to config
2017-10-15 06:26:04 +01:00
George Cushen 3c86dd848f posts: Option to show comment count + move tags to article footer
* add `comment_count = true` to config
* add `section_pager = false` to config to disable pager by default
* move tags from post metadata bar to post footer
2017-10-15 03:11:48 +01:00
George Cushen ff2690fcb8 widgets: Add Hero widget (#99) 2017-10-15 02:23:07 +01:00
Thomas Mieling e8cfcabb76 widgets: Enable reuse of project widget (Close #100)
* Replace ids by classes
* Adapt click functions for filter links to filter only in the
relevant widget
* Hide project filter buttons, when there is only one
2017-10-07 21:25:50 +01:00
George Cushen 7f9b8acbb2 Fix case where two navbar items can become highlighted (Fix #290) 2017-10-06 13:49:26 +01:00
George Cushen a83605a660 fonts: Update Classic to use original fonts + Add Playfair theme (#289)
- Update Classic font theme to use original Academic fonts
- Add new Playfair font theme
2017-10-03 21:12:15 +01:00
George Cushen e7fa40b1c6 Fix theme system 2017-10-03 20:06:12 +01:00
George Cushen 6270d6e4a0 Add estimated reading time to post metadata
- Set `reading_time = false` under `[params]` config to disable
2017-09-30 19:55:38 +01:00
George Cushen 66ca3fca75 Add theme system
- Add `color_theme` option to config
- Add `font` option to config
- Add 3 themes
- Add 2 font styles
- Add documentation to Getting Started post
2017-09-30 16:26:19 +01:00