Commit graph

1860 commits

Author SHA1 Message Date
George Cushen
229629b772 publication: Allow date format to be changed (#336)
* Add `[params.publications]` section to `config.toml`
2017-10-22 15:12:11 +01:00
George Cushen
76de60ec59 archetypes: Document url_custom option for publications 2017-10-22 15:05:39 +01:00
Dongdong Tian
5e4a9e9d8a archetypes: Default projects to empty array (#206 #340)
* default `projects` to empty array
* prevent projects button being generated when not required
2017-10-22 12:01:05 +01:00
Dongdong Tian
c07e3e5db0 talks: Fix time format (#298 #334) 2017-10-22 11:48:08 +01: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
Dongdong Tian
4a72683eeb project page: Add option to list child talks and publications (Close #206)
* add `[params.projects]` config section to `config.toml`
* add `projects = [""]` array to publication and talk frontmatter
* project page: Add backwards compatible child list which considers 
   both new `projects` array and`url_project`
* update archetypes
* update example site
* update publication button links to consider `projects` array
* update talk button links to consider `projects` array
* remove details button from talk links to be consistent with publication links
2017-10-21 22:48:27 +01:00
Serge Bibauw
6f4b140790 i18n: Update French and Spanish translations (#337) 2017-10-21 17:38:52 +01:00
Dongdong Tian
a747680aee i18n: Update Chinese translation (#333) 2017-10-20 19:13:15 +01:00
George Cushen
d8577538ca Improve 404 error page (Close #332)
* Internationalize the page (string translation)
  * Add 3 new language variables: page_not_found, 404_recommendations,
    projects
* Show recent talks and projects
* For each content type, show most recent 5 items
* Only show content headings if content exists for each type of content
2017-10-19 22:13:18 +01:00
George Cushen
e87fde0d23 Fix last commit 5c2824fabf 2017-10-19 20:40:18 +01:00
George Cushen
5c2824fabf Markdownify the interests list and talk abstracts (Close #297)
* About widget interests list
* Talk abstracts
* Breaking change: math in talk abstracts may require extra escaping
* Contact widget: support multiline address
* Talk page: Add noopener to _blank link target
2017-10-19 20:33:39 +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
3b58e38c5b js: Only load Google Maps scripts when required (Close #317) 2017-10-19 19:14:54 +01:00
George Cushen
3b76068360 Fix error if static/files/citations/ folder doesn't exist (Fix #329)
* Require Hugo 0.30.2+
2017-10-19 19:00:27 +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
0fb54898df config: Document popular blackfriday options (#316) 2017-10-17 01:22:50 +01:00
Ronny Chevalier
bf483fcd48 header: Do not generate RSS links if RSS disabled (Fix #318) 2017-10-16 19:29:35 +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
477bdf4094 pub widget: Show authors when in simple mode 2017-10-16 00:47:44 +01:00
George Cushen
466632ac4d Use noopener for external URLs that open in new tabs (Close #286) 2017-10-16 00:45:45 +01:00
George Cushen
2605164743 custom widget: Support full width no-title mode 2017-10-15 17:38:31 +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
a1b681758e publications: Add APA style + Change list_format (Close #305 #296)
* Add APA citation style
* Change `list_format` in pub. widgets and pub. `_index.md` archive
  * New options: 0 = Simple, 1 = Detailed, 2 = APA, 3 = MLA
* Change default `list_format` in exampleSite
* Link title in publication list items
* Open most related links (e.g. PDF) in new tab
2017-10-15 04:18:12 +01:00
George Cushen
e70dd994d5 docs: Correct 'Create a widget page' 2017-10-15 04:02:20 +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
George Cushen
cf0e271482 docs: Add Widget Page docs (#300) 2017-10-15 01:09:42 +01:00
George Cushen
22ed2d0161 Enable widgets to be used on other pages, not only homepage (#300) 2017-10-15 00:47:35 +01:00
George Cushen
25baf85bca navbar: Hide mobile toggle button if there are no menu items (#307) 2017-10-13 23:20:17 +01:00
George Cushen
8d1fe7bd79 tags: Support uppercase in tag names (#308) 2017-10-13 22:57:49 +01:00
George Cushen
488a1a7f1c project widget: Fix error when not using any filters (Fix #306) 2017-10-11 20:06:09 +01:00
George Cushen
f752b362f0 staticref shortcode: Fix formatting by removing whitespace (Fix #295) 2017-10-08 12:56:39 +01:00
Martin G
2e3e8b7e31 docs: Update to add solutions to unexpected Mathjax behaviors (#292) 2017-10-07 21:55:03 +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
143576bc99 staticref shortcode: Add "newtab" option to open link in new tab 2017-10-07 20:26:21 +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
abf0f67925 readme: Add theme previews 2017-10-04 01:05:21 +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
48945c6b80 pub widget: Add filter for publication type (Close #217) 2017-10-01 02:01:24 +01:00
George Cushen
d371607122 projects widget: Fix items overlapping when in list view (Fix #71) 2017-10-01 00:32:20 +01:00
George Cushen
2c74ad3947 talk archive: display listings consistent with talk widget (Close #184)
- talk widget: Change `detailed_list = false` option to `list_format = 0`
- Update docs
2017-10-01 00:10:38 +01:00
George Cushen
f42cfe7d1a post archive: display listings consistent with posts widget (Close #262) 2017-09-30 23:21:13 +01:00
George Cushen
b031608ee4 about widget: Allow for multiple organizations (Close #132)
- Remove `organization` and `organization_url` options from config
- Add `organizations = [ {name="Org Name", url=""} ]`
- Continue to support legacy options
- Only show `role` if it is set
2017-09-30 22:50:58 +01:00
George Cushen
32252083fa Improve versioning and SRI for dependencies
- Parameterize JS and CSS versions (no longer hardcoded)
- Highlight.js version moved from `config.toml` to `data/sri.toml`
- SRI applied to Highlight.js
2017-09-30 21:23:37 +01:00
Dan Cardy
4e5994a43d Update JS libraries (#282)
* Remove disused tweenMax and scrollToPlugin
* Update imagesLoaded & jQuery
2017-09-30 20:18:15 +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
34b9cf573c Update docs 2017-09-30 19:29:29 +01:00
George Cushen
69beed33f3 themes: Add Coffee 2017-09-30 18:42:45 +01:00
George Cushen
4cc8bb337b about widget: Change class name to work around uBlock bug (Close #276) 2017-09-30 16:29:58 +01:00