diff --git a/README.md b/README.md index d21a21f..128b564 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ Quickstart a new site with the Zen theme by using the [Zen demo repo as a templa ## Table of contents +* [Version 4.x](#version-4x) * [Version 3.x](#version-3x) * [Version 2.x](#version-2x) * [Features](#features) @@ -47,6 +48,12 @@ Quickstart a new site with the Zen theme by using the [Zen demo repo as a templa * [Credits](#credits) +## Version 4.x + +* Minimum Hugo version is now v0.124.0. This is the reson for making this v4. +* Updated a number of things to remove all "WARN deprecated". +* No other significant changes. + ## Version 3.x * Implement modern CSS like flex, grid and variables throughout. @@ -123,7 +130,7 @@ Quickstart a new site with the Zen theme by using the [Zen demo repo as a templa ## Minimum Hugo version -Hugo Extended version 0.93.0 or higher is required. +Hugo Extended version 0.124.0 or higher is required. ## Installation @@ -140,7 +147,7 @@ From the root of your site: hugo mod init github.com/me/my-site ``` -Then set the "theme" setting to "github.com/frjo/hugo-theme-zen/v3". +Then set the "theme" setting to "github.com/frjo/hugo-theme-zen/v4". From the root of your site: @@ -241,6 +248,10 @@ languageCode: "en-GB" # Set your language code (only needed for none multi params: alpine: true # Add AlpineJS, default false. + author: + name: # Your Name + url: # https://example.org/somepage + avatar: # path/to/some-image.jpg blogSections: # Sections whose `JSON+LD` in the page `` - blog # will be `@type: BlogPosting`. - post # Defaults to a list including only 'post' and 'blog'. diff --git a/assets/libs/alpine.min.js b/assets/libs/alpine.min.js index c6457b8..0593834 100644 --- a/assets/libs/alpine.min.js +++ b/assets/libs/alpine.min.js @@ -1,6 +1,6 @@ -/* Alpine.js 3.13.3 alpinejs.dev */ -(()=>{var tt=!1,rt=!1,V=[],nt=-1;function Vt(e){Sn(e)}function Sn(e){V.includes(e)||V.push(e),An()}function Ee(e){let t=V.indexOf(e);t!==-1&&t>nt&&V.splice(t,1)}function An(){!rt&&!tt&&(tt=!0,queueMicrotask(On))}function On(){tt=!1,rt=!0;for(let e=0;ee.effect(t,{scheduler:r=>{it?Vt(r):r()}}),ot=e.raw}function st(e){k=e}function Wt(e){let t=()=>{};return[n=>{let i=k(n);return e._x_effects||(e._x_effects=new Set,e._x_runEffects=()=>{e._x_effects.forEach(o=>o())}),e._x_effects.add(i),t=()=>{i!==void 0&&(e._x_effects.delete(i),$(i))},i},()=>{t()}]}function q(e,t,r={}){e.dispatchEvent(new CustomEvent(t,{detail:r,bubbles:!0,composed:!0,cancelable:!0}))}function O(e,t){if(typeof ShadowRoot=="function"&&e instanceof ShadowRoot){Array.from(e.children).forEach(i=>O(i,t));return}let r=!1;if(t(e,()=>r=!0),r)return;let n=e.firstElementChild;for(;n;)O(n,t,!1),n=n.nextElementSibling}function v(e,...t){console.warn(`Alpine Warning: ${e}`,...t)}var Gt=!1;function Jt(){Gt&&v("Alpine has already been initialized on this page. Calling Alpine.start() more than once can cause problems."),Gt=!0,document.body||v("Unable to initialize. Trying to load Alpine before `` is available. Did you forget to add `defer` in Alpine's `