diff --git a/assets/css/compiled/main.css b/assets/css/compiled/main.css index 4b9db7db..ff7a6c44 100644 --- a/assets/css/compiled/main.css +++ b/assets/css/compiled/main.css @@ -1,6 +1,6 @@ /*! Blowfish | MIT License | https://github.com/nunocoracao/blowfish */ -/*! tailwindcss v3.3.4 | MIT License | https://tailwindcss.com */ +/*! tailwindcss v3.3.5 | MIT License | https://tailwindcss.com */ /* 1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4) diff --git a/assets/icons/x-twitter.svg b/assets/icons/x-twitter.svg new file mode 100644 index 00000000..627453e8 --- /dev/null +++ b/assets/icons/x-twitter.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/lib/fuse/fuse.min.js b/assets/lib/fuse/fuse.min.js index adc28356..1f534ad9 100644 --- a/assets/lib/fuse/fuse.min.js +++ b/assets/lib/fuse/fuse.min.js @@ -1,9 +1,9 @@ /** - * Fuse.js v6.6.2 - Lightweight fuzzy-search (http://fusejs.io) + * Fuse.js v7.0.0 - Lightweight fuzzy-search (http://fusejs.io) * - * Copyright (c) 2022 Kiro Risk (http://kiro.me) + * Copyright (c) 2023 Kiro Risk (http://kiro.me) * All Rights Reserved. Apache Software License 2.0 * * http://www.apache.org/licenses/LICENSE-2.0 */ -var e,t;e=this,t=function(){"use strict";function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function t(t){for(var n=1;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=new Map,r=Math.pow(10,t);return{get:function(t){var i=t.match(C).length;if(n.has(i))return n.get(i);var o=1/Math.pow(i,.5*e),c=parseFloat(Math.round(o*r)/r);return n.set(i,c),c},clear:function(){n.clear()}}}var $=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.getFn,i=void 0===n?I.getFn:n,o=t.fieldNormWeight,c=void 0===o?I.fieldNormWeight:o;r(this,e),this.norm=E(c,3),this.getFn=i,this.isCreated=!1,this.setIndexRecords()}return o(e,[{key:"setSources",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.docs=e}},{key:"setIndexRecords",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.records=e}},{key:"setKeys",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.keys=t,this._keysMap={},t.forEach((function(t,n){e._keysMap[t.id]=n}))}},{key:"create",value:function(){var e=this;!this.isCreated&&this.docs.length&&(this.isCreated=!0,g(this.docs[0])?this.docs.forEach((function(t,n){e._addString(t,n)})):this.docs.forEach((function(t,n){e._addObject(t,n)})),this.norm.clear())}},{key:"add",value:function(e){var t=this.size();g(e)?this._addString(e,t):this._addObject(e,t)}},{key:"removeAt",value:function(e){this.records.splice(e,1);for(var t=e,n=this.size();t2&&void 0!==arguments[2]?arguments[2]:{},r=n.getFn,i=void 0===r?I.getFn:r,o=n.fieldNormWeight,c=void 0===o?I.fieldNormWeight:o,a=new $({getFn:i,fieldNormWeight:c});return a.setKeys(e.map(_)),a.setSources(t),a.create(),a}function R(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.errors,r=void 0===n?0:n,i=t.currentLocation,o=void 0===i?0:i,c=t.expectedLocation,a=void 0===c?0:c,s=t.distance,u=void 0===s?I.distance:s,h=t.ignoreLocation,l=void 0===h?I.ignoreLocation:h,f=r/e.length;if(l)return f;var d=Math.abs(a-o);return u?f+d/u:d?1:f}function N(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:I.minMatchCharLength,n=[],r=-1,i=-1,o=0,c=e.length;o=t&&n.push([r,i]),r=-1)}return e[o-1]&&o-r>=t&&n.push([r,o-1]),n}var P=32;function W(e){for(var t={},n=0,r=e.length;n1&&void 0!==arguments[1]?arguments[1]:{},o=i.location,c=void 0===o?I.location:o,a=i.threshold,s=void 0===a?I.threshold:a,u=i.distance,h=void 0===u?I.distance:u,l=i.includeMatches,f=void 0===l?I.includeMatches:l,d=i.findAllMatches,v=void 0===d?I.findAllMatches:d,g=i.minMatchCharLength,y=void 0===g?I.minMatchCharLength:g,p=i.isCaseSensitive,m=void 0===p?I.isCaseSensitive:p,k=i.ignoreLocation,M=void 0===k?I.ignoreLocation:k;if(r(this,e),this.options={location:c,threshold:s,distance:h,includeMatches:f,findAllMatches:v,minMatchCharLength:y,isCaseSensitive:m,ignoreLocation:M},this.pattern=m?t:t.toLowerCase(),this.chunks=[],this.pattern.length){var b=function(e,t){n.chunks.push({pattern:e,alphabet:W(e),startIndex:t})},x=this.pattern.length;if(x>P){for(var w=0,L=x%P,S=x-L;w3&&void 0!==arguments[3]?arguments[3]:{},i=r.location,o=void 0===i?I.location:i,c=r.distance,a=void 0===c?I.distance:c,s=r.threshold,u=void 0===s?I.threshold:s,h=r.findAllMatches,l=void 0===h?I.findAllMatches:h,f=r.minMatchCharLength,d=void 0===f?I.minMatchCharLength:f,v=r.includeMatches,g=void 0===v?I.includeMatches:v,y=r.ignoreLocation,p=void 0===y?I.ignoreLocation:y;if(t.length>P)throw new Error(w(P));for(var m,k=t.length,M=e.length,b=Math.max(0,Math.min(o,M)),x=u,L=b,S=d>1||g,_=S?Array(M):[];(m=e.indexOf(t,L))>-1;){var O=R(t,{currentLocation:m,expectedLocation:b,distance:a,ignoreLocation:p});if(x=Math.min(O,x),L=m+k,S)for(var j=0;j=z;q-=1){var B=q-1,J=n[e.charAt(B)];if(S&&(_[B]=+!!J),K[q]=(K[q+1]<<1|1)&J,F&&(K[q]|=(A[q+1]|A[q])<<1|1|A[q+1]),K[q]&$&&(C=R(t,{errors:F,currentLocation:B,expectedLocation:b,distance:a,ignoreLocation:p}))<=x){if(x=C,(L=B)<=b)break;z=Math.max(1,2*b-L)}}if(R(t,{errors:F+1,currentLocation:b,expectedLocation:b,distance:a,ignoreLocation:p})>x)break;A=K}var U={isMatch:L>=0,score:Math.max(.001,C)};if(S){var V=N(_,d);V.length?g&&(U.indices=V):U.isMatch=!1}return U}(e,n,i,{location:c+o,distance:a,threshold:s,findAllMatches:u,minMatchCharLength:h,includeMatches:r,ignoreLocation:l}),p=y.isMatch,m=y.score,k=y.indices;p&&(g=!0),v+=m,p&&k&&(d=[].concat(f(d),f(k)))}));var y={isMatch:g,score:g?v/this.chunks.length:1};return g&&r&&(y.indices=d),y}}]),e}(),z=function(){function e(t){r(this,e),this.pattern=t}return o(e,[{key:"search",value:function(){}}],[{key:"isMultiMatch",value:function(e){return D(e,this.multiRegex)}},{key:"isSingleMatch",value:function(e){return D(e,this.singleRegex)}}]),e}();function D(e,t){var n=e.match(t);return n?n[1]:null}var K=function(e){a(n,e);var t=l(n);function n(e){return r(this,n),t.call(this,e)}return o(n,[{key:"search",value:function(e){var t=e===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}}],[{key:"type",get:function(){return"exact"}},{key:"multiRegex",get:function(){return/^="(.*)"$/}},{key:"singleRegex",get:function(){return/^=(.*)$/}}]),n}(z),q=function(e){a(n,e);var t=l(n);function n(e){return r(this,n),t.call(this,e)}return o(n,[{key:"search",value:function(e){var t=-1===e.indexOf(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}}],[{key:"type",get:function(){return"inverse-exact"}},{key:"multiRegex",get:function(){return/^!"(.*)"$/}},{key:"singleRegex",get:function(){return/^!(.*)$/}}]),n}(z),B=function(e){a(n,e);var t=l(n);function n(e){return r(this,n),t.call(this,e)}return o(n,[{key:"search",value:function(e){var t=e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}}],[{key:"type",get:function(){return"prefix-exact"}},{key:"multiRegex",get:function(){return/^\^"(.*)"$/}},{key:"singleRegex",get:function(){return/^\^(.*)$/}}]),n}(z),J=function(e){a(n,e);var t=l(n);function n(e){return r(this,n),t.call(this,e)}return o(n,[{key:"search",value:function(e){var t=!e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}}],[{key:"type",get:function(){return"inverse-prefix-exact"}},{key:"multiRegex",get:function(){return/^!\^"(.*)"$/}},{key:"singleRegex",get:function(){return/^!\^(.*)$/}}]),n}(z),U=function(e){a(n,e);var t=l(n);function n(e){return r(this,n),t.call(this,e)}return o(n,[{key:"search",value:function(e){var t=e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[e.length-this.pattern.length,e.length-1]}}}],[{key:"type",get:function(){return"suffix-exact"}},{key:"multiRegex",get:function(){return/^"(.*)"\$$/}},{key:"singleRegex",get:function(){return/^(.*)\$$/}}]),n}(z),V=function(e){a(n,e);var t=l(n);function n(e){return r(this,n),t.call(this,e)}return o(n,[{key:"search",value:function(e){var t=!e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}}],[{key:"type",get:function(){return"inverse-suffix-exact"}},{key:"multiRegex",get:function(){return/^!"(.*)"\$$/}},{key:"singleRegex",get:function(){return/^!(.*)\$$/}}]),n}(z),G=function(e){a(n,e);var t=l(n);function n(e){var i,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=o.location,a=void 0===c?I.location:c,s=o.threshold,u=void 0===s?I.threshold:s,h=o.distance,l=void 0===h?I.distance:h,f=o.includeMatches,d=void 0===f?I.includeMatches:f,v=o.findAllMatches,g=void 0===v?I.findAllMatches:v,y=o.minMatchCharLength,p=void 0===y?I.minMatchCharLength:y,m=o.isCaseSensitive,k=void 0===m?I.isCaseSensitive:m,M=o.ignoreLocation,b=void 0===M?I.ignoreLocation:M;return r(this,n),(i=t.call(this,e))._bitapSearch=new T(e,{location:a,threshold:u,distance:l,includeMatches:d,findAllMatches:g,minMatchCharLength:p,isCaseSensitive:k,ignoreLocation:b}),i}return o(n,[{key:"search",value:function(e){return this._bitapSearch.searchIn(e)}}],[{key:"type",get:function(){return"fuzzy"}},{key:"multiRegex",get:function(){return/^"(.*)"$/}},{key:"singleRegex",get:function(){return/^(.*)$/}}]),n}(z),H=function(e){a(n,e);var t=l(n);function n(e){return r(this,n),t.call(this,e)}return o(n,[{key:"search",value:function(e){for(var t,n=0,r=[],i=this.pattern.length;(t=e.indexOf(this.pattern,n))>-1;)n=t+i,r.push([t,n-1]);var o=!!r.length;return{isMatch:o,score:o?0:1,indices:r}}}],[{key:"type",get:function(){return"include"}},{key:"multiRegex",get:function(){return/^'"(.*)"$/}},{key:"singleRegex",get:function(){return/^'(.*)$/}}]),n}(z),Q=[K,H,B,J,V,U,q,G],X=Q.length,Y=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/;function Z(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.split("|").map((function(e){for(var n=e.trim().split(Y).filter((function(e){return e&&!!e.trim()})),r=[],i=0,o=n.length;i1&&void 0!==arguments[1]?arguments[1]:{},i=n.isCaseSensitive,o=void 0===i?I.isCaseSensitive:i,c=n.includeMatches,a=void 0===c?I.includeMatches:c,s=n.minMatchCharLength,u=void 0===s?I.minMatchCharLength:s,h=n.ignoreLocation,l=void 0===h?I.ignoreLocation:h,f=n.findAllMatches,d=void 0===f?I.findAllMatches:f,v=n.location,g=void 0===v?I.location:v,y=n.threshold,p=void 0===y?I.threshold:y,m=n.distance,k=void 0===m?I.distance:m;r(this,e),this.query=null,this.options={isCaseSensitive:o,includeMatches:a,minMatchCharLength:u,findAllMatches:d,ignoreLocation:l,location:g,threshold:p,distance:k},this.pattern=o?t:t.toLowerCase(),this.query=Z(this.pattern,this.options)}return o(e,[{key:"searchIn",value:function(e){var t=this.query;if(!t)return{isMatch:!1,score:1};var n=this.options,r=n.includeMatches;e=n.isCaseSensitive?e:e.toLowerCase();for(var i=0,o=[],c=0,a=0,s=t.length;a-1&&(n.refIndex=e.idx),t.matches.push(n)}}))}function ve(e,t){t.score=e.score}function ge(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.includeMatches,i=void 0===r?I.includeMatches:r,o=n.includeScore,c=void 0===o?I.includeScore:o,a=[];return i&&a.push(de),c&&a.push(ve),e.map((function(e){var n=e.idx,r={item:t[n],refIndex:n};return a.length&&a.forEach((function(t){t(e,r)})),r}))}var ye=function(){function e(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2?arguments[2]:void 0;r(this,e),this.options=t(t({},I),i),this.options.useExtendedSearch,this._keyStore=new S(this.options.keys),this.setCollection(n,o)}return o(e,[{key:"setCollection",value:function(e,t){if(this._docs=e,t&&!(t instanceof $))throw new Error("Incorrect 'index' type");this._myIndex=t||F(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}},{key:"add",value:function(e){k(e)&&(this._docs.push(e),this._myIndex.add(e))}},{key:"remove",value:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){return!1},t=[],n=0,r=this._docs.length;n1&&void 0!==arguments[1]?arguments[1]:{},n=t.limit,r=void 0===n?-1:n,i=this.options,o=i.includeMatches,c=i.includeScore,a=i.shouldSort,s=i.sortFn,u=i.ignoreFieldNorm,h=g(e)?g(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return fe(h,{ignoreFieldNorm:u}),a&&h.sort(s),y(r)&&r>-1&&(h=h.slice(0,r)),ge(h,this._docs,{includeMatches:o,includeScore:c})}},{key:"_searchStringList",value:function(e){var t=re(e,this.options),n=this._myIndex.records,r=[];return n.forEach((function(e){var n=e.v,i=e.i,o=e.n;if(k(n)){var c=t.searchIn(n),a=c.isMatch,s=c.score,u=c.indices;a&&r.push({item:n,idx:i,matches:[{score:s,value:n,norm:o,indices:u}]})}})),r}},{key:"_searchLogical",value:function(e){var t=this,n=function(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).auto,r=void 0===n||n,i=function e(n){var i=Object.keys(n),o=ue(n);if(!o&&i.length>1&&!se(n))return e(le(n));if(he(n)){var c=o?n[ce]:i[0],a=o?n[ae]:n[c];if(!g(a))throw new Error(x(c));var s={keyId:j(c),pattern:a};return r&&(s.searcher=re(a,t)),s}var u={children:[],operator:i[0]};return i.forEach((function(t){var r=n[t];v(r)&&r.forEach((function(t){u.children.push(e(t))}))})),u};return se(e)||(e=le(e)),i(e)}(e,this.options),r=function e(n,r,i){if(!n.children){var o=n.keyId,c=n.searcher,a=t._findMatches({key:t._keyStore.get(o),value:t._myIndex.getValueForItemAtKeyId(r,o),searcher:c});return a&&a.length?[{idx:i,item:r,matches:a}]:[]}for(var s=[],u=0,h=n.children.length;u1&&void 0!==arguments[1]?arguments[1]:{},n=t.getFn,r=void 0===n?I.getFn:n,i=t.fieldNormWeight,o=void 0===i?I.fieldNormWeight:i,c=e.keys,a=e.records,s=new $({getFn:r,fieldNormWeight:o});return s.setKeys(c),s.setIndexRecords(a),s},ye.config=I,function(){ne.push.apply(ne,arguments)}(te),ye},"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).Fuse=t(); \ No newline at end of file +var e,t;e=this,t=function(){"use strict";function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function t(t){for(var n=1;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:{},n=t.getFn,i=void 0===n?$.getFn:n,o=t.fieldNormWeight,c=void 0===o?$.fieldNormWeight:o;r(this,e),this.norm=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=new Map,r=Math.pow(10,t);return{get:function(t){var i=t.match(F).length;if(n.has(i))return n.get(i);var o=1/Math.pow(i,.5*e),c=parseFloat(Math.round(o*r)/r);return n.set(i,c),c},clear:function(){n.clear()}}}(c,3),this.getFn=i,this.isCreated=!1,this.setIndexRecords()}return o(e,[{key:"setSources",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.docs=e}},{key:"setIndexRecords",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.records=e}},{key:"setKeys",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.keys=t,this._keysMap={},t.forEach((function(t,n){e._keysMap[t.id]=n}))}},{key:"create",value:function(){var e=this;!this.isCreated&&this.docs.length&&(this.isCreated=!0,m(this.docs[0])?this.docs.forEach((function(t,n){e._addString(t,n)})):this.docs.forEach((function(t,n){e._addObject(t,n)})),this.norm.clear())}},{key:"add",value:function(e){var t=this.size();m(e)?this._addString(e,t):this._addObject(e,t)}},{key:"removeAt",value:function(e){this.records.splice(e,1);for(var t=e,n=this.size();t2&&void 0!==arguments[2]?arguments[2]:{},r=n.getFn,i=void 0===r?$.getFn:r,o=n.fieldNormWeight,c=void 0===o?$.fieldNormWeight:o,a=new R({getFn:i,fieldNormWeight:c});return a.setKeys(e.map(A)),a.setSources(t),a.create(),a}function N(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.errors,r=void 0===n?0:n,i=t.currentLocation,o=void 0===i?0:i,c=t.expectedLocation,a=void 0===c?0:c,s=t.distance,u=void 0===s?$.distance:s,h=t.ignoreLocation,l=void 0===h?$.ignoreLocation:h,f=r/e.length;if(l)return f;var d=Math.abs(a-o);return u?f+d/u:d?1:f}var W=32;function T(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=r.location,o=void 0===i?$.location:i,c=r.distance,a=void 0===c?$.distance:c,s=r.threshold,u=void 0===s?$.threshold:s,h=r.findAllMatches,l=void 0===h?$.findAllMatches:h,f=r.minMatchCharLength,d=void 0===f?$.minMatchCharLength:f,v=r.includeMatches,g=void 0===v?$.includeMatches:v,y=r.ignoreLocation,p=void 0===y?$.ignoreLocation:y;if(t.length>W)throw new Error("Pattern length exceeds max of ".concat(W,"."));for(var m,k=t.length,M=e.length,b=Math.max(0,Math.min(o,M)),x=u,w=b,S=d>1||g,L=S?Array(M):[];(m=e.indexOf(t,w))>-1;){var _=N(t,{currentLocation:m,expectedLocation:b,distance:a,ignoreLocation:p});if(x=Math.min(_,x),w=m+k,S)for(var O=0;O=P;D-=1){var K=D-1,q=n[e.charAt(K)];if(S&&(L[K]=+!!q),z[D]=(z[D+1]<<1|1)&q,E&&(z[D]|=(j[D+1]|j[D])<<1|1|j[D+1]),z[D]&C&&(A=N(t,{errors:E,currentLocation:K,expectedLocation:b,distance:a,ignoreLocation:p}))<=x){if(x=A,(w=K)<=b)break;P=Math.max(1,2*b-w)}}if(N(t,{errors:E+1,currentLocation:b,expectedLocation:b,distance:a,ignoreLocation:p})>x)break;j=z}var B={isMatch:w>=0,score:Math.max(.001,A)};if(S){var J=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:$.minMatchCharLength,n=[],r=-1,i=-1,o=0,c=e.length;o=t&&n.push([r,i]),r=-1)}return e[o-1]&&o-r>=t&&n.push([r,o-1]),n}(L,d);J.length?g&&(B.indices=J):B.isMatch=!1}return B}function z(e){for(var t={},n=0,r=e.length;n1&&void 0!==arguments[1]?arguments[1]:{},o=i.location,c=void 0===o?$.location:o,a=i.threshold,s=void 0===a?$.threshold:a,u=i.distance,h=void 0===u?$.distance:u,l=i.includeMatches,f=void 0===l?$.includeMatches:l,d=i.findAllMatches,v=void 0===d?$.findAllMatches:d,g=i.minMatchCharLength,y=void 0===g?$.minMatchCharLength:g,p=i.isCaseSensitive,m=void 0===p?$.isCaseSensitive:p,k=i.ignoreLocation,M=void 0===k?$.ignoreLocation:k;if(r(this,e),this.options={location:c,threshold:s,distance:h,includeMatches:f,findAllMatches:v,minMatchCharLength:y,isCaseSensitive:m,ignoreLocation:M},this.pattern=m?t:t.toLowerCase(),this.chunks=[],this.pattern.length){var b=function(e,t){n.chunks.push({pattern:e,alphabet:z(e),startIndex:t})},x=this.pattern.length;if(x>W){for(var w=0,S=x%W,L=x-S;w1&&void 0!==arguments[1]?arguments[1]:{},c=o.location,a=void 0===c?$.location:c,s=o.threshold,u=void 0===s?$.threshold:s,h=o.distance,l=void 0===h?$.distance:h,f=o.includeMatches,d=void 0===f?$.includeMatches:f,v=o.findAllMatches,g=void 0===v?$.findAllMatches:v,y=o.minMatchCharLength,p=void 0===y?$.minMatchCharLength:y,m=o.isCaseSensitive,k=void 0===m?$.isCaseSensitive:m,M=o.ignoreLocation,b=void 0===M?$.ignoreLocation:M;return r(this,n),(i=t.call(this,e))._bitapSearch=new D(e,{location:a,threshold:u,distance:l,includeMatches:d,findAllMatches:g,minMatchCharLength:p,isCaseSensitive:k,ignoreLocation:b}),i}return o(n,[{key:"search",value:function(e){return this._bitapSearch.searchIn(e)}}],[{key:"type",get:function(){return"fuzzy"}},{key:"multiRegex",get:function(){return/^"(.*)"$/}},{key:"singleRegex",get:function(){return/^(.*)$/}}]),n}(K),X=function(e){a(n,e);var t=l(n);function n(e){return r(this,n),t.call(this,e)}return o(n,[{key:"search",value:function(e){for(var t,n=0,r=[],i=this.pattern.length;(t=e.indexOf(this.pattern,n))>-1;)n=t+i,r.push([t,n-1]);var o=!!r.length;return{isMatch:o,score:o?0:1,indices:r}}}],[{key:"type",get:function(){return"include"}},{key:"multiRegex",get:function(){return/^'"(.*)"$/}},{key:"singleRegex",get:function(){return/^'(.*)$/}}]),n}(K),Y=[B,X,U,V,H,G,J,Q],Z=Y.length,ee=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,te=new Set([Q.type,X.type]),ne=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=n.isCaseSensitive,o=void 0===i?$.isCaseSensitive:i,c=n.includeMatches,a=void 0===c?$.includeMatches:c,s=n.minMatchCharLength,u=void 0===s?$.minMatchCharLength:s,h=n.ignoreLocation,l=void 0===h?$.ignoreLocation:h,f=n.findAllMatches,d=void 0===f?$.findAllMatches:f,v=n.location,g=void 0===v?$.location:v,y=n.threshold,p=void 0===y?$.threshold:y,m=n.distance,k=void 0===m?$.distance:m;r(this,e),this.query=null,this.options={isCaseSensitive:o,includeMatches:a,minMatchCharLength:u,findAllMatches:d,ignoreLocation:l,location:g,threshold:p,distance:k},this.pattern=o?t:t.toLowerCase(),this.query=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.split("|").map((function(e){for(var n=e.trim().split(ee).filter((function(e){return e&&!!e.trim()})),r=[],i=0,o=n.length;i2&&void 0!==arguments[2]?arguments[2]:{}).auto,r=void 0===n||n;return ue(e)||(e=he(e)),function e(n){var i=Object.keys(n),o=function(e){return!!e[ae]}(n);if(!o&&i.length>1&&!ue(n))return e(he(n));if(function(e){return!g(e)&&b(e)&&!ue(e)}(n)){var c=o?n[ae]:i[0],a=o?n[se]:n[c];if(!m(a))throw new Error(function(e){return"Invalid value for key ".concat(e)}(c));var s={keyId:C(c),pattern:a};return r&&(s.searcher=ie(a,t)),s}var u={children:[],operator:i[0]};return i.forEach((function(t){var r=n[t];g(r)&&r.forEach((function(t){u.children.push(e(t))}))})),u}(e)}function fe(e,t){var n=e.matches;t.matches=[],x(n)&&n.forEach((function(e){if(x(e.indices)&&e.indices.length){var n={indices:e.indices,value:e.value};e.key&&(n.key=e.key.src),e.idx>-1&&(n.refIndex=e.idx),t.matches.push(n)}}))}function de(e,t){t.score=e.score}var ve=function(){function e(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2?arguments[2]:void 0;r(this,e),this.options=t(t({},$),i),this.options.useExtendedSearch,this._keyStore=new j(this.options.keys),this.setCollection(n,o)}return o(e,[{key:"setCollection",value:function(e,t){if(this._docs=e,t&&!(t instanceof R))throw new Error("Incorrect 'index' type");this._myIndex=t||P(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}},{key:"add",value:function(e){x(e)&&(this._docs.push(e),this._myIndex.add(e))}},{key:"remove",value:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){return!1},t=[],n=0,r=this._docs.length;n1&&void 0!==arguments[1]?arguments[1]:{}).limit,n=void 0===t?-1:t,r=this.options,i=r.includeMatches,o=r.includeScore,c=r.shouldSort,a=r.sortFn,s=r.ignoreFieldNorm,u=m(e)?m(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return function(e,t){var n=t.ignoreFieldNorm,r=void 0===n?$.ignoreFieldNorm:n;e.forEach((function(e){var t=1;e.matches.forEach((function(e){var n=e.key,i=e.norm,o=e.score,c=n?n.weight:null;t*=Math.pow(0===o&&c?Number.EPSILON:o,(c||1)*(r?1:i))})),e.score=t}))}(u,{ignoreFieldNorm:s}),c&&u.sort(a),k(n)&&n>-1&&(u=u.slice(0,n)),function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.includeMatches,i=void 0===r?$.includeMatches:r,o=n.includeScore,c=void 0===o?$.includeScore:o,a=[];return i&&a.push(fe),c&&a.push(de),e.map((function(e){var n=e.idx,r={item:t[n],refIndex:n};return a.length&&a.forEach((function(t){t(e,r)})),r}))}(u,this._docs,{includeMatches:i,includeScore:o})}},{key:"_searchStringList",value:function(e){var t=ie(e,this.options),n=this._myIndex.records,r=[];return n.forEach((function(e){var n=e.v,i=e.i,o=e.n;if(x(n)){var c=t.searchIn(n),a=c.isMatch,s=c.score,u=c.indices;a&&r.push({item:n,idx:i,matches:[{score:s,value:n,norm:o,indices:u}]})}})),r}},{key:"_searchLogical",value:function(e){var t=this,n=le(e,this.options),r=function e(n,r,i){if(!n.children){var o=n.keyId,c=n.searcher,a=t._findMatches({key:t._keyStore.get(o),value:t._myIndex.getValueForItemAtKeyId(r,o),searcher:c});return a&&a.length?[{idx:i,item:r,matches:a}]:[]}for(var s=[],u=0,h=n.children.length;u1&&void 0!==arguments[1]?arguments[1]:{},n=t.getFn,r=void 0===n?$.getFn:n,i=t.fieldNormWeight,o=void 0===i?$.fieldNormWeight:i,c=e.keys,a=e.records,s=new R({getFn:r,fieldNormWeight:o});return s.setKeys(c),s.setIndexRecords(a),s},ve.config=$,function(){re.push.apply(re,arguments)}(ne),ve},"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).Fuse=t(); \ No newline at end of file diff --git a/config.toml b/config.toml index c68d7a64..2c606472 100644 --- a/config.toml +++ b/config.toml @@ -2,4 +2,4 @@ [module.hugoVersion] extended = true min = "0.87.0" - max = "0.119.0" \ No newline at end of file + max = "0.120.3" \ No newline at end of file diff --git a/config/_default/languages.en.toml b/config/_default/languages.en.toml index f138bb18..c50fd6e4 100644 --- a/config/_default/languages.en.toml +++ b/config/_default/languages.en.toml @@ -58,6 +58,7 @@ title = "Blowfish" # { tumblr = "https://username.tumblr.com" }, # { twitch = "https://twitch.tv/username" }, # { twitter = "https://twitter.com/username" }, +# { x-twitter = "https://twitter.com/username" }, # { whatsapp = "https://wa.me/phone-number" }, # { youtube = "https://youtube.com/username" }, # { ko-fi = "https://ko-fi.com/username" }, diff --git a/data/sharing.json b/data/sharing.json index b43eb3fe..a0669ffe 100644 --- a/data/sharing.json +++ b/data/sharing.json @@ -25,7 +25,7 @@ "url": "https://reddit.com/submit/?url=%s&resubmit=true&title=%s" }, "twitter": { - "icon": "twitter", + "icon": "x-twitter", "title": "sharing.twitter", "url": "https://twitter.com/intent/tweet/?url=%s&text=%s" }, diff --git a/exampleSite/config/_default/languages.en.toml b/exampleSite/config/_default/languages.en.toml index e217854e..1baad363 100644 --- a/exampleSite/config/_default/languages.en.toml +++ b/exampleSite/config/_default/languages.en.toml @@ -19,7 +19,7 @@ title = "Blowfish" headline = "A powerful, lightweight theme for Hugo built with Tailwind CSS." bio = "A powerful, lightweight theme for Hugo built with Tailwind CSS." links = [ - { twitter = "https://twitter.com/burufugu" }, + { x-twitter = "https://twitter.com/burufugu" }, { mastodon = "https://masto.ai/@blowfish" }, { github = "https://github.com/nunocoracao/blowfish" }, ] diff --git a/exampleSite/config/_default/menus.en.toml b/exampleSite/config/_default/menus.en.toml index 55849224..b38af0e6 100644 --- a/exampleSite/config/_default/menus.en.toml +++ b/exampleSite/config/_default/menus.en.toml @@ -58,7 +58,7 @@ [[main]] identifier = "twitter" - pre = "twitter" + pre = "x-twitter" url = "https://twitter.com/burufugu" weight = 200 diff --git a/exampleSite/content/samples/icons/index.md b/exampleSite/content/samples/icons/index.md index 6bbbd258..e20880f5 100644 --- a/exampleSite/content/samples/icons/index.md +++ b/exampleSite/content/samples/icons/index.md @@ -106,5 +106,6 @@ The full list of built-in icons and their corresponding names can referenced bel | twitter | {{< icon twitter >}} | | wand-magic-sparkles | {{< icon wand-magic-sparkles >}} | | whatsapp | {{< icon whatsapp >}} | +| x-twitter | {{< icon x-twitter >}} | | xmark | {{< icon xmark >}} | | youtube | {{< icon youtube >}} | diff --git a/exampleSite/content/users/adilhyz.github.io/index.md b/exampleSite/content/users/adilhyz.github.io/index.md index 9a3ce59e..b6b1fc75 100644 --- a/exampleSite/content/users/adilhyz.github.io/index.md +++ b/exampleSite/content/users/adilhyz.github.io/index.md @@ -2,7 +2,7 @@ title: "adilhyz.github.io" tags: [Personal site] externalUrl: "https://adilhyz.github.io" - date: 9938-08-08 + date: 9939-08-08 showDate: false showAuthor: false showReadingTime: false diff --git a/exampleSite/content/users/adir1.com/feature.jpg b/exampleSite/content/users/adir1.com/feature.jpg index 6d65ffce..4d7e6c4f 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/alejandro-ao.com/feature.jpg b/exampleSite/content/users/alejandro-ao.com/feature.jpg index 95423e47..78a49295 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/bbagwang.com/index.md b/exampleSite/content/users/bbagwang.com/index.md index 18865886..3f31963c 100644 --- a/exampleSite/content/users/bbagwang.com/index.md +++ b/exampleSite/content/users/bbagwang.com/index.md @@ -2,7 +2,7 @@ title: "bbagwang.com" tags: [Personal site] externalUrl: "https://bbagwang.com" - date: 9944-08-08 + date: 9945-08-08 showDate: false showAuthor: false showReadingTime: false diff --git a/exampleSite/content/users/blastomussa.dev/feature.jpg b/exampleSite/content/users/blastomussa.dev/feature.jpg index 8cde2097..61cedd0c 100644 Binary files a/exampleSite/content/users/blastomussa.dev/feature.jpg and b/exampleSite/content/users/blastomussa.dev/feature.jpg differ diff --git a/exampleSite/content/users/blog.enmanuelmoreira.com/feature.jpg b/exampleSite/content/users/blog.enmanuelmoreira.com/feature.jpg index d2cf1241..c8fea02e 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 24c57f88..c707d7eb 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/clemsau.com/feature.jpg b/exampleSite/content/users/clemsau.com/feature.jpg index fd2b7c0d..bf045ba9 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/deepumohan.com-tech/index.md b/exampleSite/content/users/deepumohan.com-tech/index.md index 83a9f07b..b99b30bb 100644 --- a/exampleSite/content/users/deepumohan.com-tech/index.md +++ b/exampleSite/content/users/deepumohan.com-tech/index.md @@ -2,7 +2,7 @@ title: "deepumohan.com/tech" tags: [Technology Blog] externalUrl: "https://deepumohan.com/tech/" - date: 9935-08-08 + date: 9936-08-08 showDate: false showAuthor: false showReadingTime: false diff --git a/exampleSite/content/users/dizzytech.de/feature.jpg b/exampleSite/content/users/dizzytech.de/feature.jpg index 46a3fe4e..febb4ad8 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/gma.name/index.md b/exampleSite/content/users/gma.name/index.md index e5f898e4..1c65f241 100644 --- a/exampleSite/content/users/gma.name/index.md +++ b/exampleSite/content/users/gma.name/index.md @@ -2,7 +2,7 @@ title: "gma.name" tags: [Personal site] externalUrl: "https://gma.name" - date: 9941-08-08 + date: 9942-08-08 showDate: false showAuthor: false showReadingTime: false diff --git a/exampleSite/content/users/jahsehj.github.io/feature.jpg b/exampleSite/content/users/jahsehj.github.io/feature.jpg deleted file mode 100644 index 955c001b..00000000 Binary files a/exampleSite/content/users/jahsehj.github.io/feature.jpg and /dev/null differ diff --git a/exampleSite/content/users/jam.dsg.li/feature.jpg b/exampleSite/content/users/jam.dsg.li/feature.jpg index 0e3f3f01..eecdac21 100644 Binary files a/exampleSite/content/users/jam.dsg.li/feature.jpg and b/exampleSite/content/users/jam.dsg.li/feature.jpg differ diff --git a/exampleSite/content/users/jamiemoxon.tech/feature.jpg b/exampleSite/content/users/jamiemoxon.tech/feature.jpg index f2717bbc..688f422f 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/jamiemoxon.tech/index.md b/exampleSite/content/users/jamiemoxon.tech/index.md index 65fba4ef..5db5e3be 100644 --- a/exampleSite/content/users/jamiemoxon.tech/index.md +++ b/exampleSite/content/users/jamiemoxon.tech/index.md @@ -2,7 +2,7 @@ title: "jamiemoxon.tech" tags: [Personal site] externalUrl: "https://jamiemoxon.tech" - date: 9943-08-08 + date: 9944-08-08 showDate: false showAuthor: false showReadingTime: false diff --git a/exampleSite/content/users/joush007.github.io/feature.jpg b/exampleSite/content/users/joush007.github.io/feature.jpg index 830905d7..7d6ef65c 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/joush007.github.io/index.md b/exampleSite/content/users/joush007.github.io/index.md index 58302376..ca532f5f 100644 --- a/exampleSite/content/users/joush007.github.io/index.md +++ b/exampleSite/content/users/joush007.github.io/index.md @@ -2,7 +2,7 @@ title: "joush007.github.io" tags: [Personal Site] externalUrl: "https://joush007.github.io" - date: 9933-08-08 + date: 9934-08-08 showDate: false showAuthor: false showReadingTime: false diff --git a/exampleSite/content/users/jundimubarok.com/feature.jpg b/exampleSite/content/users/jundimubarok.com/feature.jpg index 522f1bcc..5f7813a0 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/jundimubarok.com/index.md b/exampleSite/content/users/jundimubarok.com/index.md index 079a4d0b..28c15f74 100644 --- a/exampleSite/content/users/jundimubarok.com/index.md +++ b/exampleSite/content/users/jundimubarok.com/index.md @@ -2,7 +2,7 @@ title: "jundimubarok.com" tags: [Personal site] externalUrl: "https://jundimubarok.com/" - date: 9946-08-08 + date: 9947-08-08 showDate: false showAuthor: false showReadingTime: false diff --git a/exampleSite/content/users/kylemalloy.com/index.md b/exampleSite/content/users/kylemalloy.com/index.md index 496bd753..541caafe 100644 --- a/exampleSite/content/users/kylemalloy.com/index.md +++ b/exampleSite/content/users/kylemalloy.com/index.md @@ -2,7 +2,7 @@ title: "kylemalloy.com" tags: [Personal site] externalUrl: "https://kylemalloy.com" - date: 9934-08-08 + date: 9935-08-08 showDate: false showAuthor: false showReadingTime: false diff --git a/exampleSite/content/users/lelouvincx.github.io/feature.jpg b/exampleSite/content/users/lelouvincx.github.io/feature.jpg index a7bea5d0..6638a48b 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 0e5e5c2c..3d7b2524 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/m3upt.com/feature.jpg b/exampleSite/content/users/m3upt.com/feature.jpg index 919424ee..dc6614a2 100644 Binary files a/exampleSite/content/users/m3upt.com/feature.jpg and b/exampleSite/content/users/m3upt.com/feature.jpg differ diff --git a/exampleSite/content/users/mariuskimmina.com/feature.jpg b/exampleSite/content/users/mariuskimmina.com/feature.jpg index 8b80207d..6af5b9c6 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 952d4b3a..34cc7516 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/index.md b/exampleSite/content/users/mayer.life/index.md index 7ce0521e..8e6c4f2b 100644 --- a/exampleSite/content/users/mayer.life/index.md +++ b/exampleSite/content/users/mayer.life/index.md @@ -2,7 +2,7 @@ title: "mayer.life" tags: [Personal site] externalUrl: "https://mayer.life" - date: 9940-08-08 + date: 9941-08-08 showDate: false showAuthor: false showReadingTime: false diff --git a/exampleSite/content/users/niklas-hartmann-dev.de/feature.jpg b/exampleSite/content/users/niklas-hartmann-dev.de/feature.jpg index 88935faa..8745a1eb 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/ohdmire.github.io/feature.jpg b/exampleSite/content/users/ohdmire.github.io/feature.jpg index 8baf35c8..c4d53b04 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/ohdmire.github.io/index.md b/exampleSite/content/users/ohdmire.github.io/index.md index ab9bb75e..84734f0f 100644 --- a/exampleSite/content/users/ohdmire.github.io/index.md +++ b/exampleSite/content/users/ohdmire.github.io/index.md @@ -2,7 +2,7 @@ title: "ohdmire.github.io" tags: [Personal site] externalUrl: "https://ohdmire.github.io" - date: 9937-08-08 + date: 9938-08-08 showDate: false showAuthor: false showReadingTime: false diff --git a/exampleSite/content/users/pacochan.net/feature.jpg b/exampleSite/content/users/pacochan.net/feature.jpg index 5c801bb7..0ecf626e 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/rdgo.dev/feature.jpg b/exampleSite/content/users/rdgo.dev/feature.jpg index f9760916..3a298f1a 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 new file mode 100644 index 00000000..caee80f4 Binary files /dev/null and b/exampleSite/content/users/rejowski.xyz/feature.jpg differ diff --git a/exampleSite/content/users/jahsehj.github.io/index.md b/exampleSite/content/users/rejowski.xyz/index.md similarity index 59% rename from exampleSite/content/users/jahsehj.github.io/index.md rename to exampleSite/content/users/rejowski.xyz/index.md index 2d19a1ba..c77a63b8 100644 --- a/exampleSite/content/users/jahsehj.github.io/index.md +++ b/exampleSite/content/users/rejowski.xyz/index.md @@ -1,8 +1,8 @@ --- - title: "jahsehj.github.io" - tags: [Personal site mainly in Chinese] - externalUrl: "https://jahsehj.github.io/" - date: 9947-08-08 + title: "rejowski.xyz" + tags: [Personal Site] + externalUrl: "https://rejowski.xyz/" + date: 9933-08-08 showDate: false showAuthor: false showReadingTime: false diff --git a/exampleSite/content/users/ricklan.photography/index.md b/exampleSite/content/users/ricklan.photography/index.md index 054b75b3..032d001e 100644 --- a/exampleSite/content/users/ricklan.photography/index.md +++ b/exampleSite/content/users/ricklan.photography/index.md @@ -2,7 +2,7 @@ title: "ricklan.photography" tags: [Personal site] externalUrl: "https://ricklan.photography" - date: 9936-08-08 + date: 9937-08-08 showDate: false showAuthor: false showReadingTime: false diff --git a/exampleSite/content/users/scottmckendry.tech/index.md b/exampleSite/content/users/scottmckendry.tech/index.md index 8a9e6fc2..25d259ef 100644 --- a/exampleSite/content/users/scottmckendry.tech/index.md +++ b/exampleSite/content/users/scottmckendry.tech/index.md @@ -2,7 +2,7 @@ title: "scottmckendry.tech" tags: [Personal site] externalUrl: "https://scottmckendry.tech" - date: 9939-08-08 + date: 9940-08-08 showDate: false showAuthor: false showReadingTime: false diff --git a/exampleSite/content/users/shenshu.fun/feature.jpg b/exampleSite/content/users/shenshu.fun/feature.jpg index b44de0ad..7a442007 100644 Binary files a/exampleSite/content/users/shenshu.fun/feature.jpg and b/exampleSite/content/users/shenshu.fun/feature.jpg differ diff --git a/exampleSite/content/users/spelucin.me/feature.jpg b/exampleSite/content/users/spelucin.me/feature.jpg index 70e580a0..81a04c00 100644 Binary files a/exampleSite/content/users/spelucin.me/feature.jpg and b/exampleSite/content/users/spelucin.me/feature.jpg differ diff --git a/exampleSite/content/users/tabletopflore.com/feature.jpg b/exampleSite/content/users/tabletopflore.com/feature.jpg index efa1f85b..ef4897de 100644 Binary files a/exampleSite/content/users/tabletopflore.com/feature.jpg and b/exampleSite/content/users/tabletopflore.com/feature.jpg differ diff --git a/exampleSite/content/users/technicat.com/feature.jpg b/exampleSite/content/users/technicat.com/feature.jpg index b201fe84..142293a0 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/theindiecoder.cloud/feature.jpg b/exampleSite/content/users/theindiecoder.cloud/feature.jpg index a666d637..9b546e6c 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/theindiecoder.cloud/index.md b/exampleSite/content/users/theindiecoder.cloud/index.md index f7fe9d5e..a28f24fc 100644 --- a/exampleSite/content/users/theindiecoder.cloud/index.md +++ b/exampleSite/content/users/theindiecoder.cloud/index.md @@ -2,7 +2,7 @@ title: "theindiecoder.cloud" tags: [Personal site] externalUrl: "https://theindiecoder.cloud" - date: 9942-08-08 + date: 9943-08-08 showDate: false showAuthor: false showReadingTime: false diff --git a/exampleSite/content/users/users.json b/exampleSite/content/users/users.json index 465be64d..ecc7337a 100644 --- a/exampleSite/content/users/users.json +++ b/exampleSite/content/users/users.json @@ -364,13 +364,6 @@ "Personal site" ] }, - { - "title": "jahsehj.github.io", - "url": "https://jahsehj.github.io/", - "tags": [ - "Personal site mainly in Chinese" - ] - }, { "title": "jundimubarok.com", "url": "https://jundimubarok.com/", @@ -468,5 +461,12 @@ "tags": [ "Personal Site" ] + }, + { + "title": "rejowski.xyz", + "url": "https://rejowski.xyz/", + "tags": [ + "Personal Site" + ] } ] diff --git a/exampleSite/content/users/vkmki001.github.io/feature.jpg b/exampleSite/content/users/vkmki001.github.io/feature.jpg index 290c43e9..77def935 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/vkmki001.github.io/index.md b/exampleSite/content/users/vkmki001.github.io/index.md index 187f5ca4..78ecb43e 100644 --- a/exampleSite/content/users/vkmki001.github.io/index.md +++ b/exampleSite/content/users/vkmki001.github.io/index.md @@ -2,7 +2,7 @@ title: "vkmki001.github.io" tags: [Personal site] externalUrl: "https://vkmki001.github.io/" - date: 9945-08-08 + date: 9946-08-08 showDate: false showAuthor: false showReadingTime: false diff --git a/exampleSite/content/users/weaxsey.org/feature.jpg b/exampleSite/content/users/weaxsey.org/feature.jpg index 6b1eba8b..7e4a7873 100644 Binary files a/exampleSite/content/users/weaxsey.org/feature.jpg and b/exampleSite/content/users/weaxsey.org/feature.jpg differ diff --git a/layouts/partials/article-meta/basic.html b/layouts/partials/article-meta/basic.html index c2f983cd..dcb87597 100644 --- a/layouts/partials/article-meta/basic.html +++ b/layouts/partials/article-meta/basic.html @@ -50,7 +50,7 @@
{{/* Output partials */}} {{ with ($meta.Get "partials") }} - {{ delimit . "·" }} + {{ delimit . "·" | safeHTML }} {{ end }} {{/* Output draft label */}} diff --git a/layouts/partials/article-meta/list.html b/layouts/partials/article-meta/list.html index 32c204c1..4bf21c5d 100644 --- a/layouts/partials/article-meta/list.html +++ b/layouts/partials/article-meta/list.html @@ -29,7 +29,7 @@
{{/* Output partials */}} {{ with ($meta.Get "partials") }} - {{ delimit . "·" }} + {{ delimit . "·" | safeHTML}} {{ end }}
diff --git a/layouts/partials/article-meta/taxonomy.html b/layouts/partials/article-meta/taxonomy.html index d8d0142e..add05bfc 100644 --- a/layouts/partials/article-meta/taxonomy.html +++ b/layouts/partials/article-meta/taxonomy.html @@ -29,7 +29,7 @@
{{/* Output partials */}} {{ with ($meta.Get "partials") }} - {{ delimit . "·" }} + {{ delimit . "·" | safeHTML}} {{ end }}
diff --git a/layouts/partials/article-meta/term.html b/layouts/partials/article-meta/term.html index 63acb4e3..d5377dc8 100644 --- a/layouts/partials/article-meta/term.html +++ b/layouts/partials/article-meta/term.html @@ -29,7 +29,7 @@
{{/* Output partials */}} {{ with ($meta.Get "partials") }} - {{ delimit . "·" }} + {{ delimit . "·" | safeHTML}} {{ end }}
diff --git a/layouts/shortcodes/carousel.html b/layouts/shortcodes/carousel.html index 1f424a1d..97e51696 100644 --- a/layouts/shortcodes/carousel.html +++ b/layouts/shortcodes/carousel.html @@ -3,7 +3,7 @@ {{ $images := .Page.Resources.Match (.Get "images") }} {{ $interval := default "2000" (.Get "interval") }} -
+
diff --git a/layouts/shortcodes/github.html b/layouts/shortcodes/github.html index efb46de3..393586ee 100644 --- a/layouts/shortcodes/github.html +++ b/layouts/shortcodes/github.html @@ -1,26 +1,32 @@ -{{- $githubData := getJSON (print "https://api.github.com/repos/" (.Get "repo")) -}} +{{ $id := delimit (slice "github" .Ordinal now.UnixNano) "-" }} +{{- $githubURL := print "https://api.github.com/repos/" (.Get "repo") -}} +{{- $githubData := getJSON ($githubURL) -}} {{- $githubColors := .Site.Data.githubColors -}} {{- with $githubData -}} - -
+ +
{{ partial "icon.html" "github" }} -
+
{{ .full_name | markdownify | emojify }}
-

+

{{ .description | markdownify | emojify }}

- - + +
{{ if .language }} {{ .language }} {{ else }} null {{ end }}
@@ -28,19 +34,34 @@ {{ partial "icon.html" "star" }} -
+
{{ .stargazers_count }}
{{ partial "icon.html" "fork" }} -
+
{{ .forks }}
+
{{- end -}} \ No newline at end of file diff --git a/layouts/shortcodes/gitlab.html b/layouts/shortcodes/gitlab.html index bf56536c..1f2a8fa9 100644 --- a/layouts/shortcodes/gitlab.html +++ b/layouts/shortcodes/gitlab.html @@ -1,4 +1,7 @@ -{{- $gitLabData := getJSON (print (default "https://gitlab.com/" (.Get "baseURL")) "api/v4/projects/" (.Get "projectID")) -}} +{{ $id := delimit (slice "gitlab" .Ordinal now.UnixNano) "-" }} +{{- $gitlabURL := print (default "https://gitlab.com/" (.Get "baseURL")) "api/v4/projects/" (.Get "projectID") -}} + +{{- $gitLabData := getJSON ($gitlabURL) -}} {{- with $gitLabData -}} @@ -8,12 +11,12 @@ {{ partial "icon.html" "gitlab" }} -
+
{{ .name_with_namespace | markdownify | emojify }}
-

+

{{ .description | markdownify | emojify }}

@@ -21,19 +24,36 @@ {{ partial "icon.html" "star" }} -
+
{{ .star_count }}
{{ partial "icon.html" "fork" }} -
+
{{ .forks_count }}
+
{{- end -}} diff --git a/package-lock.json b/package-lock.json index 6d6f3675..797bfba8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "hugo-blowfish-theme", - "version": "2.43.0", + "version": "2.44.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "hugo-blowfish-theme", - "version": "2.43.0", + "version": "2.44.0", "hasInstallScript": true, "license": "MIT", "dependencies": { @@ -18,7 +18,7 @@ "devDependencies": { "@tailwindcss/typography": "^0.5.10", "chart.js": "^4.4.0", - "fuse.js": "^6.6.2", + "fuse.js": "^7.0.0", "jquery": "^3.7.1", "katex": "^0.16.9", "packery": "^2.1.2", @@ -27,7 +27,7 @@ "prettier-plugin-tailwindcss": "^0.5.6", "puppeteer": "^21.4.1", "rimraf": "^5.0.5", - "tailwindcss": "^3.3.4", + "tailwindcss": "^3.3.5", "tw-elements": "1.0.0", "typeit": "^8.7.1", "vendor-copy": "^3.0.1" @@ -1123,9 +1123,9 @@ "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" }, "node_modules/fuse.js": { - "version": "6.6.2", - "resolved": "https://registry.npmjs.org/fuse.js/-/fuse.js-6.6.2.tgz", - "integrity": "sha512-cJaJkxCCxC8qIIcPBF9yGxY0W/tVZS3uEISDxhYIdtk8OL93pe+6Zj7LjCqVV4dzbqcriOZ+kQ/NE4RXZHsIGA==", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/fuse.js/-/fuse.js-7.0.0.tgz", + "integrity": "sha512-14F4hBIxqKvD4Zz/XjDc3y94mNZN6pRv3U13Udo0lNLCWRBUsrMv2xwcF/y/Z5sV6+FQW+/ow68cHpm4sunt8Q==", "dev": true, "engines": { "node": ">=10" @@ -2651,9 +2651,9 @@ } }, "node_modules/tailwindcss": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.3.4.tgz", - "integrity": "sha512-JXZNOkggUAc9T5E7nCrimoXHcSf9h3NWFe5sh36CGD/3M5TRLuQeFnQoDsit2uVTqgoOZHLx5rTykLUu16vsMQ==", + "version": "3.3.5", + "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.3.5.tgz", + "integrity": "sha512-5SEZU4J7pxZgSkv7FP1zY8i2TIAOooNZ1e/OGtxIEv6GltpoiXUqWvLy89+a10qYTB1N5Ifkuw9lqQkN9sscvA==", "dependencies": { "@alloc/quick-lru": "^5.2.0", "arg": "^5.0.2", diff --git a/package.json b/package.json index a9613971..7f485d3b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hugo-blowfish-theme", - "version": "2.43.1", + "version": "2.44.0", "description": "Blowfish theme for Hugo", "scripts": { "fullinstall": "npm run preinstall && npm install && npm run postinstall", @@ -36,7 +36,7 @@ "devDependencies": { "@tailwindcss/typography": "^0.5.10", "chart.js": "^4.4.0", - "fuse.js": "^6.6.2", + "fuse.js": "^7.0.0", "jquery": "^3.7.1", "katex": "^0.16.9", "packery": "^2.1.2", @@ -45,7 +45,7 @@ "prettier-plugin-tailwindcss": "^0.5.6", "puppeteer": "^21.4.1", "rimraf": "^5.0.5", - "tailwindcss": "^3.3.4", + "tailwindcss": "^3.3.5", "tw-elements": "1.0.0", "typeit": "^8.7.1", "vendor-copy": "^3.0.1"