Commit Graph
746 Commits
Author SHA1 Message Date
George Cushen 371ec59897 docs: update Readme with v4.4 and v4.5 themes 2019-08-03 14:16:10 +01:00
George Cushen c2650cc239 feat(widget): Tag Cloud: add taxonomy and font size options
Enables the widget to be used for categories etc. and not only tags.

Also fix tag ordering by title rather than by count (d0ec05a).

Fix #1267
Fix d0ec05a
2019-08-03 13:53:30 +01:00
George Cushen d0ec05a65b feat: add max count option to Tags widget
Choose how many tags you would like to display.
2019-08-01 20:09:04 +01:00
George Cushen 32b6145c06 feat: start web app at localized home page where applicable
Also, add support for 512x512 pixel splash screen icon
`static/img/icon-512.png` .

Close #1247
2019-07-31 01:23:42 +01:00
George Cushen 3326ad410e fix: include manifest URL on all pages
BREAKING CHANGE:
If overriding icon.png, rename it to icon-32.png and add icon-512.png.

Fix #1245
See #1247
2019-07-31 01:01:31 +01:00
Julian Pawlowski 07f4cea1d6 fix: web app manifest link
Fix #1245
2019-07-31 00:36:00 +01:00
George Cushen 15e7aa01c3 style: fix aside to appear same as alert 2019-07-30 23:33:05 +01:00
George Cushen b57c5f87b8 fix: just include Disqus comment count JS once if enabled
Fix dc2c70e
See #1229
2019-07-28 20:40:08 +01:00
George Cushen 0b8cb45034 feat(feed): add image and refactor
Close #1244
2019-07-28 11:33:29 +01:00
George Cushen 2f19f9c9fd fix(feed): parse {year} in copyright and plainify any HTML
Close #1243
2019-07-27 23:19:07 +01:00
George Cushen 0011592861 feat: dynamically generate manifest
Adds name, lang, theme_color and background_color.

Removes 32px icon and adds 512px icon based on latest Google best
practices.
2019-07-27 22:56:26 +01:00
Julian Pawlowski 8688f1d4af demo: disable editing and commenting on Terms & Privacy pages 2019-07-27 22:43:00 +01:00
George Cushen dc2c70ecec fix: just include Disqus comment count JS once if enabled
Fix #1229
Fix a1ba678e79
2019-07-27 21:19:27 +01:00
George Cushen e24de2a2ca feat: support .webm videos in Video Shortcode
Close #1226
2019-07-27 21:07:12 +01:00
Julian Pawlowski 835d3d76c0 feat: support commenting for project, publication, and talk pages (#1240)
To use, set `commentable = {page = true, post = true, docs = true, project = true, publication = true, talk = true}` under the Comments section in `params.toml`.
2019-07-27 21:03:50 +01:00
Julian Pawlowski 8272c2c8fb feat: add support for Terms in footer (#1236)
To use, copy `themes/academic/exampleSite/content/terms.md` to `content/terms.md` in your site, add your legal terms, and remove the `draft` option to publish.
2019-07-27 20:51:18 +01:00
Julian Pawlowski 0fe72a339c feat: add Xing to Page Sharer (#1239) 2019-07-27 20:35:32 +01:00
Julian Pawlowski 86910f17bb i18n: update German translation (#1233) 2019-07-27 20:33:11 +01:00
Julian Pawlowski a78bf3d48f style: fix navbar language chooser spacing when --minify used
Fix #1231
2019-07-27 20:29:40 +01:00
George Cushen 3e62662d53 refactor: edit_page.html --> page_edit.html 2019-07-27 20:23:17 +01:00
Alessandro Bahgat 472d43ed41 fix: HTML of author page when no authored content (#1225)
An `{{end}}` was in slightly the wrong place
2019-07-24 19:35:22 +01:00
George Cushen 310357e346 style: fix category icon spacing when --minify used
Fix #1219
2019-07-23 21:57:42 +01:00
George Cushen 29bd98eece feat: point Edit Page link directly to GitHub editor
Previously, it pointed to the file viewer.

Close #1224
2019-07-23 21:00:35 +01:00
George Cushen 72a5e5b8c0 feat(shortcode): enable figure lightbox by default
Add "lightbox"="false" to shortcode args to disable
2019-07-23 20:56:40 +01:00
George e9ffc5bd9f feat: add git branch option for editing pages 2019-07-23 09:25:24 +01:00
George 6dfa6c7460 refactor spacing 2019-07-23 09:24:33 +01:00
Thom Wiggers ee6cef97ca Allow to specify branch of git repository 2019-07-23 09:38:51 +02:00
George Cushen 57ae6c297e demo: fix Hero CTA note 2019-07-22 21:32:46 +01:00
George Cushen a1ba678e79 feat: refactor commenting system + add support for Commento
BREAKING CHANGES
See #1218

Close #1218
2019-07-22 19:50:11 +01:00
George Cushen 96d061bfff bump version 2019-07-22 01:10:46 +01:00
George Cushen 026bb47c72 feat(widget): add Compact view to Portfolio + refactor Portfolio
Also:
- Refactor List view to be consistent with the standard List views.
  - This involved adding support for Project type and external links to
    the standard
  - Now, Portfolio's List and Compact views are just wrappers around the
    standard List and Compact views.
- Fix summary in Showcase view not falling back to use Content.

Fix #1165
2019-07-22 00:36:07 +01:00
George 5a2a2f3e20 Remove search-query id from 404 input. (#1216)
* Remove search-query id from 404 input.

Search query is propagated via the q parameter being added to the query
string when users hit enter.
The only reference to #search-query I found is for styling when dark
theme is enabled. The search widget on the page has the right background
color even when removing the id.

* Remove search-query from searchbox in docs layout.
2019-07-21 20:06:27 +01:00
George Cushen a6504816bb style: fix Bootstrap light theme overriding dark .text-muted 2019-07-21 20:00:41 +01:00
George Cushen 03599c42d5 feat: add support for multi-day events
Previously, the talk layout was intended for talks (intra-day events).

This commit adds support for more general events which can span multiple
days.

Close #1169
2019-07-21 19:40:58 +01:00
Alessandro Bahgat f61752e70f Remove search-query from searchbox in docs layout. 2019-07-21 09:54:56 -04:00
Alessandro Bahgat 8665d90526 Remove search-query id from 404 input.
Search query is propagated via the q parameter being added to the query
string when users hit enter.
The only reference to #search-query I found is for styling when dark
theme is enabled. The search widget on the page has the right background
color even when removing the id.
2019-07-21 09:11:05 -04:00
George Cushen c8832e3881 feat: revert Blackfriday math workaround
Also see 255b5e8462
2019-07-20 19:44:30 +01:00
George Cushen 255b5e8462 feat: revert Blackfriday math workaround + improve Mmark support
Guidance for using math going forward:
- add `markup: mmark` to front matter
- no longer need to escape inline or block math in body

Also, fix Mmark task lists by removing bullet points.
2019-07-20 19:43:13 +01:00
George Cushen 42932824ba fix: Mmark aside style should match that of Alert shortcode
See #1214
2019-07-20 19:18:02 +01:00
Aries 2d5fb4a4aa feat: always use https scheme for assets (#1213) 2019-07-19 20:09:11 +01:00
George Cushen 9a619efaec docs: fix typo 2019-07-18 09:45:02 +01:00
George Cushen 5b4d11825e demo: fix typo 2019-07-18 00:55:24 +01:00
George Cushen 0cffd47aca fix: improve handling of math and diagrams
Block math in body can now be wrapped in "<div>$$...$$</div>" tags
Inline math in body can now be wrapping in "`$...$`" backticks
Diagrams can now be created without shortcodes: "```mermaid ... ```"
2019-07-18 00:45:14 +01:00
Alessandro Bahgat ac23dc1b92 fix: if comment count enabled, show only on supported pages
Don't attempt to show Disqus comment count on page types that do not have corresponding Disqus comment block.

Currently, just Post and Page types support commenting.

See #1206
2019-07-15 21:24:07 +01:00
George Cushen 64cceae099 fix: navbar active link highlighting and scrolling
Fixes edge case caused due to responsive navbar height. More
specifically, a possible race condition between Scrollspy init and
updating its offset.

Fix #1199
2019-07-13 00:55:22 +01:00
Alessandro Bahgat c56020be63 fix: improve HTML5 validation: remove nested <p>s
Blackfriday automatically wraps Markdown `Content` text in `<p>` tags.
No need to wrap in additional `<p>` tags (which is also invalid HTML).

See #1197
2019-07-11 21:57:10 +01:00
George Cushen ac5dcd9dc4 fix: improve HTML5 validation
See #1197
2019-07-11 21:47:43 +01:00
George Cushen a8c4f887e5 fix: navbar active link highlighting and scrolling
Fixes some edge cases caused due to responsive navbar height and dynamic
Portfolio widget height, as well as case where offset was non-integer,
requiring float to be rounded up.

Fix #1199
2019-07-11 20:54:52 +01:00
Alessandro Bahgat d9e3e9fcfa fix: 8ddf0ca406 (#1193)
8ddf0ca406 introduced a spurious token
that breaks scrolling back to top
2019-07-09 19:35:07 +01:00
George Cushen 56e8b965f1 feat(sharer): add Pinterest 2019-07-08 18:17:05 +01:00