Commit Graph
375 Commits
Author SHA1 Message Date
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
Dongdong Tian 99c7074795 i18n: Update Chinese translation (#523) 2018-04-22 12:15:30 +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 26cf02513b Add .gitignore 2018-04-21 23:36:34 +01:00
George Cushen 09674dd538 figure shortcode: Fix caption style
See #328
2018-04-21 23:19:43 +01:00
George Cushen 6e2d51058f Fix GetPage call when tag/category contains a space
See #521 and #464
2018-04-21 13:33:38 +01:00
George Cushen 7cc95ba252 config: Add hasCJKLanguage and enableGitInfo options 2018-04-21 12:59:18 +01:00
George Cushen c22d653c43 Add Privacy Pack
- To enable, set `privacy_pack = true` in `config.toml`
- Show a cookie consent message to visitors
- Anonymize IP in Google Analytics (if enabled)

See #507
2018-04-21 12:07:57 +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 9fa9d56eb3 Add support for uglyURLs = true
Close #464
2018-04-19 21:10:56 +01:00
George Cushen c1fd6ad526 pub widget: Fix spacing around year in detailed list view
Ensure there is always a space between publication and year.

Fix #520
2018-04-19 20:02:48 +01:00
George Cushen c586b640f9 exampleSite: Provide full date-time in content front matter
Work-around Hugo bug.

See https://github.com/sourcethemes/academic-kickstart/pull/1
2018-04-16 02:45:22 +01:00
George Cushen 3eb8355dc8 post widget: Add optional simple listing format
See #470
2018-04-16 02:36:20 +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
George Cushen a552c1e298 List most recent content on 404 error page
Fix #492
2018-04-16 00:47:26 +01:00
Muhammad Aswan Syahputra 7fca79bc0c i18n: Add Bahasa Indonesia translation (#495) 2018-03-31 22:17:53 +01:00
Vassilis Kehayas b95142db09 i18n: Add Greek translation (#502) 2018-03-28 01:35:35 +01:00