diff --git a/bin/newpost b/bin/newpost index 6e9c81f..bfd2ef2 100755 --- a/bin/newpost +++ b/bin/newpost @@ -14,7 +14,7 @@ FILEPATH="./content/blog/$SLUG.md" if [ ! -e $FILEPATH ]; then cat > $FILEPATH <<-EOF +++ -title = $1 +title = $TITLE date = $PUBLISH_DATE draft = false diff --git a/config.toml b/config.toml index f681ddf..3131040 100644 --- a/config.toml +++ b/config.toml @@ -15,6 +15,7 @@ compile_sass = true build_search_index = true generate_feed = true +feed_filename = "rss.xml" feed_limit = 20 taxonomies = [ @@ -31,7 +32,16 @@ logo_text = "Jessica Pheonix Canady" accent_color = "pink" background_color = "pink" author = "Jessica Phoenix Canady" -copyright_html = "Suck it losers" +# copyright_html = "Bottom text goes here" + + + + + + + + + menu_items = [ # each of these is optional, name and url are required @@ -40,10 +50,10 @@ menu_items = [ # tags should only be enabled if you have "tags" taxonomy # see documentation below for more details - {name = "tags", url = "$BASE_URL/tags"}, - {name = "blog archive", url = "$BASE_URL/archive"}, - {name = "about", url = "$BASE_URL/about"}, - {name = "now", url = "$BASE_URL/now"}, + {name = "tags", url = "$BASE_URL/tags/"}, + {name = "blog archive", url = "$BASE_URL/blog/"}, + {name = "about", url = "$BASE_URL/about/"}, + {name = "now", url = "$BASE_URL/now/"}, {name = "rss", url = "$BASE_URL/rss.xml"} ] diff --git a/content/about/index.md b/content/about/index.md index 22f6a3e..e0772a5 100644 --- a/content/about/index.md +++ b/content/about/index.md @@ -1,5 +1,6 @@ +++ title = "About Jess" +template = "about.html" +++ Hi! diff --git a/content/blog/_index.md b/content/blog/_index.md deleted file mode 100644 index 5b58639..0000000 --- a/content/blog/_index.md +++ /dev/null @@ -1,5 +0,0 @@ -+++ -title = "Posts" -sort_by = "date" -transparent = true -+++ diff --git a/public/buttons.css b/public/buttons.css deleted file mode 100644 index 462f45e..0000000 --- a/public/buttons.css +++ /dev/null @@ -1 +0,0 @@ -.button-container{display:table;margin-left:auto;margin-right:auto}button,.button,a.button{position:relative;display:flex;align-items:center;justify-content:center;padding:8px 18px;margin-bottom:5px;text-align:center;border-radius:8px;border:1px solid rgba(0,0,0,0);appearance:none;cursor:pointer;outline:none;}button.outline,.button.outline,a.button.outline{background:rgba(0,0,0,0);box-shadow:none;padding:8px 18px}button.outline :hover,.button.outline :hover,a.button.outline :hover{transform:none;box-shadow:none}button.primary,.button.primary,a.button.primary{box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08)}button.primary:hover,.button.primary:hover,a.button.primary:hover{box-shadow:0 2px 6px rgba(50,50,93,.21),0 1px 3px rgba(0,0,0,.08)}button.link,.button.link,a.button.link{background:none;font-size:1rem}button.small,.button.small,a.button.small{font-size:.8rem}button.wide,.button.wide,a.button.wide{min-width:200px;padding:14px 24px}a.read-more,a.read-more:hover,a.read-more:active{display:inline-flex;background:none;box-shadow:none;padding:0;margin:20px 0;max-width:100%}.code-toolbar{margin-bottom:20px}.code-toolbar .toolbar-item a{position:relative;display:inline-flex;align-items:center;justify-content:center;padding:3px 8px;margin-bottom:5px;text-align:center;font-size:13px;font-weight:500;border-radius:8px;border:1px solid rgba(0,0,0,0);appearance:none;cursor:pointer;outline:none} \ No newline at end of file diff --git a/public/color/background_auto.css b/public/color/background_auto.css deleted file mode 100644 index a14b617..0000000 --- a/public/color/background_auto.css +++ /dev/null @@ -1 +0,0 @@ -@media (prefers-color-scheme: light){:root{--background: white;--color: #101010}}@media (prefers-color-scheme: dark){:root{--background: #101010;--color: #A9B7C6}} \ No newline at end of file diff --git a/public/color/background_blue.css b/public/color/background_blue.css deleted file mode 100644 index 084eec8..0000000 --- a/public/color/background_blue.css +++ /dev/null @@ -1 +0,0 @@ -:root{--background: #1D212C} \ No newline at end of file diff --git a/public/color/background_dark.css b/public/color/background_dark.css deleted file mode 100644 index c1b491b..0000000 --- a/public/color/background_dark.css +++ /dev/null @@ -1 +0,0 @@ -:root{--background: #101010;--color: #A9B7C6} \ No newline at end of file diff --git a/public/color/background_green.css b/public/color/background_green.css deleted file mode 100644 index de564d5..0000000 --- a/public/color/background_green.css +++ /dev/null @@ -1 +0,0 @@ -:root{--background: #1F222A} \ No newline at end of file diff --git a/public/color/background_light.css b/public/color/background_light.css deleted file mode 100644 index ea0bc08..0000000 --- a/public/color/background_light.css +++ /dev/null @@ -1 +0,0 @@ -:root{--background: #f0f0f0} \ No newline at end of file diff --git a/public/color/background_orange.css b/public/color/background_orange.css deleted file mode 100644 index 8d64140..0000000 --- a/public/color/background_orange.css +++ /dev/null @@ -1 +0,0 @@ -:root{--background: #222129} \ No newline at end of file diff --git a/public/color/background_pink.css b/public/color/background_pink.css deleted file mode 100644 index 17693cb..0000000 --- a/public/color/background_pink.css +++ /dev/null @@ -1 +0,0 @@ -:root{--background: #21202C} \ No newline at end of file diff --git a/public/color/background_red.css b/public/color/background_red.css deleted file mode 100644 index 3605399..0000000 --- a/public/color/background_red.css +++ /dev/null @@ -1 +0,0 @@ -:root{--background: #221F29} \ No newline at end of file diff --git a/public/color/blue-auto.css b/public/color/blue-auto.css deleted file mode 100644 index 56ff54f..0000000 --- a/public/color/blue-auto.css +++ /dev/null @@ -1 +0,0 @@ -@media (prefers-color-scheme: dark){:root{--accent: rgb(35,176,255);--accent-alpha-70: rgba(35,176,255,.7);--accent-alpha-20: rgba(35,176,255,.2);--background: #101010;--color: #f0f0f0;--border-color: rgba(255,240,224,.125)}:root div.logo{color:#000}}@media (prefers-color-scheme: light){:root{--accent: rgb(32,128,192);--accent-alpha-70: rgba(32,128,192,.7);--accent-alpha-20: rgba(32,128,192,.2);--background: white;--color: #201030;--border-color: rgba(0,0,16,.125)}:root div.logo{color:#fff}} \ No newline at end of file diff --git a/public/color/blue-light.css b/public/color/blue-light.css deleted file mode 100644 index 2e8deda..0000000 --- a/public/color/blue-light.css +++ /dev/null @@ -1 +0,0 @@ -:root{--accent: rgb(32,128,192);--accent-alpha-70: rgba(32,128,192,.7);--accent-alpha-20: rgba(32,128,192,.2);--background: white;--color: #1D212C;--border-color: rgba(0, 0, 0, .1)}:root div.logo{color:#fff} \ No newline at end of file diff --git a/public/color/blue.css b/public/color/blue.css deleted file mode 100644 index b5ee951..0000000 --- a/public/color/blue.css +++ /dev/null @@ -1 +0,0 @@ -:root{--accent: rgb(35,176,255);--accent-alpha-70: rgba(35,176,255,.7);--accent-alpha-20: rgba(35,176,255,.2);--background: #1D212C;--color: white;--border-color: rgba(255, 255, 255, .1)} \ No newline at end of file diff --git a/public/color/green-auto.css b/public/color/green-auto.css deleted file mode 100644 index e671b44..0000000 --- a/public/color/green-auto.css +++ /dev/null @@ -1 +0,0 @@ -@media (prefers-color-scheme: dark){:root{--accent: rgb(120,226,160);--accent-alpha-70: rgba(120,226,160,.7);--accent-alpha-20: rgba(120,226,160,.2);--background: #101010;--color: #f0f0f0;--border-color: rgba(255,240,224,.125)}:root div.logo{color:#000}}@media (prefers-color-scheme: light){:root{--accent: rgb(24, 192, 128);--accent-alpha-70: rgba(24, 192, 128,.7);--accent-alpha-20: rgba(24, 192, 128,.2);--background: white;--color: #201030;--border-color: rgba(0,0,16,.125)}:root div.logo{color:#fff}} \ No newline at end of file diff --git a/public/color/green-light.css b/public/color/green-light.css deleted file mode 100644 index 6788de0..0000000 --- a/public/color/green-light.css +++ /dev/null @@ -1 +0,0 @@ -:root{--accent: rgb(24, 192, 128);--accent-alpha-70: rgba(24, 192, 128,.7);--accent-alpha-20: rgba(24, 192, 128,.2);--background: white;--color: #1D212C;--border-color: rgba(0, 0, 0, .1)}:root div.logo{color:#fff} \ No newline at end of file diff --git a/public/color/green.css b/public/color/green.css deleted file mode 100644 index e622015..0000000 --- a/public/color/green.css +++ /dev/null @@ -1 +0,0 @@ -:root{--accent: rgb(120,226,160);--accent-alpha-70: rgba(120,226,160,.7);--accent-alpha-20: rgba(120,226,160,.2);--background: #1F222A;--color: white;--border-color: rgba(255, 255, 255, .1)} \ No newline at end of file diff --git a/public/color/orange-auto.css b/public/color/orange-auto.css deleted file mode 100644 index 50ee1d8..0000000 --- a/public/color/orange-auto.css +++ /dev/null @@ -1 +0,0 @@ -@media (prefers-color-scheme: dark){:root{--accent: rgb(255,168,106);--accent-alpha-70: rgba(255,168,106,.7);--accent-alpha-20: rgba(255,168,106,.2);--background: #101010;--color: #f0f0f0;--border-color: rgba(255,240,224,.125)}:root div.logo{color:#000}}@media (prefers-color-scheme: light){:root{--accent: rgb(240,128,48);--accent-alpha-70: rgba(240,128,48,.7);--accent-alpha-20: rgba(240,128,48,.2);--background: white;--color: #201030;--border-color: rgba(0,0,16,.125)}:root div.logo{color:#fff}} \ No newline at end of file diff --git a/public/color/orange-light.css b/public/color/orange-light.css deleted file mode 100644 index 979f284..0000000 --- a/public/color/orange-light.css +++ /dev/null @@ -1 +0,0 @@ -:root{--accent: rgb(240,128,48);--accent-alpha-70: rgba(240,128,48,.7);--accent-alpha-20: rgba(240,128,48,.2);--background: white;--color: #1D212C;--border-color: rgba(0, 0, 0, .1)}:root div.logo{color:#fff} \ No newline at end of file diff --git a/public/color/orange.css b/public/color/orange.css deleted file mode 100644 index 3f1a992..0000000 --- a/public/color/orange.css +++ /dev/null @@ -1 +0,0 @@ -:root{--accent: rgb(255,168,106);--accent-alpha-70: rgba(255,168,106,.7);--accent-alpha-20: rgba(255,168,106,.2);--background: #222129;--color: white;--border-color: rgba(255, 255, 255, .1)} \ No newline at end of file diff --git a/public/color/pink-auto.css b/public/color/pink-auto.css deleted file mode 100644 index 34df818..0000000 --- a/public/color/pink-auto.css +++ /dev/null @@ -1 +0,0 @@ -@media (prefers-color-scheme: dark){:root{--accent: rgb(224,64,192);--accent-alpha-70: rgba(224,64,192);--accent-alpha-20: rgba(224,64,192,.2);--background: #101010;--color: #f0f0f0;--border-color: rgba(255,240,224,.125)}:root div.logo{color:#000}}@media (prefers-color-scheme: light){:root{--accent: rgb(238,114,241);--accent-alpha-70: rgba(238,114,241,.7);--accent-alpha-20: rgba(238,114,241,.2);--background: white;--color: #201030;--border-color: rgba(0,0,16,.125)}:root div.logo{color:#fff}} \ No newline at end of file diff --git a/public/color/pink-light.css b/public/color/pink-light.css deleted file mode 100644 index 881f216..0000000 --- a/public/color/pink-light.css +++ /dev/null @@ -1 +0,0 @@ -:root{--accent: rgb(224,64,192);--accent-alpha-70: rgba(224,64,192);--accent-alpha-20: rgba(224,64,192,.2);--background: white;--color: #1D212C;--border-color: rgba(0, 0, 0, .1)}:root div.logo{color:#fff} \ No newline at end of file diff --git a/public/color/pink.css b/public/color/pink.css deleted file mode 100644 index f2c4c43..0000000 --- a/public/color/pink.css +++ /dev/null @@ -1 +0,0 @@ -:root{--accent: rgb(238,114,241);--accent-alpha-70: rgba(238,114,241,.7);--accent-alpha-20: rgba(238,114,241,.2);--background: #21202C;--color: white;--border-color: rgba(255, 255, 255, .1)} \ No newline at end of file diff --git a/public/color/red-auto.css b/public/color/red-auto.css deleted file mode 100644 index d0c7147..0000000 --- a/public/color/red-auto.css +++ /dev/null @@ -1 +0,0 @@ -@media (prefers-color-scheme: dark){:root{--accent: rgb(255,98,102);--accent-alpha-70: rgba(255,98,102,.7);--accent-alpha-20: rgba(255,98,102,.2);--background: #101010;--color: #f0f0f0;--border-color: rgba(255,240,224,.125)}:root div.logo{color:#000}}@media (prefers-color-scheme: light){:root{--accent: rgb(240,48,64);--accent-alpha-70: rgba(240,48,64,.7);--accent-alpha-20: rgba(240,48,64,.2);--background: white;--color: #201030;--border-color: rgba(0,0,16,.125)}:root div.logo{color:#fff}} \ No newline at end of file diff --git a/public/color/red-light.css b/public/color/red-light.css deleted file mode 100644 index a854a79..0000000 --- a/public/color/red-light.css +++ /dev/null @@ -1 +0,0 @@ -:root{--accent: rgb(240,48,64);--accent-alpha-70: rgba(240,48,64,.7);--accent-alpha-20: rgba(240,48,64,.2);--background: white;--color: #1D212C;--border-color: rgba(0, 0, 0, .1)}:root div.logo{color:#fff} \ No newline at end of file diff --git a/public/color/red.css b/public/color/red.css deleted file mode 100644 index 3b1e34a..0000000 --- a/public/color/red.css +++ /dev/null @@ -1 +0,0 @@ -:root{--accent: rgb(255,98,102);--accent-alpha-70: rgba(255,98,102,.7);--accent-alpha-20: rgba(255,98,102,.2);--background: #221F29;--color: white;--border-color: rgba(255, 255, 255, .1)} \ No newline at end of file diff --git a/public/elasticlunr.min.js b/public/elasticlunr.min.js deleted file mode 100644 index 79dad65..0000000 --- a/public/elasticlunr.min.js +++ /dev/null @@ -1,10 +0,0 @@ -/** - * elasticlunr - http://weixsong.github.io - * Lightweight full-text search engine in Javascript for browser search and offline search. - 0.9.6 - * - * Copyright (C) 2017 Oliver Nightingale - * Copyright (C) 2017 Wei Song - * MIT Licensed - * @license - */ -!function(){function e(e){if(null===e||"object"!=typeof e)return e;var t=e.constructor();for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}var t=function(e){var n=new t.Index;return n.pipeline.add(t.trimmer,t.stopWordFilter,t.stemmer),e&&e.call(n,n),n};t.version="0.9.5",lunr=t,t.utils={},t.utils.warn=function(e){return function(t){e.console&&console.warn&&console.warn(t)}}(this),t.utils.toString=function(e){return void 0===e||null===e?"":e.toString()},t.EventEmitter=function(){this.events={}},t.EventEmitter.prototype.addListener=function(){var e=Array.prototype.slice.call(arguments),t=e.pop(),n=e;if("function"!=typeof t)throw new TypeError("last argument must be a function");n.forEach(function(e){this.hasHandler(e)||(this.events[e]=[]),this.events[e].push(t)},this)},t.EventEmitter.prototype.removeListener=function(e,t){if(this.hasHandler(e)){var n=this.events[e].indexOf(t);-1!==n&&(this.events[e].splice(n,1),0==this.events[e].length&&delete this.events[e])}},t.EventEmitter.prototype.emit=function(e){if(this.hasHandler(e)){var t=Array.prototype.slice.call(arguments,1);this.events[e].forEach(function(e){e.apply(void 0,t)},this)}},t.EventEmitter.prototype.hasHandler=function(e){return e in this.events},t.tokenizer=function(e){if(!arguments.length||null===e||void 0===e)return[];if(Array.isArray(e)){var n=e.filter(function(e){return null===e||void 0===e?!1:!0});n=n.map(function(e){return t.utils.toString(e).toLowerCase()});var i=[];return n.forEach(function(e){var n=e.split(t.tokenizer.seperator);i=i.concat(n)},this),i}return e.toString().trim().toLowerCase().split(t.tokenizer.seperator)},t.tokenizer.defaultSeperator=/[\s\-]+/,t.tokenizer.seperator=t.tokenizer.defaultSeperator,t.tokenizer.setSeperator=function(e){null!==e&&void 0!==e&&"object"==typeof e&&(t.tokenizer.seperator=e)},t.tokenizer.resetSeperator=function(){t.tokenizer.seperator=t.tokenizer.defaultSeperator},t.tokenizer.getSeperator=function(){return t.tokenizer.seperator},t.Pipeline=function(){this._queue=[]},t.Pipeline.registeredFunctions={},t.Pipeline.registerFunction=function(e,n){n in t.Pipeline.registeredFunctions&&t.utils.warn("Overwriting existing registered function: "+n),e.label=n,t.Pipeline.registeredFunctions[n]=e},t.Pipeline.getRegisteredFunction=function(e){return e in t.Pipeline.registeredFunctions!=!0?null:t.Pipeline.registeredFunctions[e]},t.Pipeline.warnIfFunctionNotRegistered=function(e){var n=e.label&&e.label in this.registeredFunctions;n||t.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",e)},t.Pipeline.load=function(e){var n=new t.Pipeline;return e.forEach(function(e){var i=t.Pipeline.getRegisteredFunction(e);if(!i)throw new Error("Cannot load un-registered function: "+e);n.add(i)}),n},t.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach(function(e){t.Pipeline.warnIfFunctionNotRegistered(e),this._queue.push(e)},this)},t.Pipeline.prototype.after=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var i=this._queue.indexOf(e);if(-1===i)throw new Error("Cannot find existingFn");this._queue.splice(i+1,0,n)},t.Pipeline.prototype.before=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var i=this._queue.indexOf(e);if(-1===i)throw new Error("Cannot find existingFn");this._queue.splice(i,0,n)},t.Pipeline.prototype.remove=function(e){var t=this._queue.indexOf(e);-1!==t&&this._queue.splice(t,1)},t.Pipeline.prototype.run=function(e){for(var t=[],n=e.length,i=this._queue.length,o=0;n>o;o++){for(var r=e[o],s=0;i>s&&(r=this._queue[s](r,o,e),void 0!==r&&null!==r);s++);void 0!==r&&null!==r&&t.push(r)}return t},t.Pipeline.prototype.reset=function(){this._queue=[]},t.Pipeline.prototype.get=function(){return this._queue},t.Pipeline.prototype.toJSON=function(){return this._queue.map(function(e){return t.Pipeline.warnIfFunctionNotRegistered(e),e.label})},t.Index=function(){this._fields=[],this._ref="id",this.pipeline=new t.Pipeline,this.documentStore=new t.DocumentStore,this.index={},this.eventEmitter=new t.EventEmitter,this._idfCache={},this.on("add","remove","update",function(){this._idfCache={}}.bind(this))},t.Index.prototype.on=function(){var e=Array.prototype.slice.call(arguments);return this.eventEmitter.addListener.apply(this.eventEmitter,e)},t.Index.prototype.off=function(e,t){return this.eventEmitter.removeListener(e,t)},t.Index.load=function(e){e.version!==t.version&&t.utils.warn("version mismatch: current "+t.version+" importing "+e.version);var n=new this;n._fields=e.fields,n._ref=e.ref,n.documentStore=t.DocumentStore.load(e.documentStore),n.pipeline=t.Pipeline.load(e.pipeline),n.index={};for(var i in e.index)n.index[i]=t.InvertedIndex.load(e.index[i]);return n},t.Index.prototype.addField=function(e){return this._fields.push(e),this.index[e]=new t.InvertedIndex,this},t.Index.prototype.setRef=function(e){return this._ref=e,this},t.Index.prototype.saveDocument=function(e){return this.documentStore=new t.DocumentStore(e),this},t.Index.prototype.addDoc=function(e,n){if(e){var n=void 0===n?!0:n,i=e[this._ref];this.documentStore.addDoc(i,e),this._fields.forEach(function(n){var o=this.pipeline.run(t.tokenizer(e[n]));this.documentStore.addFieldLength(i,n,o.length);var r={};o.forEach(function(e){e in r?r[e]+=1:r[e]=1},this);for(var s in r){var u=r[s];u=Math.sqrt(u),this.index[n].addToken(s,{ref:i,tf:u})}},this),n&&this.eventEmitter.emit("add",e,this)}},t.Index.prototype.removeDocByRef=function(e){if(e&&this.documentStore.isDocStored()!==!1&&this.documentStore.hasDoc(e)){var t=this.documentStore.getDoc(e);this.removeDoc(t,!1)}},t.Index.prototype.removeDoc=function(e,n){if(e){var n=void 0===n?!0:n,i=e[this._ref];this.documentStore.hasDoc(i)&&(this.documentStore.removeDoc(i),this._fields.forEach(function(n){var o=this.pipeline.run(t.tokenizer(e[n]));o.forEach(function(e){this.index[n].removeToken(e,i)},this)},this),n&&this.eventEmitter.emit("remove",e,this))}},t.Index.prototype.updateDoc=function(e,t){var t=void 0===t?!0:t;this.removeDocByRef(e[this._ref],!1),this.addDoc(e,!1),t&&this.eventEmitter.emit("update",e,this)},t.Index.prototype.idf=function(e,t){var n="@"+t+"/"+e;if(Object.prototype.hasOwnProperty.call(this._idfCache,n))return this._idfCache[n];var i=this.index[t].getDocFreq(e),o=1+Math.log(this.documentStore.length/(i+1));return this._idfCache[n]=o,o},t.Index.prototype.getFields=function(){return this._fields.slice()},t.Index.prototype.search=function(e,n){if(!e)return[];e="string"==typeof e?{any:e}:JSON.parse(JSON.stringify(e));var i=null;null!=n&&(i=JSON.stringify(n));for(var o=new t.Configuration(i,this.getFields()).get(),r={},s=Object.keys(e),u=0;u0&&t.push(e);for(var i in n)"docs"!==i&&"df"!==i&&this.expandToken(e+i,t,n[i]);return t},t.InvertedIndex.prototype.toJSON=function(){return{root:this.root}},t.Configuration=function(e,n){var e=e||"";if(void 0==n||null==n)throw new Error("fields should not be null");this.config={};var i;try{i=JSON.parse(e),this.buildUserConfig(i,n)}catch(o){t.utils.warn("user configuration parse failed, will use default configuration"),this.buildDefaultConfig(n)}},t.Configuration.prototype.buildDefaultConfig=function(e){this.reset(),e.forEach(function(e){this.config[e]={boost:1,bool:"OR",expand:!1}},this)},t.Configuration.prototype.buildUserConfig=function(e,n){var i="OR",o=!1;if(this.reset(),"bool"in e&&(i=e.bool||i),"expand"in e&&(o=e.expand||o),"fields"in e)for(var r in e.fields)if(n.indexOf(r)>-1){var s=e.fields[r],u=o;void 0!=s.expand&&(u=s.expand),this.config[r]={boost:s.boost||0===s.boost?s.boost:1,bool:s.bool||i,expand:u}}else t.utils.warn("field name in user configuration not found in index instance fields");else this.addAllFields2UserConfig(i,o,n)},t.Configuration.prototype.addAllFields2UserConfig=function(e,t,n){n.forEach(function(n){this.config[n]={boost:1,bool:e,expand:t}},this)},t.Configuration.prototype.get=function(){return this.config},t.Configuration.prototype.reset=function(){this.config={}},lunr.SortedSet=function(){this.length=0,this.elements=[]},lunr.SortedSet.load=function(e){var t=new this;return t.elements=e,t.length=e.length,t},lunr.SortedSet.prototype.add=function(){var e,t;for(e=0;e1;){if(r===e)return o;e>r&&(t=o),r>e&&(n=o),i=n-t,o=t+Math.floor(i/2),r=this.elements[o]}return r===e?o:-1},lunr.SortedSet.prototype.locationFor=function(e){for(var t=0,n=this.elements.length,i=n-t,o=t+Math.floor(i/2),r=this.elements[o];i>1;)e>r&&(t=o),r>e&&(n=o),i=n-t,o=t+Math.floor(i/2),r=this.elements[o];return r>e?o:e>r?o+1:void 0},lunr.SortedSet.prototype.intersect=function(e){for(var t=new lunr.SortedSet,n=0,i=0,o=this.length,r=e.length,s=this.elements,u=e.elements;;){if(n>o-1||i>r-1)break;s[n]!==u[i]?s[n]u[i]&&i++:(t.add(s[n]),n++,i++)}return t},lunr.SortedSet.prototype.clone=function(){var e=new lunr.SortedSet;return e.elements=this.toArray(),e.length=e.elements.length,e},lunr.SortedSet.prototype.union=function(e){var t,n,i;this.length>=e.length?(t=this,n=e):(t=e,n=this),i=t.clone();for(var o=0,r=n.toArray();o*:first-child:not(:only-child){margin-right:10px}@media (max-width: 899px){.footer .copyright>*:first-child:not(:only-child){border:none;padding:0;margin:0}}@media (max-width: 899px){.footer .copyright{flex-direction:column;margin-top:10px}}@media (max-width: 899px){.footer .copyright-theme-sep{display:none}}@media (max-width: 899px){.footer .copyright-theme{font-size:.75rem}} \ No newline at end of file diff --git a/public/header.css b/public/header.css deleted file mode 100644 index 8961941..0000000 --- a/public/header.css +++ /dev/null @@ -1 +0,0 @@ -.header{display:flex;flex-direction:column;position:relative}.header__inner{display:flex;align-items:center;justify-content:space-between}.header__logo{display:flex;flex:1}.header__logo:after{content:"";background:repeating-linear-gradient(90deg, var(--accent), var(--accent) 2px, rgba(0,0,0,0) 0, rgba(0,0,0,0) 16px);display:block;width:100%;right:10px}.header__logo a{flex:0 0 auto;max-width:100%}.header .menu{margin:20px 0}.header .menu__inner{display:flex;flex-wrap:wrap;list-style:none;margin:0;padding:0}.header .menu__inner li.active{color:var(--accent-alpha-70)}.header .menu__inner li:not(:last-of-type){margin-right:20px;margin-bottom:10px;flex:0 0 auto}.header .menu__sub-inner{position:relative;list-style:none;padding:0;margin:0}.header .menu__sub-inner:not(:only-child){margin-left:20px}.header .menu__sub-inner-more{position:absolute;background:var(--background);box-shadow:var(--shadow);color:#fff;border:2px solid;margin:0;padding:10px;list-style:none;z-index:99;top:35px;left:0}.header .menu__sub-inner-more-trigger{color:var(--accent);user-select:none;cursor:pointer}.header .menu__sub-inner-more li{margin:0;padding:5px;white-space:nowrap} \ No newline at end of file diff --git a/public/logo.css b/public/logo.css deleted file mode 100644 index b5150a4..0000000 --- a/public/logo.css +++ /dev/null @@ -1 +0,0 @@ -.logo{display:flex;align-items:center;text-decoration:none;background:var(--accent);color:#000;padding:5px 10px} \ No newline at end of file diff --git a/public/main.css b/public/main.css deleted file mode 100644 index 8c6731b..0000000 --- a/public/main.css +++ /dev/null @@ -1 +0,0 @@ -html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}body{margin:0;padding:0;font-family:Hack,DejaVu Sans Mono,Monaco,Consolas,Ubuntu Mono,monospace;font-size:1rem;line-height:1.54;background-color:var(--background);color:var(--color);text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-webkit-overflow-scrolling:touch;-webkit-text-size-adjust:100%}@media (max-width: 683px){body{font-size:1rem}}h1,h2,h3,h4,h5,h6{display:flex;align-items:center;font-weight:bold;line-height:1.3}h1{font-size:1.4rem}h2{font-size:1.3rem}h3{font-size:1.2rem}h4,h5,h6{font-size:1.15rem}a{color:inherit}img{display:block;max-width:100%}img.left{margin-right:auto}img.center{margin-left:auto;margin-right:auto}img.right{margin-left:auto}p{margin-bottom:20px}figure{display:table;max-width:100%;margin:25px 0}figure.left,figure img{margin-right:auto}figure.center,figure img{margin-left:auto;margin-right:auto}figure.right,figure img{margin-left:auto}figure figcaption{font-size:14px;padding:5px 10px;margin-top:5px;background:var(--accent);color:var(--background)}figure figcaption.left{text-align:left}figure figcaption.center{text-align:center}figure figcaption.right{text-align:right}code{font-family:Hack,DejaVu Sans Mono,Monaco,Consolas,Ubuntu Mono,monospace;font-feature-settings:normal;background:var(--accent-alpha-20);padding:1px 6px;margin:0 2px;font-size:.95rem}pre{font-family:Hack,DejaVu Sans Mono,Monaco,Consolas,Ubuntu Mono,monospace;padding:20px;font-size:.95rem;overflow:auto;border-top:1px solid rgba(255,255,255,.1);border-bottom:1px solid rgba(255,255,255,.1)}@media (max-width: 683px){pre{white-space:pre-wrap;word-wrap:break-word}}pre code{padding:0;margin:0;background:none}blockquote{border-top:1px solid var(--accent);border-bottom:1px solid var(--accent);margin:40px 0;padding:25px}@media (max-width: 683px){blockquote{padding-right:0}}blockquote:before{content:"”";font-family:Georgia,serif;font-size:3.875rem;position:absolute;left:-40px;top:-20px}blockquote p:first-of-type{margin-top:0}blockquote p:last-of-type{margin-bottom:0}blockquote p{position:relative}blockquote p:before{content:">";display:block;position:absolute;left:-25px;color:var(--accent)}table{table-layout:fixed;border-collapse:collapse;width:100%;margin:40px 0}table,th,td{border:1px dashed var(--accent);padding:10px}th{color:var(--accent)}ul,ol{margin-left:30px;padding:0}ul li,ol li{position:relative}@media (max-width: 683px){ul,ol{margin-left:20px}}ol ol{list-style-type:lower-alpha}.container{display:flex;flex-direction:column;padding:40px;max-width:864px;min-height:100vh;margin:0 auto}@media (max-width: 683px){.container{padding:20px}}.content{display:flex}hr{width:100%;border:none;background:var(--border-color);height:1px}.hidden{display:none} \ No newline at end of file diff --git a/public/pagination.css b/public/pagination.css deleted file mode 100644 index defd6c0..0000000 --- a/public/pagination.css +++ /dev/null @@ -1 +0,0 @@ -.pagination{margin-top:50px}.pagination__title{display:flex;text-align:center;position:relative;margin:100px 0 20px}.pagination__title-h{text-align:center;margin:0 auto;padding:5px 10px;background:var(--background);font-size:.8rem;text-transform:uppercase;letter-spacing:.1em;z-index:1}.pagination__title hr{position:absolute;left:0;right:0;width:100%;margin-top:15px;z-index:0}.pagination__buttons{display:flex;align-items:center;justify-content:center}@media (max-width: 683px){.pagination__buttons{flex-direction:column}}.button{position:relative;display:inline-flex;align-items:center;justify-content:center;font-size:1rem;border-radius:8px;max-width:40%;padding:0;cursor:pointer;appearance:none}@media (max-width: 683px){.button{max-width:80%}}.button+.button{margin-left:10px}.button a{display:flex;padding:8px 16px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.button__text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden} \ No newline at end of file diff --git a/public/post.css b/public/post.css deleted file mode 100644 index 2d8fd20..0000000 --- a/public/post.css +++ /dev/null @@ -1 +0,0 @@ -.posts{width:100%;margin:0 auto}.post{width:100%;text-align:left;margin:20px auto;padding:20px 0}@media (max-width: 899px){.post{max-width:660px}}.post:not(:last-of-type){border-bottom:1px solid var(--border-color)}.post .post-meta-inline,.post .post-meta{font-size:1rem;margin-bottom:10px;color:var(--accent-alpha-70)}.post-meta-inline{display:inline}.post-title{--border: 2px dashed var(--accent);position:relative;color:var(--accent);margin:0 0 15px;padding-bottom:15px;border-bottom:var(--border);font-weight:normal}.post-title a{text-decoration:none}.post .post-tags-inline,.post .post-tags{margin-bottom:20px;font-size:1rem;opacity:.5}.post-tags{display:block}.post-tags-inline{display:inline}@media (max-width: 683px){.post-tags-inline{display:block}}.post-content{margin-top:30px}.post-cover{border:20px solid var(--accent);background:rgba(0,0,0,0);margin:40px 0;padding:20px}@media (max-width: 683px){.post-cover{padding:10px;border-width:10px}}.post ul{list-style:none}.post ul li:before{content:"►";position:absolute;left:-20px;color:var(--accent)}.post--regulation h1{justify-content:center}.post--regulation h2{justify-content:center;margin-bottom:10px}.post--regulation h2+h2{margin-top:-10px;margin-bottom:20px}.post-list .post-date{color:var(--accent-alpha-70);text-decoration:none}.post-list a{text-decoration:none}.post-list .post-list-title{text-decoration:underline}.post-list .post-tag{text-decoration:underline} \ No newline at end of file diff --git a/public/site.css b/public/site.css deleted file mode 100644 index e69de29..0000000 diff --git a/public/style.css b/public/style.css deleted file mode 100644 index d51f5f1..0000000 --- a/public/style.css +++ /dev/null @@ -1 +0,0 @@ -.button-container{display:table;margin-left:auto;margin-right:auto}button,.button,a.button{position:relative;display:flex;align-items:center;justify-content:center;padding:8px 18px;margin-bottom:5px;text-align:center;border-radius:8px;border:1px solid rgba(0,0,0,0);appearance:none;cursor:pointer;outline:none;}button.outline,.button.outline,a.button.outline{background:rgba(0,0,0,0);box-shadow:none;padding:8px 18px}button.outline :hover,.button.outline :hover,a.button.outline :hover{transform:none;box-shadow:none}button.primary,.button.primary,a.button.primary{box-shadow:0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08)}button.primary:hover,.button.primary:hover,a.button.primary:hover{box-shadow:0 2px 6px rgba(50,50,93,.21),0 1px 3px rgba(0,0,0,.08)}button.link,.button.link,a.button.link{background:none;font-size:1rem}button.small,.button.small,a.button.small{font-size:.8rem}button.wide,.button.wide,a.button.wide{min-width:200px;padding:14px 24px}a.read-more,a.read-more:hover,a.read-more:active{display:inline-flex;background:none;box-shadow:none;padding:0;margin:20px 0;max-width:100%}.code-toolbar{margin-bottom:20px}.code-toolbar .toolbar-item a{position:relative;display:inline-flex;align-items:center;justify-content:center;padding:3px 8px;margin-bottom:5px;text-align:center;font-size:13px;font-weight:500;border-radius:8px;border:1px solid rgba(0,0,0,0);appearance:none;cursor:pointer;outline:none}.header{display:flex;flex-direction:column;position:relative}.header__inner{display:flex;align-items:center;justify-content:space-between}.header__logo{display:flex;flex:1}.header__logo:after{content:"";background:repeating-linear-gradient(90deg, var(--accent), var(--accent) 2px, rgba(0,0,0,0) 0, rgba(0,0,0,0) 16px);display:block;width:100%;right:10px}.header__logo a{flex:0 0 auto;max-width:100%}.header .menu{margin:20px 0}.header .menu__inner{display:flex;flex-wrap:wrap;list-style:none;margin:0;padding:0}.header .menu__inner li.active{color:var(--accent-alpha-70)}.header .menu__inner li:not(:last-of-type){margin-right:20px;margin-bottom:10px;flex:0 0 auto}.header .menu__sub-inner{position:relative;list-style:none;padding:0;margin:0}.header .menu__sub-inner:not(:only-child){margin-left:20px}.header .menu__sub-inner-more{position:absolute;background:var(--background);box-shadow:var(--shadow);color:#fff;border:2px solid;margin:0;padding:10px;list-style:none;z-index:99;top:35px;left:0}.header .menu__sub-inner-more-trigger{color:var(--accent);user-select:none;cursor:pointer}.header .menu__sub-inner-more li{margin:0;padding:5px;white-space:nowrap}.logo{display:flex;align-items:center;text-decoration:none;background:var(--accent);color:#000;padding:5px 10px}html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}body{margin:0;padding:0;font-family:Hack,DejaVu Sans Mono,Monaco,Consolas,Ubuntu Mono,monospace;font-size:1rem;line-height:1.54;background-color:var(--background);color:var(--color);text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-webkit-overflow-scrolling:touch;-webkit-text-size-adjust:100%}@media (max-width: 683px){body{font-size:1rem}}h1,h2,h3,h4,h5,h6{display:flex;align-items:center;font-weight:bold;line-height:1.3}h1{font-size:1.4rem}h2{font-size:1.3rem}h3{font-size:1.2rem}h4,h5,h6{font-size:1.15rem}a{color:inherit}img{display:block;max-width:100%}img.left{margin-right:auto}img.center{margin-left:auto;margin-right:auto}img.right{margin-left:auto}p{margin-bottom:20px}figure{display:table;max-width:100%;margin:25px 0}figure.left,figure img{margin-right:auto}figure.center,figure img{margin-left:auto;margin-right:auto}figure.right,figure img{margin-left:auto}figure figcaption{font-size:14px;padding:5px 10px;margin-top:5px;background:var(--accent);color:var(--background)}figure figcaption.left{text-align:left}figure figcaption.center{text-align:center}figure figcaption.right{text-align:right}code{font-family:Hack,DejaVu Sans Mono,Monaco,Consolas,Ubuntu Mono,monospace;font-feature-settings:normal;background:var(--accent-alpha-20);padding:1px 6px;margin:0 2px;font-size:.95rem}pre{font-family:Hack,DejaVu Sans Mono,Monaco,Consolas,Ubuntu Mono,monospace;padding:20px;font-size:.95rem;overflow:auto;border-top:1px solid rgba(255,255,255,.1);border-bottom:1px solid rgba(255,255,255,.1)}@media (max-width: 683px){pre{white-space:pre-wrap;word-wrap:break-word}}pre code{padding:0;margin:0;background:none}blockquote{border-top:1px solid var(--accent);border-bottom:1px solid var(--accent);margin:40px 0;padding:25px}@media (max-width: 683px){blockquote{padding-right:0}}blockquote:before{content:"”";font-family:Georgia,serif;font-size:3.875rem;position:absolute;left:-40px;top:-20px}blockquote p:first-of-type{margin-top:0}blockquote p:last-of-type{margin-bottom:0}blockquote p{position:relative}blockquote p:before{content:">";display:block;position:absolute;left:-25px;color:var(--accent)}table{table-layout:fixed;border-collapse:collapse;width:100%;margin:40px 0}table,th,td{border:1px dashed var(--accent);padding:10px}th{color:var(--accent)}ul,ol{margin-left:30px;padding:0}ul li,ol li{position:relative}@media (max-width: 683px){ul,ol{margin-left:20px}}ol ol{list-style-type:lower-alpha}.container{display:flex;flex-direction:column;padding:40px;max-width:864px;min-height:100vh;margin:0 auto}@media (max-width: 683px){.container{padding:20px}}.content{display:flex}hr{width:100%;border:none;background:var(--border-color);height:1px}.hidden{display:none}.posts{width:100%;margin:0 auto}.post{width:100%;text-align:left;margin:20px auto;padding:20px 0}@media (max-width: 899px){.post{max-width:660px}}.post:not(:last-of-type){border-bottom:1px solid var(--border-color)}.post .post-meta-inline,.post .post-meta{font-size:1rem;margin-bottom:10px;color:var(--accent-alpha-70)}.post-meta-inline{display:inline}.post-title{--border: 2px dashed var(--accent);position:relative;color:var(--accent);margin:0 0 15px;padding-bottom:15px;border-bottom:var(--border);font-weight:normal}.post-title a{text-decoration:none}.post .post-tags-inline,.post .post-tags{margin-bottom:20px;font-size:1rem;opacity:.5}.post-tags{display:block}.post-tags-inline{display:inline}@media (max-width: 683px){.post-tags-inline{display:block}}.post-content{margin-top:30px}.post-cover{border:20px solid var(--accent);background:rgba(0,0,0,0);margin:40px 0;padding:20px}@media (max-width: 683px){.post-cover{padding:10px;border-width:10px}}.post ul{list-style:none}.post ul li:before{content:"►";position:absolute;left:-20px;color:var(--accent)}.post--regulation h1{justify-content:center}.post--regulation h2{justify-content:center;margin-bottom:10px}.post--regulation h2+h2{margin-top:-10px;margin-bottom:20px}.post-list .post-date{color:var(--accent-alpha-70);text-decoration:none}.post-list a{text-decoration:none}.post-list .post-list-title{text-decoration:underline}.post-list .post-tag{text-decoration:underline}.pagination{margin-top:50px}.pagination__title{display:flex;text-align:center;position:relative;margin:100px 0 20px}.pagination__title-h{text-align:center;margin:0 auto;padding:5px 10px;background:var(--background);font-size:.8rem;text-transform:uppercase;letter-spacing:.1em;z-index:1}.pagination__title hr{position:absolute;left:0;right:0;width:100%;margin-top:15px;z-index:0}.pagination__buttons{display:flex;align-items:center;justify-content:center}@media (max-width: 683px){.pagination__buttons{flex-direction:column}}.button{position:relative;display:inline-flex;align-items:center;justify-content:center;font-size:1rem;border-radius:8px;max-width:40%;padding:0;cursor:pointer;appearance:none}@media (max-width: 683px){.button{max-width:80%}}.button+.button{margin-left:10px}.button a{display:flex;padding:8px 16px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.button__text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.footer{padding:40px 0;flex-grow:0;opacity:.5}.footer__inner{display:flex;align-items:center;justify-content:space-between;margin:0;width:760px;max-width:100%}@media (max-width: 899px){.footer__inner{flex-direction:column}}.footer a{color:inherit}.footer .copyright{display:flex;flex-direction:row;align-items:center;font-size:1rem;color:var(--light-color-secondary)}.footer .copyright--user{margin:auto;text-align:center}.footer .copyright>*:first-child:not(:only-child){margin-right:10px}@media (max-width: 899px){.footer .copyright>*:first-child:not(:only-child){border:none;padding:0;margin:0}}@media (max-width: 899px){.footer .copyright{flex-direction:column;margin-top:10px}}@media (max-width: 899px){.footer .copyright-theme-sep{display:none}}@media (max-width: 899px){.footer .copyright-theme{font-size:.75rem}} \ No newline at end of file diff --git a/public/variables.css b/public/variables.css deleted file mode 100644 index e69de29..0000000 diff --git a/themes/terminette/LICENSE-Hack.md b/themes/terminette/LICENSE-Hack.md deleted file mode 100644 index 08927e5..0000000 --- a/themes/terminette/LICENSE-Hack.md +++ /dev/null @@ -1,45 +0,0 @@ -The work in the Hack project is Copyright 2018 Source Foundry Authors and licensed under the MIT License - -The work in the DejaVu project was committed to the public domain. - -Bitstream Vera Sans Mono Copyright 2003 Bitstream Inc. and licensed under the Bitstream Vera License with Reserved Font Names "Bitstream" and "Vera" - -### MIT License - -Copyright (c) 2018 Source Foundry Authors - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -### BITSTREAM VERA LICENSE - -Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved. Bitstream Vera is a trademark of Bitstream, Inc. - -Permission is hereby granted, free of charge, to any person obtaining a copy of the fonts accompanying this license ("Fonts") and associated documentation files (the "Font Software"), to reproduce and distribute the Font Software, including without limitation the rights to use, copy, merge, publish, distribute, and/or sell copies of the Font Software, and to permit persons to whom the Font Software is furnished to do so, subject to the following conditions: - -The above copyright and trademark notices and this permission notice shall be included in all copies of one or more of the Font Software typefaces. - -The Font Software may be modified, altered, or added to, and in particular the designs of glyphs or characters in the Fonts may be modified and additional glyphs or characters may be added to the Fonts, only if the fonts are renamed to names not containing either the words "Bitstream" or the word "Vera". - -This License becomes null and void to the extent applicable to Fonts or Font Software that has been modified and is distributed under the "Bitstream Vera" names. - -The Font Software may be sold as part of a larger software package but no copy of one or more of the Font Software typefaces may be sold by itself. - -THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BITSTREAM OR THE GNOME FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE. - -Except as contained in this notice, the names of Gnome, the Gnome Foundation, and Bitstream Inc., shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Font Software without prior written authorization from the Gnome Foundation or Bitstream Inc., respectively. For further information, contact: fonts at gnome dot org. diff --git a/themes/terminette/LICENSE.md b/themes/terminette/LICENSE.md deleted file mode 100644 index b4d36bd..0000000 --- a/themes/terminette/LICENSE.md +++ /dev/null @@ -1,74 +0,0 @@ - -MIT License - -Copyright (c) 2024 Jessica Phoenix Canady - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. ---- - -For terminimal: - -MIT License - -Copyright (c) 2019 Paweł Romanowski - -Copyright (c) 2019 panr - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ---- - -For hugo-theme-terminal: - -The MIT License (MIT) - -Copyright (c) 2019 panr - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/themes/terminette/README.md b/themes/terminette/README.md deleted file mode 100644 index 586b50c..0000000 --- a/themes/terminette/README.md +++ /dev/null @@ -1,428 +0,0 @@ -# Terminimal - -[![Build Status](https://github.com/pawroman/zola-theme-terminimal/actions/workflows/pages/pages-build-deployment/badge.svg)](https://github.com/pawroman/zola-theme-terminimal/actions/workflows/pages/pages-build-deployment) -![No JavaScript](https://img.shields.io/badge/JavaScript-none-brightgreen.svg) - -![Screenshot](../master/screenshot.png?raw=true) - -See the live demo (of the default configuration) here: -https://pawroman.github.io/zola-theme-terminimal/ - -Tested with Zola v0.17.2. Please note that earlier versions might not work because of breaking changes across Zola versions. - -#### Fork disclaimer - -This theme is a fork (not a port) of "Terminal" Hugo theme -by Radosław Kozieł (aka. panr): -https://github.com/panr/hugo-theme-terminal - -Many thanks for that outstanding original theme, Radek! - -For more information about this fork and the differences to the original theme, please see: -[Changes compared to the original theme](#changes-compared-to-the-original-theme) below. - -## Versioning - -This theme used to be non-versioned, e.g. you'd pull the master branch, and occasionally new features or fixes would -be released. - -Starting from version v1.0.0, the project adopted [Semantic Versioning](https://semver.org/). - -Please check the [GitHub releases](https://github.com/pawroman/zola-theme-terminimal/releases) to see a change log -and work out if there's any breaking changes. - -## How to start - -Option A: clone the theme directly into your Zola site folder: - -``` -$ git clone https://github.com/pawroman/zola-theme-terminimal.git themes/terminimal -``` - -Option B: include it as a git submodule (it's better if you plan to use CI builders): - -``` -$ git submodule add https://github.com/pawroman/zola-theme-terminimal.git themes/terminimal -``` - -Then in your `config.toml` set: - -```toml -theme = "terminimal" - -# Sass compilation is required -compile_sass = true -``` - -Also see the Zola documentation on using themes: -https://www.getzola.org/documentation/themes/installing-and-using-themes/ - -## Shortcodes - -The theme adds two custom shortcodes related to image handling. - -### `image` - -Used to show images. - -Required arguments: - -- **`src`** - -Optional arguments: - -- **`alt`** -- **`position`** (center \[default\] | left | right) -- **`style`** - -Example: - -``` -{{ image(src="/img/hello.png", alt="Hello Friend", - position="left", style="border-radius: 8px;") }} -``` - -### `figure` - -Same as `image`, but with a few extra optional arguments: - -- **`caption`** (supports markdown) -- **`caption_position`** (center \[default\] | left | right) -- **`caption_style`** - -Example: - -``` -{{ figure(src="http://rustacean.net/assets/rustacean-flat-gesture.png", - style="width: 25%;", - position="right", - caption_position="left", - caption="**Ferris**, the (unofficial) Rust mascot", - caption_style="font-style: italic;") }} -``` - -## OpenGraph - -To add an image to a post, set the `og_image` extra option to the desired image -in the same directory of the markdown file: - -```toml -[extra] -og_image = "colocated_image.png" -``` - -Additionally, for the section pages and for posts to have a fallback image, add -`default_og_image` to the `[extra]` section: - -```toml -[extra] -default_og_image = "static/ocean.jpg" -``` - -## Configuration - -### Only show the post's description - -On each post you can specify the following: - -```toml -description = "test description" - -[extra] -show_only_description = true -``` - -This will render `test description` under this -particular post on the homepage instead of a summary. - -### Colors - -Both the accent colors and background colors are -configurable. - -By default, both accent and background are set -to `blue`. - -To configure menu, add this in `[extra]` section -of your `config.toml`: - -```toml -[extra] - -# One of: blue, green, orange, pink, red. -# Defaults to blue. -# Append -light for light themes, e.g. blue-light -# Or append -auto, e.g. blue-auto -accent_color = "green" - -# One of: blue, dark, green, orange, pink, red, light, auto -# Enabling dark background will also modify primary font color to be darker. -# Defaults to accent color (or, if not accent color specified, to blue). -background_color = "dark" -``` - -### Logo text and link - -You can set the "logo" text and what it links to, -by modifying `config.toml` like so: - -```toml -[extra] - -# The logo text - defaults to "Terminimal theme" -logo_text = "My blog" - -# The logo link - defaults to base_url. -logo_home_link = "/take/me/away!" -``` - -### Author and copyright - -You can set the footer's copyright author name like this: - -```toml -[extra] - -# Author name: when specified, modifies the default -# copyright text. Apart from author, it will -# contain current year and a link to the theme. -author = "My Name" -``` - -If you don't like the default copyright text, -you can set it to completely custom HTML: - -```toml -[extra] - -# Copyright text in HTML format. If specified, -# entirely replaces default copyright and author. -copyright_html = "My custom copyright" -``` - -### Menu - -The menu is optional, static (all items are always shown, -no matter what the screen size) and fully user-configurable. - -To configure menu, add this in `[extra]` section -of your `config.toml`: - -```toml -[extra] - -# menu is enabled by adding menu_items (optional) -menu_items = [ - # each of these is optional, name and url are required - # $BASE_URL is going to be substituted by base_url from configuration - {name = "blog", url = "$BASE_URL"}, - - # tags should only be enabled if you have "tags" taxonomy - # see documentation below for more details - {name = "tags", url = "$BASE_URL/tags"}, - {name = "archive", url = "$BASE_URL/archive"}, - {name = "about me", url = "$BASE_URL/about"}, - - # set newtab to true to make the link open in new tab - {name = "github", url = "url-to-your-github", newtab = true}, -] -``` - -### Tags - -The theme optionally supports tags. To enable them, create -a "tags" taxonomy in your `config.toml`: - -```toml -taxonomies = [ - {name = "tags"}, -] -``` - -Enabling tags will create a new `/tags` page, and -cause them to show up in `archive` section. Note -that you still need to create a menu link to the tags -page manually. - -### Pagination - -Pagination is fully supported for post list (main site) -and intra-post (you can navigate to earlier and later posts). - -To make sure pagination works properly, you must first configure -it in `content/_index.md`: - -``` -+++ -# number of pages to paginate by -paginate_by = 2 - -# sorting order for pagination -sort_by = "date" -+++ -``` - -Then, tweak the theme's pagination config in `config.toml`: - -```toml -[extra] - -# Whether to show links to earlier and later posts -# on each post page (defaults to true). -enable_post_view_navigation = true - -# The text shown at the bottom of a post, -# before earlier/later post links. -# Defaults to "Thanks for reading! Read other posts?" -post_view_navigation_prompt = "Read more" -``` - -### Language code - -Internationalization / translation is not supported -but you can set the HTML language code for your -site: - -```toml -default_language = "en" -``` - -### Hack font subset - -By default, the theme uses a mixed subset of the Hack font. -Normal weight font uses full character set -(for Unicode icons and special symbols), but all others -(bold, italic etc) use a limited subset. - -This results in much smaller transfer sizes, but the subset -might not contain all the Unicode characters you need. - -You can enable full unicode support in `config.toml`: - -```toml -[extra] - -# Use full Hack character set, not just a subset. -# Switch this to true if you need full unicode support. -# Defaults to false. -use_full_hack_font = true -``` - -Also see [Hack's docs](https://github.com/source-foundry/Hack/blob/master/docs/WEBFONT_USAGE.md). - -### Favicon - -The theme supports adding a global favicon (applies to -all pages) to the site: - -```toml -# Optional: Global favicon URL and mimetype. -# Mimetype defaults to "image/x-icon". -# The URL should point at a file located -# in your site's "static" directory. -favicon = "/favicon.png" -favicon_mimetype = "image/png" -``` - -### Page titles - -The theme allows you to configure how the page titles (the `` elements) are rendered. - -Use `"combined"` to render titles as `"Page title | Main title"`. - -```toml -# Optional: Set how <title> elements are rendered. -# Values: -# - "main_only" -- only the main title (`config.title`) is rendered. -# - "page_only" -- only the page title (if defined) is rendered, -# falling back to `config.title` if not defined or empty. -# - "combined" -- combine like so: "page_title | main_title", -# or if page_title is not defined or empty, fall back to `main_title` -# -# Note that the main (index) page only has the main title. -page_titles = "combined" -``` - -All the configuration options are also described in -[`config.toml`](../master/config.toml). - -## Extending - -Each of the templates defines named blocks, so -it should be quite easy to customize the most common things. - -For example, if you want to add extra `<meta>` tags to the -base template, `index.html`, create file like this in `templates/index.html`: - -```html -{% extends "terminimal/templates/index.html" %} - -{% block extra_head %} - <meta name="description" content="My awesome website"/> - <meta name="keywords" content="Hacking,Programming,Ranting"/> -{% endblock %} -``` - -## How to contribute - -If you spot any bugs or wish to contribute new features, please create a new -[Pull Request](https://github.com/pawroman/zola-theme-terminimal/pulls). - -## Changes compared to the original theme - -This theme has been forked from https://github.com/panr/hugo-theme-terminal - -- Slight changes in the layout and styling. - - Content has been centered (instead of left-aligned). - - The header stripes have been spaced out. - - Tweaks to pagination, especially on mobile (small screens). - - The post title underline is dashed instead of doubly-dotted. - - All links are underlined, as per - [Brutalist Web Design Guidelines](https://www.brutalist-web.design/). - - Tweaks to header font sizes. - - Minor footer tweaks. - -- Absolutely **no JavaScript**. - - No JavaScript needed to pre-process anything. - Zola with its Sass pre-processor is the only dependency. - - There's no menu trigger. - - Things load crazy fast, as it's all static content. - - Prism.js syntax highlighting is not supported (you can use - [Zola's](https://www.getzola.org/documentation/content/syntax-highlighting/)). - -- All references to social media (e.g. Twitter) have been removed. - -- All references to external URLs (e.g. Google CDN) have been removed. - This theme's static assets are meant to be served from where it's hosted. - -- [Hack](https://github.com/source-foundry/Hack) is the default font. - -- The default color theme is blue (original uses orange). - -### New features - -- You can pick the accent color as well as background color. - There's a new `dark` background. See [Configuration](#configuration) - below for details. -- Active "section" links will change color indicating the - active section. This is all static, done at template level. - -### Features retained from the original - -- 5 color themes, depending on your preference: - blue (default), green, orange, pink, red. -- The shortcodes `image` and `figure` (See [Shortcodes](#shortcodes)). -- Fully responsive. - -## License - -Copyright © 2019 Paweł Romanowski (pawroman) - -Original theme: Copyright © 2019 Radosław Kozieł ([@panr](https://twitter.com/panr)) - -The theme is released under the MIT License. -Check the [license file](../master/LICENSE.md) -for more information. - -The license for Hack fonts used is included in -[LICENSE-Hack.md](../master/LICENSE-Hack.md). diff --git a/themes/terminette/config.toml b/themes/terminette/config.toml deleted file mode 100644 index cfcceca..0000000 --- a/themes/terminette/config.toml +++ /dev/null @@ -1,103 +0,0 @@ -# Be sure to change these! -base_url = "https://pawroman.github.io/zola-theme-terminimal" -title = "Zola Terminimal theme" - -# Sass compilation is required -compile_sass = true - -# The theme supports feeds (RSS and ATOM) -generate_feed = true - -# Use `rss.xml` for RSS feeds and `atom.xml` for ATOM. -feed_filename = "atom.xml" - -# Optional: enable tags -taxonomies = [ - {name = "tags"} -] - -# Code highlighting -[markdown] -highlight_code = true -highlight_theme = "boron" - -[extra] - -# One of: blue, green, orange, pink, red. -# Defaults to blue. -# Append -light for light themes, e.g. blue-light -# Or append -auto, e.g. blue-auto -accent_color = "blue" - -# One of: blue, dark, green, orange, pink, red, light, auto -# Enabling dark background will also modify primary font color to be darker. -# Defaults to accent color (or, if not accent color specified, to blue). -background_color = "blue" - -# The logo text - defaults to "Terminimal theme" -logo_text = "Terminimal theme" - -# The logo link - defaults to base_url. -#logo_home_link = "/take/me/away!" - -# Author name: when specified, modifies the default -# copyright text. Apart from author, it will -# contain current year and a link to the theme. -#author = "My Name" - -# Copyright text in HTML format. If specified, -# entirely replaces default copyright and author. -#copyright_html = "My custom <b>copyright</b>" - -# menu is enabled by adding menu_items (optional) -menu_items = [ - # each of these is optional, name and url are required - # $BASE_URL is going to be substituted by base_url from configuration - {name = "blog", url = "$BASE_URL"}, - - # tags should only be enabled if you have "tags" taxonomy - # see documentation below for more details - {name = "tags", url = "$BASE_URL/tags"}, - {name = "archive", url = "$BASE_URL/archive"}, - {name = "about me", url = "$BASE_URL/about"}, - - # set newtab to true to make the link open in new tab - {name = "github", url = "https://github.com/pawroman/zola-theme-terminimal", newtab = true}, -] - -# Whether to show links to earlier and later (aka. higher/lower) posts -# on each post page (defaults to true). -enable_post_view_navigation = true - -# The text shown at the bottom of a post, -# before earlier/later post links. -# Defaults to "Thanks for reading! Read other posts?" -post_view_navigation_prompt = "Thanks for reading! Read other posts?" - -# Use full Hack character set, not just a subset. -# Switch this to true if you need full unicode support. -# Defaults to false. -use_full_hack_font = false - -# Optional: Global favicon URL and mimetype. -# Mimetype defaults to "image/x-icon". -# The URL should point at a file located -# in your site's "static" directory. -# favicon = "/favicon.png" -# favicon_mimetype = "image/png" - -# Optional: Set how <title> elements are rendered. -# Values: -# - "main_only" -- only the main title (`config.title`) is rendered. -# - "page_only" -- only the page title (if defined) is rendered, -# falling back to `config.title` if not defined or empty. -# - "combined" -- combine like so: "page_title | main_title", -# or if page_title is not defined or empty, fall back to `main_title` -# -# Note that the main (index) page only has the main title. -page_titles = "main_only" - -# Optional: default image to use for OpenGraph. -# If the page doesnt set og_image, use this one as fallback. Usefull -# for indexes and taxonomies' pages. -#default_og_image = "static/ocean.jpg" diff --git a/themes/terminette/content/_index.md b/themes/terminette/content/_index.md deleted file mode 100644 index ba81db4..0000000 --- a/themes/terminette/content/_index.md +++ /dev/null @@ -1,4 +0,0 @@ -+++ -paginate_by = 2 -sort_by = "date" -+++ diff --git a/themes/terminette/content/i-dont-like-javascript.md b/themes/terminette/content/i-dont-like-javascript.md deleted file mode 100644 index c03f85e..0000000 --- a/themes/terminette/content/i-dont-like-javascript.md +++ /dev/null @@ -1,26 +0,0 @@ -+++ -title = "I don't like JavaScript" -date = 2019-02-02 - -[taxonomies] -tags = ["javascript", "rant"] -+++ - -Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc eu feugiat sapien. - -[wtfjs.com](https://wtfjs.com) - -```javascript ->>> [1, 2, 3, 15, 30, 7, 5, 45, 60].sort() -[1, 15, 2, 3, 30, 45, 5, 60, 7] -``` - -<!-- more --> - -Ut luctus dolor ut tortor hendrerit, sed hendrerit augue scelerisque. Suspendisse quis sodales dui, at tempus ante. Nulla at tempor metus. Aliquam vitae rutrum diam. Curabitur iaculis massa dui, quis varius nulla finibus a. Praesent eu blandit justo. Suspendisse pharetra, arcu in rhoncus rutrum, magna magna viverra erat, eget vestibulum enim tellus id dui. Nunc vel dui et arcu posuere maximus. Mauris quam quam, bibendum sed libero nec, tempus hendrerit arcu. Suspendisse sed gravida orci. Fusce tempor arcu ac est pretium porttitor. Aenean consequat risus venenatis sem aliquam, at sollicitudin nulla semper. Aenean bibendum cursus hendrerit. Nulla congue urna nec finibus bibendum. Donec porta tincidunt ligula non ultricies. - -Sed vulputate tristique elit, eget pharetra elit sodales sed. Proin dignissim ipsum lorem, at porta eros malesuada sed. Proin tristique eros eu quam ornare, suscipit luctus mauris lobortis. Phasellus ut placerat enim. Donec egestas faucibus maximus. Nam quis efficitur eros. Cras tincidunt, lacus ac pretium porta, dui dolor varius elit, eget laoreet justo justo vitae metus. Morbi eget nisi ut ex scelerisque lobortis ut in lorem. Vestibulum et lorem quis ipsum feugiat varius. Mauris nec nulla viverra nisi porttitor efficitur. Morbi vel purus eleifend, finibus erat non, placerat ipsum. Mauris et augue vel nisi volutpat aliquam. Curabitur malesuada tortor est, at condimentum neque eleifend in. - -Morbi id ornare lacus. Suspendisse ultrices rutrum posuere. Nullam porttitor libero quis ligula finibus semper. Mauris iaculis magna et nisl tristique, eget maximus ex feugiat. Nam eu felis leo. Quisque ultrices varius purus in molestie. Duis non accumsan ligula. Vivamus dignissim malesuada metus, vel hendrerit tellus viverra id. Curabitur posuere, mauris vitae dignissim dictum, velit mi condimentum lorem, nec varius velit arcu a mi. In dolor sapien, condimentum sed aliquam at, dignissim id purus. Cras lorem leo, vulputate ac ante sed, molestie tempus lectus. Curabitur efficitur libero quam, rhoncus faucibus libero pharetra nec. Curabitur lobortis ullamcorper nisl eu imperdiet. Duis porttitor interdum magna, ac eleifend orci consequat vitae. Aliquam augue felis, faucibus vel blandit sed, maximus non turpis. - -Quisque viverra a eros id auctor. Proin id nibh ut nisl dignissim pellentesque et ac mi. Nullam mattis urna quis consequat bibendum. Donec pretium dui elit, a semper purus tristique et. Mauris euismod nisl eu vehicula facilisis. Maecenas facilisis non massa non scelerisque. Integer malesuada cursus erat eu viverra. Duis ligula mi, eleifend vel justo id, laoreet porttitor ex. Etiam ultricies lacus lorem, sed aliquam nulla blandit in. Maecenas vel facilisis neque, vitae fringilla eros. In justo nibh, pellentesque sed faucibus nec, varius sit amet risus. diff --git a/themes/terminette/content/learning-javascript.md b/themes/terminette/content/learning-javascript.md deleted file mode 100644 index 08f6120..0000000 --- a/themes/terminette/content/learning-javascript.md +++ /dev/null @@ -1,19 +0,0 @@ -+++ -title = "Learning JavaScript" -date = 2019-01-03 - -[taxonomies] -tags = ["javascript"] -+++ - -Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc eu feugiat sapien. Aenean ligula nunc, laoreet id sem in, interdum bibendum felis. Donec vel dui neque. Praesent ac sem ut justo volutpat rutrum a imperdiet tellus. Nam lobortis massa non hendrerit hendrerit. Vivamus porttitor dignissim turpis, eget aliquam urna tincidunt non. Aliquam et fringilla turpis. Nullam eros est, eleifend in ornare sed, hendrerit eget est. Aliquam tellus felis, suscipit vitae ex vel, fringilla tempus massa. Nulla facilisi. Pellentesque lobortis consequat lectus. Maecenas ac libero elit. - -<!-- more --> - -Ut luctus dolor ut tortor hendrerit, sed hendrerit augue scelerisque. Suspendisse quis sodales dui, at tempus ante. Nulla at tempor metus. Aliquam vitae rutrum diam. Curabitur iaculis massa dui, quis varius nulla finibus a. Praesent eu blandit justo. Suspendisse pharetra, arcu in rhoncus rutrum, magna magna viverra erat, eget vestibulum enim tellus id dui. Nunc vel dui et arcu posuere maximus. Mauris quam quam, bibendum sed libero nec, tempus hendrerit arcu. Suspendisse sed gravida orci. Fusce tempor arcu ac est pretium porttitor. Aenean consequat risus venenatis sem aliquam, at sollicitudin nulla semper. Aenean bibendum cursus hendrerit. Nulla congue urna nec finibus bibendum. Donec porta tincidunt ligula non ultricies. - -Sed vulputate tristique elit, eget pharetra elit sodales sed. Proin dignissim ipsum lorem, at porta eros malesuada sed. Proin tristique eros eu quam ornare, suscipit luctus mauris lobortis. Phasellus ut placerat enim. Donec egestas faucibus maximus. Nam quis efficitur eros. Cras tincidunt, lacus ac pretium porta, dui dolor varius elit, eget laoreet justo justo vitae metus. Morbi eget nisi ut ex scelerisque lobortis ut in lorem. Vestibulum et lorem quis ipsum feugiat varius. Mauris nec nulla viverra nisi porttitor efficitur. Morbi vel purus eleifend, finibus erat non, placerat ipsum. Mauris et augue vel nisi volutpat aliquam. Curabitur malesuada tortor est, at condimentum neque eleifend in. - -Morbi id ornare lacus. Suspendisse ultrices rutrum posuere. Nullam porttitor libero quis ligula finibus semper. Mauris iaculis magna et nisl tristique, eget maximus ex feugiat. Nam eu felis leo. Quisque ultrices varius purus in molestie. Duis non accumsan ligula. Vivamus dignissim malesuada metus, vel hendrerit tellus viverra id. Curabitur posuere, mauris vitae dignissim dictum, velit mi condimentum lorem, nec varius velit arcu a mi. In dolor sapien, condimentum sed aliquam at, dignissim id purus. Cras lorem leo, vulputate ac ante sed, molestie tempus lectus. Curabitur efficitur libero quam, rhoncus faucibus libero pharetra nec. Curabitur lobortis ullamcorper nisl eu imperdiet. Duis porttitor interdum magna, ac eleifend orci consequat vitae. Aliquam augue felis, faucibus vel blandit sed, maximus non turpis. - -Quisque viverra a eros id auctor. Proin id nibh ut nisl dignissim pellentesque et ac mi. Nullam mattis urna quis consequat bibendum. Donec pretium dui elit, a semper purus tristique et. Mauris euismod nisl eu vehicula facilisis. Maecenas facilisis non massa non scelerisque. Integer malesuada cursus erat eu viverra. Duis ligula mi, eleifend vel justo id, laoreet porttitor ex. Etiam ultricies lacus lorem, sed aliquam nulla blandit in. Maecenas vel facilisis neque, vitae fringilla eros. In justo nibh, pellentesque sed faucibus nec, varius sit amet risus. diff --git a/themes/terminette/content/more-ranting.md b/themes/terminette/content/more-ranting.md deleted file mode 100644 index 115619a..0000000 --- a/themes/terminette/content/more-ranting.md +++ /dev/null @@ -1,19 +0,0 @@ -+++ -title = "More ranting" -date = 2019-02-03 - -[taxonomies] -tags = ["rant"] -+++ - -Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc eu feugiat sapien. Aenean ligula nunc, laoreet id sem in, interdum bibendum felis. Donec vel dui neque. Praesent ac sem ut justo volutpat rutrum a imperdiet tellus. Nam lobortis massa non hendrerit hendrerit. Vivamus porttitor dignissim turpis, eget aliquam urna tincidunt non. Aliquam et fringilla turpis. Nullam eros est, eleifend in ornare sed, hendrerit eget est. Aliquam tellus felis, suscipit vitae ex vel, fringilla tempus massa. Nulla facilisi. Pellentesque lobortis consequat lectus. Maecenas ac libero elit. - -<!-- more --> - -Ut luctus dolor ut tortor hendrerit, sed hendrerit augue scelerisque. Suspendisse quis sodales dui, at tempus ante. Nulla at tempor metus. Aliquam vitae rutrum diam. Curabitur iaculis massa dui, quis varius nulla finibus a. Praesent eu blandit justo. Suspendisse pharetra, arcu in rhoncus rutrum, magna magna viverra erat, eget vestibulum enim tellus id dui. Nunc vel dui et arcu posuere maximus. Mauris quam quam, bibendum sed libero nec, tempus hendrerit arcu. Suspendisse sed gravida orci. Fusce tempor arcu ac est pretium porttitor. Aenean consequat risus venenatis sem aliquam, at sollicitudin nulla semper. Aenean bibendum cursus hendrerit. Nulla congue urna nec finibus bibendum. Donec porta tincidunt ligula non ultricies. - -Sed vulputate tristique elit, eget pharetra elit sodales sed. Proin dignissim ipsum lorem, at porta eros malesuada sed. Proin tristique eros eu quam ornare, suscipit luctus mauris lobortis. Phasellus ut placerat enim. Donec egestas faucibus maximus. Nam quis efficitur eros. Cras tincidunt, lacus ac pretium porta, dui dolor varius elit, eget laoreet justo justo vitae metus. Morbi eget nisi ut ex scelerisque lobortis ut in lorem. Vestibulum et lorem quis ipsum feugiat varius. Mauris nec nulla viverra nisi porttitor efficitur. Morbi vel purus eleifend, finibus erat non, placerat ipsum. Mauris et augue vel nisi volutpat aliquam. Curabitur malesuada tortor est, at condimentum neque eleifend in. - -Morbi id ornare lacus. Suspendisse ultrices rutrum posuere. Nullam porttitor libero quis ligula finibus semper. Mauris iaculis magna et nisl tristique, eget maximus ex feugiat. Nam eu felis leo. Quisque ultrices varius purus in molestie. Duis non accumsan ligula. Vivamus dignissim malesuada metus, vel hendrerit tellus viverra id. Curabitur posuere, mauris vitae dignissim dictum, velit mi condimentum lorem, nec varius velit arcu a mi. In dolor sapien, condimentum sed aliquam at, dignissim id purus. Cras lorem leo, vulputate ac ante sed, molestie tempus lectus. Curabitur efficitur libero quam, rhoncus faucibus libero pharetra nec. Curabitur lobortis ullamcorper nisl eu imperdiet. Duis porttitor interdum magna, ac eleifend orci consequat vitae. Aliquam augue felis, faucibus vel blandit sed, maximus non turpis. - -Quisque viverra a eros id auctor. Proin id nibh ut nisl dignissim pellentesque et ac mi. Nullam mattis urna quis consequat bibendum. Donec pretium dui elit, a semper purus tristique et. Mauris euismod nisl eu vehicula facilisis. Maecenas facilisis non massa non scelerisque. Integer malesuada cursus erat eu viverra. Duis ligula mi, eleifend vel justo id, laoreet porttitor ex. Etiam ultricies lacus lorem, sed aliquam nulla blandit in. Maecenas vel facilisis neque, vitae fringilla eros. In justo nibh, pellentesque sed faucibus nec, varius sit amet risus. diff --git a/themes/terminette/content/pages/_index.md b/themes/terminette/content/pages/_index.md deleted file mode 100644 index 800a244..0000000 --- a/themes/terminette/content/pages/_index.md +++ /dev/null @@ -1,3 +0,0 @@ -+++ -render = false -+++ diff --git a/themes/terminette/content/pages/about.md b/themes/terminette/content/pages/about.md deleted file mode 100644 index 054e57c..0000000 --- a/themes/terminette/content/pages/about.md +++ /dev/null @@ -1,6 +0,0 @@ -+++ -title = "About Me" -path = "about" -+++ - -Hello, World! diff --git a/themes/terminette/content/pages/archive.md b/themes/terminette/content/pages/archive.md deleted file mode 100644 index 2c032c0..0000000 --- a/themes/terminette/content/pages/archive.md +++ /dev/null @@ -1,5 +0,0 @@ -+++ -title = "Archive" -path = "archive" -template = "archive.html" -+++ diff --git a/themes/terminette/content/welcome-terminimal-theme.md b/themes/terminette/content/welcome-terminimal-theme.md deleted file mode 100644 index d7bda16..0000000 --- a/themes/terminette/content/welcome-terminimal-theme.md +++ /dev/null @@ -1,101 +0,0 @@ -+++ -title = "Welcome to Terminimal Theme for Zola" -date = 2019-02-04 - -[taxonomies] -tags = ["zola", "theme", "showcase"] -+++ - -Welcome to Terminimal! This is a theme showcase post. - -Code block (using "boron" theme): - -```python -#!/usr/bin/python3 - -class HelloPrinter: - def __init__(self, thing): - self.thing = thing - - def __call__(self): - print(f"Hello, {self.thing}!") - - -printer = HelloPrinter("World") -printer() - -# prints: Hello, World! -``` - -Inline code: `print("Hello world!")`. - -Basic typography: - -*Italic text*. **Bold text**. _**Italic bold**_. Link: [click me](#) - -# Header 1 -## Header 2 -### Header 3 -#### Header 4 - -Quote: - -> "Theory is when you know everything but nothing works. -Practice is when everything works but no one knows why. -In our lab, theory and practice are combined: nothing works and no one knows why." - -Lists: - -- A -- B -- CDEF - - Nested Item - - And more nesting - - GHIJ - - -1. One -2. Two -3. Three - -Horizontal line: - ---- - -This is where the post summary ends. - -<!-- more --> - -The second part follows here. - -## Shortcodes - -`figure` shortcode: - -``` -figure(src="http://rustacean.net/assets/rustacean-flat-gesture.png", - style="width: 25%;", - position="center", - caption_position="left", - caption="**Ferris**, the (unofficial) Rust mascot", - caption_style="font-weight: bold; font-style: italic;") -``` - -{{ figure(src="http://rustacean.net/assets/rustacean-flat-gesture.png", - style="width: 25%;", - position="center", - caption_position="left", - caption="**Ferris**, the (unofficial) Rust mascot", - caption_style="font-style: italic;") }} - ---- - -`image` shortcode: - -``` -image(src="https://upload.wikimedia.org/wikipedia/commons/3/35/Tux.svg", - position="left") -``` - -{{ image(src="https://upload.wikimedia.org/wikipedia/commons/3/35/Tux.svg", - position="left") }} diff --git a/themes/terminette/content/zola-is-nice.md b/themes/terminette/content/zola-is-nice.md deleted file mode 100644 index cdbe22b..0000000 --- a/themes/terminette/content/zola-is-nice.md +++ /dev/null @@ -1,19 +0,0 @@ -+++ -title = "Zola is nice" -date = 2019-02-01 - -[taxonomies] -tags = ["zola", "nice"] -+++ - -Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc eu feugiat sapien. Aenean ligula nunc, laoreet id sem in, interdum bibendum felis. Donec vel dui neque. Praesent ac sem ut justo volutpat rutrum a imperdiet tellus. Nam lobortis massa non hendrerit hendrerit. Vivamus porttitor dignissim turpis, eget aliquam urna tincidunt non. Aliquam et fringilla turpis. Nullam eros est, eleifend in ornare sed, hendrerit eget est. Aliquam tellus felis, suscipit vitae ex vel, fringilla tempus massa. Nulla facilisi. Pellentesque lobortis consequat lectus. Maecenas ac libero elit. - -<!-- more --> - -Ut luctus dolor ut tortor hendrerit, sed hendrerit augue scelerisque. Suspendisse quis sodales dui, at tempus ante. Nulla at tempor metus. Aliquam vitae rutrum diam. Curabitur iaculis massa dui, quis varius nulla finibus a. Praesent eu blandit justo. Suspendisse pharetra, arcu in rhoncus rutrum, magna magna viverra erat, eget vestibulum enim tellus id dui. Nunc vel dui et arcu posuere maximus. Mauris quam quam, bibendum sed libero nec, tempus hendrerit arcu. Suspendisse sed gravida orci. Fusce tempor arcu ac est pretium porttitor. Aenean consequat risus venenatis sem aliquam, at sollicitudin nulla semper. Aenean bibendum cursus hendrerit. Nulla congue urna nec finibus bibendum. Donec porta tincidunt ligula non ultricies. - -Sed vulputate tristique elit, eget pharetra elit sodales sed. Proin dignissim ipsum lorem, at porta eros malesuada sed. Proin tristique eros eu quam ornare, suscipit luctus mauris lobortis. Phasellus ut placerat enim. Donec egestas faucibus maximus. Nam quis efficitur eros. Cras tincidunt, lacus ac pretium porta, dui dolor varius elit, eget laoreet justo justo vitae metus. Morbi eget nisi ut ex scelerisque lobortis ut in lorem. Vestibulum et lorem quis ipsum feugiat varius. Mauris nec nulla viverra nisi porttitor efficitur. Morbi vel purus eleifend, finibus erat non, placerat ipsum. Mauris et augue vel nisi volutpat aliquam. Curabitur malesuada tortor est, at condimentum neque eleifend in. - -Morbi id ornare lacus. Suspendisse ultrices rutrum posuere. Nullam porttitor libero quis ligula finibus semper. Mauris iaculis magna et nisl tristique, eget maximus ex feugiat. Nam eu felis leo. Quisque ultrices varius purus in molestie. Duis non accumsan ligula. Vivamus dignissim malesuada metus, vel hendrerit tellus viverra id. Curabitur posuere, mauris vitae dignissim dictum, velit mi condimentum lorem, nec varius velit arcu a mi. In dolor sapien, condimentum sed aliquam at, dignissim id purus. Cras lorem leo, vulputate ac ante sed, molestie tempus lectus. Curabitur efficitur libero quam, rhoncus faucibus libero pharetra nec. Curabitur lobortis ullamcorper nisl eu imperdiet. Duis porttitor interdum magna, ac eleifend orci consequat vitae. Aliquam augue felis, faucibus vel blandit sed, maximus non turpis. - -Quisque viverra a eros id auctor. Proin id nibh ut nisl dignissim pellentesque et ac mi. Nullam mattis urna quis consequat bibendum. Donec pretium dui elit, a semper purus tristique et. Mauris euismod nisl eu vehicula facilisis. Maecenas facilisis non massa non scelerisque. Integer malesuada cursus erat eu viverra. Duis ligula mi, eleifend vel justo id, laoreet porttitor ex. Etiam ultricies lacus lorem, sed aliquam nulla blandit in. Maecenas vel facilisis neque, vitae fringilla eros. In justo nibh, pellentesque sed faucibus nec, varius sit amet risus. diff --git a/themes/terminette/sass/buttons.scss b/themes/terminette/sass/buttons.scss deleted file mode 100644 index 7a864b0..0000000 --- a/themes/terminette/sass/buttons.scss +++ /dev/null @@ -1,92 +0,0 @@ -.button-container { - display: table; - margin-left: auto; - margin-right: auto; -} - -button, -.button, -a.button { - position: relative; - display: flex; - align-items: center; - justify-content: center; - padding: 8px 18px; - margin-bottom: 5px; - text-align: center; - border-radius: 8px; - border: 1px solid transparent; - appearance: none; - cursor: pointer; - outline: none; - - /* variants */ - - &.outline { - background: transparent; - box-shadow: none; - padding: 8px 18px; - - :hover { - transform: none; - box-shadow: none; - } - } - - &.primary { - box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08); - - &:hover { - box-shadow: 0 2px 6px rgba(50, 50, 93, .21), 0 1px 3px rgba(0, 0, 0, .08); - } - } - - &.link { - background: none; - font-size: 1rem; - } - - - /* sizes */ - - &.small { - font-size: .8rem; - } - - &.wide { - min-width: 200px; - padding: 14px 24px; - } -} - -a.read-more, -a.read-more:hover, -a.read-more:active { - display: inline-flex; - background: none; - box-shadow: none; - padding: 0; - margin: 20px 0; - max-width: 100%; -} - -.code-toolbar { - margin-bottom: 20px; - - .toolbar-item a { - position: relative; - display: inline-flex; - align-items: center; - justify-content: center; - padding: 3px 8px; - margin-bottom: 5px; - text-align: center; - font-size: 13px; - font-weight: 500; - border-radius: 8px; - border: 1px solid transparent; - appearance: none; - cursor: pointer; - outline: none; - } -} diff --git a/themes/terminette/sass/color/background_auto.scss b/themes/terminette/sass/color/background_auto.scss deleted file mode 100644 index e1cab79..0000000 --- a/themes/terminette/sass/color/background_auto.scss +++ /dev/null @@ -1,14 +0,0 @@ -:root { - - @media (prefers-color-scheme: light) { - --background: white; - - --color: #101010; - } - - @media (prefers-color-scheme: dark) { - --background: #101010; - - --color: #A9B7C6; - } -} diff --git a/themes/terminette/sass/color/background_blue.scss b/themes/terminette/sass/color/background_blue.scss deleted file mode 100644 index d7ce46a..0000000 --- a/themes/terminette/sass/color/background_blue.scss +++ /dev/null @@ -1,3 +0,0 @@ -:root { - --background: #1D212C; -} diff --git a/themes/terminette/sass/color/background_dark.scss b/themes/terminette/sass/color/background_dark.scss deleted file mode 100644 index 999212f..0000000 --- a/themes/terminette/sass/color/background_dark.scss +++ /dev/null @@ -1,5 +0,0 @@ -:root { - --background: #101010; - - --color: #A9B7C6; -} diff --git a/themes/terminette/sass/color/background_green.scss b/themes/terminette/sass/color/background_green.scss deleted file mode 100644 index 3bcdf16..0000000 --- a/themes/terminette/sass/color/background_green.scss +++ /dev/null @@ -1,3 +0,0 @@ -:root { - --background: #1F222A; -} diff --git a/themes/terminette/sass/color/background_light.scss b/themes/terminette/sass/color/background_light.scss deleted file mode 100644 index ac41318..0000000 --- a/themes/terminette/sass/color/background_light.scss +++ /dev/null @@ -1,3 +0,0 @@ -:root { - --background: #f0f0f0; -} diff --git a/themes/terminette/sass/color/background_orange.scss b/themes/terminette/sass/color/background_orange.scss deleted file mode 100644 index ea0ef7d..0000000 --- a/themes/terminette/sass/color/background_orange.scss +++ /dev/null @@ -1,3 +0,0 @@ -:root { - --background: #222129; -} diff --git a/themes/terminette/sass/color/background_pink.scss b/themes/terminette/sass/color/background_pink.scss deleted file mode 100644 index 565d610..0000000 --- a/themes/terminette/sass/color/background_pink.scss +++ /dev/null @@ -1,3 +0,0 @@ -:root { - --background: #21202C; -} diff --git a/themes/terminette/sass/color/background_red.scss b/themes/terminette/sass/color/background_red.scss deleted file mode 100644 index fbce29e..0000000 --- a/themes/terminette/sass/color/background_red.scss +++ /dev/null @@ -1,3 +0,0 @@ -:root { - --background: #221F29; -} diff --git a/themes/terminette/sass/color/blue-auto.scss b/themes/terminette/sass/color/blue-auto.scss deleted file mode 100644 index bf20e33..0000000 --- a/themes/terminette/sass/color/blue-auto.scss +++ /dev/null @@ -1,29 +0,0 @@ -:root { - @media (prefers-color-scheme: dark) { - --accent: rgb(35,176,255); - --accent-alpha-70: rgba(35,176,255,.7); - --accent-alpha-20: rgba(35,176,255,.2); - - --background: #101010; - --color: #f0f0f0; - --border-color: rgba(255,240,224,.125); - - div.logo { - color: black; - } - - } - @media (prefers-color-scheme: light) { - --accent: rgb(32,128,192); - --accent-alpha-70: rgba(32,128,192,.7); - --accent-alpha-20: rgba(32,128,192,.2); - - --background: white; - --color: #201030; - --border-color: rgba(0,0,16,.125); - - div.logo { - color: white; - } - } -} diff --git a/themes/terminette/sass/color/blue-light.scss b/themes/terminette/sass/color/blue-light.scss deleted file mode 100644 index c41d839..0000000 --- a/themes/terminette/sass/color/blue-light.scss +++ /dev/null @@ -1,12 +0,0 @@ -:root { - --accent: rgb(32,128,192); - --accent-alpha-70: rgba(32,128,192,.7); - --accent-alpha-20: rgba(32,128,192,.2); - - --background: white; - --color: #1D212C; - --border-color: rgba(0, 0, 0, .1); - div.logo { - color: white; - } -} diff --git a/themes/terminette/sass/color/blue.scss b/themes/terminette/sass/color/blue.scss deleted file mode 100644 index 231f362..0000000 --- a/themes/terminette/sass/color/blue.scss +++ /dev/null @@ -1,9 +0,0 @@ -:root { - --accent: rgb(35,176,255); - --accent-alpha-70: rgba(35,176,255,.7); - --accent-alpha-20: rgba(35,176,255,.2); - - --background: #1D212C; - --color: white; - --border-color: rgba(255, 255, 255, .1); -} diff --git a/themes/terminette/sass/color/green-auto.scss b/themes/terminette/sass/color/green-auto.scss deleted file mode 100644 index 2eb5e12..0000000 --- a/themes/terminette/sass/color/green-auto.scss +++ /dev/null @@ -1,29 +0,0 @@ -:root { - @media (prefers-color-scheme: dark) { - --accent: rgb(120,226,160); - --accent-alpha-70: rgba(120,226,160,.7); - --accent-alpha-20: rgba(120,226,160,.2); - - --background: #101010; - --color: #f0f0f0; - --border-color: rgba(255,240,224,.125); - - div.logo { - color: black; - } - - } - @media (prefers-color-scheme: light) { - --accent: rgb(24, 192, 128); - --accent-alpha-70: rgba(24, 192, 128,.7); - --accent-alpha-20: rgba(24, 192, 128,.2); - - --background: white; - --color: #201030; - --border-color: rgba(0,0,16,.125); - - div.logo { - color: white; - } - } -} diff --git a/themes/terminette/sass/color/green-light.scss b/themes/terminette/sass/color/green-light.scss deleted file mode 100644 index 9ee64f3..0000000 --- a/themes/terminette/sass/color/green-light.scss +++ /dev/null @@ -1,12 +0,0 @@ -:root { - --accent: rgb(24, 192, 128); - --accent-alpha-70: rgba(24, 192, 128,.7); - --accent-alpha-20: rgba(24, 192, 128,.2); - - --background: white; - --color: #1D212C; - --border-color: rgba(0, 0, 0, .1); - div.logo { - color: white; - } -} diff --git a/themes/terminette/sass/color/green.scss b/themes/terminette/sass/color/green.scss deleted file mode 100644 index ff52fe2..0000000 --- a/themes/terminette/sass/color/green.scss +++ /dev/null @@ -1,9 +0,0 @@ -:root { - --accent: rgb(120,226,160); - --accent-alpha-70: rgba(120,226,160,.7); - --accent-alpha-20: rgba(120,226,160,.2); - - --background: #1F222A; - --color: white; - --border-color: rgba(255, 255, 255, .1); -} diff --git a/themes/terminette/sass/color/orange-auto.scss b/themes/terminette/sass/color/orange-auto.scss deleted file mode 100644 index 3c19ce4..0000000 --- a/themes/terminette/sass/color/orange-auto.scss +++ /dev/null @@ -1,29 +0,0 @@ -:root { - @media (prefers-color-scheme: dark) { - --accent: rgb(255,168,106); - --accent-alpha-70: rgba(255,168,106,.7); - --accent-alpha-20: rgba(255,168,106,.2); - - --background: #101010; - --color: #f0f0f0; - --border-color: rgba(255,240,224,.125); - - div.logo { - color: black; - } - - } - @media (prefers-color-scheme: light) { - --accent: rgb(240,128,48); - --accent-alpha-70: rgba(240,128,48,.7); - --accent-alpha-20: rgba(240,128,48,.2); - - --background: white; - --color: #201030; - --border-color: rgba(0,0,16,.125); - - div.logo { - color: white; - } - } -} diff --git a/themes/terminette/sass/color/orange-light.scss b/themes/terminette/sass/color/orange-light.scss deleted file mode 100644 index 6f7b8f9..0000000 --- a/themes/terminette/sass/color/orange-light.scss +++ /dev/null @@ -1,12 +0,0 @@ -:root { - --accent: rgb(240,128,48); - --accent-alpha-70: rgba(240,128,48,.7); - --accent-alpha-20: rgba(240,128,48,.2); - - --background: white; - --color: #1D212C; - --border-color: rgba(0, 0, 0, .1); - div.logo { - color: white; - } -} \ No newline at end of file diff --git a/themes/terminette/sass/color/orange.scss b/themes/terminette/sass/color/orange.scss deleted file mode 100644 index 46bb5ce..0000000 --- a/themes/terminette/sass/color/orange.scss +++ /dev/null @@ -1,9 +0,0 @@ -:root { - --accent: rgb(255,168,106); - --accent-alpha-70: rgba(255,168,106,.7); - --accent-alpha-20: rgba(255,168,106,.2); - - --background: #222129; - --color: white; - --border-color: rgba(255, 255, 255, .1); -} \ No newline at end of file diff --git a/themes/terminette/sass/color/pink-auto.scss b/themes/terminette/sass/color/pink-auto.scss deleted file mode 100644 index 705c706..0000000 --- a/themes/terminette/sass/color/pink-auto.scss +++ /dev/null @@ -1,29 +0,0 @@ -:root { - @media (prefers-color-scheme: dark) { - --accent: rgb(224,64,192); - --accent-alpha-70: rgba(224,64,192); - --accent-alpha-20: rgba(224,64,192,.2); - - --background: #101010; - --color: #f0f0f0; - --border-color: rgba(255,240,224,.125); - - div.logo { - color: black; - } - - } - @media (prefers-color-scheme: light) { - --accent: rgb(238,114,241); - --accent-alpha-70: rgba(238,114,241,.7); - --accent-alpha-20: rgba(238,114,241,.2); - - --background: white; - --color: #201030; - --border-color: rgba(0,0,16,.125); - - div.logo { - color: white; - } - } -} diff --git a/themes/terminette/sass/color/pink-light.scss b/themes/terminette/sass/color/pink-light.scss deleted file mode 100644 index aa8437c..0000000 --- a/themes/terminette/sass/color/pink-light.scss +++ /dev/null @@ -1,12 +0,0 @@ -:root { - --accent: rgb(224,64,192); - --accent-alpha-70: rgba(224,64,192); - --accent-alpha-20: rgba(224,64,192,.2); - - --background: white; - --color: #1D212C; - --border-color: rgba(0, 0, 0, .1); - div.logo { - color: white; - } -} diff --git a/themes/terminette/sass/color/pink.scss b/themes/terminette/sass/color/pink.scss deleted file mode 100644 index 6cc6064..0000000 --- a/themes/terminette/sass/color/pink.scss +++ /dev/null @@ -1,9 +0,0 @@ -:root { - --accent: rgb(238,114,241); - --accent-alpha-70: rgba(238,114,241,.7); - --accent-alpha-20: rgba(238,114,241,.2); - - --background: #21202C; - --color: white; - --border-color: rgba(255, 255, 255, .1); -} diff --git a/themes/terminette/sass/color/red-auto.scss b/themes/terminette/sass/color/red-auto.scss deleted file mode 100644 index a0016f2..0000000 --- a/themes/terminette/sass/color/red-auto.scss +++ /dev/null @@ -1,29 +0,0 @@ -:root { - @media (prefers-color-scheme: dark) { - --accent: rgb(255,98,102); - --accent-alpha-70: rgba(255,98,102,.7); - --accent-alpha-20: rgba(255,98,102,.2); - - --background: #101010; - --color: #f0f0f0; - --border-color: rgba(255,240,224,.125); - - div.logo { - color: black; - } - - } - @media (prefers-color-scheme: light) { - --accent: rgb(240,48,64); - --accent-alpha-70: rgba(240,48,64,.7); - --accent-alpha-20: rgba(240,48,64,.2); - - --background: white; - --color: #201030; - --border-color: rgba(0,0,16,.125); - - div.logo { - color: white; - } - } -} diff --git a/themes/terminette/sass/color/red-light.scss b/themes/terminette/sass/color/red-light.scss deleted file mode 100644 index d2f0e4c..0000000 --- a/themes/terminette/sass/color/red-light.scss +++ /dev/null @@ -1,12 +0,0 @@ -:root { - --accent: rgb(240,48,64); - --accent-alpha-70: rgba(240,48,64,.7); - --accent-alpha-20: rgba(240,48,64,.2); - - --background: white; - --color: #1D212C; - --border-color: rgba(0, 0, 0, .1); - div.logo { - color: white; - } -} diff --git a/themes/terminette/sass/color/red.scss b/themes/terminette/sass/color/red.scss deleted file mode 100644 index 6e7b776..0000000 --- a/themes/terminette/sass/color/red.scss +++ /dev/null @@ -1,9 +0,0 @@ -:root { - --accent: rgb(255,98,102); - --accent-alpha-70: rgba(255,98,102,.7); - --accent-alpha-20: rgba(255,98,102,.2); - - --background: #221F29; - --color: white; - --border-color: rgba(255, 255, 255, .1); -} diff --git a/themes/terminette/sass/font-hack-subset.scss b/themes/terminette/sass/font-hack-subset.scss deleted file mode 100644 index 31281aa..0000000 --- a/themes/terminette/sass/font-hack-subset.scss +++ /dev/null @@ -1,34 +0,0 @@ -/*! - * Hack typeface https://github.com/source-foundry/Hack - * License: https://github.com/source-foundry/Hack/blob/master/LICENSE.md - */ -/* FONT PATHS - * -------------------------- */ -@font-face { - font-family: 'Hack'; - /* Use full version (not a subset) for unicode icon support */ - src: url('fonts/hack-regular.woff2?sha=3114f1256') format('woff2'), url('fonts/hack-regular.woff?sha=3114f1256') format('woff'); - font-weight: 400; - font-style: normal; -} - -@font-face { - font-family: 'Hack'; - src: url('fonts/hack-bold-subset.woff2?sha=3114f1256') format('woff2'), url('fonts/hack-bold-subset.woff?sha=3114f1256') format('woff'); - font-weight: 700; - font-style: normal; -} - -@font-face { - font-family: 'Hack'; - src: url('fonts/hack-italic-subset.woff2?sha=3114f1256') format('woff2'), url('fonts/hack-italic-webfont.woff?sha=3114f1256') format('woff'); - font-weight: 400; - font-style: italic; -} - -@font-face { - font-family: 'Hack'; - src: url('fonts/hack-bolditalic-subset.woff2?sha=3114f1256') format('woff2'), url('fonts/hack-bolditalic-subset.woff?sha=3114f1256') format('woff'); - font-weight: 700; - font-style: italic; -} diff --git a/themes/terminette/sass/font-hack.scss b/themes/terminette/sass/font-hack.scss deleted file mode 100644 index fef7588..0000000 --- a/themes/terminette/sass/font-hack.scss +++ /dev/null @@ -1,33 +0,0 @@ -/*! - * Hack typeface https://github.com/source-foundry/Hack - * License: https://github.com/source-foundry/Hack/blob/master/LICENSE.md - */ -/* FONT PATHS - * -------------------------- */ -@font-face { - font-family: 'Hack'; - src: url('fonts/hack-regular.woff2?sha=3114f1256') format('woff2'), url('fonts/hack-regular.woff?sha=3114f1256') format('woff'); - font-weight: 400; - font-style: normal; -} - -@font-face { - font-family: 'Hack'; - src: url('fonts/hack-bold.woff2?sha=3114f1256') format('woff2'), url('fonts/hack-bold.woff?sha=3114f1256') format('woff'); - font-weight: 700; - font-style: normal; -} - -@font-face { - font-family: 'Hack'; - src: url('fonts/hack-italic.woff2?sha=3114f1256') format('woff2'), url('fonts/hack-italic.woff?sha=3114f1256') format('woff'); - font-weight: 400; - font-style: italic; -} - -@font-face { - font-family: 'Hack'; - src: url('fonts/hack-bolditalic.woff2?sha=3114f1256') format('woff2'), url('fonts/hack-bolditalic.woff?sha=3114f1256') format('woff'); - font-weight: 700; - font-style: italic; -} diff --git a/themes/terminette/sass/footer.scss b/themes/terminette/sass/footer.scss deleted file mode 100644 index 21be315..0000000 --- a/themes/terminette/sass/footer.scss +++ /dev/null @@ -1,64 +0,0 @@ -@import "variables"; - -.footer { - padding: 40px 0; - flex-grow: 0; - opacity: .5; - - &__inner { - display: flex; - align-items: center; - justify-content: space-between; - margin: 0; - width: 760px; - max-width: 100%; - - @media (max-width: $tablet-max-width) { - flex-direction: column; - } - } - - a { - color: inherit; - } - - .copyright { - display: flex; - flex-direction: row; - align-items: center; - font-size: 1rem; - color: var(--light-color-secondary); - - &--user { - margin: auto; - text-align: center; - } - - & > *:first-child:not(:only-child) { - margin-right: 10px; - - @media (max-width: $tablet-max-width) { - border: none; - padding: 0; - margin: 0; - } - } - - @media (max-width: $tablet-max-width) { - flex-direction: column; - margin-top: 10px; - } - } - - .copyright-theme-sep { - @media (max-width: $tablet-max-width) { - display: none; - } - } - - .copyright-theme { - @media (max-width: $tablet-max-width) { - font-size: 0.75rem; - } - } -} diff --git a/themes/terminette/sass/header.scss b/themes/terminette/sass/header.scss deleted file mode 100644 index 703bbec..0000000 --- a/themes/terminette/sass/header.scss +++ /dev/null @@ -1,96 +0,0 @@ -@import "variables"; - -@mixin menu { - position: absolute; - background: var(--background); - box-shadow: var(--shadow); - color: white; - border: 2px solid; - margin: 0; - padding: 10px; - list-style: none; - z-index: 99; -} - -.header { - display: flex; - flex-direction: column; - position: relative; - - &__inner { - display: flex; - align-items: center; - justify-content: space-between; - } - - &__logo { - display: flex; - flex: 1; - - &:after { - content: ''; - background: repeating-linear-gradient(90deg, var(--accent), var(--accent) 2px, transparent 0, transparent 16px); - display: block; - width: 100%; - right: 10px; - } - - a { - flex: 0 0 auto; - max-width: 100%; - } - } - - .menu { - margin: 20px 0; - - &__inner { - display: flex; - flex-wrap: wrap; - list-style: none; - margin: 0; - padding: 0; - - li { - &.active { - color: var(--accent-alpha-70); - } - - &:not(:last-of-type) { - margin-right: 20px; - margin-bottom: 10px; - flex: 0 0 auto; - } - } - } - - &__sub-inner { - position: relative; - list-style: none; - padding: 0; - margin: 0; - - &:not(:only-child) { - margin-left: 20px; - } - - &-more { - @include menu; - top: 35px; - left: 0; - - &-trigger { - color: var(--accent); - user-select: none; - cursor: pointer; - } - - li { - margin: 0; - padding: 5px; - white-space: nowrap; - } - } - } - } -} diff --git a/themes/terminette/sass/logo.scss b/themes/terminette/sass/logo.scss deleted file mode 100644 index d455cc7..0000000 --- a/themes/terminette/sass/logo.scss +++ /dev/null @@ -1,8 +0,0 @@ -.logo { - display: flex; - align-items: center; - text-decoration: none; - background: var(--accent); - color: black; - padding: 5px 10px; -} diff --git a/themes/terminette/sass/main.scss b/themes/terminette/sass/main.scss deleted file mode 100644 index 453bc18..0000000 --- a/themes/terminette/sass/main.scss +++ /dev/null @@ -1,248 +0,0 @@ -@import "variables"; - -html { - box-sizing: border-box; -} - -*, -*:before, -*:after { - box-sizing: inherit; -} - -body { - margin: 0; - padding: 0; - font-family: Hack, DejaVu Sans Mono, Monaco, Consolas, Ubuntu Mono, monospace; - font-size: 1rem; - line-height: 1.54; - background-color: var(--background); - color: var(--color); - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -webkit-overflow-scrolling: touch; - -webkit-text-size-adjust: 100%; - - @media (max-width: $phone-max-width) { - font-size: 1rem; - } -} - -h1, h2, h3, h4, h5, h6 { - display: flex; - align-items: center; - font-weight: bold; - line-height: 1.3; -} - -h1 { - font-size: 1.4rem; -} - -h2 { - font-size: 1.3rem; -} - -h3 { - font-size: 1.2rem; -} - -h4, h5, h6 { - font-size: 1.15rem; -} - - -a { - color: inherit; -} - -img { - display: block; - max-width: 100%; - - &.left { - margin-right: auto; - } - - &.center { - margin-left: auto; - margin-right: auto; - } - - &.right { - margin-left: auto; - } -} - -p { - margin-bottom: 20px; -} - -figure { - display: table; - max-width: 100%; - margin: 25px 0; - - &.left, img { - margin-right: auto; - } - - &.center, img { - margin-left: auto; - margin-right: auto; - } - - &.right, img { - margin-left: auto; - } - - figcaption { - font-size: 14px; - padding: 5px 10px; - margin-top: 5px; - background: var(--accent); - color: var(--background); - - &.left { - text-align: left; - } - - &.center { - text-align: center; - } - - &.right { - text-align: right; - } - } -} - -code { - font-family: Hack, DejaVu Sans Mono, Monaco, Consolas, Ubuntu Mono, monospace; - font-feature-settings: normal; - background: var(--accent-alpha-20); - padding: 1px 6px; - margin: 0 2px; - font-size: .95rem; -} - -pre { - font-family: Hack, DejaVu Sans Mono, Monaco, Consolas, Ubuntu Mono, monospace; - padding: 20px; - font-size: .95rem; - overflow: auto; - border-top: 1px solid rgba(255, 255, 255, .1); - border-bottom: 1px solid rgba(255, 255, 255, .1); - - @media (max-width: $phone-max-width) { - white-space: pre-wrap; - word-wrap: break-word; - } - - code { - padding: 0; - margin: 0; - background: none; - } -} - -blockquote { - border-top: 1px solid var(--accent); - border-bottom: 1px solid var(--accent); - margin: 40px 0; - padding: 25px; - - @media (max-width: $phone-max-width) { - padding-right: 0; - } - - &:before { - content: '”'; - font-family: Georgia, serif; - font-size: 3.875rem; - position: absolute; - left: -40px; - top: -20px; - } - - p:first-of-type { - margin-top: 0; - } - - p:last-of-type { - margin-bottom: 0; - } - - p { - position: relative; - } - - p:before { - content: '>'; - display: block; - position: absolute; - left: -25px; - color: var(--accent); - } -} - -table { - table-layout: fixed; - border-collapse: collapse; - width: 100%; - margin: 40px 0; -} - -table, th, td { - border: 1px dashed var(--accent); - padding: 10px; -} - -th { - color: var(--accent); -} - -ul, ol { - margin-left: 30px; - padding: 0; - - li { - position: relative; - } - - @media (max-width: $phone-max-width) { - margin-left: 20px; - } -} - -ol ol { - list-style-type: lower-alpha; -} - -.container { - display: flex; - flex-direction: column; - padding: 40px; - max-width: 864px; - min-height: 100vh; - margin: 0 auto; - - @media (max-width: $phone-max-width) { - padding: 20px; - } -} - -.content { - display: flex; -} - -hr { - width: 100%; - border: none; - background: var(--border-color); - height: 1px; -} - -.hidden { - display: none; -} diff --git a/themes/terminette/sass/pagination.scss b/themes/terminette/sass/pagination.scss deleted file mode 100644 index 566005b..0000000 --- a/themes/terminette/sass/pagination.scss +++ /dev/null @@ -1,77 +0,0 @@ -@import 'variables'; - -.pagination { - margin-top: 50px; - - &__title { - display: flex; - text-align: center; - position: relative; - margin: 100px 0 20px; - - &-h { - text-align: center; - margin: 0 auto; - padding: 5px 10px; - background: var(--background); - font-size: .8rem; - text-transform: uppercase; - letter-spacing: .1em; - z-index: 1; - } - - hr { - position: absolute; - left: 0; - right: 0; - width: 100%; - margin-top: 15px; - z-index: 0; - } - } - - &__buttons { - display: flex; - align-items: center; - justify-content: center; - - @media (max-width: $phone-max-width) { - flex-direction: column; - } - } -} - -.button { - position: relative; - display: inline-flex; - align-items: center; - justify-content: center; - font-size: 1rem; - border-radius: 8px; - max-width: 40%; - padding: 0; - cursor: pointer; - appearance: none; - - @media (max-width: $phone-max-width) { - max-width: 80%; - } - - + .button { - margin-left: 10px; - } - - a { - display: flex; - padding: 8px 16px; - text-overflow: ellipsis; - white-space: nowrap; - overflow: hidden; - } - - &__text { - text-overflow: ellipsis; - white-space: nowrap; - overflow: hidden; - } -} diff --git a/themes/terminette/sass/post.scss b/themes/terminette/sass/post.scss deleted file mode 100644 index 8b0e1a9..0000000 --- a/themes/terminette/sass/post.scss +++ /dev/null @@ -1,135 +0,0 @@ -@import "variables"; - -.posts { - width: 100%; - margin: 0 auto; -} - -.post { - width: 100%; - text-align: left; - margin: 20px auto; - padding: 20px 0; - - @media (max-width: $tablet-max-width) { - max-width: 660px; - } - - &:not(:last-of-type) { - border-bottom: 1px solid var(--border-color); - } - - %meta { - font-size: 1rem; - margin-bottom: 10px; - color: var(--accent-alpha-70); - } - - &-meta { - @extend %meta; - } - - &-meta-inline { - @extend %meta; - - display: inline; - } - - &-title { - --border: 2px dashed var(--accent); - position: relative; - color: var(--accent); - margin: 0 0 15px; - padding-bottom: 15px; - border-bottom: var(--border); - font-weight: normal; - - a { - text-decoration: none; - } - } - - %tags { - margin-bottom: 20px; - font-size: 1rem; - opacity: .5; - } - - &-tags { - @extend %tags; - - display: block; - } - - &-tags-inline { - @extend %tags; - - display: inline; - - @media (max-width: $phone-max-width) { - display: block; - } - } - - &-content { - margin-top: 30px; - } - - &-cover { - border: 20px solid var(--accent); - background: transparent; - margin: 40px 0; - padding: 20px; - - @media (max-width: $phone-max-width) { - padding: 10px; - border-width: 10px; - } - } - - ul { - list-style: none; - - li:before { - content: '►'; - position: absolute; - left: -20px; - color: var(--accent); - } - } -} - -.post--regulation { - h1 { - justify-content: center; - } - - h2 { - justify-content: center; - margin-bottom: 10px; - - &+ h2 { - margin-top: -10px; - margin-bottom: 20px; - } - } -} - -.post-list { - .post-date { - color: var(--accent-alpha-70); - text-decoration: none; - } - - a { - text-decoration: none; - } - - .post-list-title { - text-decoration: underline; - } - - .post-tag { - text-decoration: underline; - } -} diff --git a/themes/terminette/sass/style.scss b/themes/terminette/sass/style.scss deleted file mode 100644 index 3a289d7..0000000 --- a/themes/terminette/sass/style.scss +++ /dev/null @@ -1,8 +0,0 @@ -@import 'buttons'; - -@import 'header'; -@import 'logo'; -@import 'main'; -@import 'post'; -@import 'pagination'; -@import 'footer'; diff --git a/themes/terminette/sass/variables.scss b/themes/terminette/sass/variables.scss deleted file mode 100644 index 3b95a9c..0000000 --- a/themes/terminette/sass/variables.scss +++ /dev/null @@ -1,2 +0,0 @@ -$phone-max-width: 683px; -$tablet-max-width: 899px; diff --git a/themes/terminette/screenshot.png b/themes/terminette/screenshot.png deleted file mode 100644 index e0f8b56..0000000 Binary files a/themes/terminette/screenshot.png and /dev/null differ diff --git a/themes/terminette/static/fonts/hack-bold-subset.woff b/themes/terminette/static/fonts/hack-bold-subset.woff deleted file mode 100644 index a47c8aa..0000000 Binary files a/themes/terminette/static/fonts/hack-bold-subset.woff and /dev/null differ diff --git a/themes/terminette/static/fonts/hack-bold-subset.woff2 b/themes/terminette/static/fonts/hack-bold-subset.woff2 deleted file mode 100644 index 93d425e..0000000 Binary files a/themes/terminette/static/fonts/hack-bold-subset.woff2 and /dev/null differ diff --git a/themes/terminette/static/fonts/hack-bold.woff b/themes/terminette/static/fonts/hack-bold.woff deleted file mode 100644 index 368b913..0000000 Binary files a/themes/terminette/static/fonts/hack-bold.woff and /dev/null differ diff --git a/themes/terminette/static/fonts/hack-bold.woff2 b/themes/terminette/static/fonts/hack-bold.woff2 deleted file mode 100644 index 1155477..0000000 Binary files a/themes/terminette/static/fonts/hack-bold.woff2 and /dev/null differ diff --git a/themes/terminette/static/fonts/hack-bolditalic-subset.woff b/themes/terminette/static/fonts/hack-bolditalic-subset.woff deleted file mode 100644 index 0da4750..0000000 Binary files a/themes/terminette/static/fonts/hack-bolditalic-subset.woff and /dev/null differ diff --git a/themes/terminette/static/fonts/hack-bolditalic-subset.woff2 b/themes/terminette/static/fonts/hack-bolditalic-subset.woff2 deleted file mode 100644 index 236b7de..0000000 Binary files a/themes/terminette/static/fonts/hack-bolditalic-subset.woff2 and /dev/null differ diff --git a/themes/terminette/static/fonts/hack-bolditalic.woff b/themes/terminette/static/fonts/hack-bolditalic.woff deleted file mode 100644 index ce87fe2..0000000 Binary files a/themes/terminette/static/fonts/hack-bolditalic.woff and /dev/null differ diff --git a/themes/terminette/static/fonts/hack-bolditalic.woff2 b/themes/terminette/static/fonts/hack-bolditalic.woff2 deleted file mode 100644 index 46ff1c4..0000000 Binary files a/themes/terminette/static/fonts/hack-bolditalic.woff2 and /dev/null differ diff --git a/themes/terminette/static/fonts/hack-italic-subset.woff b/themes/terminette/static/fonts/hack-italic-subset.woff deleted file mode 100644 index 1d1f511..0000000 Binary files a/themes/terminette/static/fonts/hack-italic-subset.woff and /dev/null differ diff --git a/themes/terminette/static/fonts/hack-italic-subset.woff2 b/themes/terminette/static/fonts/hack-italic-subset.woff2 deleted file mode 100644 index b6f5fc9..0000000 Binary files a/themes/terminette/static/fonts/hack-italic-subset.woff2 and /dev/null differ diff --git a/themes/terminette/static/fonts/hack-italic.woff b/themes/terminette/static/fonts/hack-italic.woff deleted file mode 100644 index bd545e4..0000000 Binary files a/themes/terminette/static/fonts/hack-italic.woff and /dev/null differ diff --git a/themes/terminette/static/fonts/hack-italic.woff2 b/themes/terminette/static/fonts/hack-italic.woff2 deleted file mode 100644 index 1e7630c..0000000 Binary files a/themes/terminette/static/fonts/hack-italic.woff2 and /dev/null differ diff --git a/themes/terminette/static/fonts/hack-regular-subset.woff b/themes/terminette/static/fonts/hack-regular-subset.woff deleted file mode 100644 index 85583a5..0000000 Binary files a/themes/terminette/static/fonts/hack-regular-subset.woff and /dev/null differ diff --git a/themes/terminette/static/fonts/hack-regular-subset.woff2 b/themes/terminette/static/fonts/hack-regular-subset.woff2 deleted file mode 100644 index 1e3abb9..0000000 Binary files a/themes/terminette/static/fonts/hack-regular-subset.woff2 and /dev/null differ diff --git a/themes/terminette/static/fonts/hack-regular.woff b/themes/terminette/static/fonts/hack-regular.woff deleted file mode 100644 index e835381..0000000 Binary files a/themes/terminette/static/fonts/hack-regular.woff and /dev/null differ diff --git a/themes/terminette/static/fonts/hack-regular.woff2 b/themes/terminette/static/fonts/hack-regular.woff2 deleted file mode 100644 index 524465c..0000000 Binary files a/themes/terminette/static/fonts/hack-regular.woff2 and /dev/null differ diff --git a/themes/terminette/templates/404.html b/themes/terminette/templates/404.html deleted file mode 100644 index cc2ba6e..0000000 --- a/themes/terminette/templates/404.html +++ /dev/null @@ -1,16 +0,0 @@ -{% extends "index.html" %} - -{% block title %} -404 | {{ config.title }} -{% endblock title %} - -{% block header_menu %} -{{ menu_macros::menu_for(config=config, current_item="") }} -{% endblock header_menu %} - -{% block content %} -<div class="post"> - <h1 class="post-title">{% block heading %}Lost?{% endblock heading %}</h1> - <p>{% block message %}This page does not exist.{% endblock message %}</p> -</div> -{% endblock content %} diff --git a/themes/terminette/templates/archive.html b/themes/terminette/templates/archive.html deleted file mode 100644 index af9df6e..0000000 --- a/themes/terminette/templates/archive.html +++ /dev/null @@ -1,15 +0,0 @@ -{% extends "index.html" %} - -{%- block title -%} -{{ title_macros::title(page_title=page.title, main_title=config.title) }} -{%- endblock -%} - -{% block content %} - <div class="post"> - <h1 class="post-title">{{ page.title }}</h1> - - {% set section = get_section(path="_index.md") %} - - {{ post_macros::list_posts(pages=section.pages) }} - </div> -{% endblock content %} diff --git a/themes/terminette/templates/index.html b/themes/terminette/templates/index.html deleted file mode 100644 index 8b67c98..0000000 --- a/themes/terminette/templates/index.html +++ /dev/null @@ -1,132 +0,0 @@ -{% import "macros/date.html" as date_macros -%} -{% import "macros/head.html" as head_macros -%} -{% import "macros/menu.html" as menu_macros -%} -{% import "macros/post.html" as post_macros -%} -{% import "macros/title.html" as title_macros -%} - -<!DOCTYPE html> -<html lang="{%- if config.default_language -%}{{ config.default_language }}{%- else -%}en{%- endif -%}"> - -<head> - <title>{%- block title %}{{ config.title }}{% endblock title -%} - {{ head_macros::head(config=config) }} - - {%- block open_graph %}{{ head_macros::open_graph(config=config) }}{% endblock open_graph -%} - - {%- if config.generate_feed %} - {%- if "rss" in config.feed_filename %} - {% set feed_type = 'rss+xml' %} - {%- else %} - {% set feed_type = 'atom+xml' %} - {% endif -%} - - {% endif -%} - - {%- if config.extra.favicon %} - - {% endif -%} - - {%- block extra_head %} - {% endblock extra_head -%} - - - -
- {% block header %} -
-
- -
- - {% block header_menu %} - {{ menu_macros::menu(config=config, current_path=current_path) }} - {% endblock header_menu %} -
- {% endblock header %} - -
- {% block content %} -
- {%- if paginator %} - {%- set show_pages = paginator.pages -%} - {% else %} - {%- set show_pages = section.pages -%} - {% endif -%} - - {%- for page in show_pages %} -
- {{ post_macros::header(page=page) }} - - {{ post_macros::content(page=page, summary=true, show_only_description=page.extra.show_only_description | default(value=false)) }} -
- {% endfor -%} - -
- {% endblock content %} -
- - {% block footer %} -
- -
- {% endblock footer %} - -
-{%- block extra_body %} -{% endblock extra_body -%} - - - diff --git a/themes/terminette/templates/macros/date.html b/themes/terminette/templates/macros/date.html deleted file mode 100644 index e793735..0000000 --- a/themes/terminette/templates/macros/date.html +++ /dev/null @@ -1,3 +0,0 @@ -{% macro now_year() %} - {{ now() | date(format="%Y") }} -{% endmacro %} diff --git a/themes/terminette/templates/macros/head.html b/themes/terminette/templates/macros/head.html deleted file mode 100644 index d882e0c..0000000 --- a/themes/terminette/templates/macros/head.html +++ /dev/null @@ -1,94 +0,0 @@ -{% import "macros/title.html" as title_macros -%} - -{% macro head(config) %} - - - - - - -{%- if config.extra.accent_color %} - -{% else %} - -{% endif -%} - -{%- if config.extra.background_color %} - {%- if config.extra.accent_color and config.extra.background_color != config.extra.accent_color %} - - {% endif -%} -{% endif -%} - -{%- if config.extra.use_full_hack_font %} - -{% else %} - -{% endif -%} - -{% endmacro head %} - - -{# Extra Meta tags for OpenGraph and Twitter cards #} -{% macro open_graph(config) %} -{%- if page %} - {%- set permalink = page.permalink %} - {%- set title = title_macros::title(page_title=page.title, main_title=config.title) %} - {%- set description = page.description %} - {%- set type = "article" %} - {%- if page.extra and page.extra.og_image %} - {%- if page.colocated_path %} - {%- set og_image = page.path ~ page.extra.og_image %} - {%- else %} - {%- set og_image = page.extra.og_image %} - {% endif %} - {%- elif config.extra.default_og_image %} - {%- set og_image = config.extra.default_og_image %} - {%- endif %} -{%- elif section %} - {%- set permalink = section.permalink %} - {%- set title = title_macros::title(page_title=section.title, main_title=config.title) %} - {%- set description = section.description | default(value=config.description) %} - {%- set type = "website" %} - {%- if section.extra and section.extra.og_image %} - {%- set og_image = section.extra.og_image %} - {%- elif config.extra.default_og_image %} - {%- set og_image = config.extra.default_og_image %} - {%- endif %} -{%- else %} - {# For 404 and taxonomy pages #} - {%- if taxonomy %} - {% if term %} - {%- set permalink = term.permalink %} - {%- set title = title_macros::title(page_title=term.name, main_title=config.title) %} - {%- set description = "All posts tagged " ~ term.name %} - {% else %} - {%- set permalink = config.base_url ~ "/" ~ taxonomy.slug %} - {%- set title = title_macros::title(page_title=taxonomy.name, main_title=config.title) %} - {%- set description = "All " ~ taxonomy.name %} - {% endif %} - {%- else %} - {%- set permalink = config.base_url %} - {%- set title = title_macros::title(page_title="404", main_title=config.title) %} - {%- set description = "Page not found" %} - {%- endif %} - {%- set type = "website" %} - {%- if config.extra.default_og_image %} - {%- set og_image = config.extra.default_og_image %} - {%- endif %} -{%- endif -%}{# #} - - - - - - -{% if og_image %} - - -{% endif %} - - - - - -{% endmacro open_graph %} diff --git a/themes/terminette/templates/macros/menu.html b/themes/terminette/templates/macros/menu.html deleted file mode 100644 index 090388f..0000000 --- a/themes/terminette/templates/macros/menu.html +++ /dev/null @@ -1,52 +0,0 @@ -{% macro menu(config, current_path) %} - {%- set current_item = false -%} - {%- if config.extra.menu_items %} - {%- set menu_items = config.extra.menu_items -%} - - {%- for item in menu_items %} - {%- set abs_item_url = item.url | replace(from="$BASE_URL", to=config.base_url) -%} - {%- set is_current = current_url == abs_item_url ~ "/" - or current_url is starting_with(abs_item_url) - -%} - {%- set is_base = abs_item_url == config.base_url - or abs_item_url == config.base_url ~ "/" - -%} - - {%- if is_base %} - {%- set_global base_item = item -%} - {% endif -%} - - {%- if is_current and not is_base %} - {%- set_global current_item = item -%} - {% endif -%} - {% endfor -%} - - {%- if not current_item and base_item %} - {# Did not match any menu URLs -- assume it's a blog post #} - {%- set current_item = base_item -%} - {% endif -%} - - {{ menu_macros::menu_for(config=config, current_item=current_item) }} - {% endif -%} -{% endmacro menu %} - -{% macro menu_for(config, current_item) %} - {%- if config.extra.menu_items %} - {%- set menu_items = config.extra.menu_items -%} - - - {% endif -%} -{% endmacro menu %} - diff --git a/themes/terminette/templates/macros/post.html b/themes/terminette/templates/macros/post.html deleted file mode 100644 index c8627c9..0000000 --- a/themes/terminette/templates/macros/post.html +++ /dev/null @@ -1,108 +0,0 @@ -{% macro content(page, summary, show_only_description) %} - {%- if show_only_description %} -
- {{ page.description | safe }} -
- {% elif summary and page.summary %} -
- {{ page.summary | safe }} -
-
- - - Read more  - ↩︎ - -
- {% else %} - {#- full content -#} -
- {{ page.content | safe }} -
- {%- endif %} -{% endmacro content %} - - -{% macro date(page) %} - -{% endmacro post_date %} - - -{% macro earlier_later(page) %} - {%- if config.extra.enable_post_view_navigation and page.lower or page.higher %} - - {% endif -%} -{% endmacro earlier_later %} - - -{% macro header(page) %} -

{{ page.title }}

- - - {{ post_macros::tags(page=page) }} -{% endmacro header %} - - -{% macro list_posts(pages) %} - -{% endmacro list_posts %} - - -{% macro tags(page, short=false) %} - {%- if page.taxonomies and page.taxonomies.tags %} - - {% endif -%} -{% endmacro tags %} diff --git a/themes/terminette/templates/macros/title.html b/themes/terminette/templates/macros/title.html deleted file mode 100644 index 0ed12ca..0000000 --- a/themes/terminette/templates/macros/title.html +++ /dev/null @@ -1,17 +0,0 @@ -{% macro title(page_title, main_title) %} - {%- if config.extra.page_titles and config.extra.page_titles == "combined" -%} - {%- if page_title -%} - {{ page_title }} | {{ main_title }} - {%- else -%} - {{ main_title }} - {%- endif -%} - {%- elif config.extra.page_titles and config.extra.page_titles == "page_only" -%} - {%- if page_title -%} - {{ page_title }} - {%- else -%} - {{ main_title }} - {%- endif -%} - {%- else -%} - {{ main_title }} - {%- endif -%} -{% endmacro title %} diff --git a/themes/terminette/templates/page.html b/themes/terminette/templates/page.html deleted file mode 100644 index 9dea4cc..0000000 --- a/themes/terminette/templates/page.html +++ /dev/null @@ -1,13 +0,0 @@ -{% extends "index.html" %} - -{%- block title -%} -{{ title_macros::title(page_title=page.title, main_title=config.title) }} -{%- endblock -%} - -{% block content %} -
- {{ post_macros::header(page=page) }} - {{ post_macros::content(page=page, summary=false, show_only_description=false) }} - {{ post_macros::earlier_later(page=page) }} -
-{% endblock content %} diff --git a/themes/terminette/templates/shortcodes/figure.html b/themes/terminette/templates/shortcodes/figure.html deleted file mode 100644 index e014068..0000000 --- a/themes/terminette/templates/shortcodes/figure.html +++ /dev/null @@ -1,8 +0,0 @@ -{% if src %} -
- - {% if caption %} -
{{ caption | markdown() | safe }}
- {% endif %} -
-{% endif %} diff --git a/themes/terminette/templates/shortcodes/image.html b/themes/terminette/templates/shortcodes/image.html deleted file mode 100644 index 091eeb8..0000000 --- a/themes/terminette/templates/shortcodes/image.html +++ /dev/null @@ -1,8 +0,0 @@ -{% if src %} - {# If the image's URL is internal to the site... #} - {% if src is not starting_with("http") %} - {# ... then prepend the site's base URL to the image's URL. #} - {% set src = config.base_url ~ src %} - {% endif %} - -{% endif %} diff --git a/themes/terminette/templates/tags/list.html b/themes/terminette/templates/tags/list.html deleted file mode 100644 index 98cd693..0000000 --- a/themes/terminette/templates/tags/list.html +++ /dev/null @@ -1,21 +0,0 @@ -{% extends "index.html" %} - -{%- block title -%} -{{ title_macros::title(page_title="Tags", main_title=config.title) }} -{%- endblock -%} - -{% block content %} -
-

all tags

- - -
-{% endblock content %} diff --git a/themes/terminette/templates/tags/single.html b/themes/terminette/templates/tags/single.html deleted file mode 100644 index 92183b6..0000000 --- a/themes/terminette/templates/tags/single.html +++ /dev/null @@ -1,21 +0,0 @@ -{% extends "index.html" %} - -{%- block title -%} -{% set title = "Tag: " ~ term.name %} -{{ title_macros::title(page_title=title, main_title=config.title) }} -{%- endblock -%} - -{% block content %} -
-

- tag: #{{ term.name }} - ({{ term.pages | length }} post{{ term.pages | length | pluralize }}) -

- - - Show all tags - - - {{ post_macros::list_posts(pages=term.pages) }} -
-{% endblock content %} diff --git a/themes/terminette/theme.toml b/themes/terminette/theme.toml deleted file mode 100644 index 5dbccf7..0000000 --- a/themes/terminette/theme.toml +++ /dev/null @@ -1,47 +0,0 @@ -name = "terminimal" -description = "A simple, minimal retro theme" -license = "MIT" -homepage = "https://github.com/pawroman/zola-theme-terminimal" -min_version = "0.11.0" - -# An optional live demo URL -demo = "https://pawroman.github.io/zola-theme-terminimal/" - -[author] -name = "Paweł Romanowski" -homepage = "https://github.com/pawroman" - -# The original theme this one's been forked off. -[original] -author = "Radosław Kozieł" -homepage = "https://radoslawkoziel.pl/" -repo = "https://github.com/panr/hugo-theme-terminal" - -[extra] - -# One of: blue, green, orange, pink, red. -# Defaults to blue. -# Append -light for light themes, e.g. blue-light -# Or append -auto, e.g. blue-auto -accent_color = "blue" - -# One of: blue, dark, green, orange, pink, red, light, auto -# Enabling dark background will also modify primary font color to be darker. -# Defaults to accent color (or, if not accent color specified, to blue). -background_color = "blue" - -# The logo text - defaults to 2 non-breaking spaces. -logo_text = "Terminimal theme" - -# Whether to show links to earlier and later posts -# on each post page. -enable_post_view_navigation = true - -# The text shown at the bottom of a post, -# before earlier/later post links. -post_view_navigation_prompt = "Thanks for reading! Read other posts?" - -# Use full Hack character set, not just a subset. -# Switch this to true if you need full unicode support. -# Defaults to false. -use_full_hack_font = false