Commit Graph
79 Commits
Author SHA1 Message Date
George Cushen 9e65c45d23 posts: Add option to display author names
Close #220
2018-06-29 19:23:12 +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
George Cushen 1a37b61971 exampleSite: Use full filenames for projects parameter 2018-05-18 01:34:05 +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 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 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
Dongdong Tian 4167651b58 project widget: Enable content from any folder to be displayed
The widget is no longer limited to only displaying content from `content/project/` folder.

See #429
2018-01-04 22:34:04 +00:00
George Cushen eaccab614e publication widget: Add option to exclude selected publications
Add `exclude_selected = false` option to frontmatter of publication
widget.

See #385
2017-11-16 22:30:52 +00:00
George Cushen 09b91845a0 themes: Add dark theme
To use, set `color_theme = "dark"` in `config.toml`.

See #299 and #139
2017-11-11 17:55:42 +00:00
George Cushen 05fa83afa7 docs: Add FAQ 2017-11-02 20:52:16 +00:00
George Cushen 70ea150aeb docs: Update 📚 2017-10-26 22:56:06 +01:00
George Cushen d55dea2df7 docs: Update 📚 2017-10-22 16:46:52 +01:00
George Cushen 29ba4f7ada widgets: Add active option to activate/deactivate widgets 2017-10-22 16:05:19 +01:00
George Cushen 76de60ec59 archetypes: Document url_custom option for publications 2017-10-22 15:05:39 +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
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 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 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
Martin G 2e3e8b7e31 docs: Update to add solutions to unexpected Mathjax behaviors (#292) 2017-10-07 21:55:03 +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 48945c6b80 pub widget: Add filter for publication type (Close #217) 2017-10-01 02:01:24 +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 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
George Cushen 34b9cf573c Update docs 2017-09-30 19:29:29 +01:00
George Cushen 66ca3fca75 Add theme system
- Add `color_theme` option to config
- Add `font` option to config
- Add 3 themes
- Add 2 font styles
- Add documentation to Getting Started post
2017-09-30 16:26:19 +01:00
George Cushen aa224c04a0 Update docs 2017-09-28 01:24:08 +01:00
George Cushen 19d069d9fb exampleSite: Update widget weight for demo 2017-09-24 23:06:40 +01:00
George Cushen 80e833c5e9 posts widget: Add filter to exclude tags (Close #170)
* Change `tags` option to `tags_include`
* Add `tags_exclude` option
2017-09-24 23:00:25 +01:00
George Cushen e6d4bd3e5f widgets: Add tag cloud 2017-09-20 23:19:28 +01:00
George Cushen 3cb84281d8 project widget: Enable changing default filter (#88)
Use `filter_default = 0` to specify index of default filter
2017-09-19 20:24:24 +01:00
George Cushen 8168053656 publications: Support classic citation format (#235)
* Breaking Change: boolean `detailed_list` has changed to
  integer `list_format` parameter - refer to latest exampleSite
2017-09-19 01:25:22 +01:00
Jordan Stanway 405058b8d9 publications: Use consistent listing format across pages (Fix #148) 2017-09-18 01:58:19 +01:00
George Cushen a2b482dc10 Add staticref shortcode for linking files + update docs (#236) 2017-09-03 17:06:06 +01:00
George Cushen 6fab4bc3bc docs: Add toc shortcode 2017-09-03 15:23:30 +01:00
George Cushen 06dc780e6c Add shortcode for generating table of contents (#258) 2017-09-03 15:07:38 +01:00
George Cushen 97590cb12e posts: Support lastmod param to show date last modified 2017-09-03 14:35:13 +01:00
George Cushen e7461f9f26 exampleSite: Update widget comments (#188) 2017-05-30 00:15:09 +01:00
George Cushen dccca171a7 Add full-width header image option for all content pages
* feature is consistent across Posts, Projects, Talks, Publications, and nodes (#105)
* `image` parameter is moved under a `[header]` section at the end of existing content's frontmatter
* `caption` parameter can be used to specify image credit/caption (#103)
* set `preview = false` under `[header]` to hide a post's thumbnail on homepage (#113)
* add example of customizing a taxonomy list page at `/tags/academic/`
* revert i18n->hard-coded change for node page titles (#118)
2017-02-11 20:30:10 +00:00
George Cushen af7e88aa5f Update docs 2017-01-20 18:01:52 +00:00
George Cushen 2220cd5d95 Require Hugo v0.18 and support section nodes as pages
* Post, Publication, and Talk nodes can now have a `_index.md` file with title and content.
* Example `_index.md` content files added to Example Site.
* Hugo v0.18+ required.
2017-01-20 00:57:16 +00:00
appleby b3c73acdc8 Add config options for customizing highlight.js (#66)
This commit adds the following config options to allow the user to
enable / disable and otherwise customize source code highlighting with
highlight.js:

- hljs: enable / disable highlighting
- hljs_languages: include highlighting for additional languages
- hljs_style: choose CSS style for highlighting
- hljs_version: choose highlight.js version

* Change hljs_ prefix to highlight_ and update hljs version to 9.9.0

Per code review comments in #66. The github.min.css style hasn't
changed, hence no diff for highlight.min.css in this commit.
2017-01-17 01:31:39 +00:00
George Cushen ae3a757777 Add publication filter #26 2017-01-12 06:41:13 +00:00
George Cushen 0fafa0b98d Improve talks
- improves format of simple lists (`detailed_list = false`) for Talks widget
- fixes date to use user defined date format from `config.toml`
- hides 'Links' row if no `url_...` params are set in talk front matter
- introduces optional `location` param for event location
- adds `event_url` which if defined, turns event name into a link on talk detail page
2017-01-02 14:35:50 +00:00
George Cushen 59116be74e Support sub-menu navigation (#72) 2016-12-31 14:05:29 +00:00