Commit Graph
361 Commits
Author SHA1 Message Date
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
Benasse 2b1a42e7e0 about widget: Center multi-line social icons
Center social icons when there is more than one line.

See #494
2018-03-24 15:12:41 +00:00
George Cushen 0a46c954b1 Fix fdfc961
See #461 and #488
2018-03-13 00:20:32 +00:00
Alex Hogen fdfc961f34 Support external header images
Close #461 and #488
2018-03-13 00:13:48 +00:00
Dang-Khoa Le Tan 917d4b5126 i18n: Update Vietnamese translation (#480)
* Support Academic v2.1
* Improve translated text
2018-03-01 19:11:44 +00:00
George Cushen 66b71fa2f6 Add video shortcode and remove image shadow 2018-01-28 01:14:44 +00:00
George Cushen b02f5eceda Apply card style to detailed list view and refactor 2018-01-21 22:34:32 +00:00
George Cushen 9e8cb50889 post: Refactor code and remove unused class 2018-01-21 22:23:51 +00:00
George Cushen c6c9768fd4 publication: Make title width consistent with other pages (#372) 2018-01-21 21:58:24 +00:00
George Cushen 4dda8bc80a docs: Fix link to latest release notes 2018-01-20 15:19:35 +00:00
George Cushen 7997025d9f docs: Fix link to latest release 2018-01-20 15:12:08 +00:00
George Cushen 2417b124ac docs: Fix Markdown bullets 2018-01-20 15:11:28 +00:00
George Cushen c5e3b1f6e8 archetypes: Update inline docs to match pub. types in config 2018-01-20 15:09:22 +00:00
Dongdong Tian 188757285f Fix project links for multilingual sites
Use `relLangURL` rather than `relURL` for project links.

See #442
2018-01-14 13:02:48 +00:00
George Cushen 04cdf9c827 exampleSite: Reduce demo posts to just a copy of Readme
No longer attempt to duplicate content from documentation website. Just
link to it.

Replace Readme's theme table with new gallery shortcode.
2018-01-13 15:32:30 +00:00