Commit graph

1860 commits

Author SHA1 Message Date
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
George Cushen
74a9bb326e index pages: If available, use abstract as summary
Close #638
2018-08-14 23:50:53 +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
5115b1fa23 Store theme version in a data file
Close #593
2018-08-12 22:04:49 +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
3e9f7dab03 Add script to run demo 2018-08-11 23:47:04 +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
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
65391b18f5 search: Make full page content searchable (not just summary etc.) 2018-08-09 21:26:34 +01:00
Dominik Schürmann
c777bbdbad Allow a summary to be specified for widget pages (#611)
Enable `summary = "your page summary"` to be set in a widget page's `_index.md`.

This metadata will then be used to enrich SEO, social sharing, and Academic's search.
2018-08-01 23:33:17 +01:00
George Cushen
6f4159976a about: Fix avatar sometimes not showing in Hugo v0.45+ 2018-08-01 22:45:40 +01:00
Dominik Schürmann
af6d0bc278 Exclude all widgets from the sitemap (#613)
Previously, widgets outside of the `home` folder may have appeared in the sitemap.
2018-08-01 22:37:03 +01:00
George Cushen
46ba1bb8e3 Fix highlight style not loaded and fix console error when no search box
Close #614
2018-08-01 22:21:04 +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
Prateek Kumar
3c6bd89a1e Fix metadata for case of multiple authors (#606) 2018-07-29 11:22:21 +01:00
George Cushen
54dac71022 Rename sri.toml to assets.toml 2018-07-24 21:15:22 +01:00
George Cushen
bb3adc1781 Add search engine widget
Close #169
2018-07-23 19:25:39 +01:00
George Cushen
3b15254f18 metadata: If set, use the summary parameter for og:description
Close #518
2018-07-23 12:45:43 +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
8aea0ea015 Add support for Hugo v0.45
Add support for breaking changes in Hugo v0.45 (arguments changed for
`GetPage`).

Close #601
2018-07-23 01:33:31 +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
11a5d1bf50 gdocs shortcode: Support all doc types (Slides, Docs, Sheets, etc.)
- Shortcode syntax changed to: {{< gdocs src="https://..." >}}
 - Use with Google Docs `embed` URL rather than `link` URL.

 Close #544
2018-07-15 19:43:27 +01:00
Serge Bibauw
2bc968b9c5 projects: Fix list of talks (#548)
- Sort list of talks by `time_start` rather than `date` (consistent with home page widget)
- Fix bug that made publications duplicate in talks list when there was no talk in a project
2018-07-15 18:01:59 +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
96e0f91bff List all projects at /project/ URL
Since `/project/` URL appears in sitemap if site contains projects,
list projects at the URL rather than a blank page. Hence, improve SEO.

Close #368
2018-07-15 02:36:58 +01:00
George Cushen
74b0b6f508 shortcodes: Add list_tags and list_categories
To use:

`{{< list_tags >}}` to provide a list of linked tags.
`{{< list_categories >}}` to provide a list of linked categories.
2018-07-15 02:25:09 +01:00
George Cushen
2abaa8454e exampleSite: Add note on TOML syntax
Close #542
2018-07-07 21:26:59 +01:00
George Cushen
fbeea76362 privacy: Show link to privacy policy in page footer 2018-07-07 21:19:55 +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
8d596ffed2 Perform check that site is correctly configured
Display informative error message if user attempted to clone/download
Academic without following all the installation steps.

Close #491
2018-06-29 22:26:56 +01:00