Commit Graph
105 Commits
Author SHA1 Message Date
Abdulaziz 353fab199d i18n: complete Arabic (ar) translation (#1654) 2020-04-19 19:19:29 +01:00
George Cushen f075bc2d74 feat: add native font theme 2020-04-13 01:40:29 +01:00
George Cushen 2d63a0090a feat: add initial RTL language support 2020-04-11 22:25:03 +01:00
Dainius Jocas ba7680ac2c i18n: add Lithuanian language pack (#1617) 2020-03-28 20:29:34 +00:00
haybdiid a7dc76f007 i18n: add Somali language (#1607) 2020-03-22 23:05:04 +00:00
George Cushen 21e7bc8d3d chore: bump version 2020-03-06 21:13:26 +00:00
George f8bbd828cb feat: update Mermaid from 8.4.4 to 8.4.8 (#1576) 2020-03-05 20:06:07 +00:00
Daniel Schemmel a14d21f7c8 feat: upgrade highlight.js from 9.15.10 to 9.18.1 (#1553) 2020-03-01 20:05:07 +00:00
Stanislav Valasek 7130499dc4 i18n: add Czech translation (#1555) 2020-03-01 20:03:01 +00:00
George Cushen 2f00beab89 feat: default to fixed width icons with icon shortcode 2020-01-26 00:52:40 +00:00
George Cushen f3c1bed36f feat: update Font Awesome from 5.11.x to 5.12.x
Close #1533
2020-01-25 22:33:29 +00:00
Aleks Aleksandrovs 7c87076824 i18n: add Latvian language (#1531) 2020-01-23 23:47:53 +00:00
chivitchhoeun bf0d133262 i18n: add Khmer language (#1523) 2020-01-20 12:05:36 +00:00
George Cushen d1d761fbc6 chore: bump version 2020-01-02 17:04:11 +00:00
thomase1993 3965252fc5 refactor: define cookie consent assets in assets.toml
Moved the Cookie Consent asset definition to assets.toml so that it's possible for offline site to use local Cookie Consent assets.

Also upgraded Cookie Consent to 3.1.1.

Close #1495
2019-12-28 20:13:15 +00:00
George Cushen 361707f4fd feat: lazy load figures and gallery images
The proportion of image data in the typical payload of a website can be significant. Lazy loading is a solution that lowers initial page payload and load time, without removing content. Non-critical resources are instead loaded at the moment that they are needed.

Also, load MathJax async in head if required, rather than at end of body.

Close #1106
2019-12-18 14:33:22 +00:00
Märt Põder 41d3bf8aa7 i18n: add Estonian translation (#1482) 2019-12-16 19:36:57 +00:00
George Cushen ba772f60ce feat: upgrade from Mermaid v8.3.1 to v8.4.3
Close #1419
2019-12-12 20:54:47 +00:00
Emilia Trollros b5b5f125e9 i18n: add Swedish language pack (#1457) 2019-12-08 01:33:23 +00:00
George Cushen cdf5ef1096 chore: bump version 2019-12-07 16:36:16 +00:00
Arto Bendiken 3508912fd0 i18n: add Ukrainian translation (#1444) 2019-11-30 13:17:56 +00:00
George Cushen 6d92b0e8ab chore: bump version 2019-11-24 14:25:11 +00:00
George Cushen b45d4c5432 chore: bump version 2019-11-19 00:19:39 +00:00
George Cushen a1f5a3cdd0 chore: bump version 2019-11-16 18:03:00 +00:00
George Cushen ede8cef959 feat: update vendor assets & refactor custom CSS path
- Upgrade MathJax from v2 to v3
- Updated Highlight, Leaflet, Fancybox, Mermaid, FontAwesome
- Fixed multilingual icon paths in Web App Manifest
- View Demo script now binds to all network I/F to enable testing on
  other physical devices like smart phones

BREAKING CHANGES:
Removed `plugins_css` from `params.toml`.
Override `custom.scss` to add custom styling.

Close #1400
2019-10-19 20:33:56 +01:00
George Cushen ec8b60f71f feat: move social share buttons below content
Also, add page_footer.html to help make page footers more consistent.

Close #1383
2019-10-12 17:23:08 +01:00
MineCola d8e90e9d64 i18n: add 中文 (繁體)
See #1381
2019-10-09 14:20:16 +01:00
George Cushen f0ad140f07 feat: add support for Google Tag Manager + refactor GA to use gtag.js
GT (gtag.js) and GTM are the modern Google analytics solutions.

New `[marketing]` config section added to `params.toml`.

GT will fall back to site.GoogleAnalytics if the new `[marketing]` param
for GT/GA isn't specified, so currently no breaking changes.

May deprecate site.GoogleAnalytics in future.

Close #1349
2019-09-24 14:00:23 +01:00
George Cushen 7ebcc69d42 chore: bump version 2019-09-11 17:50:26 +01:00
George Cushen d1b84a505a feat(themes): 1950s and Coffee default to using Rose font set 2019-08-30 13:40:45 +03:00
George Cushen ff1e8d1b61 refactor(themes): rename Default to Minimal 2019-08-30 13:40:45 +03:00
George Cushen 94542577a5 refactor(fonts): move font size to Params + rename Default to Minimal
Rename Default font set to Minimal.
Move `font_size` option from font sets to `params.toml`.
2019-08-30 13:40:45 +03:00
Julian Pawlowski 3e79f2b37b feat(sharer): add Tumblr (#1280) 2019-08-14 22:31:38 +01:00
Julian Pawlowski 0fe72a339c feat: add Xing to Page Sharer (#1239) 2019-07-27 20:35:32 +01:00
George Cushen 96d061bfff bump version 2019-07-22 01:10:46 +01:00
George Cushen 56e8b965f1 feat(sharer): add Pinterest 2019-07-08 18:17:05 +01:00
George Cushen 777ab861c9 style: add Mr Robot theme 2019-07-01 23:18:27 +01:00
George Cushen 94cee73155 style(theme): replace Playfair and Cupcake with new Rose theme
Also:
- Make nav links normal font weight
- Make XL container wider
- Update Google Fonts URL
- Explicitly add Twitter Image metadata
2019-06-27 01:26:23 +01:00
George Cushen 81cd24557c docs: ref docs URL for Page Sharer 2019-06-16 19:54:46 +01:00
Cassio Batista 0c36cdca45 feat(page): enable page sharing buttons to be customized
To customise sharing buttons, override `themes/academic/data/page_sharer.toml` by copying the file to `data/page_sharer.toml` at the root of a site and editing the copy.

Close #1108
Close #1131
2019-06-15 17:23:08 +01:00
George Cushen 27ff391ab1 feat: generate diagrams and flowcharts from text using Mermaid shortcode
To use, add `diagram: true` to a page's YAML front matter and create a
diagram from text in the body of the Markdown file using Mermaid syntax:
https://mermaidjs.github.io

Close #1111
2019-05-27 18:05:17 +01:00
icf20 11df1131dd i18n: add Romanian (#1107) 2019-05-26 22:53:30 +01:00
George Cushen 29ce18a050 feat(theme): add Strawberry theme
Also, refactor themes and theme system to replace primary_light and
primary_dark with SCSS lighten/darken funcs.

See #1091
2019-05-19 23:51:32 +01:00
George Cushen 0438fabbc3 bump version 2019-05-19 18:51:49 +01:00
FLaco aeab0b6618 feat(js): update Highlight JS from 9.12.0 to 9.15.6 (#1075)
Adds support for more languages like plaintext and SAS.

See https://github.com/highlightjs/highlight.js/blob/master/CHANGES.md
2019-05-11 15:59:48 +01:00
George Cushen ced350c547 refactor: publication types as TOML at data/publication_types.toml 2019-05-08 20:13:18 +01:00
George Cushen c9cd1afefb demo: change Tutorials to Courses and add List of Courses
Perhaps a more common use case of the docs layout.

See #109
2019-05-06 15:53:16 +01:00
George Cushen abbd54045c feat(nav): extend navbar active link highlighting to non-home pages
Also,
- Fix ScrollSpy link scrolling/highlighting not working on widget pages
  except the home page
- Add `docs_section_pager = true` to `params.toml`.
- Add more demo tutorial pages and content to showcase the improved
navbar highlighting for child pages and the table of contents feature.
- Bump version in prep. for release

Close #991
2019-05-05 22:23:32 +01:00
George Cushen 92200d6327 refactor: convert CSS to SCSS
Remove Bootstrap from Header and assets.toml
  Remove Bootstrap JS CDN version in footer and assets.toml
  Add latest Bootstrap v4 SASS files locally
  Include Bootstrap JS locally
  Convert Academic's CSS to SASS (mainly SASS variables + Go templating)
  Convert Academic's theming system to integrate with SASS
  Parse SASS in header using Hugo and convert to CSS
  Minify and md5 fingerprint bundled CSS
  Fix Slider widget (reuses .wg-hero but animation and `clear` removed)
  Add Bootstrap files to repo so that Node is not required

See #680
2019-04-24 23:56:41 +01:00
George Cushen 35563bb498 fix: page metadata no longer displayed
Fix #1042
2019-04-19 23:14:24 +01:00