Commit Graph
281 Commits
Author SHA1 Message Date
Igor Gilitschenski 84eb4a6e30 publication: Make abstract optional (#382) 2017-11-14 20:28:34 +00:00
George Cushen 086441ff3e Fix web manifest
See #312
2017-11-11 19:27:14 +00:00
George Cushen baad8468cc Fix web manifest for sub-dirs
See #312
2017-11-11 19:09:37 +00:00
George Cushen b9ee3b4a6f Add web manifest
Close #312
2017-11-11 19:04:26 +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 ee63fde14e post: Document image preview and caption options 2017-11-11 15:13:10 +00:00
Alexander 5db7a8f5c4 Add hreflang metadata to page header (#374) 2017-11-09 21:36:26 +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 6b7202c7bc Display tags (if set) for all content types
Close #363
2017-10-31 20:25:05 +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
Thomas Mieling 18979019f9 widgets: Fix project filter buttons (#362) 2017-10-28 15:52:20 +01: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
Adrien nayrat 73f8fac2b5 Add Twitter card and Open Graph metadata (#358) 2017-10-26 22:06:32 +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 f3384d45ad publication: Fix bold font not being applied to metadata (Fix #345)
* Fix `pub` CSS scope
2017-10-22 20:48:34 +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 7b4bdd22bd archetypes: Make hugo new home/<TITLE>.md use the custom widget 2017-10-22 16:02:25 +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
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