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
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
George Cushen
a86e35245e
about widget: Refactor avatar ( #683 )
2018-09-15 18:24:15 +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
6ef19085d4
Refactor most absolute URLs to relative URLs
...
See #683
2018-09-15 13:58:29 +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
9306b834ab
docs layout: Support nested docs folders
...
See #682
2018-09-11 22:12:49 +01:00
Sergi Almacellas Abellana
e363d9a1db
i18n: Add Catalan translation ( #676 )
2018-09-11 21:44:22 +01:00
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