Commit graph

1860 commits

Author SHA1 Message Date
George Cushen
63d414dd7b refactor: site.Params.cms -> site.Params.extensions.cms
BREAKING CHANGE

See #2601
2022-02-08 21:31:09 +00:00
George Cushen
fa9b6c511c refactor: site.params.search -> site.Params.features.search
BREAKING CHANGE

See #2601
2022-02-08 21:27:50 +00:00
George Cushen
162004b21e refactor: site.params.edit_page -> site.Params.features.repository
BREAKING CHANGE

See #2601
2022-02-08 21:26:40 +00:00
George Cushen
39e6f6142d refactor: site.params.comments -> site.Params.features.comment
BREAKING CHANGE

See #2601
2022-02-08 21:22:17 +00:00
George Cushen
dba78beda6 refactor: site.params.avatar -> site.Params.features.avatar
BREAKING CHANGE

See #2601
2022-02-08 21:19:04 +00:00
George Cushen
284560727c refactor: site.params.diagram -> site.Params.features.diagram.enable
BREAKING CHANGE

See #2601
2022-02-08 21:15:55 +00:00
George Cushen
0a6e711f81 refactor: site.params.math -> site.Params.features.math.enable
BREAKING CHANGE

See #2601
2022-02-08 21:14:08 +00:00
George Cushen
479b0ad9f1 refactor: site.params.highlight -> site.params.features.syntax_highlighter
BREAKING CHANGE
2022-02-08 21:11:35 +00:00
George Cushen
52d2c4f97a style: remove margin from last P 2022-02-08 20:43:58 +00:00
George Cushen
05f56c7c78 feat: show page content in about.avatar 2022-02-08 20:37:43 +00:00
George Cushen
699c2517dd feat: show page content in about.avatar 2022-02-08 20:36:24 +00:00
George Cushen
d7088182cb starters: update mod 2022-02-08 19:45:38 +00:00
George Cushen
eb26160ea9 feat: add package splitter 2022-02-08 19:25:00 +00:00
George Cushen
2ccc34471c feat: modularise JS map, publication, carousel
BREAKING CHANGES:

site.Params.icon.pack.ai -> site.Params.extensions.academicons.enable
site.Params.map -> site.Params.features.map
site.Params.features.privacy_pack -> site.Params.features.privacy_pack.enable
site.Params.marketing and site.Params.seo combined and restructured.

Performance improvements:

Only include pub JS and cite model if site has publications.

Only include carousel JS if site uses Slider widget.

Only include map JS if site uses maps (sets map provider).
2022-01-22 15:26:57 +00:00
George Cushen
963107a536 feat: rename old Params.header to Params.banner
Avoid conflict with new `header` param that configures site header
2022-01-20 21:43:29 +00:00
George Cushen
9e1704c71f feat: add breadcrumb to all pages
With `show_breadcrumb: true` in front matter
2022-01-20 21:37:57 +00:00
George Cushen
0f612575bc fix: Headroom console error when no header 2022-01-20 21:37:12 +00:00
George Cushen
ab96e174c2 refactor: use Hugo's cascade system for edit, related, breadcrumb
BREAKING CHANGES:

The editable and show_related options must now be controlled from front matter, either directly or cascaded from Hugo config

Move breadcrumb option from params.yaml to front matter `show_breadcrumb: true`
2022-01-19 23:10:53 +00:00
George Cushen
cf47911ab9 fix: links in Showcase view
Fix #2589
2022-01-19 22:49:02 +00:00
George Cushen
fb267f3b02 refactor: move fallback theme from config to theme parser 2022-01-19 22:32:38 +00:00
George Cushen
273bbe2370 refactor: move fallback theme from config to theme parser 2022-01-19 22:32:20 +00:00
George Cushen
6d6b4b4c83 feat: let a specific page have no navbar
```
header:
  navbar:
    enable: false
 ```
2022-01-19 22:30:30 +00:00
George Cushen
61ce4e59a3 refactor: use Hugo's cascade system for commentable
BREAKING CHANGE: remove commentable from params.yaml
2022-01-19 21:01:09 +00:00
George Cushen
439dfb3a40 feat: more intuitive settings
BREAKING CHANGES: in params.yaml:

```
appearance:
  theme_day: minimal
  theme_night: minimal
  font: minimal
  font_size: L

seo:
  site_type: Person
  local_business_type: ''
  org_name: ''
  description: ''
  twitter: ''

header:
  navbar:
    enable: false

footer:
  text:
  copyright:
    notice: '© {year} Me. This work is licensed under {license}'
    license:
      enable: true
      allow_derivatives: false
      share_alike: true
      allow_commercial: false

features:
  privacy_pack: false
```
2022-01-13 22:01:15 +00:00
Mikhail Usvyatsov
d134dc7f12
fix: migrate mr_robot font to Google Font API v2 (#2583) 2022-01-10 20:45:53 +00:00
George Cushen
619dbfd16f feat(tpl): add Markdown Slides Starter 2022-01-09 16:18:35 +00:00
George Cushen
be9e2fde4a fix: slides WebAppManifest URI 2022-01-09 16:03:54 +00:00
George Cushen
d615d9d89c refactor: site locale params under params.locale
BREAKING CHANGE: in params.yaml:

```
date_format: 'Jan 2, 2006'
time_format: '3:04 PM'
address_format: en-us
```

to

```
  locale:
    date_format: 'Jan 2, 2006'
    time_format: '3:04 PM'
    address_format: en-us
```
2022-01-09 14:27:15 +00:00
Oka bRionZ
98f15e88e2
i18n: update Indonesian (id) (#2581) 2022-01-04 19:22:32 +00:00
George Cushen
6c38574055 fix: cite shortcode in v5.5-dev is missing page context
Fix #2578
2022-01-03 15:21:25 +00:00
George Cushen
6d4989f90f feat: add support for Hugo v0.91 breaking changes
Hugo team prevented users from building Hugo sites unless all env vars are added to an allow list.

Refer to Hugo v0.91 breaking changes: https://github.com/gohugoio/hugo/releases/tag/v0.91.0
2021-12-31 13:33:58 +00:00
George Cushen
611b5215c3 feat: add folder filter to Pages widget
New front matter key: `content.filters.folders`
2021-12-31 13:25:06 +00:00
rodrigoalcarazdelaosa
0a09b435e3
feat: update reveal.js from 4.1.0 to 4.2.1 with MathJax 3 integration (#2566) 2021-12-30 14:12:14 +00:00
IceCodeNew
f7a91f5217
feat: convert slides from Cloudflare to JSDelivr CDN (#2513)
Help support sites in China where Cloudflare's CDNJS can be blocked/throttled.
2021-12-23 21:19:01 +00:00
kazutoiris
87f69f8c26
Show name pronunciation in About widgets (#2489)
Add `name_pronunciation: ...` to an author profile to use.
2021-12-21 22:05:55 +00:00
George Cushen
f7c06211fa feat: lazy load more images 2021-12-19 19:09:07 +00:00
George Cushen
4fccaa0f4b feat: migrate Project page to unified View system 2021-12-19 19:08:36 +00:00
George Cushen
b12b5901b6 feat: reduce image sizes with WEBP
Can reduce image sizes by > 5x on a typical site that previously output JPGs and PNGs

(Facilitated now that Hugo reliably supports WEBP)

Also, adds some missing image Heights and Widths to help improve SEO and reduce CLS.
2021-12-19 18:14:40 +00:00
George Cushen
4a07f9eaa7 feat: include Algolia in 404 search 2021-12-19 17:03:04 +00:00
George Cushen
5216e4c8b3 chore: use fixed Hugo version in GH Action 2021-12-18 19:52:54 +00:00
George Cushen
994d21b3dd feat: add support for Headroom
When header.on_scroll == "disappear", with sensible defaults
2021-12-18 19:42:10 +00:00
George Cushen
8ff1659261 feat: debounce Algolia search 2021-12-18 16:02:26 +00:00
George Cushen
e23e23e847 feat: migrate Portfolio widget to unified view system
See https://wowchemy.com/docs/getting-started/page-builder/#view

Close #2557
2021-12-18 11:42:28 +00:00
George Cushen
ee434ab7ef feat: upgrade Algolia integration from v2 to v4 2021-12-15 23:34:45 +00:00
George Cushen
1e48b12bf8 feat: add support for Portfolio's Showcase view in all normal, non-portfolio views 2021-12-14 20:20:09 +00:00
George Cushen
a99a1efa45 feat: support community grid views
Third party, community views can be added to the new community folder, e.g. by creating a file at layouts/partials/views/community/MY_VIEW.html

And referencing it as `view: community/MY_VIEW`
2021-12-14 20:18:45 +00:00
George Cushen
36bc271272 feat: support common queries in Algolia integration too
Intro experimental 'searchable' front matter param too
2021-12-14 19:24:54 +00:00
George Cushen
c937b22f1e refactor: paths for components 2021-12-14 19:21:52 +00:00
George Cushen
2eecb5875a chore: prep 5.4.0 release 2021-11-28 21:00:23 +00:00
George Cushen
50eeef1f2b feat: workaround Hugo bug with localized dates
Hugo 0.87 added support for localized dates yet Hugo localizes dates on non-English sites to a different language, English.

Close #2539
2021-11-28 20:39:21 +00:00