From 1af989795846bc421cac2714cc1646d337444d08 Mon Sep 17 00:00:00 2001 From: Paul Date: Mon, 6 Jan 2020 13:47:37 -0500 Subject: [PATCH] added https --- README.ko.md | 6 +++--- README.md | 6 +++--- assets/js/enquire.min.js | 2 +- assets/js/fuse.min.js | 6 +++--- assets/lib/reveal/highlight/monokai.css | 2 +- assets/lib/reveal/reveal.css | 4 ++-- assets/lib/reveal/reveal.js | 8 ++++---- assets/lib/reveal/theme/beige.css | 2 +- assets/lib/reveal/theme/black.css | 2 +- assets/lib/reveal/theme/blood.css | 2 +- assets/lib/reveal/theme/league.css | 2 +- assets/lib/reveal/theme/night.css | 2 +- assets/lib/reveal/theme/serif.css | 2 +- assets/lib/reveal/theme/simple.css | 2 +- assets/lib/reveal/theme/sky.css | 2 +- assets/lib/reveal/theme/white.css | 2 +- assets/sass/abstracts/_flexbox.scss | 2 +- assets/sass/abstracts/_mixins.scss | 2 +- assets/sass/components/_hr.scss | 2 +- config.toml | 2 +- config/_default/config.toml | 2 +- config/_default/params.toml | 4 ++-- content/posts/emoji-support.md | 2 +- content/posts/placeholder-text.md | 2 +- content/posts/syntax-highlight.md | 2 +- content/posts/test-flowchart.md | 6 +++--- exampleSite/config/_default/config.toml | 2 +- exampleSite/config/_default/params.toml | 4 ++-- exampleSite/content/posts/emoji-support.md | 2 +- exampleSite/content/posts/placeholder-text.md | 2 +- exampleSite/content/posts/syntax-highlight.md | 2 +- exampleSite/content/posts/test-flowchart.md | 6 +++--- layouts/_default/rss.xml | 2 +- layouts/_default/sitemap.xml | 4 ++-- layouts/partials/body/donation.html | 2 +- layouts/partials/body/whoami.html | 8 ++++---- layouts/partials/navbar/site-nav.html | 2 +- layouts/partials/sidebar/site-bio.html | 8 ++++---- layouts/partials/summary/card.html | 2 +- layouts/partials/summary/classic.html | 2 +- layouts/partials/svgs/arrow/arrow-back.svg | 2 +- layouts/partials/svgs/arrow/arrow-forward.svg | 2 +- layouts/partials/svgs/arrow/arrow-left.svg | 2 +- layouts/partials/svgs/arrow/arrow-right.svg | 2 +- layouts/partials/svgs/arrow/first-page.svg | 2 +- layouts/partials/svgs/arrow/keyboard-arrow-down.svg | 2 +- layouts/partials/svgs/arrow/keyboard-arrow-left.svg | 2 +- layouts/partials/svgs/arrow/keyboard-arrow-right.svg | 2 +- layouts/partials/svgs/arrow/keyboard-arrow-up.svg | 2 +- layouts/partials/svgs/arrow/last-page.svg | 2 +- layouts/partials/svgs/donation/alipay.svg | 2 +- layouts/partials/svgs/donation/bitcoin.svg | 2 +- layouts/partials/svgs/donation/patreon.svg | 2 +- layouts/partials/svgs/donation/paypal.svg | 2 +- layouts/partials/svgs/donation/wechat.svg | 2 +- layouts/partials/svgs/etc/attach-file.svg | 2 +- layouts/partials/svgs/etc/cancel.svg | 2 +- layouts/partials/svgs/etc/clock.svg | 2 +- layouts/partials/svgs/etc/close.svg | 2 +- layouts/partials/svgs/etc/full-screen.svg | 2 +- layouts/partials/svgs/etc/invert-colors.svg | 2 +- layouts/partials/svgs/etc/link.svg | 2 +- layouts/partials/svgs/etc/location.svg | 2 +- layouts/partials/svgs/etc/normal-screen.svg | 2 +- layouts/partials/svgs/etc/palette.svg | 2 +- layouts/partials/svgs/etc/people.svg | 2 +- layouts/partials/svgs/etc/person.svg | 2 +- layouts/partials/svgs/etc/rss.svg | 2 +- layouts/partials/svgs/etc/search.svg | 2 +- layouts/partials/svgs/etc/subscription.svg | 2 +- layouts/partials/svgs/etc/translate.svg | 2 +- layouts/partials/svgs/etc/visibility.svg | 2 +- layouts/partials/svgs/social/csdn.svg | 2 +- layouts/partials/svgs/social/douban.svg | 2 +- layouts/partials/svgs/social/email.svg | 2 +- layouts/partials/svgs/social/facebook.svg | 2 +- layouts/partials/svgs/social/github.svg | 2 +- layouts/partials/svgs/social/gitlab.svg | 2 +- layouts/partials/svgs/social/google-plus.svg | 2 +- layouts/partials/svgs/social/instagram.svg | 2 +- layouts/partials/svgs/social/jianshu.svg | 2 +- layouts/partials/svgs/social/linkedin.svg | 2 +- layouts/partials/svgs/social/mastodon.svg | 2 +- layouts/partials/svgs/social/medium.svg | 2 +- layouts/partials/svgs/social/pinterest.svg | 2 +- layouts/partials/svgs/social/stack-exchange.svg | 2 +- layouts/partials/svgs/social/stack-overflow.svg | 2 +- layouts/partials/svgs/social/steam.svg | 2 +- layouts/partials/svgs/social/telegram.svg | 2 +- layouts/partials/svgs/social/tumblr.svg | 2 +- layouts/partials/svgs/social/twitter.svg | 2 +- layouts/partials/svgs/social/weibo.svg | 2 +- layouts/partials/svgs/social/youtube.svg | 2 +- layouts/partials/svgs/social/zhihu.svg | 2 +- layouts/shortcodes/img.html | 2 +- 95 files changed, 118 insertions(+), 118 deletions(-) diff --git a/README.ko.md b/README.ko.md index 31a3c92..75958cd 100644 --- a/README.ko.md +++ b/README.ko.md @@ -108,7 +108,7 @@ root 2. config.toml ```bash -baseURL = "http://example.org/" # The URL of your site. +baseURL = "https://example.org/" # The URL of your site. title = "Hugo Zzo Theme" # Title of your site theme = "zzo" # Name of Zzo theme folder in `themes/`. @@ -326,8 +326,8 @@ commento = false [socialOptions] # if set, social icons will show up. email = "mailto:your@email.com" - facebook = "http://example.org/" - twitter = "http://example.org/" + facebook = "https://example.org/" + twitter = "https://example.org/" github = "https://github.com/zzossig/hugo-theme-zzo" stack-overflow = "" instagram = "" diff --git a/README.md b/README.md index 7fd902f..c4693ae 100644 --- a/README.md +++ b/README.md @@ -102,7 +102,7 @@ root 2. config.toml ```bash -baseURL = "http://example.org/" # The URL of your site. +baseURL = "https://example.org/" # The URL of your site. title = "Hugo Zzo Theme" # Title of your site theme = "zzo" # Name of Zzo theme folder in `themes/`. @@ -320,8 +320,8 @@ commento = false [socialOptions] # if set, social icons will show up. email = "mailto:your@email.com" - facebook = "http://example.org/" - twitter = "http://example.org/" + facebook = "https://example.org/" + twitter = "https://example.org/" github = "https://github.com/zzossig/hugo-theme-zzo" stack-overflow = "" instagram = "" diff --git a/assets/js/enquire.min.js b/assets/js/enquire.min.js index b54604f..a977878 100644 --- a/assets/js/enquire.min.js +++ b/assets/js/enquire.min.js @@ -1,6 +1,6 @@ /*! * enquire.js v2.1.6 - Awesome Media Queries in JavaScript - * Copyright (c) 2017 Nick Williams - http://wicky.nillia.ms/enquire.js + * Copyright (c) 2017 Nick Williams - https://wicky.nillia.ms/enquire.js * License: MIT */ !function (a) { if ("object" == typeof exports && "undefined" != typeof module) module.exports = a(); else if ("function" == typeof define && define.amd) define([], a); else { var b; b = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof self ? self : this, b.enquire = a() } }(function () { return function a(b, c, d) { function e(g, h) { if (!c[g]) { if (!b[g]) { var i = "function" == typeof require && require; if (!h && i) return i(g, !0); if (f) return f(g, !0); var j = new Error("Cannot find module '" + g + "'"); throw j.code = "MODULE_NOT_FOUND", j } var k = c[g] = { exports: {} }; b[g][0].call(k.exports, function (a) { var c = b[g][1][a]; return e(c ? c : a) }, k, k.exports, a, b, c, d) } return c[g].exports } for (var f = "function" == typeof require && require, g = 0; g < d.length; g++)e(d[g]); return e }({ 1: [function (a, b, c) { function d(a, b) { this.query = a, this.isUnconditional = b, this.handlers = [], this.mql = window.matchMedia(a); var c = this; this.listener = function (a) { c.mql = a.currentTarget || a, c.assess() }, this.mql.addListener(this.listener) } var e = a(3), f = a(4).each; d.prototype = { constuctor: d, addHandler: function (a) { var b = new e(a); this.handlers.push(b), this.matches() && b.on() }, removeHandler: function (a) { var b = this.handlers; f(b, function (c, d) { if (c.equals(a)) return c.destroy(), !b.splice(d, 1) }) }, matches: function () { return this.mql.matches || this.isUnconditional }, clear: function () { f(this.handlers, function (a) { a.destroy() }), this.mql.removeListener(this.listener), this.handlers.length = 0 }, assess: function () { var a = this.matches() ? "on" : "off"; f(this.handlers, function (b) { b[a]() }) } }, b.exports = d }, { 3: 3, 4: 4 }], 2: [function (a, b, c) { function d() { if (!window.matchMedia) throw new Error("matchMedia not present, legacy browsers require a polyfill"); this.queries = {}, this.browserIsIncapable = !window.matchMedia("only all").matches } var e = a(1), f = a(4), g = f.each, h = f.isFunction, i = f.isArray; d.prototype = { constructor: d, register: function (a, b, c) { var d = this.queries, f = c && this.browserIsIncapable; return d[a] || (d[a] = new e(a, f)), h(b) && (b = { match: b }), i(b) || (b = [b]), g(b, function (b) { h(b) && (b = { match: b }), d[a].addHandler(b) }), this }, unregister: function (a, b) { var c = this.queries[a]; return c && (b ? c.removeHandler(b) : (c.clear(), delete this.queries[a])), this } }, b.exports = d }, { 1: 1, 4: 4 }], 3: [function (a, b, c) { function d(a) { this.options = a, !a.deferSetup && this.setup() } d.prototype = { constructor: d, setup: function () { this.options.setup && this.options.setup(), this.initialised = !0 }, on: function () { !this.initialised && this.setup(), this.options.match && this.options.match() }, off: function () { this.options.unmatch && this.options.unmatch() }, destroy: function () { this.options.destroy ? this.options.destroy() : this.off() }, equals: function (a) { return this.options === a || this.options.match === a } }, b.exports = d }, {}], 4: [function (a, b, c) { function d(a, b) { var c = 0, d = a.length; for (c; c < d && b(a[c], c) !== !1; c++); } function e(a) { return "[object Array]" === Object.prototype.toString.apply(a) } function f(a) { return "function" == typeof a } b.exports = { isFunction: f, isArray: e, each: d } }, {}], 5: [function (a, b, c) { var d = a(2); b.exports = new d }, { 2: 2 }] }, {}, [5])(5) }); \ No newline at end of file diff --git a/assets/js/fuse.min.js b/assets/js/fuse.min.js index 44eec85..befaa46 100644 --- a/assets/js/fuse.min.js +++ b/assets/js/fuse.min.js @@ -3,11 +3,11 @@ * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files */ /*! - * Fuse.js v3.4.6 - Lightweight fuzzy-search (http://fusejs.io) + * Fuse.js v3.4.6 - Lightweight fuzzy-search (https://fusejs.io) * - * Copyright (c) 2012-2017 Kirollos Risk (http://kiro.me) + * Copyright (c) 2012-2017 Kirollos Risk (https://kiro.me) * All Rights Reserved. Apache Software License 2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 */ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Fuse",[],t):"object"==typeof exports?exports.Fuse=t():e.Fuse=t()}(this,function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1)}([function(e,t){e.exports=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)}},function(e,t,n){function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{limit:!1};this._log('---------\nSearch pattern: "'.concat(e,'"'));var n=this._prepareSearchers(e),r=n.tokenSearchers,o=n.fullSearcher,i=this._search(r,o),a=i.weights,s=i.results;return this._computeScore(a,s),this.options.shouldSort&&this._sort(s),t.limit&&"number"==typeof t.limit&&(s=s.slice(0,t.limit)),this._format(s)}},{key:"_prepareSearchers",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=[];if(this.options.tokenize)for(var n=e.split(this.options.tokenSeparator),r=0,o=n.length;r0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=this.list,r={},o=[];if("string"==typeof n[0]){for(var i=0,a=n.length;i1)throw new Error("Key weight has to be > 0 and <= 1");d=d.name}else s[d]={weight:1};this._analyze({key:d,value:this.options.getFn(l,d),record:l,index:c},{resultMap:r,results:o,tokenSearchers:e,fullSearcher:t})}return{weights:s,results:o}}},{key:"_analyze",value:function(e,t){var n=e.key,r=e.arrayIndex,o=void 0===r?-1:r,i=e.value,a=e.record,c=e.index,h=t.tokenSearchers,l=void 0===h?[]:h,u=t.fullSearcher,f=void 0===u?[]:u,d=t.resultMap,v=void 0===d?{}:d,p=t.results,g=void 0===p?[]:p;if(null!=i){var y=!1,m=-1,k=0;if("string"==typeof i){this._log("\nKey: ".concat(""===n?"-":n));var S=f.search(i);if(this._log('Full text: "'.concat(i,'", score: ').concat(S.score)),this.options.tokenize){for(var x=i.split(this.options.tokenSeparator),b=[],M=0;M-1&&(P=(P+m)/2),this._log("Score average:",P);var F=!this.options.tokenize||!this.options.matchAllTokens||k>=l.length;if(this._log("\nCheck Matches: ".concat(F)),(y||S.isMatch)&&F){var T=v[c];T?T.output.push({key:n,arrayIndex:o,value:i,score:P,matchedIndices:S.matchedIndices}):(v[c]={item:a,output:[{key:n,arrayIndex:o,value:i,score:P,matchedIndices:S.matchedIndices}]},g.push(v[c]))}}else if(s(i))for(var z=0,E=i.length;z-1&&(a.arrayIndex=i.arrayIndex),t.matches.push(a)}}}),this.options.includeScore&&o.push(function(e,t){t.score=e.score});for(var i=0,a=e.length;in)return o(e,this.pattern,r);var a=this.options,s=a.location,c=a.distance,h=a.threshold,l=a.findAllMatches,u=a.minMatchCharLength;return i(e,this.pattern,this.patternAlphabet,{location:s,distance:c,threshold:h,findAllMatches:l,minMatchCharLength:u})}}])&&r(t.prototype,n),s&&r(t,s),e}();e.exports=s},function(e,t){var n=/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g;e.exports=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:/ +/g,o=new RegExp(t.replace(n,"\\$&").replace(r,"|")),i=e.match(o),a=!!i,s=[];if(a)for(var c=0,h=i.length;c=P;z-=1){var E=z-1,K=n[e.charAt(E)];if(K&&(x[E]=1),T[z]=(T[z+1]<<1|1)&K,0!==I&&(T[z]|=(L[z+1]|L[z])<<1|1|L[z+1]),T[z]&C&&(w=r(t,{errors:I,currentLocation:E,expectedLocation:g,distance:h}))<=m){if(m=w,(k=E)<=g)break;P=Math.max(1,2*g-k)}}if(r(t,{errors:I+1,currentLocation:g,expectedLocation:g,distance:h})>m)break;L=T}return{isMatch:k>=0,score:0===w?.001:w,matchedIndices:o(x,p)}}},function(e,t){e.exports=function(e,t){var n=t.errors,r=void 0===n?0:n,o=t.currentLocation,i=void 0===o?0:o,a=t.expectedLocation,s=void 0===a?0:a,c=t.distance,h=void 0===c?100:c,l=r/e.length,u=Math.abs(s-i);return h?l+u/h:u?1:l}},function(e,t){e.exports=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=[],r=-1,o=-1,i=0,a=e.length;i=t&&n.push([r,o]),r=-1)}return e[i-1]&&i-r>=t&&n.push([r,i-1]),n}},function(e,t){e.exports=function(e){for(var t={},n=e.length,r=0;r + background-image: url('data:image/svg+xml;utf8, '); } diff --git a/assets/sass/components/_hr.scss b/assets/sass/components/_hr.scss index e5be78f..82e564a 100644 --- a/assets/sass/components/_hr.scss +++ b/assets/sass/components/_hr.scss @@ -39,6 +39,6 @@ width: 100%; border-width: 0 0 7px; border-style: solid; - border-image: url('data:image/svg+xml,') 0 0 100% repeat; + border-image: url('data:image/svg+xml,') 0 0 100% repeat; } } \ No newline at end of file diff --git a/config.toml b/config.toml index 863c90d..729946a 100644 --- a/config.toml +++ b/config.toml @@ -1,4 +1,4 @@ -baseURL = "http://example.org" +baseURL = "https://example.org" title = "Hugo Zzo Theme" theme = "zzo" diff --git a/config/_default/config.toml b/config/_default/config.toml index 863c90d..729946a 100644 --- a/config/_default/config.toml +++ b/config/_default/config.toml @@ -1,4 +1,4 @@ -baseURL = "http://example.org" +baseURL = "https://example.org" title = "Hugo Zzo Theme" theme = "zzo" diff --git a/config/_default/params.toml b/config/_default/params.toml index 59306e9..559fcce 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -106,8 +106,8 @@ commento = false [socialOptions] email = "mailto:your@email.com" - facebook = "http://example.org/" - twitter = "http://example.org/" + facebook = "https://example.org/" + twitter = "https://example.org/" github = "https://github.com/zzossig/hugo-theme-zzo" stack-overflow = "" instagram = "" diff --git a/content/posts/emoji-support.md b/content/posts/emoji-support.md index 0fb750c..43475cc 100644 --- a/content/posts/emoji-support.md +++ b/content/posts/emoji-support.md @@ -22,7 +22,7 @@ To enable emoji globally, set `enableEmoji` to `true` in your site’s [configur

πŸ™ˆ :see_no_evil: πŸ™‰ :hear_no_evil: πŸ™Š :speak_no_evil:


-The [Emoji cheat sheet](http://www.emoji-cheat-sheet.com/) is a useful reference for emoji shorthand codes. +The [Emoji cheat sheet](https://www.emoji-cheat-sheet.com/) is a useful reference for emoji shorthand codes. *** diff --git a/content/posts/placeholder-text.md b/content/posts/placeholder-text.md index 1dd2b32..22d6182 100644 --- a/content/posts/placeholder-text.md +++ b/content/posts/placeholder-text.md @@ -32,7 +32,7 @@ tractus malis. # Vagus elidunt - + [The Van de Graaf Canon](https://en.wikipedia.org/wiki/Canons_of_page_construction#Van_de_Graaf_canon) diff --git a/content/posts/syntax-highlight.md b/content/posts/syntax-highlight.md index 11fe89b..a94fc17 100644 --- a/content/posts/syntax-highlight.md +++ b/content/posts/syntax-highlight.md @@ -247,7 +247,7 @@ export $initHighlight; Hello world - + diff --git a/content/posts/test-flowchart.md b/content/posts/test-flowchart.md index aa24df2..5a8da51 100644 --- a/content/posts/test-flowchart.md +++ b/content/posts/test-flowchart.md @@ -15,13 +15,13 @@ featured_image: "feature1/flowchart.png" --- ```flowchart -st=>start: Start|past:>http://www.google.com[blank] -e=>end: End|future:>http://www.google.com +st=>start: Start|past:>https://www.google.com[blank] +e=>end: End|future:>https://www.google.com op1=>operation: My Operation|past op2=>operation: Stuff|current sub1=>subroutine: My Subroutine|invalid cond=>condition: Yes -or No?|approved:>http://www.google.com +or No?|approved:>https://www.google.com c2=>condition: Good idea|rejected io=>inputoutput: catch something...|future diff --git a/exampleSite/config/_default/config.toml b/exampleSite/config/_default/config.toml index 863c90d..729946a 100644 --- a/exampleSite/config/_default/config.toml +++ b/exampleSite/config/_default/config.toml @@ -1,4 +1,4 @@ -baseURL = "http://example.org" +baseURL = "https://example.org" title = "Hugo Zzo Theme" theme = "zzo" diff --git a/exampleSite/config/_default/params.toml b/exampleSite/config/_default/params.toml index 59306e9..559fcce 100644 --- a/exampleSite/config/_default/params.toml +++ b/exampleSite/config/_default/params.toml @@ -106,8 +106,8 @@ commento = false [socialOptions] email = "mailto:your@email.com" - facebook = "http://example.org/" - twitter = "http://example.org/" + facebook = "https://example.org/" + twitter = "https://example.org/" github = "https://github.com/zzossig/hugo-theme-zzo" stack-overflow = "" instagram = "" diff --git a/exampleSite/content/posts/emoji-support.md b/exampleSite/content/posts/emoji-support.md index 0fb750c..43475cc 100644 --- a/exampleSite/content/posts/emoji-support.md +++ b/exampleSite/content/posts/emoji-support.md @@ -22,7 +22,7 @@ To enable emoji globally, set `enableEmoji` to `true` in your site’s [configur

πŸ™ˆ :see_no_evil: πŸ™‰ :hear_no_evil: πŸ™Š :speak_no_evil:


-The [Emoji cheat sheet](http://www.emoji-cheat-sheet.com/) is a useful reference for emoji shorthand codes. +The [Emoji cheat sheet](https://www.emoji-cheat-sheet.com/) is a useful reference for emoji shorthand codes. *** diff --git a/exampleSite/content/posts/placeholder-text.md b/exampleSite/content/posts/placeholder-text.md index 1dd2b32..22d6182 100644 --- a/exampleSite/content/posts/placeholder-text.md +++ b/exampleSite/content/posts/placeholder-text.md @@ -32,7 +32,7 @@ tractus malis. # Vagus elidunt - + [The Van de Graaf Canon](https://en.wikipedia.org/wiki/Canons_of_page_construction#Van_de_Graaf_canon) diff --git a/exampleSite/content/posts/syntax-highlight.md b/exampleSite/content/posts/syntax-highlight.md index 11fe89b..a94fc17 100644 --- a/exampleSite/content/posts/syntax-highlight.md +++ b/exampleSite/content/posts/syntax-highlight.md @@ -247,7 +247,7 @@ export $initHighlight; Hello world - + diff --git a/exampleSite/content/posts/test-flowchart.md b/exampleSite/content/posts/test-flowchart.md index aa24df2..5a8da51 100644 --- a/exampleSite/content/posts/test-flowchart.md +++ b/exampleSite/content/posts/test-flowchart.md @@ -15,13 +15,13 @@ featured_image: "feature1/flowchart.png" --- ```flowchart -st=>start: Start|past:>http://www.google.com[blank] -e=>end: End|future:>http://www.google.com +st=>start: Start|past:>https://www.google.com[blank] +e=>end: End|future:>https://www.google.com op1=>operation: My Operation|past op2=>operation: Stuff|current sub1=>subroutine: My Subroutine|invalid cond=>condition: Yes -or No?|approved:>http://www.google.com +or No?|approved:>https://www.google.com c2=>condition: Good idea|rejected io=>inputoutput: catch something...|future diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index db61c70..c50df78 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -1,5 +1,5 @@ {{ printf "" | safeHTML }} - + {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }} {{ .Permalink }} diff --git a/layouts/_default/sitemap.xml b/layouts/_default/sitemap.xml index f39b51c..d65028b 100644 --- a/layouts/_default/sitemap.xml +++ b/layouts/_default/sitemap.xml @@ -1,6 +1,6 @@ {{ printf "" | safeHTML }} - + {{ range .Data.Pages }} {{ .Permalink }}{{ if not .Lastmod.IsZero }} diff --git a/layouts/partials/body/donation.html b/layouts/partials/body/donation.html index 6bf87ad..2357f9f 100644 --- a/layouts/partials/body/donation.html +++ b/layouts/partials/body/donation.html @@ -20,7 +20,7 @@ {{ partial (print "svgs/donation/" $name ".svg") (dict "width" 22 "height" 22) }} {{ $name }}
- {{ $name }} QR Code + {{ $name }} QR Code
{{ end }} diff --git a/layouts/partials/body/whoami.html b/layouts/partials/body/whoami.html index dbb9f44..e434205 100644 --- a/layouts/partials/body/whoami.html +++ b/layouts/partials/body/whoami.html @@ -9,13 +9,13 @@ {{ if .Site.Params.myname }}{{ .Site.Params.myname }}{{ else }}Avatar{{ end }} {{ else }} {{ if .Params.authorImage }} - {{ if .Site.Params.myname }}{{ .Site.Params.myname }}{{ else }}Avatar{{ end }} + {{ if .Site.Params.myname }}{{ .Site.Params.myname }}{{ else }}Avatar{{ end }} {{ else if (fileExists "static/images/whoami/avatar.png") }} - {{ if .Site.Params.myname }}{{ .Site.Params.myname }}{{ else }}Avatar{{ end }} + {{ if .Site.Params.myname }}{{ .Site.Params.myname }}{{ else }}Avatar{{ end }} {{ else if (fileExists "static/images/whoami/avatar.svg") }} - {{ if .Site.Params.myname }}{{ .Site.Params.myname }}{{ else }}Avatar{{ end }} + {{ if .Site.Params.myname }}{{ .Site.Params.myname }}{{ else }}Avatar{{ end }} {{ else }} - {{ if .Site.Params.myname }}{{ .Site.Params.myname }}{{ else }}Avatar{{ end }} + {{ if .Site.Params.myname }}{{ .Site.Params.myname }}{{ else }}Avatar{{ end }} {{ end }} {{ end }} diff --git a/layouts/partials/navbar/site-nav.html b/layouts/partials/navbar/site-nav.html index df0a575..549dc2b 100644 --- a/layouts/partials/navbar/site-nav.html +++ b/layouts/partials/navbar/site-nav.html @@ -2,7 +2,7 @@ diff --git a/layouts/partials/summary/card.html b/layouts/partials/summary/card.html index ba3018a..e48772d 100644 --- a/layouts/partials/summary/card.html +++ b/layouts/partials/summary/card.html @@ -15,7 +15,7 @@ {{ if $params.featured_image }} {{ else if $params.featured_video }} diff --git a/layouts/partials/summary/classic.html b/layouts/partials/summary/classic.html index 8cb4fb9..3e5bf82 100644 --- a/layouts/partials/summary/classic.html +++ b/layouts/partials/summary/classic.html @@ -4,7 +4,7 @@ {{ if $params.featured_image }} {{ end }} diff --git a/layouts/partials/svgs/arrow/arrow-back.svg b/layouts/partials/svgs/arrow/arrow-back.svg index a761e98..ffe498e 100644 --- a/layouts/partials/svgs/arrow/arrow-back.svg +++ b/layouts/partials/svgs/arrow/arrow-back.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/layouts/partials/svgs/arrow/arrow-forward.svg b/layouts/partials/svgs/arrow/arrow-forward.svg index 5cd9a3a..112d458 100644 --- a/layouts/partials/svgs/arrow/arrow-forward.svg +++ b/layouts/partials/svgs/arrow/arrow-forward.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/layouts/partials/svgs/arrow/arrow-left.svg b/layouts/partials/svgs/arrow/arrow-left.svg index 69a9ade..7a5f1f3 100644 --- a/layouts/partials/svgs/arrow/arrow-left.svg +++ b/layouts/partials/svgs/arrow/arrow-left.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/layouts/partials/svgs/arrow/arrow-right.svg b/layouts/partials/svgs/arrow/arrow-right.svg index 32a46c1..ef69517 100644 --- a/layouts/partials/svgs/arrow/arrow-right.svg +++ b/layouts/partials/svgs/arrow/arrow-right.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/layouts/partials/svgs/arrow/first-page.svg b/layouts/partials/svgs/arrow/first-page.svg index 5dd03cd..4b9fd28 100644 --- a/layouts/partials/svgs/arrow/first-page.svg +++ b/layouts/partials/svgs/arrow/first-page.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/layouts/partials/svgs/arrow/keyboard-arrow-down.svg b/layouts/partials/svgs/arrow/keyboard-arrow-down.svg index c0c9a29..a3ca01b 100644 --- a/layouts/partials/svgs/arrow/keyboard-arrow-down.svg +++ b/layouts/partials/svgs/arrow/keyboard-arrow-down.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/layouts/partials/svgs/arrow/keyboard-arrow-left.svg b/layouts/partials/svgs/arrow/keyboard-arrow-left.svg index 4c78367..f14380a 100644 --- a/layouts/partials/svgs/arrow/keyboard-arrow-left.svg +++ b/layouts/partials/svgs/arrow/keyboard-arrow-left.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/layouts/partials/svgs/arrow/keyboard-arrow-right.svg b/layouts/partials/svgs/arrow/keyboard-arrow-right.svg index dc69d97..8d3584d 100644 --- a/layouts/partials/svgs/arrow/keyboard-arrow-right.svg +++ b/layouts/partials/svgs/arrow/keyboard-arrow-right.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/layouts/partials/svgs/arrow/keyboard-arrow-up.svg b/layouts/partials/svgs/arrow/keyboard-arrow-up.svg index 58ec84c..c8810af 100644 --- a/layouts/partials/svgs/arrow/keyboard-arrow-up.svg +++ b/layouts/partials/svgs/arrow/keyboard-arrow-up.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/layouts/partials/svgs/arrow/last-page.svg b/layouts/partials/svgs/arrow/last-page.svg index 9927c8a..f049262 100644 --- a/layouts/partials/svgs/arrow/last-page.svg +++ b/layouts/partials/svgs/arrow/last-page.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/layouts/partials/svgs/donation/alipay.svg b/layouts/partials/svgs/donation/alipay.svg index 5b2920e..d0dacfb 100644 --- a/layouts/partials/svgs/donation/alipay.svg +++ b/layouts/partials/svgs/donation/alipay.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/layouts/partials/svgs/donation/bitcoin.svg b/layouts/partials/svgs/donation/bitcoin.svg index 73aa76b..a092be2 100644 --- a/layouts/partials/svgs/donation/bitcoin.svg +++ b/layouts/partials/svgs/donation/bitcoin.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/layouts/partials/svgs/donation/patreon.svg b/layouts/partials/svgs/donation/patreon.svg index 4ae5060..44cbb67 100644 --- a/layouts/partials/svgs/donation/patreon.svg +++ b/layouts/partials/svgs/donation/patreon.svg @@ -1 +1 @@ - + diff --git a/layouts/partials/svgs/donation/paypal.svg b/layouts/partials/svgs/donation/paypal.svg index 8bfc8b1..ba4e11d 100644 --- a/layouts/partials/svgs/donation/paypal.svg +++ b/layouts/partials/svgs/donation/paypal.svg @@ -1 +1 @@ - + diff --git a/layouts/partials/svgs/donation/wechat.svg b/layouts/partials/svgs/donation/wechat.svg index 4664248..3937e59 100644 --- a/layouts/partials/svgs/donation/wechat.svg +++ b/layouts/partials/svgs/donation/wechat.svg @@ -1 +1 @@ - + diff --git a/layouts/partials/svgs/etc/attach-file.svg b/layouts/partials/svgs/etc/attach-file.svg index 11ad2e5..4b55b64 100644 --- a/layouts/partials/svgs/etc/attach-file.svg +++ b/layouts/partials/svgs/etc/attach-file.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/layouts/partials/svgs/etc/cancel.svg b/layouts/partials/svgs/etc/cancel.svg index 2ffbe47..eb475a6 100644 --- a/layouts/partials/svgs/etc/cancel.svg +++ b/layouts/partials/svgs/etc/cancel.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/layouts/partials/svgs/etc/clock.svg b/layouts/partials/svgs/etc/clock.svg index 9ef0e43..20b48ff 100644 --- a/layouts/partials/svgs/etc/clock.svg +++ b/layouts/partials/svgs/etc/clock.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/layouts/partials/svgs/etc/close.svg b/layouts/partials/svgs/etc/close.svg index 7a8a00d..e833134 100644 --- a/layouts/partials/svgs/etc/close.svg +++ b/layouts/partials/svgs/etc/close.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/layouts/partials/svgs/etc/full-screen.svg b/layouts/partials/svgs/etc/full-screen.svg index 4cf1def..ff2b849 100644 --- a/layouts/partials/svgs/etc/full-screen.svg +++ b/layouts/partials/svgs/etc/full-screen.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/layouts/partials/svgs/etc/invert-colors.svg b/layouts/partials/svgs/etc/invert-colors.svg index 65144ba..9d021ae 100644 --- a/layouts/partials/svgs/etc/invert-colors.svg +++ b/layouts/partials/svgs/etc/invert-colors.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/layouts/partials/svgs/etc/link.svg b/layouts/partials/svgs/etc/link.svg index 6ba5f05..bafebd6 100644 --- a/layouts/partials/svgs/etc/link.svg +++ b/layouts/partials/svgs/etc/link.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/layouts/partials/svgs/etc/location.svg b/layouts/partials/svgs/etc/location.svg index 7823b80..4323f9c 100644 --- a/layouts/partials/svgs/etc/location.svg +++ b/layouts/partials/svgs/etc/location.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/layouts/partials/svgs/etc/normal-screen.svg b/layouts/partials/svgs/etc/normal-screen.svg index 018957b..432e3fd 100644 --- a/layouts/partials/svgs/etc/normal-screen.svg +++ b/layouts/partials/svgs/etc/normal-screen.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/layouts/partials/svgs/etc/palette.svg b/layouts/partials/svgs/etc/palette.svg index 01b1d76..322006f 100644 --- a/layouts/partials/svgs/etc/palette.svg +++ b/layouts/partials/svgs/etc/palette.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/layouts/partials/svgs/etc/people.svg b/layouts/partials/svgs/etc/people.svg index 6f95719..5a48a1d 100644 --- a/layouts/partials/svgs/etc/people.svg +++ b/layouts/partials/svgs/etc/people.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/layouts/partials/svgs/etc/person.svg b/layouts/partials/svgs/etc/person.svg index 53d100f..3a3700c 100644 --- a/layouts/partials/svgs/etc/person.svg +++ b/layouts/partials/svgs/etc/person.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/layouts/partials/svgs/etc/rss.svg b/layouts/partials/svgs/etc/rss.svg index 63ca599..b7d55e1 100644 --- a/layouts/partials/svgs/etc/rss.svg +++ b/layouts/partials/svgs/etc/rss.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/layouts/partials/svgs/etc/search.svg b/layouts/partials/svgs/etc/search.svg index 08005e4..18e77f9 100644 --- a/layouts/partials/svgs/etc/search.svg +++ b/layouts/partials/svgs/etc/search.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/layouts/partials/svgs/etc/subscription.svg b/layouts/partials/svgs/etc/subscription.svg index aabf520..853428f 100644 --- a/layouts/partials/svgs/etc/subscription.svg +++ b/layouts/partials/svgs/etc/subscription.svg @@ -1,3 +1,3 @@ - + diff --git a/layouts/partials/svgs/etc/translate.svg b/layouts/partials/svgs/etc/translate.svg index daec9e3..1fcd0f6 100644 --- a/layouts/partials/svgs/etc/translate.svg +++ b/layouts/partials/svgs/etc/translate.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/layouts/partials/svgs/etc/visibility.svg b/layouts/partials/svgs/etc/visibility.svg index 1bec0ad..53c33a8 100644 --- a/layouts/partials/svgs/etc/visibility.svg +++ b/layouts/partials/svgs/etc/visibility.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/layouts/partials/svgs/social/csdn.svg b/layouts/partials/svgs/social/csdn.svg index 3fac21f..f61ad4c 100644 --- a/layouts/partials/svgs/social/csdn.svg +++ b/layouts/partials/svgs/social/csdn.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/layouts/partials/svgs/social/douban.svg b/layouts/partials/svgs/social/douban.svg index beea3ba..85f0ab7 100644 --- a/layouts/partials/svgs/social/douban.svg +++ b/layouts/partials/svgs/social/douban.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/layouts/partials/svgs/social/email.svg b/layouts/partials/svgs/social/email.svg index ae33aad..34e418c 100644 --- a/layouts/partials/svgs/social/email.svg +++ b/layouts/partials/svgs/social/email.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/layouts/partials/svgs/social/facebook.svg b/layouts/partials/svgs/social/facebook.svg index 8481d2d..a8d8f4e 100644 --- a/layouts/partials/svgs/social/facebook.svg +++ b/layouts/partials/svgs/social/facebook.svg @@ -1,4 +1,4 @@ - + diff --git a/layouts/partials/svgs/social/github.svg b/layouts/partials/svgs/social/github.svg index 5fd37b4..31386fb 100644 --- a/layouts/partials/svgs/social/github.svg +++ b/layouts/partials/svgs/social/github.svg @@ -1,4 +1,4 @@ - + diff --git a/layouts/partials/svgs/social/gitlab.svg b/layouts/partials/svgs/social/gitlab.svg index fded1bf..a97a752 100644 --- a/layouts/partials/svgs/social/gitlab.svg +++ b/layouts/partials/svgs/social/gitlab.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/layouts/partials/svgs/social/google-plus.svg b/layouts/partials/svgs/social/google-plus.svg index 5ca1990..af55ac8 100644 --- a/layouts/partials/svgs/social/google-plus.svg +++ b/layouts/partials/svgs/social/google-plus.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/layouts/partials/svgs/social/instagram.svg b/layouts/partials/svgs/social/instagram.svg index f3a53d9..3217ce0 100644 --- a/layouts/partials/svgs/social/instagram.svg +++ b/layouts/partials/svgs/social/instagram.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/layouts/partials/svgs/social/jianshu.svg b/layouts/partials/svgs/social/jianshu.svg index bea1d32..8c9c5e1 100644 --- a/layouts/partials/svgs/social/jianshu.svg +++ b/layouts/partials/svgs/social/jianshu.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/layouts/partials/svgs/social/linkedin.svg b/layouts/partials/svgs/social/linkedin.svg index 02ff296..8098706 100644 --- a/layouts/partials/svgs/social/linkedin.svg +++ b/layouts/partials/svgs/social/linkedin.svg @@ -1 +1 @@ - + diff --git a/layouts/partials/svgs/social/mastodon.svg b/layouts/partials/svgs/social/mastodon.svg index 353e354..da1f37e 100644 --- a/layouts/partials/svgs/social/mastodon.svg +++ b/layouts/partials/svgs/social/mastodon.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/layouts/partials/svgs/social/medium.svg b/layouts/partials/svgs/social/medium.svg index e991b01..2414545 100644 --- a/layouts/partials/svgs/social/medium.svg +++ b/layouts/partials/svgs/social/medium.svg @@ -1 +1 @@ - + diff --git a/layouts/partials/svgs/social/pinterest.svg b/layouts/partials/svgs/social/pinterest.svg index 9c017a4..fbf865d 100644 --- a/layouts/partials/svgs/social/pinterest.svg +++ b/layouts/partials/svgs/social/pinterest.svg @@ -1,4 +1,4 @@ - + diff --git a/layouts/partials/svgs/social/stack-exchange.svg b/layouts/partials/svgs/social/stack-exchange.svg index eb1ad59..65d91ec 100644 --- a/layouts/partials/svgs/social/stack-exchange.svg +++ b/layouts/partials/svgs/social/stack-exchange.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/layouts/partials/svgs/social/stack-overflow.svg b/layouts/partials/svgs/social/stack-overflow.svg index 015cbac..979a04a 100644 --- a/layouts/partials/svgs/social/stack-overflow.svg +++ b/layouts/partials/svgs/social/stack-overflow.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/layouts/partials/svgs/social/steam.svg b/layouts/partials/svgs/social/steam.svg index 068dc97..e6d96d6 100644 --- a/layouts/partials/svgs/social/steam.svg +++ b/layouts/partials/svgs/social/steam.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/layouts/partials/svgs/social/telegram.svg b/layouts/partials/svgs/social/telegram.svg index 47fe140..cf62fe7 100644 --- a/layouts/partials/svgs/social/telegram.svg +++ b/layouts/partials/svgs/social/telegram.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/layouts/partials/svgs/social/tumblr.svg b/layouts/partials/svgs/social/tumblr.svg index fb4a9fb..ac77ffb 100644 --- a/layouts/partials/svgs/social/tumblr.svg +++ b/layouts/partials/svgs/social/tumblr.svg @@ -1 +1 @@ - + diff --git a/layouts/partials/svgs/social/twitter.svg b/layouts/partials/svgs/social/twitter.svg index 224e8d8..703ff58 100644 --- a/layouts/partials/svgs/social/twitter.svg +++ b/layouts/partials/svgs/social/twitter.svg @@ -1,4 +1,4 @@ - + diff --git a/layouts/partials/svgs/social/weibo.svg b/layouts/partials/svgs/social/weibo.svg index 4a90d1b..0c70890 100644 --- a/layouts/partials/svgs/social/weibo.svg +++ b/layouts/partials/svgs/social/weibo.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/layouts/partials/svgs/social/youtube.svg b/layouts/partials/svgs/social/youtube.svg index 3a14858..de15b6b 100644 --- a/layouts/partials/svgs/social/youtube.svg +++ b/layouts/partials/svgs/social/youtube.svg @@ -1 +1 @@ - + diff --git a/layouts/partials/svgs/social/zhihu.svg b/layouts/partials/svgs/social/zhihu.svg index ddd07ef..52bb9f3 100644 --- a/layouts/partials/svgs/social/zhihu.svg +++ b/layouts/partials/svgs/social/zhihu.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/layouts/shortcodes/img.html b/layouts/shortcodes/img.html index df7635d..af0f920 100644 --- a/layouts/shortcodes/img.html +++ b/layouts/shortcodes/img.html @@ -1,7 +1,7 @@
{{ with .Get "link"}}{{ end }} {{ $base := (findRE "/[a-zA-Z0-9_]+/" .Site.BaseURL | default "/") }} -
+ {{ if .Get "link"}}{{ end }} {{ if or (or (.Get "title") (.Get "caption")) (.Get "attr")}}
{{ if isset .Params "title" }}