Commit Graph
132 Commits
Author SHA1 Message Date
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
George Cushen bb3adc1781 Add search engine widget
Close #169
2018-07-23 19:25:39 +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 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 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 2abaa8454e exampleSite: Add note on TOML syntax
Close #542
2018-07-07 21:26:59 +01:00
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
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 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 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
George Cushen 0c635d1a82 Update style of next/prev section pager nav (#393) 2018-01-13 02:52:20 +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 588142274b publication: Make publication name optional
Close #423
2017-12-29 19:13:30 +00:00
George Cushen 69fa815757 themes: Add 1950s theme 2017-12-03 18:44:59 +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 b6e1dd2710 Enable main menu to be left aligned 2017-11-16 21:53:45 +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
Alexander Minges d48bcdf30a Add OpenStreetMap-based alternative to Google Maps (#360)
* add leaflet JS as alternative to gmap JS
* changes to `config.toml`:
  * add `zoom = 15`
  * add `map = 0` (`map` sets the map provider - refer to comments)
  * change `google_maps_api_key` to `map_api_key`
2017-11-02 21:14:26 +00:00
George Cushen 05fa83afa7 docs: Add FAQ 2017-11-02 20:52:16 +00:00
George Cushen ec4fe2eb29 about widget: Add support for linking to forum/chat/mailing-list
* Example: `discussion = { name = "Discuss", url = "https://discourse.gohugo.io" }`
  can be added to `[params]` section of `config.toml`
* Add noopener to links that open in new tab

See #351
2017-10-29 21:23:47 +00:00
George Cushen 0e57c732fe config: Re-enable RSS output by default
Close #346
2017-10-29 01:06:23 +00:00
George Cushen 70ea150aeb docs: Update 📚 2017-10-26 22:56:06 +01:00
Sandra Parsick acbeb3da92 Add option to hide talk time (#350)
* Add `[params.talks]` section to config
2017-10-26 22:15:54 +01:00
Serge Bibauw 45b2e054e7 Add time_format variable for customizing talk time (#353)
* Add `time_format` variable to `config.toml`
   * Enables customizing talk time between am/pm or 24h format
* Correct Go date format URL in documentation
2017-10-26 19:33:02 +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 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
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 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
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 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