Commit Graph
393 Commits
Author SHA1 Message Date
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
George Cushen 9e65c45d23 posts: Add option to display author names
Close #220
2018-06-29 19:23:12 +01:00
George Cushen 9b1be1019d mathjax: Horizontally scroll long equations
Close #496
2018-06-29 18:31:48 +01:00
George Cushen b2d3b54766 Change talk icon from comment-o to calendar
Close #527
2018-06-29 17:58:03 +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
Dongdong Tian 01f57b7e91 Bump minimum version of Hugo to 0.38 (#581)
Recent commit 7f744f0 used `.Site.IsServer`, which is added in Hugo v0.38
2018-06-28 21:15:49 +01:00
Prateek Kumar 7f744f022b Disable Google Analytics in development mode (#569) 2018-06-28 11:32:30 +01:00
Prateek Kumar bcd109acc5 posts: Improve microdata for date published and date modified (#570) 2018-06-28 11:29:12 +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 8a883d4d40 Provide friendlier error messages
In case of broken `projects` link in talk/publication front matter

See #534
2018-05-18 01:24:12 +01:00
George Cushen 9842f517dd partials: Fix case where .Permalink may be called on nil
See #534 and #532
2018-05-08 22:31:41 +01:00
George Cushen 6988b4074b header: Fix OG metadata for image path when URL contains sub-dirs 2018-05-08 22:26:18 +01:00
George Cushen 737470c027 about widget: Fix metadata for avatar (#533) 2018-05-08 21:40:16 +01:00
Iuro Nascimento 26930f8794 Update Academicons to v1.8.6 (#525)
New icons supported include Lattes.
2018-05-01 22:19:40 +01:00
Pedro J. Ortiz fe8ea7b4e1 Apply site color theme to cookie consent banner (#529) 2018-05-01 22:16:05 +01:00
Pedro J. Ortiz ed5a5186b2 i18n: Update French and Spanish translations (#526)
* Add cookie consent translations
* Add missing translations for previous, next, and figure
2018-05-01 14:02: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