diff --git a/assets/lib/typeit/typeit.umd.js b/assets/lib/typeit/typeit.umd.js index afd060fd..453d618c 100644 --- a/assets/lib/typeit/typeit.umd.js +++ b/assets/lib/typeit/typeit.umd.js @@ -1,2 +1,2 @@ // TypeIt by Alex MacArthur - https://typeitjs.com -!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).TypeIt=t()}(this,(function(){"use strict";const e=e=>Array.isArray(e),t=t=>e(t)?t:[t];const s="data-typeit-id",i="ti-cursor",r={started:!1,completed:!1,frozen:!1,destroyed:!1},n={breakLines:!0,cursor:{autoPause:!0,autoPauseDelay:500,animation:{frames:[0,0,1].map((e=>({opacity:e}))),options:{iterations:1/0,easing:"steps(2, start)",fill:"forwards"}}},cursorChar:"|",cursorSpeed:1e3,deleteSpeed:null,html:!0,lifeLike:!0,loop:!1,loopDelay:750,nextStringDelay:750,speed:100,startDelay:250,startDelete:!1,strings:[],waitUntilVisible:!1,beforeString:()=>{},afterString:()=>{},beforeStep:()=>{},afterStep:()=>{},afterComplete:()=>{}},o=`[${s}]:before {content: '.'; display: inline-block; width: 0; visibility: hidden;}`,a=e=>document.createElement(e),u=e=>document.createTextNode(e),l=(e,t="")=>{let s=a("style");s.id=t,s.appendChild(u(e)),document.head.appendChild(s)},h=t=>(e(t)||(t=[t/2,t/2]),t),d=(e,t)=>Math.abs(Math.random()*(e+t-(e-t))+(e-t));let p=e=>e/2;const c=e=>Array.from(e);let m=e=>([...e.childNodes].forEach((e=>{if(e.nodeValue)return[...e.nodeValue].forEach((t=>{e.parentNode.insertBefore(u(t),e)})),void e.remove();m(e)})),e);const f=e=>{let t=document.implementation.createHTMLDocument();return t.body.innerHTML=e,m(t.body)};function y(e,t=!1,s=!1){let r,n=e.querySelector(`.${i}`),o=document.createTreeWalker(e,NodeFilter.SHOW_ALL,{acceptNode:e=>{if(n&&s){if(e.classList?.contains(i))return NodeFilter.FILTER_ACCEPT;if(n.contains(e))return NodeFilter.FILTER_REJECT}return e.classList?.contains(i)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}}),a=[];for(;r=o.nextNode();)r.originalParent||(r.originalParent=r.parentNode),a.push(r);return t?a.reverse():a}function g(e,t=!0){return t?y(f(e)):c(e).map(u)}const b=e=>Number.isInteger(e),P=({queueItems:e,selector:t,cursorPosition:s,to:i})=>{if(b(t))return-1*t;let r=new RegExp("END","i").test(i),n=t?[...e].reverse().findIndex((({char:e})=>{let s=e.parentElement,i=s.matches(t);return!(!r||!i)||i&&s.firstChild.isSameNode(e)})):-1;return n<0&&(n=r?0:e.length-1),n-s+(r?0:1)},C=(e,t)=>new Array(t).fill(e);let v=e=>new Promise((t=>{requestAnimationFrame((async()=>{t(await e())}))})),T=e=>e?.getAnimations().find((t=>t.id===e.dataset.tiAnimationId)),w=({cursor:e,frames:t,options:s})=>{let i=e.animate(t,s);return i.pause(),i.id=e.dataset.tiAnimationId,v((()=>{v((()=>{i.play()}))})),i},I=e=>e.func?.call(null),q=async({index:e,queueItems:t,wait:s,cursor:i,cursorOptions:r})=>{let n=t[e][1],o=[],a=e,u=n,l=()=>u&&!u.delay,h=n.shouldPauseCursor()&&r.autoPause;for(;l();)o.push(u),l()&&a++,u=t[a]?t[a][1]:null;if(o.length)return await v((async()=>{for(let e of o)await I(e)})),a-1;let d,p=T(i);return p&&(d={...p.effect.getComputedTiming(),delay:h?r.autoPauseDelay:0}),await s((async()=>{p&&h&&p.cancel(),await v((()=>{I(n)}))}),n.delay),await(({cursor:e,options:t,cursorOptions:s})=>{if(!e||!s)return;let i,r=T(e);r&&(t.delay=r.effect.getComputedTiming().delay,i=r.currentTime,r.cancel());let n=w({cursor:e,frames:s.animation.frames,options:t});return i&&(n.currentTime=i),n})({cursor:i,options:d,cursorOptions:r}),e};const S=e=>"value"in e;let N=e=>"function"==typeof e?e():e,A=(e,t=document,s=!1)=>t["querySelector"+(s?"All":"")](e);const E=(e,t)=>Object.assign({},e,t);let L={"font-family":"","font-weight":"","font-size":"","font-style":"","line-height":"",color:"",transform:"translateX(-.125em)"};return class{element;timeouts;cursorPosition;predictedCursorPosition;statuses={started:!1,completed:!1,frozen:!1,destroyed:!1};opts;id;queue;cursor;unfreeze=()=>{};constructor(e,s={}){var i;this.opts=E(n,s),this.element="string"==typeof(i=e)?A(i):i,this.timeouts=[],this.cursorPosition=0,this.unfreeze=()=>{},this.predictedCursorPosition=null,this.statuses=E({},r),this.id=Math.random().toString().substring(2,9),this.queue=function(e){let s=function(e){return t(e).forEach((e=>n.set(Symbol(e.char?.innerText),i({...e})))),this},i=e=>(e.shouldPauseCursor=function(){return Boolean(this.typeable||this.cursorable||this.deletable)},e),r=()=>Array.from(n.values()),n=new Map;return s(e),{add:s,set:function(e,t){let s=[...n.keys()];n.set(s[e],i(t))},wipe:function(){n=new Map,s(e)},done:(e,t=!1)=>t?n.delete(e):n.get(e).done=!0,reset:function(){n.forEach((e=>delete e.done))},destroy:e=>n.delete(e),getItems:(e=!1)=>e?r():r().filter((e=>!e.done)),getQueue:()=>n,getTypeable:()=>r().filter((e=>e.typeable))}}([{delay:this.opts.startDelay}]),this.#e(s),this.cursor=this.#t(),this.element.dataset.typeitId=this.id,l(o),this.opts.strings.length&&this.#s()}go(){return this.statuses.started?this:(this.#i(),this.opts.waitUntilVisible?(e=this.element,t=this.#r.bind(this),new IntersectionObserver(((s,i)=>{s.forEach((s=>{s.isIntersecting&&(t(),i.unobserve(e))}))}),{threshold:1}).observe(e),this):(this.#r(),this));var e,t}destroy(e=!0){this.timeouts=(this.timeouts.forEach(clearTimeout),[]),N(e)&&this.cursor&&this.#n(this.cursor),this.statuses.destroyed=!0}reset(e){!this.is("destroyed")&&this.destroy(),e?(this.queue.wipe(),e(this)):this.queue.reset(),this.cursorPosition=0;for(let t in this.statuses)this.statuses[t]=!1;return this.element[this.#o()?"value":"innerHTML"]="",this}is=function(e){return this.statuses[e]};type(e,t={}){e=N(e);let{instant:s}=t,i=this.#a(t),r=g(e,this.opts.html).map((e=>{return{func:()=>this.#u(e),char:e,delay:s||(t=e,/<(.+)>(.*?)<\/(.+)>/.test(t.outerHTML))?0:this.#l(),typeable:e.nodeType===Node.TEXT_NODE};var t})),n=[i[0],{func:async()=>await this.opts.beforeString(e,this)},...r,{func:async()=>await this.opts.afterString(e,this)},i[1]];return this.#h(n,t)}break(e={}){return this.#h({func:()=>this.#u(a("BR")),typeable:!0},e)}move(e,t={}){e=N(e);let s=this.#a(t),{instant:i,to:r}=t,n=P({queueItems:this.queue.getTypeable(),selector:null===e?"":e,to:r,cursorPosition:this.#d}),o=n<0?-1:1;return this.predictedCursorPosition=this.#d+n,this.#h([s[0],...C({func:()=>this.#p(o),delay:i?0:this.#l(),cursorable:!0},Math.abs(n)),s[1]],t)}exec(e,t={}){let s=this.#a(t);return this.#h([s[0],{func:()=>e(this)},s[1]],t)}options(e,t={}){return e=N(e),this.#c(e),this.#h({},t)}pause(e,t={}){return this.#h({delay:N(e)},t)}delete(e=null,t={}){e=N(e);let s=this.#a(t),i=e,{instant:r,to:n}=t,o=this.queue.getTypeable(),a=(()=>null===i?o.length:b(i)?i:P({queueItems:o,selector:i,cursorPosition:this.#d,to:n}))();return this.#h([s[0],...C({func:this.#m.bind(this),delay:r?0:this.#l(1),deletable:!0},a),s[1]],t)}freeze(){this.statuses.frozen=!0}flush(e=(()=>{})){return this.#i(),this.#r(!1).then(e),this}getQueue(){return this.queue}getOptions(){return this.opts}updateOptions(e){return this.#c(e)}getElement(){return this.element}empty(e={}){return this.#h({func:this.#f.bind(this)},e)}async#f(){this.#o()?this.element.value="":this.#y.forEach(this.#n.bind(this))}async#r(e=!0){this.statuses.started=!0;let t=t=>{this.queue.done(t,!e)};try{let s=[...this.queue.getQueue()];for(let e=0;ee+t)).forEach((e=>{let[i]=s[e];t(i)})),e=i}t(i)}}if(!e)return this;if(this.statuses.completed=!0,await this.opts.afterComplete(this),!this.opts.loop)throw"";let i=this.opts.loopDelay;this.#b((async()=>{await this.#P(i[0]),this.#r()}),i[1])}catch(s){}return this}async#p(e){var t,s,r;this.cursorPosition=(t=e,s=this.cursorPosition,r=this.#y,Math.min(Math.max(s+t,0),r.length)),((e,t,s)=>{let r=t[s-1],n=A(`.${i}`,e);(e=r?.parentNode||e).insertBefore(n,r||null)})(this.element,this.#y,this.cursorPosition)}async#P(e){let t=this.#d;t&&await this.#p({value:t});let s=this.#y.map((e=>[Symbol(),{func:this.#m.bind(this),delay:this.#l(1),deletable:!0,shouldPauseCursor:()=>!0}]));for(let i=0;i{this.unfreeze=()=>{this.statuses.frozen=!1,e()}})),s||await this.opts.beforeStep(this),await((e,t,s)=>new Promise((i=>{s.push(setTimeout((async()=>{await e(),i()}),t||0))})))(e,t,this.timeouts),s||await this.opts.afterStep(this)}async#i(){if(!this.#o()&&this.cursor&&this.element.appendChild(this.cursor),this.#C){((e,t)=>{let r=`[${s}='${e}'] .${i}`,n=getComputedStyle(t),o=Object.entries(L).reduce(((e,[t,s])=>`${e} ${t}: var(--ti-cursor-${t}, ${s||n[t]});`),"");l(`${r} { display: inline-block; width: 0; ${o} }`,e)})(this.id,this.element),this.cursor.dataset.tiAnimationId=this.id;let{animation:e}=this.opts.cursor,{frames:t,options:r}=e;w({frames:t,cursor:this.cursor,options:{duration:this.opts.cursorSpeed,...r}})}}#o(){return S(this.element)}#h(e,t){return this.queue.add(e),this.#v(t),this}#v(e={}){let t=e.delay;t&&this.queue.add({delay:t})}#a(e={}){return[{func:()=>this.#c(e)},{func:()=>this.#c(this.opts)}]}async#c(e){this.opts=E(this.opts,e)}#s(){let e=this.opts.strings.filter((e=>!!e));e.forEach(((t,s)=>{if(this.type(t),s+1===e.length)return;let i=this.opts.breakLines?[{func:()=>this.#u(a("BR")),typeable:!0}]:C({func:this.#m.bind(this),delay:this.#l(1)},this.queue.getTypeable().length);this.#T(i)}))}#e=e=>{e.cursor=(e=>{if("object"==typeof e){let t={},{frames:s,options:i}=n.cursor.animation;return t.animation=e.animation||{},t.animation.frames=e.animation?.frames||s,t.animation.options=E(i,e.animation?.options||{}),t.autoPause=e.autoPause??n.cursor.autoPause,t.autoPauseDelay=e.autoPauseDelay||n.cursor.autoPauseDelay,t}return!0===e?n.cursor:e})(e.cursor??n.cursor),this.opts.strings=this.#w(t(this.opts.strings)),this.opts=E(this.opts,{html:!this.#I&&this.opts.html,nextStringDelay:h(this.opts.nextStringDelay),loopDelay:h(this.opts.loopDelay)})};#w(e){let t=this.element.innerHTML;return t?(this.element.innerHTML="",this.opts.startDelete?(this.element.innerHTML=t,m(this.element),this.#T(C({func:this.#m.bind(this),delay:this.#l(1),deletable:!0},this.#y.length)),e):(s=t,s.replace(//g,"").trim().split(//)).concat(e)):e;var s}#t(){if(this.#I)return null;let e=a("span");return e.className=i,this.#C?(e.innerHTML=f(this.opts.cursorChar).innerHTML,e):(e.style.visibility="hidden",e)}#T(e){let t=this.opts.nextStringDelay;this.queue.add([{delay:t[0]},...e,{delay:t[1]}])}#u(e){((e,t)=>{if(S(e))return void(e.value=`${e.value}${t.textContent}`);t.innerHTML="";let s=(r=t.originalParent,/body/i.test(r?.tagName)?e:t.originalParent||e);var r;s.insertBefore(t,A("."+i,s)||null)})(this.element,e)}#m(){this.#y.length&&(this.#I?this.element.value=this.element.value.slice(0,-1):this.#n(this.#y[this.cursorPosition]))}#n(e){((e,t)=>{if(!e)return;let s=e.parentNode;(s.childNodes.length>1||s.isSameNode(t)?e:s).remove()})(e,this.element)}#l(e=0){return function(e){let{speed:t,deleteSpeed:s,lifeLike:i}=e;return s=null!==s?s:t/3,i?[d(t,p(t)),d(s,p(s))]:[t,s]}(this.opts)[e]}get#d(){return this.predictedCursorPosition??this.cursorPosition}get#I(){return S(this.element)}get#C(){return!!this.opts.cursor&&!this.#I}get#y(){return e=this.element,S(e)?c(e.value):y(e,!0).filter((e=>!(e.childNodes.length>0)));var e}}})); +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).TypeIt=t()}(this,(function(){"use strict";const e=e=>Array.isArray(e),t=t=>e(t)?t:[t];const s="data-typeit-id",i="ti-cursor",r={started:!1,completed:!1,frozen:!1,destroyed:!1},n={breakLines:!0,cursor:{autoPause:!0,autoPauseDelay:500,animation:{frames:[0,0,1].map((e=>({opacity:e}))),options:{iterations:1/0,easing:"steps(2, start)",fill:"forwards"}}},cursorChar:"|",cursorSpeed:1e3,deleteSpeed:null,html:!0,lifeLike:!0,loop:!1,loopDelay:750,nextStringDelay:750,speed:100,startDelay:250,startDelete:!1,strings:[],waitUntilVisible:!1,beforeString:()=>{},afterString:()=>{},beforeStep:()=>{},afterStep:()=>{},afterComplete:()=>{}},o=`[${s}]:before {content: '.'; display: inline-block; width: 0; visibility: hidden;}`,a=e=>document.createElement(e),u=e=>document.createTextNode(e),l=(e,t="")=>{let s=a("style");s.id=t,s.appendChild(u(e)),document.head.appendChild(s)},h=t=>(e(t)||(t=[t/2,t/2]),t),d=(e,t)=>Math.abs(Math.random()*(e+t-(e-t))+(e-t));let p=e=>e/2;const c=e=>Array.from(e);let m=e=>([...e.childNodes].forEach((e=>{if(e.nodeValue)return[...e.nodeValue].forEach((t=>{e.parentNode.insertBefore(u(t),e)})),void e.remove();m(e)})),e);const f=e=>{let t=document.implementation.createHTMLDocument();return t.body.innerHTML=e,m(t.body)};function y(e,t=!1,s=!1){let r,n=e.querySelector(`.${i}`),o=document.createTreeWalker(e,NodeFilter.SHOW_ALL,{acceptNode:e=>{if(n&&s){if(e.classList?.contains(i))return NodeFilter.FILTER_ACCEPT;if(n.contains(e))return NodeFilter.FILTER_REJECT}return e.classList?.contains(i)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}}),a=[];for(;r=o.nextNode();)r.originalParent||(r.originalParent=r.parentNode),a.push(r);return t?a.reverse():a}function g(e,t=!0){return t?y(f(e)):c(e).map(u)}const b=({index:e,newIndex:t,queueItems:s,cleanUp:i})=>{for(let r=e+1;rNumber.isInteger(e),C=({queueItems:e,selector:t,cursorPosition:s,to:i})=>{if(P(t))return-1*t;let r=new RegExp("END","i").test(i),n=t?[...e].reverse().findIndex((({char:e})=>{let s=e.parentElement,i=s.matches(t);return!(!r||!i)||i&&s.firstChild.isSameNode(e)})):-1;return n<0&&(n=r?0:e.length-1),n-s+(r?0:1)},I=(e,t)=>new Array(t).fill(e);let v=e=>new Promise((t=>{requestAnimationFrame((async()=>{t(await e())}))})),w=e=>e?.getAnimations().find((t=>t.id===e.dataset.tiAnimationId)),T=({cursor:e,frames:t,options:s})=>{let i=e.animate(t,s);return i.pause(),i.id=e.dataset.tiAnimationId,v((()=>{v((()=>{i.play()}))})),i},q=e=>e.func?.call(null),S=async({index:e,queueItems:t,wait:s,cursor:i,cursorOptions:r})=>{let n=t[e][1],o=[],a=e,u=n,l=()=>u&&!u.delay,h=n.shouldPauseCursor()&&r.autoPause;for(;l();)o.push(u),l()&&a++,u=t[a]?t[a][1]:null;if(o.length)return await v((async()=>{for(let e of o)await q(e)})),a-1;let d,p=w(i);return p&&(d={...p.effect.getComputedTiming(),delay:h?r.autoPauseDelay:0}),await s((async()=>{p&&h&&p.cancel(),await v((()=>{q(n)}))}),n.delay),await(({cursor:e,options:t,cursorOptions:s})=>{if(!e||!s)return;let i,r=w(e);r&&(t.delay=r.effect.getComputedTiming().delay,i=r.currentTime,r.cancel());let n=T({cursor:e,frames:s.animation.frames,options:t});return i&&(n.currentTime=i),n})({cursor:i,options:d,cursorOptions:r}),e};const N=e=>"value"in e;let A=e=>"function"==typeof e?e():e,E=(e,t=document,s=!1)=>t["querySelector"+(s?"All":"")](e);const L=(e,t)=>Object.assign({},e,t);let x={"font-family":"","font-weight":"","font-size":"","font-style":"","line-height":"",color:"",transform:"translateX(-.125em)"};return class{element;timeouts;cursorPosition;predictedCursorPosition;statuses={started:!1,completed:!1,frozen:!1,destroyed:!1};opts;id;queue;cursor;unfreeze=()=>{};constructor(e,s={}){var i;this.opts=L(n,s),this.element="string"==typeof(i=e)?E(i):i,this.timeouts=[],this.cursorPosition=0,this.unfreeze=()=>{},this.predictedCursorPosition=null,this.statuses=L({},r),this.id=Math.random().toString().substring(2,9),this.queue=function(e){let s=function(e){return t(e).forEach((e=>n.set(Symbol(e.char?.innerText),i({...e})))),this},i=e=>(e.shouldPauseCursor=function(){return Boolean(this.typeable||this.cursorable||this.deletable)},e),r=()=>Array.from(n.values()),n=new Map;return s(e),{add:s,set:function(e,t){let s=[...n.keys()];n.set(s[e],i(t))},wipe:function(){n=new Map,s(e)},done:(e,t=!1)=>t?n.delete(e):n.get(e).done=!0,reset:function(){n.forEach((e=>delete e.done))},destroy:e=>n.delete(e),getItems:(e=!1)=>e?r():r().filter((e=>!e.done)),getQueue:()=>n,getTypeable:()=>r().filter((e=>e.typeable))}}([{delay:this.opts.startDelay}]),this.#e(s),this.cursor=this.#t(),this.element.dataset.typeitId=this.id,l(o),this.opts.strings.length&&this.#s()}go(){return this.statuses.started?this:(this.#i(),this.opts.waitUntilVisible?(e=this.element,t=this.#r.bind(this),new IntersectionObserver(((s,i)=>{s.forEach((s=>{s.isIntersecting&&(t(),i.unobserve(e))}))}),{threshold:1}).observe(e),this):(this.#r(),this));var e,t}destroy(e=!0){this.timeouts=(this.timeouts.forEach(clearTimeout),[]),A(e)&&this.cursor&&this.#n(this.cursor),this.statuses.destroyed=!0}reset(e){!this.is("destroyed")&&this.destroy(),e?(this.queue.wipe(),e(this)):this.queue.reset(),this.cursorPosition=0;for(let t in this.statuses)this.statuses[t]=!1;return this.element[this.#o()?"value":"innerHTML"]="",this}is=function(e){return this.statuses[e]};type(e,t={}){e=A(e);let{instant:s}=t,i=this.#a(t),r=g(e,this.opts.html).map((e=>{return{func:()=>this.#u(e),char:e,delay:s||(t=e,/<(.+)>(.*?)<\/(.+)>/.test(t.outerHTML))?0:this.#l(),typeable:e.nodeType===Node.TEXT_NODE};var t})),n=[i[0],{func:async()=>await this.opts.beforeString(e,this)},...r,{func:async()=>await this.opts.afterString(e,this)},i[1]];return this.#h(n,t)}break(e={}){return this.#h({func:()=>this.#u(a("BR")),typeable:!0},e)}move(e,t={}){e=A(e);let s=this.#a(t),{instant:i,to:r}=t,n=C({queueItems:this.queue.getTypeable(),selector:null===e?"":e,to:r,cursorPosition:this.#d}),o=n<0?-1:1;return this.predictedCursorPosition=this.#d+n,this.#h([s[0],...I({func:()=>this.#p(o),delay:i?0:this.#l(),cursorable:!0},Math.abs(n)),s[1]],t)}exec(e,t={}){let s=this.#a(t);return this.#h([s[0],{func:()=>e(this)},s[1]],t)}options(e,t={}){return e=A(e),this.#c(e),this.#h({},t)}pause(e,t={}){return this.#h({delay:A(e)},t)}delete(e=null,t={}){e=A(e);let s=this.#a(t),i=e,{instant:r,to:n}=t,o=this.queue.getTypeable(),a=(()=>null===i?o.length:P(i)?i:C({queueItems:o,selector:i,cursorPosition:this.#d,to:n}))();return this.#h([s[0],...I({func:this.#m.bind(this),delay:r?0:this.#l(1),deletable:!0},a),s[1]],t)}freeze(){this.statuses.frozen=!0}flush(e=()=>{}){return this.#i(),this.#r(!1).then(e),this}getQueue(){return this.queue}getOptions(){return this.opts}updateOptions(e){return this.#c(e)}getElement(){return this.element}empty(e={}){return this.#h({func:this.#f.bind(this)},e)}async#f(){this.#o()?this.element.value="":this.#y.forEach(this.#n.bind(this))}async#r(e=!0){this.statuses.started=!0;let t=t=>{this.queue.done(t,!e)};try{let s=[...this.queue.getQueue()];for(let e=0;e{await this.#P(i[0]),this.#r()}),i[1])}catch(s){}return this}async#p(e){var t,s,r;this.cursorPosition=(t=e,s=this.cursorPosition,r=this.#y,Math.min(Math.max(s+t,0),r.length)),((e,t,s)=>{let r=t[s-1],n=E(`.${i}`,e);(e=r?.parentNode||e).insertBefore(n,r||null)})(this.element,this.#y,this.cursorPosition)}async#P(e){let t=this.#d;t&&await this.#p({value:t});let s=this.#y.map((e=>[Symbol(),{func:this.#m.bind(this),delay:this.#l(1),deletable:!0,shouldPauseCursor:()=>!0}]));for(let i=0;i{this.unfreeze=()=>{this.statuses.frozen=!1,e()}})),s||await this.opts.beforeStep(this),await((e,t,s)=>new Promise((i=>{s.push(setTimeout((async()=>{await e(),i()}),t||0))})))(e,t,this.timeouts),s||await this.opts.afterStep(this)}async#i(){if(!this.#o()&&this.cursor&&this.element.appendChild(this.cursor),this.#C){((e,t)=>{let r=`[${s}='${e}'] .${i}`,n=getComputedStyle(t),o=Object.entries(x).reduce(((e,[t,s])=>`${e} ${t}: var(--ti-cursor-${t}, ${s||n[t]});`),"");l(`${r} { display: inline-block; width: 0; ${o} }`,e)})(this.id,this.element),this.cursor.dataset.tiAnimationId=this.id;let{animation:e}=this.opts.cursor,{frames:t,options:r}=e;T({frames:t,cursor:this.cursor,options:{duration:this.opts.cursorSpeed,...r}})}}#o(){return N(this.element)}#h(e,t){return this.queue.add(e),this.#I(t),this}#I(e={}){let t=e.delay;t&&this.queue.add({delay:t})}#a(e={}){return[{func:()=>this.#c(e)},{func:()=>this.#c(this.opts)}]}async#c(e){this.opts=L(this.opts,e)}#s(){let e=this.opts.strings.filter((e=>!!e));e.forEach(((t,s)=>{if(this.type(t),s+1===e.length)return;let i=this.opts.breakLines?[{func:()=>this.#u(a("BR")),typeable:!0}]:I({func:this.#m.bind(this),delay:this.#l(1)},this.queue.getTypeable().length);this.#v(i)}))}#e=e=>{e.cursor=(e=>{if("object"==typeof e){let t={},{frames:s,options:i}=n.cursor.animation;return t.animation=e.animation||{},t.animation.frames=e.animation?.frames||s,t.animation.options=L(i,e.animation?.options||{}),t.autoPause=e.autoPause??n.cursor.autoPause,t.autoPauseDelay=e.autoPauseDelay||n.cursor.autoPauseDelay,t}return!0===e?n.cursor:e})(e.cursor??n.cursor),this.opts.strings=this.#w(t(this.opts.strings)),this.opts=L(this.opts,{html:!this.#T&&this.opts.html,nextStringDelay:h(this.opts.nextStringDelay),loopDelay:h(this.opts.loopDelay)})};#w(e){let t=this.element.innerHTML;return t?(this.element.innerHTML="",this.opts.startDelete?(this.element.innerHTML=t,m(this.element),this.#v(I({func:this.#m.bind(this),delay:this.#l(1),deletable:!0},this.#y.length)),e):(s=t,s.replace(//g,"").trim().split(//)).concat(e)):e;var s}#t(){if(this.#T)return null;let e=a("span");return e.className=i,this.#C?(e.innerHTML=f(this.opts.cursorChar).innerHTML,e):(e.style.visibility="hidden",e)}#v(e){let t=this.opts.nextStringDelay;this.queue.add([{delay:t[0]},...e,{delay:t[1]}])}#u(e){((e,t)=>{if(N(e))return void(e.value=`${e.value}${t.textContent}`);t.innerHTML="";let s=(r=t.originalParent,/body/i.test(r?.tagName)?e:t.originalParent||e);var r;s.insertBefore(t,E("."+i,s)||null)})(this.element,e)}#m(){this.#y.length&&(this.#T?this.element.value=this.element.value.slice(0,-1):this.#n(this.#y[this.cursorPosition]))}#n(e){((e,t)=>{if(!e)return;let s=e.parentNode;(s.childNodes.length>1||s.isSameNode(t)?e:s).remove()})(e,this.element)}#l(e=0){return function(e){let{speed:t,deleteSpeed:s,lifeLike:i}=e;return s=null!==s?s:t/3,i?[d(t,p(t)),d(s,p(s))]:[t,s]}(this.opts)[e]}get#d(){return this.predictedCursorPosition??this.cursorPosition}get#T(){return N(this.element)}get#C(){return!!this.opts.cursor&&!this.#T}get#y(){return e=this.element,N(e)?c(e.value):y(e,!0).filter((e=>!(e.childNodes.length>0)));var e}}})); diff --git a/exampleSite/config/_default/languages.en.toml b/exampleSite/config/_default/languages.en.toml index 4cfc2531..672bb394 100644 --- a/exampleSite/config/_default/languages.en.toml +++ b/exampleSite/config/_default/languages.en.toml @@ -13,6 +13,7 @@ title = "Blowfish" [author] name = "Blowfish" + email = "nuno@n9o.xyz" image = "img/blowfish_logo.png" headline = "A powerful, lightweight theme for Hugo." bio = "A powerful, lightweight theme for Hugo." diff --git a/exampleSite/config/_default/params.toml b/exampleSite/config/_default/params.toml index 6912695a..fc116a15 100644 --- a/exampleSite/config/_default/params.toml +++ b/exampleSite/config/_default/params.toml @@ -12,11 +12,14 @@ autoSwitchAppearance = true enableSearch = true enableCodeCopy = true +replyByEmail = false + mainSections = ["docs"] # robots = "" disableImageOptimization = false disableTextInHeader = false +# backgroundImageWidth = 1200 defaultBackgroundImage = "/img/background.svg" defaultFeaturedImage = "/img/featured.svg" diff --git a/exampleSite/content/users/50-nuances-octets.fr/feature.jpg b/exampleSite/content/users/50-nuances-octets.fr/feature.jpg index 2be225c5..a587900d 100644 Binary files a/exampleSite/content/users/50-nuances-octets.fr/feature.jpg and b/exampleSite/content/users/50-nuances-octets.fr/feature.jpg differ diff --git a/exampleSite/content/users/Adam Madej - Gameplay Animator/feature.jpg b/exampleSite/content/users/Adam Madej - Gameplay Animator/feature.jpg index 6b998691..ab68c825 100644 Binary files a/exampleSite/content/users/Adam Madej - Gameplay Animator/feature.jpg and b/exampleSite/content/users/Adam Madej - Gameplay Animator/feature.jpg differ diff --git a/exampleSite/content/users/Beauty Formulation/feature.jpg b/exampleSite/content/users/Beauty Formulation/feature.jpg index bef6b8c9..1eb49f55 100644 Binary files a/exampleSite/content/users/Beauty Formulation/feature.jpg and b/exampleSite/content/users/Beauty Formulation/feature.jpg differ diff --git a/exampleSite/content/users/BoringTech.net/feature.jpg b/exampleSite/content/users/BoringTech.net/feature.jpg index d517a0ca..b3765f1d 100644 Binary files a/exampleSite/content/users/BoringTech.net/feature.jpg and b/exampleSite/content/users/BoringTech.net/feature.jpg differ diff --git a/exampleSite/content/users/DXPetti.com/feature.jpg b/exampleSite/content/users/DXPetti.com/feature.jpg index 9dd94c33..596f7954 100644 Binary files a/exampleSite/content/users/DXPetti.com/feature.jpg and b/exampleSite/content/users/DXPetti.com/feature.jpg differ diff --git a/exampleSite/content/users/Ignacio Conde/feature.jpg b/exampleSite/content/users/Ignacio Conde/feature.jpg index 8752ddb2..3fdd71d3 100644 Binary files a/exampleSite/content/users/Ignacio Conde/feature.jpg and b/exampleSite/content/users/Ignacio Conde/feature.jpg differ diff --git a/exampleSite/content/users/Jinbo Pan - Blog/feature.jpg b/exampleSite/content/users/Jinbo Pan - Blog/feature.jpg index a2ed45e9..6710ffff 100644 Binary files a/exampleSite/content/users/Jinbo Pan - Blog/feature.jpg and b/exampleSite/content/users/Jinbo Pan - Blog/feature.jpg differ diff --git a/exampleSite/content/users/Joshua Blais/feature.jpg b/exampleSite/content/users/Joshua Blais/feature.jpg index 08bca2ef..9f242d57 100644 Binary files a/exampleSite/content/users/Joshua Blais/feature.jpg and b/exampleSite/content/users/Joshua Blais/feature.jpg differ diff --git a/exampleSite/content/users/MEM v ENNBEE/feature.jpg b/exampleSite/content/users/MEM v ENNBEE/feature.jpg index ff6cbcf6..191cb1bc 100644 Binary files a/exampleSite/content/users/MEM v ENNBEE/feature.jpg and b/exampleSite/content/users/MEM v ENNBEE/feature.jpg differ diff --git a/exampleSite/content/users/Mare_Infinitus/feature.jpg b/exampleSite/content/users/Mare_Infinitus/feature.jpg index 43545ace..d6ca91d8 100644 Binary files a/exampleSite/content/users/Mare_Infinitus/feature.jpg and b/exampleSite/content/users/Mare_Infinitus/feature.jpg differ diff --git a/exampleSite/content/users/Middle of Nowhere/feature.jpg b/exampleSite/content/users/Middle of Nowhere/feature.jpg index ab2ae31f..4db9c345 100644 Binary files a/exampleSite/content/users/Middle of Nowhere/feature.jpg and b/exampleSite/content/users/Middle of Nowhere/feature.jpg differ diff --git a/exampleSite/content/users/UmmIt - Blog/feature.jpg b/exampleSite/content/users/UmmIt - Blog/feature.jpg index 915973d9..864c5552 100644 Binary files a/exampleSite/content/users/UmmIt - Blog/feature.jpg and b/exampleSite/content/users/UmmIt - Blog/feature.jpg differ diff --git a/exampleSite/content/users/aakashnand.com/feature.jpg b/exampleSite/content/users/aakashnand.com/feature.jpg index ec1b2f42..5515df20 100644 Binary files a/exampleSite/content/users/aakashnand.com/feature.jpg and b/exampleSite/content/users/aakashnand.com/feature.jpg differ diff --git a/exampleSite/content/users/adilhyz.github.io/feature.jpg b/exampleSite/content/users/adilhyz.github.io/feature.jpg index 4a4f2baa..3d5368aa 100644 Binary files a/exampleSite/content/users/adilhyz.github.io/feature.jpg and b/exampleSite/content/users/adilhyz.github.io/feature.jpg differ diff --git a/exampleSite/content/users/adir1.com/feature.jpg b/exampleSite/content/users/adir1.com/feature.jpg index 151a6a85..ac030a31 100644 Binary files a/exampleSite/content/users/adir1.com/feature.jpg and b/exampleSite/content/users/adir1.com/feature.jpg differ diff --git a/exampleSite/content/users/alanctanner.com/feature.jpg b/exampleSite/content/users/alanctanner.com/feature.jpg index 4290b0cc..c852bf32 100644 Binary files a/exampleSite/content/users/alanctanner.com/feature.jpg and b/exampleSite/content/users/alanctanner.com/feature.jpg differ diff --git a/exampleSite/content/users/alejandro-ao.com/feature.jpg b/exampleSite/content/users/alejandro-ao.com/feature.jpg index 33f3ce0b..74dd281a 100644 Binary files a/exampleSite/content/users/alejandro-ao.com/feature.jpg and b/exampleSite/content/users/alejandro-ao.com/feature.jpg differ diff --git a/exampleSite/content/users/asterisk.lol/feature.jpg b/exampleSite/content/users/asterisk.lol/feature.jpg index b68f48c7..03ab9e54 100644 Binary files a/exampleSite/content/users/asterisk.lol/feature.jpg and b/exampleSite/content/users/asterisk.lol/feature.jpg differ diff --git a/exampleSite/content/users/blog.enmanuelmoreira.com/feature.jpg b/exampleSite/content/users/blog.enmanuelmoreira.com/feature.jpg index 3377a02d..6e19f11a 100644 Binary files a/exampleSite/content/users/blog.enmanuelmoreira.com/feature.jpg and b/exampleSite/content/users/blog.enmanuelmoreira.com/feature.jpg differ diff --git a/exampleSite/content/users/blog.muffn.io/feature.jpg b/exampleSite/content/users/blog.muffn.io/feature.jpg index 3e98c058..8928a4fb 100644 Binary files a/exampleSite/content/users/blog.muffn.io/feature.jpg and b/exampleSite/content/users/blog.muffn.io/feature.jpg differ diff --git a/exampleSite/content/users/blog.stonegarden.dev/feature.jpg b/exampleSite/content/users/blog.stonegarden.dev/feature.jpg index 3d5cc2cf..1ebacf90 100644 Binary files a/exampleSite/content/users/blog.stonegarden.dev/feature.jpg and b/exampleSite/content/users/blog.stonegarden.dev/feature.jpg differ diff --git a/exampleSite/content/users/clemsau.com/feature.jpg b/exampleSite/content/users/clemsau.com/feature.jpg index 99017d85..c6a0dde8 100644 Binary files a/exampleSite/content/users/clemsau.com/feature.jpg and b/exampleSite/content/users/clemsau.com/feature.jpg differ diff --git a/exampleSite/content/users/code-chimp.com/feature.jpg b/exampleSite/content/users/code-chimp.com/feature.jpg index 873ff454..e76e46e5 100644 Binary files a/exampleSite/content/users/code-chimp.com/feature.jpg and b/exampleSite/content/users/code-chimp.com/feature.jpg differ diff --git a/exampleSite/content/users/cuttontail.blog/feature.jpg b/exampleSite/content/users/cuttontail.blog/feature.jpg index d5554bc4..fe93f6a3 100644 Binary files a/exampleSite/content/users/cuttontail.blog/feature.jpg and b/exampleSite/content/users/cuttontail.blog/feature.jpg differ diff --git a/exampleSite/content/users/deepumohan.com-tech/feature.jpg b/exampleSite/content/users/deepumohan.com-tech/feature.jpg index 40b348f3..c88a2a0b 100644 Binary files a/exampleSite/content/users/deepumohan.com-tech/feature.jpg and b/exampleSite/content/users/deepumohan.com-tech/feature.jpg differ diff --git a/exampleSite/content/users/dizzytech.de/feature.jpg b/exampleSite/content/users/dizzytech.de/feature.jpg index e2ec4cb6..0580cf26 100644 Binary files a/exampleSite/content/users/dizzytech.de/feature.jpg and b/exampleSite/content/users/dizzytech.de/feature.jpg differ diff --git a/exampleSite/content/users/eallion.com/feature.jpg b/exampleSite/content/users/eallion.com/feature.jpg index 9ba72998..2ba4f768 100644 Binary files a/exampleSite/content/users/eallion.com/feature.jpg and b/exampleSite/content/users/eallion.com/feature.jpg differ diff --git a/exampleSite/content/users/fahru.my.id/feature.jpg b/exampleSite/content/users/fahru.my.id/feature.jpg index 12f90e2e..0e626478 100644 Binary files a/exampleSite/content/users/fahru.my.id/feature.jpg and b/exampleSite/content/users/fahru.my.id/feature.jpg differ diff --git a/exampleSite/content/users/fugugames.com/feature.jpg b/exampleSite/content/users/fugugames.com/feature.jpg index 62fad76b..b56a551a 100644 Binary files a/exampleSite/content/users/fugugames.com/feature.jpg and b/exampleSite/content/users/fugugames.com/feature.jpg differ diff --git a/exampleSite/content/users/gma.name/feature.jpg b/exampleSite/content/users/gma.name/feature.jpg index ac687532..3e98e2f1 100644 Binary files a/exampleSite/content/users/gma.name/feature.jpg and b/exampleSite/content/users/gma.name/feature.jpg differ diff --git a/exampleSite/content/users/halcyonstraits.com/feature.jpg b/exampleSite/content/users/halcyonstraits.com/feature.jpg index 8071a009..285c1245 100644 Binary files a/exampleSite/content/users/halcyonstraits.com/feature.jpg and b/exampleSite/content/users/halcyonstraits.com/feature.jpg differ diff --git a/exampleSite/content/users/hyperbowl3d.com/feature.jpg b/exampleSite/content/users/hyperbowl3d.com/feature.jpg index 4eb58186..672a2db2 100644 Binary files a/exampleSite/content/users/hyperbowl3d.com/feature.jpg and b/exampleSite/content/users/hyperbowl3d.com/feature.jpg differ diff --git a/exampleSite/content/users/hyperbowl3d.com/index.it.md b/exampleSite/content/users/hyperbowl3d.com/index.it.md index 46d9873c..f58fa1de 100644 --- a/exampleSite/content/users/hyperbowl3d.com/index.it.md +++ b/exampleSite/content/users/hyperbowl3d.com/index.it.md @@ -1,6 +1,6 @@ --- title: "hyperbowl3d.com" - tags: [Sito di giochi] + tags: [Sito di gioco] externalUrl: "https://hyperbowl3d.com/" weight: 291 showDate: false diff --git a/exampleSite/content/users/innerknowing/feature.jpg b/exampleSite/content/users/innerknowing/feature.jpg index 3ce2835a..91f0be51 100644 Binary files a/exampleSite/content/users/innerknowing/feature.jpg and b/exampleSite/content/users/innerknowing/feature.jpg differ diff --git a/exampleSite/content/users/insidemordecai.com/feature.jpg b/exampleSite/content/users/insidemordecai.com/feature.jpg index 8921f120..88fb9b96 100644 Binary files a/exampleSite/content/users/insidemordecai.com/feature.jpg and b/exampleSite/content/users/insidemordecai.com/feature.jpg differ diff --git a/exampleSite/content/users/jamiemoxon.tech/feature.jpg b/exampleSite/content/users/jamiemoxon.tech/feature.jpg index 2d0194da..7e6c9058 100644 Binary files a/exampleSite/content/users/jamiemoxon.tech/feature.jpg and b/exampleSite/content/users/jamiemoxon.tech/feature.jpg differ diff --git a/exampleSite/content/users/joush007.github.io/feature.jpg b/exampleSite/content/users/joush007.github.io/feature.jpg index 5faa2b12..9e070054 100644 Binary files a/exampleSite/content/users/joush007.github.io/feature.jpg and b/exampleSite/content/users/joush007.github.io/feature.jpg differ diff --git a/exampleSite/content/users/jundimubarok.com/feature.jpg b/exampleSite/content/users/jundimubarok.com/feature.jpg index 63c765e3..cf7441ab 100644 Binary files a/exampleSite/content/users/jundimubarok.com/feature.jpg and b/exampleSite/content/users/jundimubarok.com/feature.jpg differ diff --git a/exampleSite/content/users/karlukle.site/feature.jpg b/exampleSite/content/users/karlukle.site/feature.jpg index 4a786b61..b50c8304 100644 Binary files a/exampleSite/content/users/karlukle.site/feature.jpg and b/exampleSite/content/users/karlukle.site/feature.jpg differ diff --git a/exampleSite/content/users/kumacat.pages.dev/feature.jpg b/exampleSite/content/users/kumacat.pages.dev/feature.jpg new file mode 100644 index 00000000..46a75edb Binary files /dev/null and b/exampleSite/content/users/kumacat.pages.dev/feature.jpg differ diff --git a/exampleSite/content/users/kumacat.pages.dev/index.it.md b/exampleSite/content/users/kumacat.pages.dev/index.it.md new file mode 100644 index 00000000..24984c09 --- /dev/null +++ b/exampleSite/content/users/kumacat.pages.dev/index.it.md @@ -0,0 +1,14 @@ +--- + title: "kumacat.pages.dev" + tags: [Sito personale, Blog] + externalUrl: "https://kumacat.pages.dev" + weight: 881 + showDate: false + showAuthor: false + showReadingTime: false + showEdit: false + showLikes: false + showViews: false + layoutBackgroundHeaderSpace: false + --- + diff --git a/exampleSite/content/users/kumacat.pages.dev/index.ja.md b/exampleSite/content/users/kumacat.pages.dev/index.ja.md new file mode 100644 index 00000000..32ddc715 --- /dev/null +++ b/exampleSite/content/users/kumacat.pages.dev/index.ja.md @@ -0,0 +1,14 @@ +--- + title: "kumacat.pages.dev" + tags: [個人サイト, ブログ] + externalUrl: "https://kumacat.pages.dev" + weight: 881 + showDate: false + showAuthor: false + showReadingTime: false + showEdit: false + showLikes: false + showViews: false + layoutBackgroundHeaderSpace: false + --- + diff --git a/exampleSite/content/users/kumacat.pages.dev/index.md b/exampleSite/content/users/kumacat.pages.dev/index.md new file mode 100644 index 00000000..8511f387 --- /dev/null +++ b/exampleSite/content/users/kumacat.pages.dev/index.md @@ -0,0 +1,13 @@ +--- + title: "kumacat.pages.dev" + tags: [Personal Site,Blog] + externalUrl: "https://kumacat.pages.dev" + weight: 881 + showDate: false + showAuthor: false + showReadingTime: false + showEdit: false + showLikes: false + showViews: false + layoutBackgroundHeaderSpace: false + --- diff --git a/exampleSite/content/users/kumacat.pages.dev/index.zh-cn.md b/exampleSite/content/users/kumacat.pages.dev/index.zh-cn.md new file mode 100644 index 00000000..6349bd64 --- /dev/null +++ b/exampleSite/content/users/kumacat.pages.dev/index.zh-cn.md @@ -0,0 +1,14 @@ +--- + title: "kumacat.pages.dev" + tags: [个人网站, 博客] + externalUrl: "https://kumacat.pages.dev" + weight: 881 + showDate: false + showAuthor: false + showReadingTime: false + showEdit: false + showLikes: false + showViews: false + layoutBackgroundHeaderSpace: false + --- + diff --git a/exampleSite/content/users/lelouvincx.github.io/feature.jpg b/exampleSite/content/users/lelouvincx.github.io/feature.jpg index a7687aae..944d7350 100644 Binary files a/exampleSite/content/users/lelouvincx.github.io/feature.jpg and b/exampleSite/content/users/lelouvincx.github.io/feature.jpg differ diff --git a/exampleSite/content/users/loisvelasco.is-a.dev/feature.jpg b/exampleSite/content/users/loisvelasco.is-a.dev/feature.jpg index 0f7ae44c..07569836 100644 Binary files a/exampleSite/content/users/loisvelasco.is-a.dev/feature.jpg and b/exampleSite/content/users/loisvelasco.is-a.dev/feature.jpg differ diff --git a/exampleSite/content/users/mariuskimmina.com/feature.jpg b/exampleSite/content/users/mariuskimmina.com/feature.jpg index 2b1eee99..7481f0dc 100644 Binary files a/exampleSite/content/users/mariuskimmina.com/feature.jpg and b/exampleSite/content/users/mariuskimmina.com/feature.jpg differ diff --git a/exampleSite/content/users/marupanda.art-marucomics/feature.jpg b/exampleSite/content/users/marupanda.art-marucomics/feature.jpg index 8461cbaf..92aea01d 100644 Binary files a/exampleSite/content/users/marupanda.art-marucomics/feature.jpg and b/exampleSite/content/users/marupanda.art-marucomics/feature.jpg differ diff --git a/exampleSite/content/users/mayer.life/feature.jpg b/exampleSite/content/users/mayer.life/feature.jpg index d621626d..03ec6b57 100644 Binary files a/exampleSite/content/users/mayer.life/feature.jpg and b/exampleSite/content/users/mayer.life/feature.jpg differ diff --git a/exampleSite/content/users/micheledinelli.github.io/feature.jpg b/exampleSite/content/users/micheledinelli.github.io/feature.jpg index 0aa6e7fd..51499721 100644 Binary files a/exampleSite/content/users/micheledinelli.github.io/feature.jpg and b/exampleSite/content/users/micheledinelli.github.io/feature.jpg differ diff --git a/exampleSite/content/users/micheledinelli.github.io/index.it.md b/exampleSite/content/users/micheledinelli.github.io/index.it.md index d0b85953..26409775 100644 --- a/exampleSite/content/users/micheledinelli.github.io/index.it.md +++ b/exampleSite/content/users/micheledinelli.github.io/index.it.md @@ -1,8 +1,8 @@ --- title: "micheledinelli.github.io" - tags: [Blog, Sito personale, Accademia] + tags: [Sito personale, Sito portfolio, Accademia] externalUrl: "https://micheledinelli.github.io" - weight: 777 + weight: 871 showDate: false showAuthor: false showReadingTime: false @@ -10,6 +10,5 @@ showLikes: false showViews: false layoutBackgroundHeaderSpace: false - ---- + --- diff --git a/exampleSite/content/users/micheledinelli.github.io/index.ja.md b/exampleSite/content/users/micheledinelli.github.io/index.ja.md index 0ec849fb..6dc4e41f 100644 --- a/exampleSite/content/users/micheledinelli.github.io/index.ja.md +++ b/exampleSite/content/users/micheledinelli.github.io/index.ja.md @@ -1,8 +1,8 @@ --- title: "micheledinelli.github.io" - tags: [ブログ, 個人サイト, 学術界] + tags: [個人サイト, ポートフォリオサイト, 学術界] externalUrl: "https://micheledinelli.github.io" - weight: 777 + weight: 871 showDate: false showAuthor: false showReadingTime: false @@ -10,6 +10,5 @@ showLikes: false showViews: false layoutBackgroundHeaderSpace: false - ---- + --- diff --git a/exampleSite/content/users/micheledinelli.github.io/index.md b/exampleSite/content/users/micheledinelli.github.io/index.md index 3026d362..4b586b44 100644 --- a/exampleSite/content/users/micheledinelli.github.io/index.md +++ b/exampleSite/content/users/micheledinelli.github.io/index.md @@ -1,8 +1,8 @@ --- title: "micheledinelli.github.io" - tags: [Blog,Personal Site,Academia] + tags: [Personal Site,Portfolio Site,Academia] externalUrl: "https://micheledinelli.github.io" - weight: 777 + weight: 871 showDate: false showAuthor: false showReadingTime: false @@ -10,6 +10,4 @@ showLikes: false showViews: false layoutBackgroundHeaderSpace: false - ---- - + --- diff --git a/exampleSite/content/users/micheledinelli.github.io/index.zh-cn.md b/exampleSite/content/users/micheledinelli.github.io/index.zh-cn.md index 7a2e79e4..a20a23ed 100644 --- a/exampleSite/content/users/micheledinelli.github.io/index.zh-cn.md +++ b/exampleSite/content/users/micheledinelli.github.io/index.zh-cn.md @@ -1,8 +1,8 @@ --- title: "micheledinelli.github.io" - tags: [博客, 个人网站, 学术界] + tags: [个人网站, 作品集网站, 学术界] externalUrl: "https://micheledinelli.github.io" - weight: 777 + weight: 871 showDate: false showAuthor: false showReadingTime: false @@ -10,6 +10,5 @@ showLikes: false showViews: false layoutBackgroundHeaderSpace: false - ---- + --- diff --git a/exampleSite/content/users/n9o.xyz/feature.jpg b/exampleSite/content/users/n9o.xyz/feature.jpg index 1435ecd3..eb992c16 100644 Binary files a/exampleSite/content/users/n9o.xyz/feature.jpg and b/exampleSite/content/users/n9o.xyz/feature.jpg differ diff --git a/exampleSite/content/users/nick.bouwhuis.net/feature.jpg b/exampleSite/content/users/nick.bouwhuis.net/feature.jpg index eb18663a..6a059b6c 100644 Binary files a/exampleSite/content/users/nick.bouwhuis.net/feature.jpg and b/exampleSite/content/users/nick.bouwhuis.net/feature.jpg differ diff --git a/exampleSite/content/users/niklas-hartmann-dev.de/feature.jpg b/exampleSite/content/users/niklas-hartmann-dev.de/feature.jpg index f07b8ffc..01d728a9 100644 Binary files a/exampleSite/content/users/niklas-hartmann-dev.de/feature.jpg and b/exampleSite/content/users/niklas-hartmann-dev.de/feature.jpg differ diff --git a/exampleSite/content/users/nveshaan/feature.jpg b/exampleSite/content/users/nveshaan/feature.jpg index ebf7817c..ceb0ab6d 100644 Binary files a/exampleSite/content/users/nveshaan/feature.jpg and b/exampleSite/content/users/nveshaan/feature.jpg differ diff --git a/exampleSite/content/users/nveshaan/index.md b/exampleSite/content/users/nveshaan/index.md index 10795d50..b4395b07 100644 --- a/exampleSite/content/users/nveshaan/index.md +++ b/exampleSite/content/users/nveshaan/index.md @@ -1,6 +1,6 @@ --- title: "nveshaan" - tags: [Personal site] + tags: [Personal Site] externalUrl: "https://nveshaan.github.io/" weight: 861 showDate: false diff --git a/exampleSite/content/users/ohdmire.github.io/feature.jpg b/exampleSite/content/users/ohdmire.github.io/feature.jpg index 16574487..6ea3115a 100644 Binary files a/exampleSite/content/users/ohdmire.github.io/feature.jpg and b/exampleSite/content/users/ohdmire.github.io/feature.jpg differ diff --git a/exampleSite/content/users/pacochan.net/feature.jpg b/exampleSite/content/users/pacochan.net/feature.jpg index 50a428ca..bfa08890 100644 Binary files a/exampleSite/content/users/pacochan.net/feature.jpg and b/exampleSite/content/users/pacochan.net/feature.jpg differ diff --git a/exampleSite/content/users/pmnxis.github.io/feature.jpg b/exampleSite/content/users/pmnxis.github.io/feature.jpg index 2318bb19..fe54b2fc 100644 Binary files a/exampleSite/content/users/pmnxis.github.io/feature.jpg and b/exampleSite/content/users/pmnxis.github.io/feature.jpg differ diff --git a/exampleSite/content/users/priyakdey.com/feature.jpg b/exampleSite/content/users/priyakdey.com/feature.jpg index 0d5efb8f..8b7daddc 100644 Binary files a/exampleSite/content/users/priyakdey.com/feature.jpg and b/exampleSite/content/users/priyakdey.com/feature.jpg differ diff --git a/exampleSite/content/users/rdgo.dev/feature.jpg b/exampleSite/content/users/rdgo.dev/feature.jpg index c1d99a67..54dd41cc 100644 Binary files a/exampleSite/content/users/rdgo.dev/feature.jpg and b/exampleSite/content/users/rdgo.dev/feature.jpg differ diff --git a/exampleSite/content/users/rejowski.xyz/feature.jpg b/exampleSite/content/users/rejowski.xyz/feature.jpg index b141cf62..14af31cb 100644 Binary files a/exampleSite/content/users/rejowski.xyz/feature.jpg and b/exampleSite/content/users/rejowski.xyz/feature.jpg differ diff --git a/exampleSite/content/users/renaud.warnotte.be/feature.jpg b/exampleSite/content/users/renaud.warnotte.be/feature.jpg index d5ebfa6e..df7131a8 100644 Binary files a/exampleSite/content/users/renaud.warnotte.be/feature.jpg and b/exampleSite/content/users/renaud.warnotte.be/feature.jpg differ diff --git a/exampleSite/content/users/ricklan.photography/feature.jpg b/exampleSite/content/users/ricklan.photography/feature.jpg index 2fa38ba2..6deb0a7d 100644 Binary files a/exampleSite/content/users/ricklan.photography/feature.jpg and b/exampleSite/content/users/ricklan.photography/feature.jpg differ diff --git a/exampleSite/content/users/scottmckendry.tech/feature.jpg b/exampleSite/content/users/scottmckendry.tech/feature.jpg index a0c272d3..4bd3b8a0 100644 Binary files a/exampleSite/content/users/scottmckendry.tech/feature.jpg and b/exampleSite/content/users/scottmckendry.tech/feature.jpg differ diff --git a/exampleSite/content/users/talkdimsum.com/feature.jpg b/exampleSite/content/users/talkdimsum.com/feature.jpg index 8c7cd9c8..fa8d1487 100644 Binary files a/exampleSite/content/users/talkdimsum.com/feature.jpg and b/exampleSite/content/users/talkdimsum.com/feature.jpg differ diff --git a/exampleSite/content/users/technicaldc.github.io/feature.jpg b/exampleSite/content/users/technicaldc.github.io/feature.jpg index 77054fe4..e6e1990b 100644 Binary files a/exampleSite/content/users/technicaldc.github.io/feature.jpg and b/exampleSite/content/users/technicaldc.github.io/feature.jpg differ diff --git a/exampleSite/content/users/technicat.com/feature.jpg b/exampleSite/content/users/technicat.com/feature.jpg index 912a0616..0040dc94 100644 Binary files a/exampleSite/content/users/technicat.com/feature.jpg and b/exampleSite/content/users/technicat.com/feature.jpg differ diff --git a/exampleSite/content/users/the-maze.net/feature.jpg b/exampleSite/content/users/the-maze.net/feature.jpg index b368e606..ffb8e158 100644 Binary files a/exampleSite/content/users/the-maze.net/feature.jpg and b/exampleSite/content/users/the-maze.net/feature.jpg differ diff --git a/exampleSite/content/users/theindiecoder.cloud/feature.jpg b/exampleSite/content/users/theindiecoder.cloud/feature.jpg index da8a633d..d1b40541 100644 Binary files a/exampleSite/content/users/theindiecoder.cloud/feature.jpg and b/exampleSite/content/users/theindiecoder.cloud/feature.jpg differ diff --git a/exampleSite/content/users/todreamr.github.io/feature.jpg b/exampleSite/content/users/todreamr.github.io/feature.jpg index 0d5753ba..9c6e7c79 100644 Binary files a/exampleSite/content/users/todreamr.github.io/feature.jpg and b/exampleSite/content/users/todreamr.github.io/feature.jpg differ diff --git a/exampleSite/content/users/users.json b/exampleSite/content/users/users.json index 917cc153..3f1c50ff 100644 --- a/exampleSite/content/users/users.json +++ b/exampleSite/content/users/users.json @@ -740,4 +740,4 @@ "Blog" ] } -] +] \ No newline at end of file diff --git a/exampleSite/content/users/v-y-s.com/feature.jpg b/exampleSite/content/users/v-y-s.com/feature.jpg index 0681b56e..f31b36f7 100644 Binary files a/exampleSite/content/users/v-y-s.com/feature.jpg and b/exampleSite/content/users/v-y-s.com/feature.jpg differ diff --git a/exampleSite/content/users/vividscc.com/feature.jpg b/exampleSite/content/users/vividscc.com/feature.jpg index c43594d5..e608653f 100644 Binary files a/exampleSite/content/users/vividscc.com/feature.jpg and b/exampleSite/content/users/vividscc.com/feature.jpg differ diff --git a/exampleSite/content/users/vkmki001.github.io/feature.jpg b/exampleSite/content/users/vkmki001.github.io/feature.jpg index 79991fc9..a5e7c73a 100644 Binary files a/exampleSite/content/users/vkmki001.github.io/feature.jpg and b/exampleSite/content/users/vkmki001.github.io/feature.jpg differ diff --git a/exampleSite/content/users/weaxsey.org/feature.jpg b/exampleSite/content/users/weaxsey.org/feature.jpg index e5035db6..412c56e4 100644 Binary files a/exampleSite/content/users/weaxsey.org/feature.jpg and b/exampleSite/content/users/weaxsey.org/feature.jpg differ diff --git a/exampleSite/content/users/江ノ島エスカー/feature.jpg b/exampleSite/content/users/江ノ島エスカー/feature.jpg index c330bc23..9c1a2ce0 100644 Binary files a/exampleSite/content/users/江ノ島エスカー/feature.jpg and b/exampleSite/content/users/江ノ島エスカー/feature.jpg differ diff --git a/layouts/shortcodes/forgejo.html b/layouts/shortcodes/forgejo.html index cd6594ab..689dbf85 100644 --- a/layouts/shortcodes/forgejo.html +++ b/layouts/shortcodes/forgejo.html @@ -1,6 +1,6 @@ {{ $id := delimit (slice "forgejo" (partial "functions/uid.html" .)) "-" }} {{- $forgejoURL := print (.Get "server" | default .Site.Params.forgejoDefaultServer) "/api/v1/repos/" (.Get "repo") -}} -{{- $forgejoData := getJSON ($forgejoURL) -}} +{{- $forgejoData := resources.GetRemote $forgejoURL | transform.Unmarshal -}} {{- $forgejoColors := .Site.Data.forgejoColors -}} {{- with $forgejoData -}} diff --git a/layouts/shortcodes/gitea.html b/layouts/shortcodes/gitea.html index 0525a312..f4e15d7d 100644 --- a/layouts/shortcodes/gitea.html +++ b/layouts/shortcodes/gitea.html @@ -1,6 +1,6 @@ {{ $id := delimit (slice "gitea" (partial "functions/uid.html" .)) "-" }} {{- $giteaURL := print (.Get "server" | default .Site.Params.giteaDefaultServer) "/api/v1/repos/" (.Get "repo") -}} -{{- $giteaData := getJSON ($giteaURL) -}} +{{- $giteaData := resources.GetRemote $giteaURL | transform.Unmarshal -}} {{- $giteaColors := .Site.Data.giteaColors -}} {{- with $giteaData -}}