mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-10-10 22:09:31 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
04d514c06a | ||
|
|
9c91fc3083 | ||
|
|
3be3e817bc | ||
|
|
e770bc974a | ||
|
|
b18027c486 | ||
|
|
b2849743d6 | ||
|
|
ae3b8d9933 | ||
|
|
7d8f6afab2 | ||
|
|
088050c06f | ||
|
|
b041980cc0 | ||
|
|
015c2955a9 | ||
|
|
9856cf1e3b | ||
|
|
56f6ee08c6 | ||
|
|
a3aa70db86 | ||
|
|
9024af82bf | ||
|
|
8a892cfb68 | ||
|
|
d335c7dc71 | ||
|
|
c1aca647c7 | ||
|
|
8ece6072fc | ||
|
|
347a58a504 | ||
|
|
2189a0c997 | ||
|
|
45a861c56d | ||
|
|
b91d9c2d4c | ||
|
|
2949795cc2 | ||
|
|
c45cf9b65d | ||
|
|
c5570a2e93 | ||
|
|
3d9978c225 | ||
|
|
242789f6d2 | ||
|
|
74c105c1fd | ||
|
|
36b59471eb | ||
|
|
b0875b040a | ||
|
|
ba2758b3ed | ||
|
|
96f8994866 | ||
|
|
d038fd0b33 | ||
|
|
75ea2736ad | ||
|
|
243100053e | ||
|
|
1e959b1096 | ||
|
|
41d87d301d | ||
|
|
332f355a25 | ||
|
|
756561d8bf | ||
|
|
0910ce5c7d | ||
|
|
0173d3da06 | ||
|
|
ec97e0ec61 | ||
|
|
593c709e68 | ||
|
|
bded9d7375 | ||
|
|
83fbcca9e4 | ||
|
|
15f3bc92dd | ||
|
|
b75792dfb5 | ||
|
|
63a746f495 | ||
|
|
19ea8a8a92 | ||
|
|
c1ceac10f6 | ||
|
|
e175ed7d92 | ||
|
|
489956ed74 | ||
|
|
6a211d3560 | ||
|
|
07651d1f7e | ||
|
|
4b37a3f17e | ||
|
|
c0c69464fe | ||
|
|
6a15685b1f | ||
|
|
dca41fbd23 | ||
|
|
ed78cfe77b | ||
|
|
550e0ce239 | ||
|
|
8c6d964104 | ||
|
|
5294c4027c | ||
|
|
d1f491daea | ||
|
|
c627ebdfac | ||
|
|
47d4002f7f | ||
|
|
32df62ccda | ||
|
|
ea6b8c947e | ||
|
|
1c2d0498e0 | ||
|
|
8feb61c633 | ||
|
|
7fcb0d1c91 | ||
|
|
13d6d410ef | ||
|
|
da05bd1126 | ||
|
|
16e7f80bad | ||
|
|
282eb80cc2 | ||
|
|
e5d81d952e | ||
|
|
44e8aeb0a4 | ||
|
|
ebdbc25ad3 | ||
|
|
bbacdd1dbd | ||
|
|
81e825ca9a | ||
|
|
b00813ad26 | ||
|
|
6af086dd65 | ||
|
|
f762efde93 | ||
|
|
789ec7068f | ||
|
|
fa15a00b1e | ||
|
|
e2c5c6eec9 | ||
|
|
482204a0ba | ||
|
|
5d8c456ba7 | ||
|
|
775603d8ea | ||
|
|
8381b02792 | ||
|
|
15836936d2 | ||
|
|
705f9acb30 | ||
|
|
0898930d27 | ||
|
|
f613917f9b | ||
|
|
2be43ce875 | ||
|
|
8f974a967d | ||
|
|
9a1a1b70da | ||
|
|
40e81ce0ef | ||
|
|
5da9bbe47f | ||
|
|
ceadea4392 | ||
|
|
6b4ea63b7a | ||
|
|
8b66c2cce4 | ||
|
|
d82ea5501c | ||
|
|
60bc67b077 | ||
|
|
92309c412b | ||
|
|
907f90a6bb | ||
|
|
ed6aac1a12 | ||
|
|
cbc580b29a | ||
|
|
328e89d7a6 | ||
|
|
f5b435909e | ||
|
|
08c195f342 | ||
|
|
9cc3ffa7b3 | ||
|
|
80159c6974 | ||
|
|
88fc95ca9a | ||
|
|
e7f6a11071 | ||
|
|
9e5ac4fe50 | ||
|
|
92cadad0ea | ||
|
|
0be900efaa | ||
|
|
ee51e6b7ed | ||
|
|
7c307c0fdd | ||
|
|
ff26b2f0e4 | ||
|
|
32c8e8bac4 | ||
|
|
4c074f25d7 | ||
|
|
fde712fb2d | ||
|
|
eeb5f7815d | ||
|
|
966d6dd85f | ||
|
|
836c18ba9d | ||
|
|
8d87128938 | ||
|
|
7e41c9cac0 | ||
|
|
fc2351734f | ||
|
|
7740790c28 | ||
|
|
c98b93be33 | ||
|
|
f5028b5f80 | ||
|
|
5524353360 | ||
|
|
25f7e7e327 | ||
|
|
456fe39a95 | ||
|
|
694b040a63 | ||
|
|
a338301f76 | ||
|
|
93b05a0597 | ||
|
|
01390897ab | ||
|
|
6ac8f2f55b | ||
|
|
da28e3ccdb | ||
|
|
37d153584d | ||
|
|
c8e6218a6d | ||
|
|
39e61739f8 | ||
|
|
d37705aeaa | ||
|
|
e5d6d13f39 | ||
|
|
563ab8cd1c | ||
|
|
2f32cb6aa6 |
No files matched your search
@@ -36,13 +36,6 @@ jobs:
|
||||
push_options: "--dry-run"
|
||||
file_pattern: "assets/lib/katex/*"
|
||||
commit_message: "📦 Update packaged KaTeX"
|
||||
- name: Commit Mermaid changes
|
||||
uses: stefanzweifel/git-auto-commit-action@v4
|
||||
with:
|
||||
branch: "${{ github.head_ref }}"
|
||||
push_options: "--dry-run"
|
||||
file_pattern: "assets/lib/mermaid/*"
|
||||
commit_message: "📦 Update packaged Mermaid"
|
||||
- run: npm run build
|
||||
- name: Commit CSS changes
|
||||
uses: stefanzweifel/git-auto-commit-action@v4
|
||||
|
||||
@@ -12,7 +12,7 @@ jobs:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
|
||||
|
||||
- name: Check out code into the Go module directory
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: true # Fetch Hugo themes (true OR recursive)
|
||||
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
|
||||
|
||||
@@ -14,7 +14,7 @@ jobs:
|
||||
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
|
||||
|
||||
- name: Check out code into the Go module directory
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: true # Fetch Hugo themes (true OR recursive)
|
||||
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
|
||||
|
||||
@@ -65,4 +65,4 @@ jobs:
|
||||
steps:
|
||||
- name: Deploy to GitHub Pages
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@v1
|
||||
uses: actions/deploy-pages@v2
|
||||
@@ -18,7 +18,7 @@ jobs:
|
||||
pull-requests: write
|
||||
|
||||
steps:
|
||||
- uses: actions/stale@v5
|
||||
- uses: actions/stale@v8
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
stale-issue-message: 'This issue will be closed since it has been stale for 60 days.'
|
||||
|
||||
+2972
-3783
File diff suppressed because it is too large.
Load diff
@@ -1,20 +0,0 @@
|
||||
function css(name) {
|
||||
return "rgb(" + getComputedStyle(document.documentElement).getPropertyValue(name) + ")";
|
||||
}
|
||||
|
||||
mermaid.initialize({
|
||||
theme: "base",
|
||||
themeVariables: {
|
||||
background: css("--color-neutral"),
|
||||
primaryColor: css("--color-primary-200"),
|
||||
secondaryColor: css("--color-secondary-200"),
|
||||
tertiaryColor: css("--color-neutral-100"),
|
||||
primaryBorderColor: css("--color-primary-400"),
|
||||
secondaryBorderColor: css("--color-secondary-400"),
|
||||
tertiaryBorderColor: css("--color-neutral-400"),
|
||||
lineColor: css("--color-neutral-600"),
|
||||
fontFamily:
|
||||
"ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,segoe ui,Roboto,helvetica neue,Arial,noto sans,sans-serif",
|
||||
fontSize: "16px",
|
||||
},
|
||||
});
|
||||
Vendored
BIN
Binary file not shown.
Vendored
+2
-2
@@ -1,2 +1,2 @@
|
||||
/*! jQuery v3.6.3 -ajax,-ajax/jsonp,-ajax/load,-ajax/script,-ajax/var/location,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-deprecated/ajax-event-alias,-effects,-effects/Tween,-effects/animatedSelector | (c) OpenJS Foundation and other contributors | jquery.org/license */
|
||||
!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(g,e){"use strict";var t=[],r=Object.getPrototypeOf,s=t.slice,v=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},u=t.push,i=t.indexOf,n={},o=n.toString,y=n.hasOwnProperty,a=y.toString,l=a.call(Object),m={},b=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},x=function(e){return null!=e&&e===e.window},w=g.document,c={type:!0,src:!0,nonce:!0,noModule:!0};function C(e,t,n){var r,i,o=(n=n||w).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function T(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.6.3 -ajax,-ajax/jsonp,-ajax/load,-ajax/script,-ajax/var/location,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-deprecated/ajax-event-alias,-effects,-effects/Tween,-effects/animatedSelector",E=function(e,t){return new E.fn.init(e,t)};function d(e){var t=!!e&&"length"in e&&e.length,n=T(e);return!b(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}E.fn=E.prototype={jquery:f,constructor:E,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=E.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return E.each(this,e)},map:function(n){return this.pushStack(E.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(E.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(E.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:u,sort:t.sort,splice:t.splice},E.extend=E.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||b(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(E.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||E.isPlainObject(n)?n:{},i=!1,a[t]=E.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},E.extend({expando:"jQuery"+(f+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==o.call(e))&&(!(t=r(e))||"function"==typeof(n=y.call(t,"constructor")&&t.constructor)&&a.call(n)===l)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){C(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(d(e)){for(n=e.length;r<n;r++)if(!1===t.call(e[r],r,e[r]))break}else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},makeArray:function(e,t){var n=t||[];return null!=e&&(d(Object(e))?E.merge(n,"string"==typeof e?[e]:e):u.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:i.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(d(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return v(a)},guid:1,support:m}),"function"==typeof Symbol&&(E.fn[Symbol.iterator]=t[Symbol.iterator]),E.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase()});var p=function(n){var e,p,x,o,i,h,f,g,w,u,l,C,T,a,E,v,s,c,y,S="sizzle"+1*new Date,d=n.document,A=0,r=0,m=ue(),b=ue(),N=ue(),k=ue(),D=function(e,t){return e===t&&(l=!0),0},L={}.hasOwnProperty,t=[],j=t.pop,q=t.push,O=t.push,P=t.slice,H=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},I="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",R="[\\x20\\t\\r\\n\\f]",B="(?:\\\\[\\da-fA-F]{1,6}"+R+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",M="\\["+R+"*("+B+")(?:"+R+"*([*^$|!~]?=)"+R+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+B+"))|)"+R+"*\\]",W=":("+B+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+M+")*)|.*)\\)|)",F=new RegExp(R+"+","g"),$=new RegExp("^"+R+"+|((?:^|[^\\\\])(?:\\\\.)*)"+R+"+$","g"),z=new RegExp("^"+R+"*,"+R+"*"),_=new RegExp("^"+R+"*([>+~]|"+R+")"+R+"*"),U=new RegExp(R+Line truncated
|
||||
/*! jQuery v3.6.4 -ajax,-ajax/jsonp,-ajax/load,-ajax/script,-ajax/var/location,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-deprecated/ajax-event-alias,-effects,-effects/animatedSelector,-effects/Tween | (c) OpenJS Foundation and other contributors | jquery.org/license */
|
||||
!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(g,e){"use strict";var t=[],r=Object.getPrototypeOf,s=t.slice,v=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},u=t.push,i=t.indexOf,n={},o=n.toString,y=n.hasOwnProperty,a=y.toString,l=a.call(Object),m={},b=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},x=function(e){return null!=e&&e===e.window},w=g.document,c={type:!0,src:!0,nonce:!0,noModule:!0};function C(e,t,n){var r,i,o=(n=n||w).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function T(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.6.4 -ajax,-ajax/jsonp,-ajax/load,-ajax/script,-ajax/var/location,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-deprecated/ajax-event-alias,-effects,-effects/animatedSelector,-effects/Tween",E=function(e,t){return new E.fn.init(e,t)};function d(e){var t=!!e&&"length"in e&&e.length,n=T(e);return!b(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}E.fn=E.prototype={jquery:f,constructor:E,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=E.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return E.each(this,e)},map:function(n){return this.pushStack(E.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(E.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(E.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:u,sort:t.sort,splice:t.splice},E.extend=E.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||b(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(E.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||E.isPlainObject(n)?n:{},i=!1,a[t]=E.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},E.extend({expando:"jQuery"+(f+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==o.call(e))&&(!(t=r(e))||"function"==typeof(n=y.call(t,"constructor")&&t.constructor)&&a.call(n)===l)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){C(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(d(e)){for(n=e.length;r<n;r++)if(!1===t.call(e[r],r,e[r]))break}else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},makeArray:function(e,t){var n=t||[];return null!=e&&(d(Object(e))?E.merge(n,"string"==typeof e?[e]:e):u.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:i.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(d(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return v(a)},guid:1,support:m}),"function"==typeof Symbol&&(E.fn[Symbol.iterator]=t[Symbol.iterator]),E.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase()});var p=function(n){var e,p,x,o,i,h,f,g,w,u,l,C,T,a,E,v,s,c,y,A="sizzle"+1*new Date,d=n.document,N=0,r=0,m=ue(),b=ue(),S=ue(),k=ue(),D=function(e,t){return e===t&&(l=!0),0},L={}.hasOwnProperty,t=[],j=t.pop,q=t.push,O=t.push,P=t.slice,H=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},I="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",R="[\\x20\\t\\r\\n\\f]",B="(?:\\\\[\\da-fA-F]{1,6}"+R+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",M="\\["+R+"*("+B+")(?:"+R+"*([*^$|!~]?=)"+R+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+B+"))|)"+R+"*\\]",W=":("+B+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+M+")*)|.*)\\)|)",F=new RegExp(R+"+","g"),$=new RegExp("^"+R+"+|((?:^|[^\\\\])(?:\\\\.)*)"+R+"+$","g"),z=new RegExp("^"+R+"*,"+R+"*"),_=new RegExp("^"+R+"*([>+~]|"+R+")"+R+"*"),U=new RegExp(R+Line truncated
|
||||
Vendored
-1589
File diff suppressed because it is too large.
Load diff
Vendored
+17
-1
@@ -1,2 +1,18 @@
|
||||
!function(n){var r={};function o(t){if(r[t])return r[t].exports;var e=r[t]={i:t,l:!1,exports:{}};return n[t].call(e.exports,e,e.exports,o),e.l=!0,e.exports}o.m=n,o.c=r,o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=193)}([function(n,t,e){!function(t){function e(t){return t&&t.Math==Math&&t}n.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof t&&t)||function(){return this}()||Function("return this")()}.call(this,e(154))},function(t,e,n){var n=n(60),r=Function.prototype,o=r.bind,i=r.call,a=n&&o.bind(i,i);t.exports=n?function(t){return t&&a(t)}:function(t){return t&&function(){return i.apply(t,arguments)}}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var u=n(0),l=n(42).f,f=n(45),d=n(37),p=n(98),h=n(126),v=n(81);t.exports=function(t,e){var n,r,o,i=t.target,a=t.global,c=t.stat,s=a?u:c?u[i]||p(i,{}):(u[i]||{}).prototype;if(s)for(n in e){if(r=e[n],o=t.noTargetGet?(o=l(s,n))&&o.value:s[n],!v(a?n:i+(c?".":"#")+n,t.forced)&&void 0!==o){if(typeof r==typeof o)continue;h(r,o)}(t.sham||o&&o.sham)&&f(r,"sham",!0),d(s,n,r,t)}}},function(t,e,n){var r=n(105),o=n(37),n=n(158);r||o(Object.prototype,"toString",n,{unsafe:!0})},function(t,e,n){"use strict";var r=n(30),o=n(89),i=n(68),a=n(49),c=n(22).f,s=n(109),u=n(54),n=n(17),l="Array Iterator",f=a.set,d=a.getterFor(l),a=(t.exports=s(Array,"Array",function(t,e){f(this,{type:l,target:r(t),index:0,kind:e})},function(){var t=d(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?{value:t.target=void 0,done:!0}:"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}},"values"),i.Arguments=i.Array);if(o("keys"),o("values"),o("entries"),!u&&n&&"values"!==a.name)try{c(a,"name",{value:"values"})}catch(t){}},function(t,e,n){"use strict";var r=n(137).charAt,o=n(23),i=n(49),n=n(109),a="String Iterator",c=i.set,s=i.getterFor(a);n(String,"String",function(t){c(this,{type:a,string:o(t),index:0})},function(){var t=s(this),e=t.string,n=t.index;return n>=e.length?{value:void 0,done:!0}:(e=r(e,n),t.index+=e.length,{value:e,done:!1})})},function(N,R,t){"use strict";function r(t,e){var n=P[t]=g(T);return ft(n,{type:x,tag:t,description:e}),u||(n.description=e),n}function o(t,e,n){return t===E&&o(M,e,n),h(t),e=y(e),h(n),d(P,e)?(n.enumerable?(d(t,S)&&t[S][e]&&(t[S][e]=!1),n=g(n,{enumerable:m(0,!1)})):(d(t,S)||D(t,S,m(1,{})),t[S][e]=!0),bt(t,e,n)):D(t,e,n)}function n(e,t){h(e);var n=v(t),t=Q(n).concat(a(n));return C(t,function(t){u&&!s(i,n,t)||o(e,t,n[t])}),e}function i(t){var t=y(t),e=s(yt,this,t);return!(this===E&&d(P,t)&&!d(M,t))&&(!(e||!d(this,t)||!d(P,t)||d(this,S)&&this[S][t])||e)}function B(t,e){var n,t=v(t),e=y(e);if(t!==E||!d(P,e)||d(M,e))return!(n=ht(t,e))||!d(P,e)||d(t,S)&&t[S][e]||(n.enumerable=!0),n}function H(t){var t=vt(v(t)),e=[];return C(t,function(t){d(P,t)||d(it,t)||mt(e,t)}),e}function a(t){var e=t===E,t=vt(e?M:v(t)),n=[];return C(t,function(t){!d(P,t)||e&&!d(E,t)||mt(n,P[t])}),n}var F,e=t(3),c=t(0),V=t(43),Y=t(84),s=t(21),W=t(1),z=t(54),u=t(17),l=t(96),f=t(2),d=t(20),U=t(86),q=t(14),K=t(19),$=t(44),p=t(73),h=t(18),X=t(36),v=t(30),y=t(72),G=t(23),m=t(61),g=t(50),Q=t(66),Z=t(55),J=t(107),b=t(103),tt=t(42),et=t(22),nt=t(132),rt=t(70),ot=t(106),_=t(37),w=t(77),O=t(79),it=t(63),at=t(78),ct=t(12),st=t(133),ut=t(134),lt=t(87),k=t(49),C=t(56).forEach,S=O("hidden"),x="Symbol",t="prototype",O=ct("toPrimitive"),ft=k.set,dt=k.getterFor(x),E=Object[t],j=c.Symbol,T=j&&j[t],pt=c.TypeError,k=c.QObject,A=V("JSON","stringify"),ht=tt.f,D=et.f,vt=J.f,yt=rt.f,mt=W([].push),P=w("symbols"),M=w("op-symbols"),I=w("string-to-symbol-registry"),L=w("symbol-to-string-registry"),c=w("wks"),gt=!k||!k[t]||!k[t].findChild,bt=u&&f(function(){return 7!=g(D({},"a",{get:function(){return D(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=ht(E,e);r&&delete E[e],D(t,e,n),r&&t!==E&&D(E,e,r)}:D;l||(_(T=(j=function(){if($(T,this))throw pt("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?G(arguments[0]):void 0,e=at(t),n=function(t){this===E&&s(n,M,t),d(this,S)&&d(this[S],e)&&(this[S][e]=!1),bt(this,e,m(1,t))};return u&>&&bt(E,e,{configurable:!0,set:n}),r(e,t)})[t],"toString",function(){return dt(this).tag}),_(j,"withoutSetter",function(t){return
Line truncated
|
||||
/*!
|
||||
*
|
||||
* Tailwind Elements is an open-source UI kit of advanced components for TailwindCSS.
|
||||
* Copyright © 2023 MDBootstrap.com
|
||||
*
|
||||
* Unless a custom, individually assigned license has been granted, this program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
|
||||
* In addition, a custom license may be available upon request, subject to the terms and conditions of that license. Please contact tailwind@mdbootstrap.com for more information on obtaining a custom license.
|
||||
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
|
||||
*
|
||||
*/
|
||||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("te",[],e):"object"==typeof exports?exports.te=e():t.te=e()}(this,function(){return i=[function(t,e,i){var i=i(44),n=Function.prototype,s=n.call,n=i&&n.bind.bind(s,s);t.exports=i?n:function(t){return function(){return s.apply(t,arguments)}}},function(t,e,i){var i=i(72),n=i.all;t.exports=i.IS_HTMLDDA?function(t){return"function"==typeof t||t===n}:function(t){return"function"==typeof t}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(i,t,e){!function(t){function e(t){return t&&t.Math==Math&&t}i.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof t&&t)||function(){return this}()||Function("return this")()}.call(this,e(119))},function(t,e,i){var n=i(3),s=i(54),o=i(12),a=i(76),r=i(75),i=i(74),l=n.Symbol,c=s("wks"),h=i?l.for||l:l&&l.withoutSetter||a;t.exports=function(t){return o(c,t)||(c[t]=r&&o(l,t)?l[t]:h("Symbol."+t)),c[t]}},function(t,e,i){var i=i(44),n=Function.prototype.call;t.exports=i?n.bind(n):function(){return n.apply(n,arguments)}},function(t,e,i){"use strict";var n=i(31),s=i(93),o=i(38),a=i(20),r=i(14).f,l=i(96),c=i(100),h=i(19),i=i(11),d="Array Iterator",u=a.set,p=a.getterFor(d),a=(t.exports=l(Array,"Array",function(t,e){u(this,{type:d,target:n(t),index:0,kind:e})},function(){var t=p(this),e=t.target,i=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,c(void 0,!0)):c("keys"==i?n:"values"==i?e[n]:[n,e[n]],!1)},"values"),o.Arguments=o.Array);if(s("keys"),s("values"),s("entries"),!h&&i&&"values"!==a.name)try{r(a,"name",{value:"values"})}catch(t){}},function(t,e,i){"use strict";var n=i(10),i=i(63);n({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},function(t,e,i){"use strict";var n=i(10),s=i(83).includes,o=i(2),i=i(93);n({target:"Array",proto:!0,forced:o(function(){return!Array(1).includes()})},{includes:function(t){return s(this,t,1<arguments.length?arguments[1]:void 0)}}),i("includes")},function(t,e,i){function n(e,t){if(e){if(e[h]!==u)try{c(e,h,u)}catch(t){e[h]=u}if(e[d]||c(e,d,t),a[t])for(var i in l)if(e[i]!==l[i])try{c(e,i,l[i])}catch(t){e[i]=l[i]}}}var s,o=i(3),a=i(135),r=i(136),l=i(6),c=i(26),i=i(4),h=i("iterator"),d=i("toStringTag"),u=l.values;for(s in a)n(o[s]&&o[s].prototype,s);n(r,"DOMTokenList")},function(t,e,i){var c=i(3),h=i(51).f,d=i(26),u=i(16),p=i(56),f=i(80),m=i(62);t.exports=function(t,e){var i,n,s,o=t.target,a=t.global,r=t.stat,l=a?c:r?c[o]||p(o,{}):(c[o]||{}).prototype;if(l)for(i in e){if(n=e[i],s=t.dontCallGetSet?(s=h(l,i))&&s.value:l[i],!m(a?i:o+(r?".":"#")+i,t.forced)&&void 0!==s){if(typeof n==typeof s)continue;f(n,s)}(t.sham||s&&s.sham)&&d(n,"sham",!0),u(l,i,n,t)}}},function(t,e,i){i=i(2);t.exports=!i(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},function(t,e,i){var n=i(0),s=i(23),o=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(s(t),e)}},function(t,e,i){var n=i(15),s=String,o=TypeError;t.exports=function(t){if(n(t))return t;throw o(s(t)+" is not an object")}},function(t,e,i){var n=i(11),s=i(77),o=i(78),a=i(13),r=i(53),l=TypeError,c=Object.defineProperty,h=Object.getOwnPropertyDescriptor,d="enumerable",u="configurable",p="writable";e.f=n?o?function(t,e,i){var n;return a(t),e=r(e),a(i),"function"==typeof t&&"prototype"===e&&"value"in i&&p in i&&!i[p]&&(n=h(t,e))&&n[p]&&(t[e]=i.value,i={configurable:(u in i?i:n)[u],enumerable:(d in i?i:n)[d],writable:!1}),c(t,e,i)}:c:function(t,e,i){if(a(t),e=r(e),a(i),s)try{return c(t,e,i)}catch(t){}if("get"in i||"set"in i)throw l("Accessors not supported");return"value"in i&&(t[e]=i.value),t}},function(t,e,i){var n=i(1),i=i(72),s=i.all;t.exports=i.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:n(t)||t===s}:function(t){return"object"==typeof t?null!==t:n(t)}},function(t,e,i){var a=i(1),r=i(14),l=i(79),c=i(56);t.exports=function(t,e,i,n){var s=(n=n||{}).enumerable,o=void 0!==n.name?n.name:e;if(a(i)&&l(i,o,n),n.global)s?t[e]=i:c(e,i);else{try{n.unsafe?t[e]&&(s=!0):delete t[e]}catch(t){}s?t[e]=i:r.f(t,e,{value:i,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return t}},function(t,e,i){var n=i(49),s=String;t.exports=function(t){if("Symbol"===n(t))throw TypeError("Cannot convert a Symbol value to a string");return s(t)}},function(t,e,i){var n=i(1),s=i(34),o=TypeError;t.exports=function(t){if(n(t))return t;throw o(s(t)+" is not a function")}},function(t,e){t.exports=!1},function(t,e,i){var n,s,o,a,r=i(122),l=i(3),c=i(15),h=i(26),d=i(12),u=i(55),p=i(59),i=i(60),f="Object already initialized",m=l.TypeError,l=l.WeakMap,g=r||u.state?((o=u.state||(u.state=new l)).get=o.get,o.has=o.has,o.set=o.set,n=function(t,e){if(o.has(t))throw m(f);return e.facade=t,o.set(t,e),e},s=function(t){return o.get(t)||{}},function(t){return o.has(t)}):(i[a=p("state")]=!0,n=function(t,e){if(d(t,a))throw m(f);return e.facade=Line truncated
|
||||
/*!
|
||||
* perfect-scrollbar v1.5.3
|
||||
* Copyright 2021 Hyunje Jun, MDBootstrap and Contributors
|
||||
* Licensed under MIT
|
||||
*/
|
||||
function ml(t){return getComputedStyle(t)}function p(t,e){for(var i in e){var n=e[i];"number"==typeof n&&(n+="px"),t.style[i]=n}}function gl(t){var e=document.createElement("div");return e.className=t,e}var _l="undefined"!=typeof Element&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function vl(t,e){if(_l)return _l.call(t,e);throw new Error("No element matching method supported")}function bl(t){t.remove?t.remove():t.parentNode&&t.parentNode.removeChild(t)}function yl(t,e){return Array.prototype.filter.call(t.children,function(t){return vl(t,e)})}var B={main:"ps",rtl:"ps__rtl",element:{thumb:function(t){return"ps__thumb-"+t},rail:function(t){return"ps__rail-"+t},consuming:"ps__child--consume"},state:{focus:"ps--focus",clicking:"ps--clicking",active:function(t){return"ps--active-"+t},scrolling:function(t){return"ps--scrolling-"+t}}},wl={x:null,y:null};function xl(t,e){var t=t.element.classList,i=B.state.scrolling(e);t.contains(i)?clearTimeout(wl[e]):t.add(i)}function Cl(t,e){wl[e]=setTimeout(function(){return t.isAlive&&t.element.classList.remove(B.state.scrolling(e))},t.settings.scrollingThreshold)}function kl(t){this.element=t,this.handlers={}}function Al(){this.eventElements=[]}t={isEmpty:{configurable:!0}};kl.prototype.bind=function(t,e){void 0===this.handlers[t]&&(this.handlers[t]=[]),this.handlers[t].push(e),this.element.addEventListener(t,e,!1)},kl.prototype.unbind=function(e,i){var n=this;this.handlers[e]=this.handlers[e].filter(function(t){return!(!i||t===i)||(n.element.removeEventListener(e,t,!1),!1)})},kl.prototype.unbindAll=function(){for(var t in this.handlers)this.unbind(t)},t.isEmpty.get=function(){var e=this;return Object.keys(this.handlers).every(function(t){return 0===e.handlers[t].length})},Object.defineProperties(kl.prototype,t);function Sl(t){var e;return"function"==typeof window.CustomEvent?new CustomEvent(t):((e=document.createEvent("CustomEvent")).initCustomEvent(t,!1,!1,void 0),e)}function Tl(t,e,i,n,s){var o;if(void 0===n&&(n=!0),void 0===s&&(s=!1),"top"===e)o=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==e)throw new Error("A proper axis should be provided");o=["contentWidth","containerWidth","scrollLeft","x","left","right"]}var e=t,t=i,i=n,n=s,a=(s=o)[0],r=s[1],l=s[2],c=s[3],h=s[4],s=s[5],d=(void 0===i&&(i=!0),void 0===n&&(n=!1),e.element);e.reach[c]=null,d[l]<1&&(e.reach[c]="start"),d[l]>e[a]-e[r]-1&&(e.reach[c]="end"),t&&(d.dispatchEvent(Sl("ps-scroll-"+c)),t<0?d.dispatchEvent(Sl("ps-scroll-"+h)):0<t&&d.dispatchEvent(Sl("ps-scroll-"+s)),i)&&(xl(l=e,a=c),Cl(l,a));e.reach[c]&&(t||n)&&d.dispatchEvent(Sl("ps-"+c+"-reach-"+e.reach[c]))}function f(t){return parseInt(t,10)||0}Al.prototype.eventElement=function(e){var t=this.eventElements.filter(function(t){return t.element===e})[0];return t||(t=new kl(e),this.eventElements.push(t)),t},Al.prototype.bind=function(t,e,i){this.eventElement(t).bind(e,i)},Al.prototype.unbind=function(t,e,i){t=this.eventElement(t);t.unbind(e,i),t.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(t),1)},Al.prototype.unbindAll=function(){this.eventElements.forEach(function(t){return t.unbindAll()}),this.eventElements=[]},Al.prototype.once=function(t,e,i){var n=this.eventElement(t),s=function(t){n.unbind(e,s),i(t)};n.bind(e,s)};var Ol={isWebKit:"undefined"!=typeof document&&"WebkitAppearance"in document.documentElement.style,supportsTouch:"undefined"!=typeof window&&("ontouchstart"in window||"maxTouchPoints"in window.navigator&&0<window.navigator.maxTouchPoints||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:"undefined"!=typeof navigator&&navigator.msMaxTouchPoints,isChrome:"undefined"!=typeof navigator&&/Chrome/i.test(navigator&&navigator.userAgent)};function El(t){var e=t.element,i=Math.floor(e.scrollTop),n=e.getBoundingClientRect(),n=(t.containerWidth=Math.round(n.width),t.containerHeight=Math.round(n.height),t.contentWidth=e.scrollWidth,t.contentHeight=e.scrollHeight,e.contains(t.scrollbarXRail)||(yl(e,B.element.rail("x")).forEach(bl),e.appendChild(t.scrollbarXRail)),e.contains(t.scrollbarYRail)||(yl(e,B.element.rail("y")).forEach(bl),e.appendChild(t.scrollbarYRail)),!t.settings.suppressScrollX&&t.containerWidth+t.settings.scrollXMarginOffset<t.contentWidth?(t.scrollbarXActive=!0,t.railXWidth=t.containerWidth-t.railXMarginWidth,t.railXRatio=t.containerWidth/t.railXWidth,t.scrollbarXWidth=Il(t,f(t.railXWidth*t.containerWidth/t.contentWidth)),t.scrollbarXLeft=f((t.negativeScrollAdjustment+e.scrollLeft)*(t.railXWidth-t.scrollbarXWidth)/(t.contentWidth-t.containerWidth))):t.scrollbarXActive=!1,!t.settings.suppressScrollY&&t.containerHeight+t.settings.scrollYMarginOffset<t.contentHeight?(t.scrollbarYActive=!0,t.railYHeight=t.containerHeight-t.railYMarginHeight,t.railYRatio=t.containerHeight/t.railYHeight,t.scrollbarYHeight=Il(t,f(t.railYHeight*t.containerHeight/t.contentHeight)),t.scrolLine truncated
|
||||
//# sourceMappingURL=index.min.js.map
|
||||
+1
-1
@@ -2,4 +2,4 @@
|
||||
[module.hugoVersion]
|
||||
extended = true
|
||||
min = "0.87.0 "
|
||||
max = "0.110.0"
|
||||
max = "0.111.3"
|
||||
@@ -69,7 +69,7 @@ disableImageOptimization = false
|
||||
showAuthorsBadges = false
|
||||
showWordCount = true
|
||||
showSummary = true
|
||||
# sharingLinks = [ "linkedin", "twitter", "reddit", "pinterest", "facebook", "email"]
|
||||
# sharingLinks = [ "linkedin", "twitter", "reddit", "pinterest", "facebook", "email", "whatsapp", "telegram"]
|
||||
|
||||
[list]
|
||||
showHero = false
|
||||
|
||||
@@ -28,5 +28,15 @@
|
||||
"icon": "twitter",
|
||||
"title": "sharing.twitter",
|
||||
"url": "https://twitter.com/intent/tweet/?url=%s&text=%s"
|
||||
},
|
||||
"whatsapp": {
|
||||
"icon": "whatsapp",
|
||||
"title": "sharing.whatsapp",
|
||||
"url": "https://api.whatsapp.com/send?text=%s&resubmit=true&title=%s"
|
||||
},
|
||||
"telegram": {
|
||||
"icon": "telegram",
|
||||
"title": "sharing.telegram",
|
||||
"url": "https://t.me/share/url?url=%s&resubmit=true&title=%s"
|
||||
}
|
||||
}
|
||||
@@ -68,7 +68,7 @@ smartTOCHideUnfocusedChildren = true
|
||||
showAuthorsBadges = true
|
||||
showWordCount = false
|
||||
showSummary = true
|
||||
sharingLinks = [ "linkedin", "twitter", "reddit", "pinterest", "facebook", "email"]
|
||||
sharingLinks = [ "linkedin", "twitter", "reddit", "whatsapp", "telegram", "pinterest", "facebook", "email"]
|
||||
|
||||
[list]
|
||||
showHero = true
|
||||
|
||||
@@ -76,6 +76,7 @@ The theme currently supports the following languages by default:
|
||||
| 🇷🇴 Romanian | `ro` |
|
||||
| 🇷🇺 Russian | `ru` |
|
||||
| 🇹🇷 Turkish | `tr` |
|
||||
| 🇻🇳 Vietnamese | `vi` |
|
||||
| 🇨🇳 Simplified Chinese (China) | `zh-cn` |
|
||||
| 🇹🇼 Traditional Chinese (Taiwan) | `zh-tw` |
|
||||
|
||||
@@ -105,7 +106,7 @@ The default file can be used as a template to create additional languages, or re
|
||||
| `dateFormat` | `"2 January 2006"` | How dates are formatted in this language. Refer to the [Hugo docs](https://gohugo.io/functions/format/#gos-layout-string) for acceptable formats. |
|
||||
| `title` | `"Blowfish"` | The title of the website. This will be displayed in the site header and footer. |
|
||||
| `description` | _Not set_ | The website description. This will be used in the site metadata. |
|
||||
| `copyright` | _Not set_ | A Markdown string containing the copyright message to be displayed in the site footer. If none is provided, Blowfish will automatically generate a copyright string using the site `title`. |
|
||||
| `copyright` | _Not set_ | A Markdown string for the site footer copyright message can include the placeholder { year } to dynamically insert the current year. If none is provided, Blowfish will automatically generate a copyright string using the site `title`. |
|
||||
| `author.name` | _Not set_ | The author's name. This will be displayed in article footers, and on the homepage when the profile layout is used. |
|
||||
| `author.image` | _Not set_ | Path to the image file of the author. The image should be a 1:1 aspect ratio and placed in the site's `assets/` folder. |
|
||||
| `author.headline` | _Not set_ | A Markdown string containing the author's headline. It will be displayed on the profile homepage under the author's name. |
|
||||
@@ -206,7 +207,7 @@ Many of the article defaults here can be overridden on a per article basis by sp
|
||||
| `article.showWordCount` | `false` | Whether or not article word counts are displayed. |
|
||||
| `article.showComments` | `false` | Whether or not the [comments partial]({{< ref "partials#comments" >}}) is included after the article footer. |
|
||||
| `article.showSummary` | `false` | Whether or not article summaries are displayed on list pages. If a summary is not provided in the [front matter]({{< ref "front-matter" >}}), one will be auto generated using the `summaryLength` parameter in the [site configuration](#site-configuration). |
|
||||
| `article.sharingLinks` | _Not set_ | Which sharing links to display at the end of each article. When not provided, or set to `false` no links will be displayed. |
|
||||
| `article.sharingLinks` | _Not set_ | Which sharing links to display at the end of each article. When not provided, or set to `false` no links will be displayed. Available values are: "linkedin", "twitter", "reddit", "pinterest", "facebook", "email", "whatsapp", and "telegram" |
|
||||
|
||||
### List
|
||||
|
||||
|
||||
@@ -268,13 +268,13 @@ In order to add images to the gallery, use `img` tags for each image and add `cl
|
||||
|
||||
```md
|
||||
{{</* gallery */>}}
|
||||
<img src="gallery/01.jpg" class="grid-w33" />
|
||||
<img src="gallery/02.jpg" class="grid-w33" />
|
||||
<img src="gallery/03.jpg" class="grid-w33" />
|
||||
<img src="gallery/04.jpg" class="grid-w33" />
|
||||
<img src="gallery/05.jpg" class="grid-w33" />
|
||||
<img src="gallery/06.jpg" class="grid-w33" />
|
||||
<img src="gallery/07.jpg" class="grid-w33" />
|
||||
<img src="gallery/01.jpg" class="grid-w50 md:grid-w33 xl:grid-w25" />
|
||||
<img src="gallery/02.jpg" class="grid-w50 md:grid-w33 xl:grid-w25" />
|
||||
<img src="gallery/03.jpg" class="grid-w50 md:grid-w33 xl:grid-w25" />
|
||||
<img src="gallery/04.jpg" class="grid-w50 md:grid-w33 xl:grid-w25" />
|
||||
<img src="gallery/05.jpg" class="grid-w50 md:grid-w33 xl:grid-w25" />
|
||||
<img src="gallery/06.jpg" class="grid-w50 md:grid-w33 xl:grid-w25" />
|
||||
<img src="gallery/07.jpg" class="grid-w50 md:grid-w33 xl:grid-w25" />
|
||||
{{</* /gallery */>}}
|
||||
```
|
||||
|
||||
@@ -296,7 +296,7 @@ In order to add images to the gallery, use `img` tags for each image and add `cl
|
||||
|
||||
<!-- prettier-ignore-start -->
|
||||
| Parameter | Description |
|
||||
| --------- | ----------------------------------------------------- |
|
||||
|-----------|-------------------------------------------------------|
|
||||
| `repo` | [String] github repo in the format of `username/repo` |
|
||||
<!-- prettier-ignore-end -->
|
||||
|
||||
@@ -310,6 +310,30 @@ In order to add images to the gallery, use `img` tags for each image and add `cl
|
||||
|
||||
<br/><br/><br/>
|
||||
|
||||
## GitLab Card
|
||||
|
||||
`gitlab` allows you to quickly link a GitLab Project (GitLab's jargon for repo).
|
||||
It displays realtime stats about it, such as the number of stars and forks it has.
|
||||
Unlike `github` it can't display the main programming language of a project.
|
||||
Finaly custom GitLab instace URL can be provided, as long as the `api/v4/projects/` endpoint is available, making this shortcode compatible with most self-hosted / entreprise deployments.
|
||||
|
||||
<!-- prettier-ignore-start -->
|
||||
| Parameter | Description |
|
||||
|-------------|------------------------------------------------------------------------|
|
||||
| `projectID` | [String] gitlab numeric ProjectID |
|
||||
| `baseURL` | [String] optional gitlab instace URL, default is `https://gitlab.com/` |
|
||||
<!-- prettier-ignore-end -->
|
||||
|
||||
**Example 1:**
|
||||
|
||||
```md
|
||||
{{</* gitlab projectID="278964" */>}}
|
||||
```
|
||||
|
||||
{{< gitlab projectID="278964" >}}
|
||||
|
||||
<br/><br/><br/>
|
||||
|
||||
## Icon
|
||||
|
||||
`icon` outputs an SVG icon and takes the icon name as its only parameter. The icon is scaled to match the current text size.
|
||||
|
||||
@@ -4,8 +4,6 @@ date: 2019-01-24
|
||||
externalUrl: "https://nunocoracao.com/projects/"
|
||||
summary: "The `externalUrl` front matter parameter can link to any URL."
|
||||
showReadingTime: true
|
||||
showLikes: false
|
||||
showViews: false
|
||||
_build:
|
||||
render: "false"
|
||||
list: "local"
|
||||
|
||||
@@ -143,4 +143,4 @@ X<sup>n</sup> + Y<sup>n</sup> = Z<sup>n</sup>
|
||||
|
||||
Press <kbd>CTRL</kbd>+<kbd>ALT</kbd>+<kbd>Delete</kbd> to end the session.
|
||||
|
||||
Most <mark>salamanders</mark> are nocturnal, and hunt for insects, worms, and other small creatures.
|
||||
Most <mark>salamanders</mark> are nocturnal, and hunt for insects, worms, and other small creatures.
|
||||
@@ -47,7 +47,6 @@ Real websites that are built with Blowfish.
|
||||
| [omarohn.de](https://omarohn.de) | Personal site |
|
||||
| [spelucin.me](https://spelucin.me) | Personal site |
|
||||
| [insidemordecai.com](https://insidemordecai.com) | Personal site |
|
||||
| [sajayprakash.com](https://sajayprakash.com) | Personal site |
|
||||
| [jamesdixon.dev](https://jamesdixon.dev) | Personal site |
|
||||
| [blastomussa.dev](https://blastomussa.dev) | Personal site |
|
||||
| [cdell.io](https://cdell.io) | Personal site |
|
||||
@@ -59,16 +58,20 @@ Real websites that are built with Blowfish.
|
||||
| [adir1.com](https://adir1.com/) | Personal site |
|
||||
| [niklas-hartmann-dev.de](https://niklas-hartmann-dev.de/) | Personal site |
|
||||
| [blog.muffn.io](https://blog.muffn.io/) | Personal site |
|
||||
| [voicedrew11.github.io](https://voicedrew11.github.io/) | Personal site |
|
||||
| [nick.bouwhuis.net](https://nick.bouwhuis.net) | Personal site |
|
||||
| [vividscc.com](https://vividscc.com/) | Business site |
|
||||
| [muhalvin.github.io](https://muhalvin.github.io/) | Personal site |
|
||||
| [mariuskimmina.com](https://mariuskimmina.com/) | Personal Site |
|
||||
| [ashwinbalaji.xyz](https://ashwinbalaji.xyz/) | Personal Site |
|
||||
| [technicat.com](https://technicat.com/) | Company Site |
|
||||
| [fugugames.com](https://fugugames.com/) | Games Site |
|
||||
| [hyperbowl3d.com](https://hyperbowl3d.com/) | Game Site |
|
||||
| [talkdimsum.com](https://talkdimsum.com/) | App Site |
|
||||
| [mariuskimmina.com](https://mariuskimmina.com/) | Personal site |
|
||||
| [ashwinbalaji.xyz](https://ashwinbalaji.xyz/) | Personal site |
|
||||
| [technicat.com](https://technicat.com/) | Company site |
|
||||
| [fugugames.com](https://fugugames.com/) | Games site |
|
||||
| [hyperbowl3d.com](https://hyperbowl3d.com/) | Game site |
|
||||
| [talkdimsum.com](https://talkdimsum.com/) | App site |
|
||||
| [alanctanner.com](https://alanctanner.com/) | Personal site |
|
||||
| [rdgo.dev](https://rdgo.dev/) | Personal site |
|
||||
| [ripplesding.github.io](https://ripplesding.github.io/) | Personal site |
|
||||
| [terraformbuch.de](https://terraformbuch.de/) | Book site |
|
||||
| [shenshu.fun](https://shenshu.fun/) | Personal site |
|
||||
|
||||
|
||||
{{< alert >}}
|
||||
|
||||
+4
-4
@@ -15,9 +15,9 @@ article:
|
||||
word_count:
|
||||
one: "{{ .Count }} Wort"
|
||||
other: "{{ .Count }} Wörter"
|
||||
part_of_series: "This article is part of a series."
|
||||
part: "Part"
|
||||
this_article: "This Article"
|
||||
part_of_series: "Dieser Artikel ist Teil einer Serie."
|
||||
part: "Teil"
|
||||
this_article: "Dieser Artikel"
|
||||
|
||||
author:
|
||||
byline_title: "Autor"
|
||||
@@ -62,4 +62,4 @@ shortcode:
|
||||
|
||||
|
||||
recent:
|
||||
show_more: "Zeig Mehr"
|
||||
show_more: "Zeige Mehr"
|
||||
+6
-6
@@ -2,7 +2,7 @@ global:
|
||||
language: "🇵🇹"
|
||||
|
||||
article:
|
||||
anchor_label: "Anchor"
|
||||
anchor_label: "Etiqueta"
|
||||
date: "{{ .Date }}"
|
||||
date_updated: "Atualizado a: {{ .Date }}"
|
||||
draft: "Rascunho"
|
||||
@@ -11,16 +11,16 @@ article:
|
||||
one: "{{ .Count }} minuto"
|
||||
other: "{{ .Count }} minutos"
|
||||
reading_time_title: "Tempo de leitura"
|
||||
table_of_contents: "Tabela de conteúdos"
|
||||
table_of_contents: "Índice"
|
||||
word_count:
|
||||
one: "{{ .Count }} palavra"
|
||||
other: "{{ .Count }} palavras"
|
||||
views:
|
||||
one: "{{ .Count }} visualização"
|
||||
other: "{{ .Count }} visualizaçōes"
|
||||
part_of_series: "This article is part of a series."
|
||||
part: "Part"
|
||||
this_article: "This Article"
|
||||
part_of_series: "Este artigo faz parte de uma série."
|
||||
part: "Parte"
|
||||
this_article: "Este artigo"
|
||||
|
||||
author:
|
||||
byline_title: "Autor"
|
||||
@@ -64,4 +64,4 @@ shortcode:
|
||||
recent_articles: "Recente"
|
||||
|
||||
recent:
|
||||
show_more: "Mostrar Mais"
|
||||
show_more: "Mostrar mais"
|
||||
@@ -0,0 +1,70 @@
|
||||
global:
|
||||
language: "🇻🇳"
|
||||
|
||||
article:
|
||||
anchor_label: "Neo"
|
||||
date: "{{ .Date }}"
|
||||
date_updated: "Cập nhật: {{ .Date }}"
|
||||
draft: "Bản nháp"
|
||||
edit_title: "Sửa nội dung"
|
||||
reading_time:
|
||||
one: "{{ .Count }} phút"
|
||||
other: "{{ .Count }} phút"
|
||||
reading_time_title: "Thời gian đọc"
|
||||
table_of_contents: "Mục lục"
|
||||
word_count:
|
||||
one: "{{ .Count }} từ"
|
||||
other: "{{ .Count }} từ"
|
||||
views:
|
||||
one: "{{ .Count }} lượt xem"
|
||||
other: "{{ .Count }} lượt xem"
|
||||
likes:
|
||||
one: "{{ .Count }} lượt thích"
|
||||
other: "{{ .Count }} lượt thích"
|
||||
part_of_series: "Bài viết này là một phần của loạt bài."
|
||||
part: "Phần"
|
||||
this_article: "Bài viết này"
|
||||
|
||||
author:
|
||||
byline_title: "Tác giả"
|
||||
|
||||
code:
|
||||
copy: "Sao chép"
|
||||
copied: "Đã sao chép"
|
||||
|
||||
error:
|
||||
404_title: "Không tìm thấy trang :confused:"
|
||||
404_error: "Lỗi 404"
|
||||
404_description: "Có vẻ như trang bạn yêu cầu không tồn tại."
|
||||
|
||||
footer:
|
||||
dark_appearance: "Chuyển sang giao diện tối"
|
||||
light_appearance: "Chuyển sang giao diện sáng"
|
||||
powered_by: "Dựa trên {{ .Hugo }} & {{ .Theme }}"
|
||||
|
||||
list:
|
||||
externalurl_title: "Liên kết đến trang web bên ngoài"
|
||||
no_articles: "Không có bài viết nào để liệt kê ở đây."
|
||||
|
||||
nav:
|
||||
scroll_to_top_title: "Cuộn lên trên cùng"
|
||||
skip_to_main: "Chuyển đến nội dung chính"
|
||||
|
||||
search:
|
||||
open_button_title: "Tìm kiếm (/)"
|
||||
close_button_title: "Đóng (Esc)"
|
||||
input_placeholder: "Tìm kiếm"
|
||||
|
||||
sharing:
|
||||
email: "Gửi qua email"
|
||||
facebook: "Chia sẻ trên facebook"
|
||||
linkedin: "Chia sẻ trên LinkedIn"
|
||||
pinterest: "Ghim trên Pinterest"
|
||||
reddit: "Gửi lên Reddit"
|
||||
twitter: "Tweet trên Twitter"
|
||||
|
||||
shortcode:
|
||||
recent_articles: "Gần đây"
|
||||
|
||||
recent:
|
||||
show_more: "Xem nhiều hơn"
|
||||
@@ -1,8 +1,8 @@
|
||||
<div id="{{ .Anchor | safeURL }}" class="anchor">{{ .Text | safeHTML }}></div>
|
||||
<div id="{{ .Anchor | safeURL }}" class="anchor"></div>
|
||||
<h{{ .Level }} class="relative group">{{ .Text | safeHTML }}
|
||||
{{ if.Page.Params.showHeadingAnchors | default (.Page.Site.Params.article.showHeadingAnchors | default true) }}<span
|
||||
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100">
|
||||
<a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700"
|
||||
style="text-decoration-line: none !important;" href="#{{ .Anchor | safeURL }}" aria-label="{{ i18n "article.anchor_label" }}">#</a></span>
|
||||
{{ end }}
|
||||
</h{{ .Level }}>
|
||||
</h{{ .Level }}>
|
||||
@@ -4,7 +4,7 @@
|
||||
{{ else }}
|
||||
<a href="{{ .RelPermalink }}" class="min-w-full">
|
||||
{{ end }}
|
||||
<div class="border border-neutral-200 dark:border-neutral-700 border-2 rounded overflow-hidden shadow-2xl relative backdrop-blur">
|
||||
<div class="min-h-full border border-neutral-200 dark:border-neutral-700 border-2 rounded overflow-hidden shadow-2xl relative backdrop-blur">
|
||||
|
||||
{{- with $.Params.images -}}
|
||||
{{- range first 6 . }}
|
||||
|
||||
@@ -30,15 +30,15 @@
|
||||
{{ $meta.Add "partials" (slice (partial "meta/reading-time.html" .)) }}
|
||||
{{ end }}
|
||||
|
||||
{{ if (.Params.showViews | default (.Site.Params.article.showViews | default false)) }}
|
||||
{{ if and (not .Params.externalURL) (.Params.showViews | default (.Site.Params.article.showViews | default false)) }}
|
||||
{{ $meta.Add "partials" (slice (partial "meta/views.html" .)) }}
|
||||
{{ end }}
|
||||
|
||||
{{ if (.Params.showLikes | default (.Site.Params.article.showLikes | default false)) }}
|
||||
{{ if and (not .Params.externalURL) (.Params.showLikes | default (.Site.Params.article.showLikes | default false)) }}
|
||||
{{ $meta.Add "partials" (slice (partial "meta/likes.html" .)) }}
|
||||
{{ end }}
|
||||
|
||||
{{ if and (eq $scope "single") (.Params.showLikes | default (.Site.Params.article.showLikes | default false)) }}
|
||||
{{ if and (eq $scope "single") (not .Params.externalURL) (.Params.showLikes | default (.Site.Params.article.showLikes | default false)) }}
|
||||
{{ $meta.Add "partials" (slice (partial "meta/likes_button.html" .)) }}
|
||||
{{ end }}
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
{{/* Copyright */}}
|
||||
{{ if .Site.Params.footer.showCopyright | default true }}
|
||||
<p class="text-sm text-neutral-500 dark:text-neutral-400">
|
||||
{{- with .Site.Params.copyright }}
|
||||
{{- with replace .Site.Params.copyright "{ year }" now.Year }}
|
||||
{{ . | emojify | markdownify }}
|
||||
{{- else }}
|
||||
©
|
||||
|
||||
@@ -14,11 +14,11 @@
|
||||
<meta name="title" content="{{ .Title | emojify }} · {{ .Site.Title | emojify }}" />
|
||||
{{- end }}
|
||||
{{/* Metadata */}}
|
||||
{{ with .Site.Params.description -}}
|
||||
{{ with .Params.Summary | default .Site.Params.description -}}
|
||||
<meta name="description" content="{{ . }}" />
|
||||
{{- end }}
|
||||
{{ with .Site.Params.keywords -}}
|
||||
<meta name="keywords" content="{{ . }}" />
|
||||
{{ with .Params.Tags | default .Site.Params.keywords -}}
|
||||
<meta name="keywords" content="{{ range . }}{{ . }}, {{ end -}}" />
|
||||
{{- end }}
|
||||
{{ with .Site.Params.robots }}
|
||||
<meta name="robots" content="{{ . }}" />
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
{{ partial "translations.html" . }}
|
||||
|
||||
{{ if .Site.Params.enableSearch | default false }}
|
||||
<button id="search-button" class="text-base hover:text-primary-600 dark:hover:text-primary-400"
|
||||
<button id="search-button" aria-label="Search" class="text-base hover:text-primary-600 dark:hover:text-primary-400"
|
||||
title="{{ i18n " search.open_button_title" }}">
|
||||
{{ partial "icon.html" "search" }}
|
||||
</button>
|
||||
@@ -45,7 +45,7 @@
|
||||
{{ if .Site.Params.footer.showAppearanceSwitcher | default false }}
|
||||
<div
|
||||
class="{{ if .Site.Params.footer.showScrollToTop | default true -}} ltr:mr-14 rtl:ml-14 {{- end }} cursor-pointer text-sm text-neutral-700 hover:text-primary-600 dark:text-neutral dark:hover:text-primary-400">
|
||||
<button id="appearance-switcher" type="button">
|
||||
<button id="appearance-switcher" aria-label="Dark mode switcher" type="button">
|
||||
<div class="flex items-center justify-center h-12 dark:hidden">
|
||||
{{ partial "icon.html" "moon" }}
|
||||
</div>
|
||||
@@ -64,7 +64,7 @@
|
||||
{{ partial "translations.html" . }}
|
||||
|
||||
{{ if .Site.Params.enableSearch | default false }}
|
||||
<button id="search-button-mobile" class="text-base hover:text-primary-600 dark:hover:text-primary-400"
|
||||
<button id="search-button-mobile" aria-label="Search" class="text-base hover:text-primary-600 dark:hover:text-primary-400"
|
||||
title="{{ i18n " search.open_button_title" }}">
|
||||
{{ partial "icon.html" "search" }}
|
||||
</button>
|
||||
@@ -72,7 +72,7 @@
|
||||
|
||||
{{/* Appearance switch */}}
|
||||
{{ if .Site.Params.footer.showAppearanceSwitcher | default false }}
|
||||
<button id="appearance-switcher-mobile" type="button" style="margin-right:5px">
|
||||
<button id="appearance-switcher-mobile" aria-label="Dark mode switcher" type="button" style="margin-right:5px">
|
||||
<div class="flex items-center justify-center h-12 dark:hidden">
|
||||
{{ partial "icon.html" "moon" }}
|
||||
</div>
|
||||
@@ -174,4 +174,4 @@
|
||||
});
|
||||
})();
|
||||
</script>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
@@ -3,14 +3,16 @@
|
||||
{{- $images := .Resources.ByType "image" -}}
|
||||
{{- $featured := $images.GetMatch "*feature*" -}}
|
||||
{{- if not $featured }}{{ $featured = $images.GetMatch "{*cover*,*thumbnail*}" }}{{ end -}}
|
||||
{{- $alt := .Page.Title -}}
|
||||
{{- with .Page.Params.alt }}{{ $alt = . }}{{ end -}}
|
||||
{{- with $featured -}}
|
||||
{{ if $disableImageOptimization }}
|
||||
{{ with . }}
|
||||
<img class="w-full rounded-lg single_hero_round nozoom" src="{{ .RelPermalink }}">
|
||||
<img class="w-full rounded-lg single_hero_round nozoom" alt="{{ $alt }}" width="{{ .Width }}" height="{{ .Height }}" src="{{ .RelPermalink }}">
|
||||
{{ end }}
|
||||
{{ else }}
|
||||
{{ with .Resize "1200x" }}
|
||||
<img class="w-full rounded-lg single_hero_round nozoom" src="{{ .RelPermalink }}">
|
||||
<img class="w-full rounded-lg single_hero_round nozoom" alt="{{ $alt }}" width="{{ .Width }}" height="{{ .Height }}" src="{{ .RelPermalink }}">
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{- end -}}
|
||||
@@ -8,7 +8,7 @@
|
||||
{{ with .Site.Params.defaultBackgroundImage }}{{ $homepageImage = resources.Get . }}{{ end }}
|
||||
{{ with .Site.Params.homepage.homepageImage }}{{ $homepageImage = resources.Get . }}{{ end }}
|
||||
{{ if not (eq $homepageImage "") }}
|
||||
<img class="w-full h-[1000px] object-cover m-0 nozoom" src="{{ $homepageImage.RelPermalink }}">
|
||||
<img class="w-full h-[1000px] object-cover m-0 nozoom" src="{{ $homepageImage.RelPermalink }}" role="presentation">
|
||||
<div
|
||||
class="absolute inset-0 h-[1000px] bg-gradient-to-t from-neutral dark:from-neutral-800 to-transparent mix-blend-normal">
|
||||
</div>
|
||||
@@ -39,7 +39,7 @@
|
||||
<div class="flex flex-wrap">
|
||||
{{ range $links := . }}
|
||||
{{ range $name, $url := $links }}
|
||||
<a class="px-1 hover:text-primary-400 text-primary-800 dark:text-primary-200" href="{{ $url }}" target="_blank"
|
||||
<a class="px-2 hover:text-primary-400 text-primary-800 dark:text-primary-200" href="{{ $url }}" target="_blank"
|
||||
aria-label="{{ $name | title }}" rel="me noopener noreferrer">{{ partial
|
||||
"icon.html" $name }}</a>
|
||||
{{ end }}
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
<div class="flex flex-wrap">
|
||||
{{ range $links := . }}
|
||||
{{ range $name, $url := $links }}
|
||||
<a class="px-1 hover:text-primary-400 text-primary-300" href="{{ $url }}" target="_blank"
|
||||
<a class="px-2 hover:text-primary-400 text-primary-300" href="{{ $url }}" target="_blank"
|
||||
aria-label="{{ $name | title }}" rel="me noopener noreferrer">{{ partial
|
||||
"icon.html" $name }}</a>
|
||||
{{ end }}
|
||||
@@ -52,4 +52,4 @@
|
||||
</article>
|
||||
<section>
|
||||
{{ partial "recent-articles/main.html" . }}
|
||||
</section>
|
||||
</section>
|
||||
@@ -1,7 +1,7 @@
|
||||
{{ if .IsTranslated }}
|
||||
<div>
|
||||
<div class="cursor-pointer flex items-center nested-menu">
|
||||
<a class="text-base font-medium text-gray-500 hover:text-gray-900" title="{{ .Title }}">
|
||||
<a href="#" class="text-base font-medium text-gray-500 hover:text-gray-900" title="{{ .Title }}">
|
||||
{{- i18n "global.language" | markdownify | emojify -}}
|
||||
</a>
|
||||
</div>
|
||||
@@ -19,4 +19,4 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
@@ -4,13 +4,12 @@
|
||||
|
||||
{{/* Mermaid */}}
|
||||
{{ if .Page.HasShortcode "mermaid" }}
|
||||
{{ $mermaidLib := resources.Get "lib/mermaid/mermaid.min.js" }}
|
||||
{{ $mermaidConfig := resources.Get "js/mermaid.js" }}
|
||||
{{ $mermaidConfig := $mermaidConfig | resources.Minify }}
|
||||
{{ $mermaidJS := slice $mermaidLib $mermaidConfig | resources.Concat "js/mermaid.bundle.js" | resources.Fingerprint
|
||||
"sha512" }}
|
||||
<script defer type="text/javascript" src="{{ $mermaidJS.RelPermalink }}"
|
||||
integrity="{{ $mermaidJS.Data.Integrity }}"></script>
|
||||
<script type="module">
|
||||
import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.esm.min.mjs';
|
||||
mermaid.initialize({
|
||||
startOnLoad: true
|
||||
});
|
||||
</script>
|
||||
{{ end }}
|
||||
|
||||
{{/* Chart */}}
|
||||
|
||||
@@ -4,42 +4,59 @@
|
||||
{{ $images := .Page.Resources.Match (.Get "images") }}
|
||||
{{ $interval := default "2000" (.Get "interval") }}
|
||||
|
||||
<div id="{{ $id }}" class="carousel slide relative" data-bs-ride="carousel">
|
||||
<div class="carousel-indicators absolute right-0 bottom-0 left-0 flex justify-center p-0 mb-2">
|
||||
<div id="{{ $id }}" class="relative" data-te-carousel-init data-te-carousel-slide>
|
||||
<div class="absolute right-0 bottom-0 left-0 z-[2] mx-[15%] mb-10 flex list-none justify-center p-0"
|
||||
data-te-carousel-indicators>
|
||||
|
||||
{{ $num := 0 }}
|
||||
{{ range $images }}
|
||||
|
||||
<button type="button" data-bs-target="#{{ $id }}" data-bs-slide-to="{{ $num }}"
|
||||
{{ if eq $num 0 }} class="active" aria-current="true" {{ end }} aria-label="Slide {{ $num }}"></button>
|
||||
<button type="button" data-te-target="#{{ $id }}" data-te-slide-to="{{ $num }}" {{ if eq $num 0 }} data-te-carousel-active aria-current="true" {{ end }}
|
||||
class="mx-[3px] box-content h-[3px] w-[30px] flex-initial cursor-pointer border-0 border-y-[10px] border-solid border-transparent bg-neutral bg-clip-padding p-0 -indent-[999px] opacity-50 transition-opacity duration-[600ms] ease-[cubic-bezier(0.25,0.1,0.25,1.0)] motion-reduce:transition-none"
|
||||
aria-label="Slide {{ $num }}"></button>
|
||||
|
||||
{{ $num = add $num 1 }}
|
||||
{{ end }}
|
||||
|
||||
</div>
|
||||
<div class="carousel-inner relative w-full overflow-hidden">
|
||||
<div class="relative w-full overflow-hidden after:clear-both after:block after:content-['']">
|
||||
|
||||
{{ $num := 0 }}
|
||||
{{ range $images }}
|
||||
|
||||
<div class="carousel-item {{ if eq $num 0 }} active {{ end }} relative float-left w-full ratio-{{ $aspect }} single_hero_background"
|
||||
style="background-image:url({{ . }})"
|
||||
data-bs-interval="{{ $interval }}"
|
||||
></div>
|
||||
<div class="relative float-left -mr-[100%] {{ if not (eq $num 0) }} hidden {{ end }} w-full transition-transform duration-[{{ $interval }}ms] ease-in-out motion-reduce:transition-none"
|
||||
data-te-carousel-item {{ if eq $num 0 }} data-te-carousel-active {{ end }}>
|
||||
<div class="ratio-{{ $aspect }} single_hero_background">
|
||||
<img src="{{ . }}" class="block absolute top-0 object-cover w-full h-full nozoom" alt="carousel image {{$num}}"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{ $num = add $num 1 }}
|
||||
{{ end }}
|
||||
|
||||
</div>
|
||||
<button
|
||||
class="carousel-control-prev absolute top-0 bottom-0 flex items-center justify-center p-0 text-center border-0 hover:outline-none hover:no-underline focus:outline-none focus:no-underline left-0"
|
||||
type="button" data-bs-target="#{{ $id }}" data-bs-slide="prev">
|
||||
<span class="carousel-control-prev-icon inline-block bg-no-repeat" aria-hidden="true"></span>
|
||||
<span class="visually-hidden">Previous</span>
|
||||
class="absolute top-0 bottom-0 left-0 z-[2] flex w-[15%] items-center justify-center border-0 bg-none p-0 text-center text-white opacity-50 transition-opacity duration-150 ease-[cubic-bezier(0.25,0.1,0.25,1.0)] hover:text-white hover:no-underline hover:opacity-90 hover:outline-none focus:text-white focus:no-underline focus:opacity-90 focus:outline-none motion-reduce:transition-none"
|
||||
type="button" data-te-target="#{{ $id }}" data-te-slide="prev">
|
||||
<span class="inline-block h-8 w-8">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="4.5"
|
||||
stroke="currentColor" class="h-6 w-6">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M15.75 19.5L8.25 12l7.5-7.5" />
|
||||
</svg>
|
||||
</span>
|
||||
<span
|
||||
class="!absolute !-m-px !h-px !w-px !overflow-hidden !whitespace-nowrap !border-0 !p-0 ![clip:rect(0,0,0,0)]">Previous</span>
|
||||
</button>
|
||||
<button
|
||||
class="carousel-control-next absolute top-0 bottom-0 flex items-center justify-center p-0 text-center border-0 hover:outline-none hover:no-underline focus:outline-none focus:no-underline right-0"
|
||||
type="button" data-bs-target="#{{ $id }}" data-bs-slide="next">
|
||||
<span class="carousel-control-next-icon inline-block bg-no-repeat" aria-hidden="true"></span>
|
||||
<span class="visually-hidden">Next</span>
|
||||
class="absolute top-0 bottom-0 right-0 z-[1] flex w-[15%] items-center justify-center border-0 bg-none p-0 text-center text-white opacity-50 transition-opacity duration-150 ease-[cubic-bezier(0.25,0.1,0.25,1.0)] hover:text-white hover:no-underline hover:opacity-90 hover:outline-none focus:text-white focus:no-underline focus:opacity-90 focus:outline-none motion-reduce:transition-none"
|
||||
type="button" data-te-target="#{{ $id }}" data-te-slide="next">
|
||||
<span class="inline-block h-8 w-8">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="4.5"
|
||||
stroke="currentColor" class="h-6 w-6">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M8.25 4.5l7.5 7.5-7.5 7.5" />
|
||||
</svg>
|
||||
</span>
|
||||
<span
|
||||
class="!absolute !-m-px !h-px !w-px !overflow-hidden !whitespace-nowrap !border-0 !p-0 ![clip:rect(0,0,0,0)]">Nextsads</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -6,13 +6,11 @@
|
||||
</div>
|
||||
|
||||
<script>
|
||||
|
||||
document.addEventListener("DOMContentLoaded", function () {
|
||||
var elem = document.querySelector('#{{ $id }}');
|
||||
var pckry = new Packery(elem, {
|
||||
$(document).ready(function () {
|
||||
$('#{{ $id }}').packery({
|
||||
percentPosition: true,
|
||||
gutter: 5,
|
||||
resize: true
|
||||
});
|
||||
});
|
||||
})
|
||||
</script>
|
||||
@@ -0,0 +1,39 @@
|
||||
{{- $gitLabData := getJSON (print (default "https://gitlab.com/" (.Get "baseURL")) "api/v4/projects/" (.Get "projectID")) -}}
|
||||
{{- with $gitLabData -}}
|
||||
|
||||
<a target="_blank" href="{{ .html_url }}" class="cursor-pointer">
|
||||
<div class="w-full md:w-auto pt-3 p-5 border border-neutral-200 dark:border-neutral-700 border-2 rounded-md backdrop-blur shadow-2xl">
|
||||
|
||||
<div class="flex items-center">
|
||||
<span class="text-2xl text-neutral-800 dark:text-neutral" style="margin-right:10px;">
|
||||
{{ partial "icon.html" "gitlab" }}
|
||||
</span>
|
||||
<div class="m-0 font-bold text-xl text-neutral-800 decoration-primary-500 hover:underline hover:underline-offset-2 dark:text-neutral">
|
||||
{{ .name_with_namespace | markdownify | emojify }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p class="m-0 mt-2 text-md text-neutral-800 dark:text-neutral">
|
||||
{{ .description | markdownify | emojify }}
|
||||
</p>
|
||||
|
||||
<div class="m-0 mt-2 flex items-center">
|
||||
<span class="text-md mr-1 text-neutral-800 dark:text-neutral">
|
||||
{{ partial "icon.html" "star" }}
|
||||
</span>
|
||||
<div class="m-0 mr-5 text-md text-neutral-800 dark:text-neutral">
|
||||
{{ .star_count }}
|
||||
</div>
|
||||
|
||||
<span class="text-md mr-1 text-neutral-800 dark:text-neutral">
|
||||
{{ partial "icon.html" "fork" }}
|
||||
</span>
|
||||
<div class="m-0 mr-5 text-md text-neutral-800 dark:text-neutral">
|
||||
{{ .forks_count }}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</a>
|
||||
{{- end -}}
|
||||
Generated
+532
-1204
File diff suppressed because it is too large.
Load diff
+9
-14
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "hugo-blowfish-theme",
|
||||
"version": "2.28.0",
|
||||
"version": "2.32.0",
|
||||
"description": "Blowfish theme for Hugo",
|
||||
"scripts": {
|
||||
"fullinstall": "npm run preinstall && npm install && npm run postinstall",
|
||||
@@ -37,25 +37,20 @@
|
||||
"@tailwindcss/typography": "^0.5.9",
|
||||
"chart.js": "^4.2.1",
|
||||
"fuse.js": "^6.6.2",
|
||||
"jquery": "^3.6.3",
|
||||
"jquery": "^3.6.4",
|
||||
"katex": "^0.16.4",
|
||||
"mermaid": "^10.0.0",
|
||||
"packery": "^2.1.2",
|
||||
"prettier": "^2.8.4",
|
||||
"prettier": "^2.8.7",
|
||||
"prettier-plugin-go-template": "^0.0.13",
|
||||
"prettier-plugin-tailwindcss": "^0.2.3",
|
||||
"rimraf": "^4.1.2",
|
||||
"tailwindcss": "^3.2.7",
|
||||
"tw-elements": "^1.0.0-beta1",
|
||||
"prettier-plugin-tailwindcss": "^0.2.7",
|
||||
"rimraf": "^5.0.0",
|
||||
"tailwindcss": "^3.3.1",
|
||||
"tw-elements": "1.0.0-beta1",
|
||||
"typeit": "^8.7.1",
|
||||
"vendor-copy": "^3.0.1"
|
||||
},
|
||||
"vendorCopy": [],
|
||||
"devVendorCopy": [
|
||||
{
|
||||
"from": "node_modules/mermaid/dist/mermaid.min.js",
|
||||
"to": "assets/lib/mermaid/mermaid.min.js"
|
||||
},
|
||||
{
|
||||
"from": "node_modules/chart.js/dist/chart.umd.js",
|
||||
"to": "assets/lib/chart/chart.min.js"
|
||||
@@ -98,8 +93,8 @@
|
||||
}
|
||||
],
|
||||
"dependencies": {
|
||||
"@headlessui/react": "^1.7.11",
|
||||
"@heroicons/react": "^2.0.16",
|
||||
"@headlessui/react": "^1.7.13",
|
||||
"@heroicons/react": "^2.0.17",
|
||||
"@tailwindcss/forms": "^0.5.3",
|
||||
"commander": "^10.0.0"
|
||||
}
|
||||
|
||||
+2
-2
@@ -180,7 +180,7 @@
|
||||
|
||||
|
||||
|
||||
<button id="search-button-mobile" class="text-base hover:text-primary-600 dark:hover:text-primary-400"
|
||||
<button id="search-button-mobile" aria-label="Search" class="text-base hover:text-primary-600 dark:hover:text-primary-400"
|
||||
title="">
|
||||
|
||||
|
||||
@@ -195,7 +195,7 @@
|
||||
|
||||
|
||||
|
||||
<button id="appearance-switcher-mobile" type="button" style="margin-right:5px">
|
||||
<button id="appearance-switcher-mobile" aria-label="Dark mode switcher" type="button" style="margin-right:5px">
|
||||
<div class="flex items-center justify-center h-12 dark:hidden">
|
||||
|
||||
|
||||
|
||||
@@ -182,7 +182,7 @@
|
||||
|
||||
|
||||
|
||||
<button id="search-button-mobile" class="text-base hover:text-primary-600 dark:hover:text-primary-400"
|
||||
<button id="search-button-mobile" aria-label="Search" class="text-base hover:text-primary-600 dark:hover:text-primary-400"
|
||||
title="">
|
||||
|
||||
|
||||
@@ -197,7 +197,7 @@
|
||||
|
||||
|
||||
|
||||
<button id="appearance-switcher-mobile" type="button" style="margin-right:5px">
|
||||
<button id="appearance-switcher-mobile" aria-label="Dark mode switcher" type="button" style="margin-right:5px">
|
||||
<div class="flex items-center justify-center h-12 dark:hidden">
|
||||
|
||||
|
||||
|
||||
@@ -182,7 +182,7 @@
|
||||
|
||||
|
||||
|
||||
<button id="search-button-mobile" class="text-base hover:text-primary-600 dark:hover:text-primary-400"
|
||||
<button id="search-button-mobile" aria-label="Search" class="text-base hover:text-primary-600 dark:hover:text-primary-400"
|
||||
title="">
|
||||
|
||||
|
||||
@@ -197,7 +197,7 @@
|
||||
|
||||
|
||||
|
||||
<button id="appearance-switcher-mobile" type="button" style="margin-right:5px">
|
||||
<button id="appearance-switcher-mobile" aria-label="Dark mode switcher" type="button" style="margin-right:5px">
|
||||
<div class="flex items-center justify-center h-12 dark:hidden">
|
||||
|
||||
|
||||
|
||||
+2
-2
@@ -201,7 +201,7 @@
|
||||
|
||||
|
||||
|
||||
<button id="search-button-mobile" class="text-base hover:text-primary-600 dark:hover:text-primary-400"
|
||||
<button id="search-button-mobile" aria-label="Search" class="text-base hover:text-primary-600 dark:hover:text-primary-400"
|
||||
title="">
|
||||
|
||||
|
||||
@@ -216,7 +216,7 @@
|
||||
|
||||
|
||||
|
||||
<button id="appearance-switcher-mobile" type="button" style="margin-right:5px">
|
||||
<button id="appearance-switcher-mobile" aria-label="Dark mode switcher" type="button" style="margin-right:5px">
|
||||
<div class="flex items-center justify-center h-12 dark:hidden">
|
||||
|
||||
|
||||
|
||||
@@ -182,7 +182,7 @@
|
||||
|
||||
|
||||
|
||||
<button id="search-button-mobile" class="text-base hover:text-primary-600 dark:hover:text-primary-400"
|
||||
<button id="search-button-mobile" aria-label="Search" class="text-base hover:text-primary-600 dark:hover:text-primary-400"
|
||||
title="">
|
||||
|
||||
|
||||
@@ -197,7 +197,7 @@
|
||||
|
||||
|
||||
|
||||
<button id="appearance-switcher-mobile" type="button" style="margin-right:5px">
|
||||
<button id="appearance-switcher-mobile" aria-label="Dark mode switcher" type="button" style="margin-right:5px">
|
||||
<div class="flex items-center justify-center h-12 dark:hidden">
|
||||
|
||||
|
||||
|
||||
@@ -182,7 +182,7 @@
|
||||
|
||||
|
||||
|
||||
<button id="search-button-mobile" class="text-base hover:text-primary-600 dark:hover:text-primary-400"
|
||||
<button id="search-button-mobile" aria-label="Search" class="text-base hover:text-primary-600 dark:hover:text-primary-400"
|
||||
title="">
|
||||
|
||||
|
||||
@@ -197,7 +197,7 @@
|
||||
|
||||
|
||||
|
||||
<button id="appearance-switcher-mobile" type="button" style="margin-right:5px">
|
||||
<button id="appearance-switcher-mobile" aria-label="Dark mode switcher" type="button" style="margin-right:5px">
|
||||
<div class="flex items-center justify-center h-12 dark:hidden">
|
||||
|
||||
|
||||
|
||||
+4
-4
@@ -114,9 +114,9 @@ module.exports = {
|
||||
},
|
||||
mark: {
|
||||
color: theme("colors.neutral.800 / 1"),
|
||||
backgroundColor: theme("colors.secondary.200 / 1"),
|
||||
backgroundColor: theme("colors.primary.600 / 1"),
|
||||
padding: "0.1rem 0.2rem",
|
||||
borderRadius: "0.12rem",
|
||||
borderRadius: "0.25rem",
|
||||
},
|
||||
code:{
|
||||
backgroundColor: theme("colors.neutral.50 / 1"),
|
||||
@@ -124,6 +124,7 @@ module.exports = {
|
||||
paddingBottom: "3px",
|
||||
paddingLeft: "5px",
|
||||
paddingRight: "5px",
|
||||
borderRadius: "0.25rem",
|
||||
},
|
||||
'code::before': {
|
||||
display: 'none'
|
||||
@@ -155,7 +156,7 @@ module.exports = {
|
||||
backgroundColor: theme("colors.neutral.700 / 1"),
|
||||
},
|
||||
mark: {
|
||||
backgroundColor: theme("colors.secondary.400 / 1"),
|
||||
backgroundColor: theme("colors.primary.400 / 1"),
|
||||
},
|
||||
code:{
|
||||
backgroundColor: theme("colors.neutral.700 / 1"),
|
||||
@@ -174,6 +175,5 @@ module.exports = {
|
||||
plugins: [
|
||||
require("@tailwindcss/typography"),
|
||||
require('@tailwindcss/forms'),
|
||||
require('tw-elements/dist/plugin')
|
||||
],
|
||||
};
|
||||
Reference in new issue
Block a user