diff --git a/.dockerignore b/.dockerignore deleted file mode 100644 index aa7275461..000000000 --- a/.dockerignore +++ /dev/null @@ -1,2 +0,0 @@ -out/* -node_modules/* \ No newline at end of file diff --git a/.eleventy.js b/.eleventy.js index 7c0f6a3d9..ddc1a105c 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -1,15 +1,37 @@ const { EleventyRenderPlugin } = require("@11ty/eleventy"); - +const Image = require("@11ty/eleventy-img"); +const Sharp = require('sharp'); module.exports = function(eleventyConfig) { eleventyConfig.addPlugin(EleventyRenderPlugin); // used to set the current active dropdown list item to active, depending on current page eleventyConfig.addShortcode("dropdownActive", function(dropdownItem) { - let isActive = this.page.url.includes(`/${dropdownItem}/`); return isActive ? "active" : ""; }); + + eleventyConfig.addShortcode("image", async function(src, alt, width, height) { + let resizedImage = await resizeImage(src, width, height, "cover"); + + let metadata = await Image(resizedImage, { + formats: ["webp", "png"], + outputDir: "out/img" + }); + + let imageAttributes = { + alt, + width: width, + height: height, + loading: "lazy", + decoding: "async", + }; + + // You bet we throw an error on a missing alt (alt="" works okay) + return Image.generateHTML(metadata, imageAttributes); + }); + + eleventyConfig.addPassthroughCopy({ "src/files/images": "images" }); // Return your Object options: return { @@ -19,4 +41,10 @@ module.exports = function(eleventyConfig) { output: "out" } } - }; \ No newline at end of file + }; + +async function resizeImage(src, width, height, mode) { + return await Sharp(src) + .resize({ width: width, height: height, fit: mode }) + .toBuffer(); +} \ No newline at end of file diff --git a/11ty-source/_layouts/blog-layout.liquid b/11ty-source/_layouts/blog-layout.liquid index 99163ddc7..351b2b08a 100644 --- a/11ty-source/_layouts/blog-layout.liquid +++ b/11ty-source/_layouts/blog-layout.liquid @@ -4,9 +4,8 @@ layout: default.liquid

{{title}}

- - {{content}} - + {{content}} +
diff --git a/11ty-source/_layouts/showcase.liquid b/11ty-source/_layouts/showcase.liquid new file mode 100644 index 000000000..8e7069627 --- /dev/null +++ b/11ty-source/_layouts/showcase.liquid @@ -0,0 +1,11 @@ +--- +layout: default +--- + +

{{title}}

+ + + + {{content}} \ No newline at end of file diff --git a/11ty-source/_layouts/sponsors-layout.liquid b/11ty-source/_layouts/sponsors-layout.liquid new file mode 100644 index 000000000..64c39bdad --- /dev/null +++ b/11ty-source/_layouts/sponsors-layout.liquid @@ -0,0 +1,13 @@ +--- +layout: default.liquid +--- + +
+ +

{{title}}

+ {{content}} + +
+ + + diff --git a/11ty-source/showcase.liquid b/11ty-source/showcase.liquid new file mode 100644 index 000000000..69134549b --- /dev/null +++ b/11ty-source/showcase.liquid @@ -0,0 +1,321 @@ +--- +title: "Showcase" +layout: showcase +--- + +{% comment %} +This page can likely be cleaned up well with shortcodes! +something like {% renderTargets showcase.targets %} +which would require reformatting some frontmatter in the showcase markdown files! + +ALSO NOTE: +these use the images in the old docpad `src` directory! Eventually we will want to move these! +{% endcomment %} + +
+ +
+ + {% for showcase in collections.showcase-item reversed%} + + {% if showcase.data.featured %} + +
+ +

{{showcase.data.title}}

+ + + {% comment %} This capture is here because idk how to properly use the showcase title in the image source lol! {% endcomment %} + {% capture imgURL %}src/files/images/showcase/{{showcase.data.title}}.png{% endcapture %} + {% image imgURL, showcase.data.title, 500, 260 %} + {% comment %} " {% endcomment %} + {% comment %} alt="{{showcase.data.title}}" title="{{showcase.data.website}}"> {% endcomment %} + + + +
+ + {% if showcase.data.windows %} + + + + + + {% endif %} + + {% if showcase.data.linux %} + + + + + + {% endif %} + + {% if showcase.data.mac %} + + + + + + {% endif %} + + {% if showcase.data.android %} + + + + + + {% endif %} + + {% if showcase.data.ios %} + + + + + + {% endif %} + + {% if showcase.data.flash %} + + + + + + {% endif %} + + {% if showcase.data.steam %} + + + + + + {% endif %} + + {% if showcase.data.ps4 %} + + + + + + {% endif %} + + {% if showcase.data.psvita %} + + + + + + {% endif %} + + {% if showcase.data.xbox %} + + + + + + {% endif %} + + {% if showcase.data.switch %} + + + + + + {% endif %} + + {% if showcase.data.itch %} + + + + + + {% endif %} + + {% if showcase.data.humble %} + + + + + + {% endif %} + + {% if showcase.data.newgrounds %} + + + + + + {% endif %} + + {% if showcase.data.github %} + + + + + + {% endif %} + +
+ +
+ + {% endif %} + + {%- endfor -%} + +
+ + +
+ + {% for showcase in collections.showcase-item reversed%} + + {% unless showcase.data.featured %} + +
+ +

{{ showcase.data.title }}

+ + + + {% capture imgURL %}src/files/images/showcase/{{showcase.data.title}}.png{% endcapture %} + {% image imgURL, showcase.data.title, 345, 184 %} + + + +
+ + {% if showcase.data.windows %} + + + + + + {% endif %} + + {% if showcase.data.linux %} + + + + + + {% endif %} + + {% if showcase.data.mac %} + + + + + + {% endif %} + + {% if showcase.data.android %} + + + + + + {% endif %} + + {% if showcase.data.ios %} + + + + + + {% endif %} + + {% if showcase.data.flash %} + + + + + + {% endif %} + + {% if showcase.data.steam %} + + + + + + {% endif %} + + {% if showcase.data.ps4 %} + + + + + + {% endif %} + + {% if showcase.data.psvita %} + + + + + + {% endif %} + + {% if showcase.data.xbox %} + + + + + + {% endif %} + + {% if showcase.data.switch %} + + + + + + {% endif %} + + {% if showcase.data.itch %} + + + + + + {% endif %} + + {% if showcase.data.humble %} + + + + + + {% endif %} + + {% if showcase.data.newgrounds %} + + + + + + {% endif %} + + {% if showcase.data.github %} + + + + + + {% endif %} + +
+ +
+ + {% endunless %} + + {%- endfor -%} + +
+ + + +
+ diff --git a/src/documents/showcase/BOSSES FOREVER 2.BRO.md b/11ty-source/showcase/BOSSES FOREVER 2.BRO.md similarity index 89% rename from src/documents/showcase/BOSSES FOREVER 2.BRO.md rename to 11ty-source/showcase/BOSSES FOREVER 2.BRO.md index 9424de26f..35278947b 100644 --- a/src/documents/showcase/BOSSES FOREVER 2.BRO.md +++ b/11ty-source/showcase/BOSSES FOREVER 2.BRO.md @@ -3,5 +3,5 @@ layout: showcase title: "BOSSES FOREVER 2.BRO" itch: https://picklesiidx.itch.io/bosses-forever-2bro website: https://picklesiidx.itch.io/bosses-forever-2bro -date: "1-11-2014" +date: "2014-01-11" --- \ No newline at end of file diff --git "a/src/documents/showcase/Blasting Agent\352\236\211 Ultimate Edition.md" b/11ty-source/showcase/Blasting Agent: Ultimate Edition.md similarity index 83% rename from "src/documents/showcase/Blasting Agent\352\236\211 Ultimate Edition.md" rename to 11ty-source/showcase/Blasting Agent: Ultimate Edition.md index b8e274a5d..7accf5421 100644 --- "a/src/documents/showcase/Blasting Agent\352\236\211 Ultimate Edition.md" +++ b/11ty-source/showcase/Blasting Agent: Ultimate Edition.md @@ -1,10 +1,10 @@ --- layout: showcase -title: "Blasting Agent꞉ Ultimate Edition" +title: "Blasting Agent: Ultimate Edition" windows: http://www.blastingagent.com/ steam: http://store.steampowered.com/app/453810 ps4: https://store.playstation.com/en-us/product/UP0891-CUSA06555_00-RGBLASTINGAGENTU itch: https://axolstudio.itch.io/blasting-agent website: https://axolstudio.com/projects/blasting-agent/ -date: "8-17-2016" +date: "2016-08-17" --- diff --git a/src/documents/showcase/Bring It On!.md b/11ty-source/showcase/Bring It On!.md similarity index 91% rename from src/documents/showcase/Bring It On!.md rename to 11ty-source/showcase/Bring It On!.md index 01f3a314a..8c816593c 100644 --- a/src/documents/showcase/Bring It On!.md +++ b/11ty-source/showcase/Bring It On!.md @@ -5,5 +5,5 @@ featured: true itch: https://axolstudio.itch.io/bring-it-on steam: https://store.steampowered.com/app/2020460/Bring_It_On/ website: https://bringiton.axolstudio.com/ -date: "05-10-2022" +date: "2022-05-10" --- diff --git a/src/documents/showcase/Bronko Blue.md b/11ty-source/showcase/Bronko Blue.md similarity index 88% rename from src/documents/showcase/Bronko Blue.md rename to 11ty-source/showcase/Bronko Blue.md index bfa6e0283..59a031fc4 100644 --- a/src/documents/showcase/Bronko Blue.md +++ b/11ty-source/showcase/Bronko Blue.md @@ -3,5 +3,5 @@ layout: showcase title: "Bronko Blue" newgrounds: https://www.newgrounds.com/portal/view/644217 website: http://bronko.bytecombo.com -date: "7-27-2014" +date: "2014-07-27" --- \ No newline at end of file diff --git a/src/documents/showcase/Canabalt.md b/11ty-source/showcase/Canabalt.md similarity index 92% rename from src/documents/showcase/Canabalt.md rename to 11ty-source/showcase/Canabalt.md index 626891791..442b8927e 100644 --- a/src/documents/showcase/Canabalt.md +++ b/11ty-source/showcase/Canabalt.md @@ -6,5 +6,5 @@ itch: https://finji.itch.io/canabalt-classic newgrounds: https://www.newgrounds.com/portal/view/510303 github: https://github.com/ninjamuffin99/canabalt-hf website: https://canabalt.com -date: "2-06-2024" +date: "2024-02-06" --- diff --git a/src/documents/showcase/Cardinal Quest 2.md b/11ty-source/showcase/Cardinal Quest 2.md similarity index 94% rename from src/documents/showcase/Cardinal Quest 2.md rename to 11ty-source/showcase/Cardinal Quest 2.md index 309d5ffb8..4cddd80d1 100644 --- a/src/documents/showcase/Cardinal Quest 2.md +++ b/11ty-source/showcase/Cardinal Quest 2.md @@ -6,5 +6,5 @@ android: https://play.google.com/store/apps/details?id=com.kongregate.mobile.car flash: http://www.kongregate.com/games/randomnine/cardinal-quest-2 steam: http://store.steampowered.com/app/378030/ website: http://cardinalquest2.com/ -date: "10-7-2014" +date: "2014-10-07" --- diff --git a/src/documents/showcase/Cheap Golf.md b/11ty-source/showcase/Cheap Golf.md similarity index 95% rename from src/documents/showcase/Cheap Golf.md rename to 11ty-source/showcase/Cheap Golf.md index b99175c17..c2bde0684 100644 --- a/src/documents/showcase/Cheap Golf.md +++ b/11ty-source/showcase/Cheap Golf.md @@ -8,5 +8,5 @@ steam: http://store.steampowered.com/app/616520/Cheap_Golf/ itch: https://pixeljam.itch.io/cheap-golf newgrounds: https://www.newgrounds.com/portal/view/719840 website: http://cheapgolf.co/ -date: "1-8-2018" +date: "2018-01-08" --- \ No newline at end of file diff --git a/src/documents/showcase/Chibi Ninja Shino-kun.md b/11ty-source/showcase/Chibi Ninja Shino-kun.md similarity index 93% rename from src/documents/showcase/Chibi Ninja Shino-kun.md rename to 11ty-source/showcase/Chibi Ninja Shino-kun.md index 1a7440dae..6ce1e89cb 100644 --- a/src/documents/showcase/Chibi Ninja Shino-kun.md +++ b/11ty-source/showcase/Chibi Ninja Shino-kun.md @@ -5,5 +5,5 @@ featured: true itch: https://ohsat-andrej.itch.io/chibi-ninja-shino-kun website: https://www.ohsat.com/game/shino-kun/ steam: https://store.steampowered.com/app/2175640/Chibi_Ninja_Shinokun_Treasure_of_Demon_Tower/ -date: "3-15-2023" +date: "2023-03-15" --- diff --git a/src/documents/showcase/Defender's Quest II.md b/11ty-source/showcase/Defender's Quest II.md similarity index 93% rename from src/documents/showcase/Defender's Quest II.md rename to 11ty-source/showcase/Defender's Quest II.md index ef599dcb3..2bdfc2246 100644 --- a/src/documents/showcase/Defender's Quest II.md +++ b/11ty-source/showcase/Defender's Quest II.md @@ -4,5 +4,4 @@ title: "Defender's Quest II" released: false website: http://www.defendersquest.com/2/ steam: https://store.steampowered.com/app/252190/Defenders_Quest_2_Mists_of_Ruin/ -date: "soon" --- \ No newline at end of file diff --git "a/src/documents/showcase/Defender's Quest\352\236\211 Valley of the Forgotten.md" b/11ty-source/showcase/Defender's Quest: Valley of the Forgotten.md similarity index 85% rename from "src/documents/showcase/Defender's Quest\352\236\211 Valley of the Forgotten.md" rename to 11ty-source/showcase/Defender's Quest: Valley of the Forgotten.md index 9b6943cdb..4c9761cba 100644 --- "a/src/documents/showcase/Defender's Quest\352\236\211 Valley of the Forgotten.md" +++ b/11ty-source/showcase/Defender's Quest: Valley of the Forgotten.md @@ -1,11 +1,11 @@ --- layout: showcase -title: "Defender's Quest꞉ Valley of the Forgotten" +title: "Defender's Quest: Valley of the Forgotten" featured: true steam: http://store.steampowered.com/app/218410/ ps4: https://www.playstation.com/en-us/games/defenders-quest-valley-of-the-forgotten-dx-ps4/ psvita: https://www.playstation.com/en-us/games/defenders-quest-valley-of-the-forgotten-dx-psvita/ xbox: https://www.microsoft.com/en-us/p/defenders-quest-valley-of-the-forgotten-dx/c1tbcx541jw7 website: http://www.defendersquest.com/1/ -date: "7-20-2016" +date: "2016-07-20" --- \ No newline at end of file diff --git a/src/documents/showcase/Dfragmente.md b/11ty-source/showcase/Dfragmente.md similarity index 89% rename from src/documents/showcase/Dfragmente.md rename to 11ty-source/showcase/Dfragmente.md index 8b216101e..1ebd6a6ea 100644 --- a/src/documents/showcase/Dfragmente.md +++ b/11ty-source/showcase/Dfragmente.md @@ -4,5 +4,5 @@ title: "Dfragmente" flash: http://hexdie.itch.io/dfragmente itch: http://hexdie.itch.io/dfragmente website: http://hexdie.itch.io/dfragmente -date: "3-30-2015" +date: "2015-03-30" --- \ No newline at end of file diff --git a/src/documents/showcase/Don't Move.md b/11ty-source/showcase/Don't Move.md similarity index 92% rename from src/documents/showcase/Don't Move.md rename to 11ty-source/showcase/Don't Move.md index edd505ad0..75a97d20a 100644 --- a/src/documents/showcase/Don't Move.md +++ b/11ty-source/showcase/Don't Move.md @@ -5,5 +5,5 @@ humble: https://www.humblebundle.com/store/dont-move android: https://www.humblebundle.com/store/dont-move website: https://www.dontmove.co/ itch: https://stvr.itch.io/dont-move -date: "9-13-2013" +date: "2013-09-13" --- diff --git a/src/documents/showcase/Eggsolotl.md b/11ty-source/showcase/Eggsolotl.md similarity index 91% rename from src/documents/showcase/Eggsolotl.md rename to 11ty-source/showcase/Eggsolotl.md index cdb733106..b2856f45c 100644 --- a/src/documents/showcase/Eggsolotl.md +++ b/11ty-source/showcase/Eggsolotl.md @@ -5,5 +5,5 @@ featured: false newgrounds: https://www.newgrounds.com/portal/view/807055 itch: https://axolstudio.itch.io/eggsolotl website: https://axolstudio.com/projects/eggsolotl/ -date: "07-25-2021" +date: "2021-07-25" --- diff --git a/src/documents/showcase/Even the Ocean.md b/11ty-source/showcase/Even the Ocean.md similarity index 93% rename from src/documents/showcase/Even the Ocean.md rename to 11ty-source/showcase/Even the Ocean.md index e80a76878..609adab0e 100644 --- a/src/documents/showcase/Even the Ocean.md +++ b/11ty-source/showcase/Even the Ocean.md @@ -5,5 +5,5 @@ steam: http://store.steampowered.com/app/265470 itch: https://han-tani.itch.io/even-the-ocean github: https://github.com/analgesicproductions/Even-The-Ocean-Open-Source website: http://www.eventheocean.com/ -date: "9-1-2017" +date: "2017-09-01" --- diff --git a/src/documents/showcase/Fist's Elimination Tower.md b/11ty-source/showcase/Fist's Elimination Tower.md similarity index 92% rename from src/documents/showcase/Fist's Elimination Tower.md rename to 11ty-source/showcase/Fist's Elimination Tower.md index 2f7dfe500..d4544bdb4 100644 --- a/src/documents/showcase/Fist's Elimination Tower.md +++ b/11ty-source/showcase/Fist's Elimination Tower.md @@ -4,5 +4,5 @@ title: "Fist's Elimination Tower" steam: http://store.steampowered.com/app/630460/Fists_Elimination_Tower/ itch: https://kyatt7.itch.io/fists-elimination-tower/ website: https://kyatt7.itch.io/fists-elimination-tower -date: "8-28-2017" +date: "2017-08-28" --- diff --git a/src/documents/showcase/Flitter Inc..md b/11ty-source/showcase/Flitter Inc..md similarity index 92% rename from src/documents/showcase/Flitter Inc..md rename to 11ty-source/showcase/Flitter Inc..md index 179a340ef..236f1de0a 100644 --- a/src/documents/showcase/Flitter Inc..md +++ b/11ty-source/showcase/Flitter Inc..md @@ -3,5 +3,5 @@ layout: showcase title: "Flitter Inc." android: https://play.google.com/store/apps/details?id=com.deadelectronstudios.flitterinc website: https://play.google.com/store/apps/details?id=com.deadelectronstudios.flitterinc -date: "5-31-2018" +date: "2018-05-31" --- \ No newline at end of file diff --git a/src/documents/showcase/Friday Night Funkin'.md b/11ty-source/showcase/Friday Night Funkin'.md similarity index 80% rename from src/documents/showcase/Friday Night Funkin'.md rename to 11ty-source/showcase/Friday Night Funkin'.md index ace878312..74cd9094e 100644 --- a/src/documents/showcase/Friday Night Funkin'.md +++ b/11ty-source/showcase/Friday Night Funkin'.md @@ -6,6 +6,5 @@ itch: https://ninja-muffin24.itch.io/funkin newgrounds: https://www.newgrounds.com/portal/view/770371 github: https://github.com/FunkinCrew/funkin website: https://ninja-muffin24.itch.io/funkin -github: https://github.com/FunkinCrew/funkin -date: "2-20-2021" +date: "2021-02-20" --- diff --git a/src/documents/showcase/Future Knight DX.md b/11ty-source/showcase/Future Knight DX.md similarity index 91% rename from src/documents/showcase/Future Knight DX.md rename to 11ty-source/showcase/Future Knight DX.md index 98c1b40d7..be202020e 100644 --- a/src/documents/showcase/Future Knight DX.md +++ b/11ty-source/showcase/Future Knight DX.md @@ -4,5 +4,5 @@ title: "Future Knight DX" itch: https://john0032.itch.io/future-knight-dx github: https://github.com/john32b/futureknightdx website: https://john0032.itch.io/future-knight-dx -date: "9-3-2022" +date: "2022-09-03" --- \ No newline at end of file diff --git a/src/documents/showcase/GULAG PARADISE.md b/11ty-source/showcase/GULAG PARADISE.md similarity index 88% rename from src/documents/showcase/GULAG PARADISE.md rename to 11ty-source/showcase/GULAG PARADISE.md index ddaf034d1..32d935077 100644 --- a/src/documents/showcase/GULAG PARADISE.md +++ b/11ty-source/showcase/GULAG PARADISE.md @@ -3,5 +3,5 @@ layout: showcase title: "GULAG PARADISE" itch: https://armelgibson.itch.io/gulag-paradise website: https://armelgibson.itch.io/gulag-paradise -date: "1-11-2014" +date: "2014-01-11" --- \ No newline at end of file diff --git a/src/documents/showcase/Genial Santa Claus 2.md b/11ty-source/showcase/Genial Santa Claus 2.md similarity index 95% rename from src/documents/showcase/Genial Santa Claus 2.md rename to 11ty-source/showcase/Genial Santa Claus 2.md index eec8d94a6..045ec55ad 100644 --- a/src/documents/showcase/Genial Santa Claus 2.md +++ b/11ty-source/showcase/Genial Santa Claus 2.md @@ -5,5 +5,5 @@ flash: http://www.kongregate.com/games/Netforza/genial-santa-claus-2-the-christm android: https://play.google.com/store/apps/details?id=com.netforza.GenialSantaClaus2 ios: https://itunes.apple.com/app/genial-santa-claus-2-christmas/id1064711553?mt=8 website: http://netforza.com/play/genial-santa-claus-2/ -date: "12-19-2015" +date: "2015-12-19" --- \ No newline at end of file diff --git a/src/documents/showcase/Glitch Lab.md b/11ty-source/showcase/Glitch Lab.md similarity index 88% rename from src/documents/showcase/Glitch Lab.md rename to 11ty-source/showcase/Glitch Lab.md index fae8194fb..a6e044973 100644 --- a/src/documents/showcase/Glitch Lab.md +++ b/11ty-source/showcase/Glitch Lab.md @@ -3,5 +3,5 @@ layout: showcase title: "Glitch Lab" flash: http://armorgames.com/play/16042/glitch-lab website: http://armorgames.com/play/16042/glitch-lab -date: "10-18-2014" +date: "2014-10-18" --- \ No newline at end of file diff --git a/src/documents/showcase/Glorch's Great Escape.md b/11ty-source/showcase/Glorch's Great Escape.md similarity index 92% rename from src/documents/showcase/Glorch's Great Escape.md rename to 11ty-source/showcase/Glorch's Great Escape.md index e885d3161..636b42cd2 100644 --- a/src/documents/showcase/Glorch's Great Escape.md +++ b/11ty-source/showcase/Glorch's Great Escape.md @@ -3,5 +3,5 @@ layout: showcase title: "Glorch's Great Escape" steam: http://store.steampowered.com/app/549790/Glorchs_Great_Escape_Walking_is_for_Chumps/ website: http://store.steampowered.com/app/549790/Glorchs_Great_Escape_Walking_is_for_Chumps/ -date: "8-26-2017" +date: "2017-08-26" --- diff --git a/src/documents/showcase/Go! Go! PogoGirl.md b/11ty-source/showcase/Go! Go! PogoGirl.md similarity index 95% rename from src/documents/showcase/Go! Go! PogoGirl.md rename to 11ty-source/showcase/Go! Go! PogoGirl.md index d5e08386e..2c564a361 100644 --- a/src/documents/showcase/Go! Go! PogoGirl.md +++ b/11ty-source/showcase/Go! Go! PogoGirl.md @@ -8,5 +8,5 @@ steam: https://store.steampowered.com/app/1681010/Go_Go_PogoGirl/ switch: https://www.nintendo.com/store/products/go-go-pogogirl-switch/ ps4: https://store.playstation.com/en-us/product/UP0891-PPSA10169_00-GOGOPOGOGIRLRATG xbox: https://www.microsoft.com/store/productid/9P10H7L6QCCJ -date: "2-1-2022" +date: "2022-02-01" --- diff --git a/src/documents/showcase/Heck House.md b/11ty-source/showcase/Heck House.md similarity index 91% rename from src/documents/showcase/Heck House.md rename to 11ty-source/showcase/Heck House.md index 991e7455b..590251ce9 100644 --- a/src/documents/showcase/Heck House.md +++ b/11ty-source/showcase/Heck House.md @@ -5,5 +5,5 @@ featured: false newgrounds: https://www.newgrounds.com/portal/view/781468 itch: https://axolstudio.itch.io/heck-house website: https://axolstudio.com/projects/heck_house/ -date: "02-03-2020" +date: "2020-02-03" --- diff --git "a/src/documents/showcase/Holobunnies\352\236\211 Pause Caf\303\251.md" "b/11ty-source/showcase/Holobunnies: Pause Caf\303\251.md" similarity index 76% rename from "src/documents/showcase/Holobunnies\352\236\211 Pause Caf\303\251.md" rename to "11ty-source/showcase/Holobunnies: Pause Caf\303\251.md" index 41a491b4d..713ca8478 100644 --- "a/src/documents/showcase/Holobunnies\352\236\211 Pause Caf\303\251.md" +++ "b/11ty-source/showcase/Holobunnies: Pause Caf\303\251.md" @@ -1,8 +1,8 @@ --- layout: showcase -title: "Holobunnies꞉ Pause Café" +title: "Holobunnies: Pause Café" steam: http://store.steampowered.com/app/497710/ website: http://store.steampowered.com/app/497710/ website_broken: https://pausecafe.holobunnies.com/ -date: "3-22-2017" +date: "2017-03-22" --- \ No newline at end of file diff --git a/src/documents/showcase/HyperBoarder.md b/11ty-source/showcase/HyperBoarder.md similarity index 90% rename from src/documents/showcase/HyperBoarder.md rename to 11ty-source/showcase/HyperBoarder.md index cd8637190..a85a6fe55 100644 --- a/src/documents/showcase/HyperBoarder.md +++ b/11ty-source/showcase/HyperBoarder.md @@ -3,5 +3,5 @@ layout: showcase title: "HyperBoarder" flash: http://www.kongregate.com/games/lportion/hyperboarder website: http://www.kongregate.com/games/lportion/hyperboarder -date: "4-21-2016" +date: "2016-04-21" --- diff --git a/src/documents/showcase/Idle Farmer.md b/11ty-source/showcase/Idle Farmer.md similarity index 89% rename from src/documents/showcase/Idle Farmer.md rename to 11ty-source/showcase/Idle Farmer.md index 4d8cdbd4a..286e3b6d8 100644 --- a/src/documents/showcase/Idle Farmer.md +++ b/11ty-source/showcase/Idle Farmer.md @@ -3,5 +3,5 @@ layout: showcase title: "Idle Farmer" flash: http://www.kongregate.com/games/junjo/idle-farmer website: http://www.kongregate.com/games/junjo/idle-farmer -date: "9-2-2014" +date: "2014-09-02" --- \ No newline at end of file diff --git a/src/documents/showcase/LAZA KNITEZ!!.md b/11ty-source/showcase/LAZA KNITEZ!!.md similarity index 90% rename from src/documents/showcase/LAZA KNITEZ!!.md rename to 11ty-source/showcase/LAZA KNITEZ!!.md index 1fb34e302..dd1f2475d 100644 --- a/src/documents/showcase/LAZA KNITEZ!!.md +++ b/11ty-source/showcase/LAZA KNITEZ!!.md @@ -4,5 +4,5 @@ title: "LAZA KNITEZ!!" itch: http://glitchnap.itch.io/lazaknitez steam: http://store.steampowered.com/app/352640/ website: http://glitchnap.itch.io/lazaknitez -date: "10-18-2014" +date: "2014-10-18" --- diff --git a/src/documents/showcase/Monster Match.md b/11ty-source/showcase/Monster Match.md similarity index 92% rename from src/documents/showcase/Monster Match.md rename to 11ty-source/showcase/Monster Match.md index 6b102bb33..743455f42 100644 --- a/src/documents/showcase/Monster Match.md +++ b/11ty-source/showcase/Monster Match.md @@ -5,5 +5,5 @@ featured: false newgrounds: https://www.newgrounds.com/portal/view/804030 itch: https://axolstudio.itch.io/monster-match website: https://axolstudio.com/projects/monster_match/ -date: "10-26-2019" +date: "2019-10-26" --- diff --git a/src/documents/showcase/One Ship Two Ship Redshift Blueshift.md b/11ty-source/showcase/One Ship Two Ship Redshift Blueshift.md similarity index 91% rename from src/documents/showcase/One Ship Two Ship Redshift Blueshift.md rename to 11ty-source/showcase/One Ship Two Ship Redshift Blueshift.md index 0626fa32a..d21edebd3 100644 --- a/src/documents/showcase/One Ship Two Ship Redshift Blueshift.md +++ b/11ty-source/showcase/One Ship Two Ship Redshift Blueshift.md @@ -3,5 +3,5 @@ layout: showcase title: "One Ship Two Ship Redshift Blueshift" steam: https://store.steampowered.com/app/367430/One_Ship_Two_Ship_Redshift_Blueshift/ website: https://github.com/01010111/OneShiftTwoShift -date: "5-15-2016" +date: "2016-05-15" --- diff --git a/src/documents/showcase/Peasant Knight.md b/11ty-source/showcase/Peasant Knight.md similarity index 93% rename from src/documents/showcase/Peasant Knight.md rename to 11ty-source/showcase/Peasant Knight.md index 12221b06f..a1163d890 100644 --- a/src/documents/showcase/Peasant Knight.md +++ b/11ty-source/showcase/Peasant Knight.md @@ -5,5 +5,5 @@ itch: https://ohmnivore.itch.io/peasant-knight steam: https://store.steampowered.com/app/424610/Peasant_Knight/ website: https://pk.fouramgames.com switch: https://www.nintendo.com/store/products/peasant-knight-switch/ -date: "4-9-2019" +date: "2019-04-09" --- diff --git a/src/documents/showcase/Polaritron.md b/11ty-source/showcase/Polaritron.md similarity index 93% rename from src/documents/showcase/Polaritron.md rename to 11ty-source/showcase/Polaritron.md index 4ac1e1343..238e269ef 100644 --- a/src/documents/showcase/Polaritron.md +++ b/11ty-source/showcase/Polaritron.md @@ -5,5 +5,5 @@ flash: http://leongotgame.itch.io/polaritron itch: http://leongotgame.itch.io/polaritron android: https://play.google.com/store/apps/details?id=com.leongame.polaritron website: http://leongotgame.itch.io/polaritron -date: "10-30-2014" +date: "2014-10-30" --- \ No newline at end of file diff --git a/src/documents/showcase/Renegade Racing.md b/11ty-source/showcase/Renegade Racing.md similarity index 93% rename from src/documents/showcase/Renegade Racing.md rename to 11ty-source/showcase/Renegade Racing.md index fb1607cf3..6e71a6c2a 100644 --- a/src/documents/showcase/Renegade Racing.md +++ b/11ty-source/showcase/Renegade Racing.md @@ -5,5 +5,5 @@ featured: true android: https://play.google.com/store/apps/details?id=com.notdoppler.renegaderacing ios: https://apps.apple.com/gb/app/renegade-racing/id1355912318 website: http://www.notdoppler.com/renegaderacing/ -date: "3-9-2020" +date: "2020-03-09" --- diff --git a/src/documents/showcase/SLIDE-0000.md b/11ty-source/showcase/SLIDE-0000.md similarity index 91% rename from src/documents/showcase/SLIDE-0000.md rename to 11ty-source/showcase/SLIDE-0000.md index e501375cc..e87b94125 100644 --- a/src/documents/showcase/SLIDE-0000.md +++ b/11ty-source/showcase/SLIDE-0000.md @@ -4,5 +4,5 @@ title: "SLIDE-0000" android: https://play.google.com/store/apps/details?id=com.jeremyoduber.slide itch: http://jeremyoduber.itch.io/slide-0000 website: http://jeremyoduber.itch.io/slide-0000 -date: "5-30-2014" +date: "2014-05-30" --- \ No newline at end of file diff --git a/src/documents/showcase/Saving Alley Cats!.md b/11ty-source/showcase/Saving Alley Cats!.md similarity index 91% rename from src/documents/showcase/Saving Alley Cats!.md rename to 11ty-source/showcase/Saving Alley Cats!.md index b8fb53d2c..5a69c0776 100644 --- a/src/documents/showcase/Saving Alley Cats!.md +++ b/11ty-source/showcase/Saving Alley Cats!.md @@ -3,5 +3,5 @@ layout: showcase title: "Saving Alley Cats!" android: https://play.google.com/store/apps/details?id=pl.vigeo.saving.alley.cats website: https://play.google.com/store/apps/details?id=pl.vigeo.saving.alley.cats -date: "6-14-2014" +date: "2014-06-14" --- diff --git a/src/documents/showcase/Shifter.md b/11ty-source/showcase/Shifter.md similarity index 88% rename from src/documents/showcase/Shifter.md rename to 11ty-source/showcase/Shifter.md index 6db1caf09..d82d7277c 100644 --- a/src/documents/showcase/Shifter.md +++ b/11ty-source/showcase/Shifter.md @@ -3,5 +3,5 @@ layout: showcase title: "Shifter" newgrounds: http://www.newgrounds.com/portal/view/652084 website: http://www.newgrounds.com/portal/view/652084 -date: "3-30-2015" +date: "2015-03-30" --- \ No newline at end of file diff --git a/src/documents/showcase/Slime Time.md b/11ty-source/showcase/Slime Time.md similarity index 88% rename from src/documents/showcase/Slime Time.md rename to 11ty-source/showcase/Slime Time.md index 9bb0bc0be..b15bddf20 100644 --- a/src/documents/showcase/Slime Time.md +++ b/11ty-source/showcase/Slime Time.md @@ -3,5 +3,5 @@ layout: showcase title: "Slime Time" itch: https://incredible-ape.itch.io/slime-time website: https://incredible-ape.itch.io/slime-time -date: "2-18-2017" +date: "2017-02-18" --- \ No newline at end of file diff --git a/src/documents/showcase/Solid Aether.md b/11ty-source/showcase/Solid Aether.md similarity index 91% rename from src/documents/showcase/Solid Aether.md rename to 11ty-source/showcase/Solid Aether.md index 68bc5441f..4facbe02f 100644 --- a/src/documents/showcase/Solid Aether.md +++ b/11ty-source/showcase/Solid Aether.md @@ -4,5 +4,5 @@ title: "Solid Aether" steam: https://store.steampowered.com/app/910730/Solid_Aether/ itch: https://fal-works.itch.io/solid-aether website: https://www.fal-works.com/solid-aether -date: "9-27-2018" +date: "2018-09-27" --- \ No newline at end of file diff --git a/src/documents/showcase/Sort!Sort!Sort!.md b/11ty-source/showcase/Sort!Sort!Sort!.md similarity index 91% rename from src/documents/showcase/Sort!Sort!Sort!.md rename to 11ty-source/showcase/Sort!Sort!Sort!.md index 44ecf5e13..40fd7edd3 100644 --- a/src/documents/showcase/Sort!Sort!Sort!.md +++ b/11ty-source/showcase/Sort!Sort!Sort!.md @@ -3,5 +3,5 @@ layout: showcase title: "Sort!Sort!Sort!" android: https://play.google.com/store/apps/details?id=com.n06rin.sortsortsort website: https://play.google.com/store/apps/details?id=com.n06rin.sortsortsort -date: "2-21-2016" +date: "2016-02-21" --- \ No newline at end of file diff --git a/src/documents/showcase/Spacejacked.md b/11ty-source/showcase/Spacejacked.md similarity index 91% rename from src/documents/showcase/Spacejacked.md rename to 11ty-source/showcase/Spacejacked.md index ab3347226..6332c3ae8 100644 --- a/src/documents/showcase/Spacejacked.md +++ b/11ty-source/showcase/Spacejacked.md @@ -4,5 +4,5 @@ title: "Spacejacked" flash: http://gamejolt.com/games/arcade/spacejacked-endless-mode/50894/ steam: http://store.steampowered.com/app/390680/ website: http://www.spacejacked.com/ -date: "3-30-2015" +date: "2015-03-30" --- diff --git a/src/documents/showcase/Spooksville, USA.md b/11ty-source/showcase/Spooksville, USA.md similarity index 92% rename from src/documents/showcase/Spooksville, USA.md rename to 11ty-source/showcase/Spooksville, USA.md index 6a796ec81..54a26d747 100644 --- a/src/documents/showcase/Spooksville, USA.md +++ b/11ty-source/showcase/Spooksville, USA.md @@ -5,5 +5,5 @@ featured: false newgrounds: https://www.newgrounds.com/portal/view/782808 itch: https://axolstudio.itch.io/spooksville-usa website: https://axolstudio.com/projects/spooksville/ -date: "02-23-2021" +date: "2021-02-23" --- diff --git a/src/documents/showcase/Super Slime Arena.md b/11ty-source/showcase/Super Slime Arena.md similarity index 91% rename from src/documents/showcase/Super Slime Arena.md rename to 11ty-source/showcase/Super Slime Arena.md index 285537249..2a5053a03 100644 --- a/src/documents/showcase/Super Slime Arena.md +++ b/11ty-source/showcase/Super Slime Arena.md @@ -4,5 +4,5 @@ title: "Super Slime Arena" itch: http://jellyteam.itch.io/super-slime-arena/ steam: http://store.steampowered.com/app/706960/Super_Slime_Arena/ website: http://superslimearena.net -date: "1-29-2018" +date: "2018-01-29" --- diff --git a/src/documents/showcase/The Enchanted Cave 2.md b/11ty-source/showcase/The Enchanted Cave 2.md similarity index 95% rename from src/documents/showcase/The Enchanted Cave 2.md rename to 11ty-source/showcase/The Enchanted Cave 2.md index 0ce452289..3ef93954e 100644 --- a/src/documents/showcase/The Enchanted Cave 2.md +++ b/11ty-source/showcase/The Enchanted Cave 2.md @@ -6,5 +6,5 @@ android: https://play.google.com/store/apps/details?id=com.okshur.enchantedCave2 ios: https://itunes.apple.com/us/app/the-enchanted-cave-2/id983868842?ls=1&mt=8 steam: http://store.steampowered.com/app/368610 website: http://dustinauxier.com/the-enchanted-cave-2 -date: "11-23-2015" +date: "2015-11-23" --- diff --git a/src/documents/showcase/The Wolf's Bite.md b/11ty-source/showcase/The Wolf's Bite.md similarity index 94% rename from src/documents/showcase/The Wolf's Bite.md rename to 11ty-source/showcase/The Wolf's Bite.md index 0b1fa8652..10e2413a8 100644 --- a/src/documents/showcase/The Wolf's Bite.md +++ b/11ty-source/showcase/The Wolf's Bite.md @@ -6,5 +6,5 @@ mac: http://store.steampowered.com/app/656040/The_Wolfs_Bite/ steam: http://store.steampowered.com/app/656040/The_Wolfs_Bite/ website: http://www.thewolfsbite.com/ itch: https://ericmbernier.itch.io/the-wolfs-bite -date: "7-28-2017" +date: "2017-07-28" --- \ No newline at end of file diff --git a/src/documents/showcase/Tomb Explorer.md b/11ty-source/showcase/Tomb Explorer.md similarity index 87% rename from src/documents/showcase/Tomb Explorer.md rename to 11ty-source/showcase/Tomb Explorer.md index c202a6190..551f70e60 100644 --- a/src/documents/showcase/Tomb Explorer.md +++ b/11ty-source/showcase/Tomb Explorer.md @@ -3,5 +3,5 @@ layout: showcase title: "Tomb Explorer" itch: https://johndimi.itch.io/tombexplorer website: https://johndimi.itch.io/tombexplorer -date: "2-19-2017" +date: "2017-02-19" --- \ No newline at end of file diff --git a/src/documents/showcase/UPSQUID.md b/11ty-source/showcase/UPSQUID.md similarity index 86% rename from src/documents/showcase/UPSQUID.md rename to 11ty-source/showcase/UPSQUID.md index c703dad3d..6d1da546d 100644 --- a/src/documents/showcase/UPSQUID.md +++ b/11ty-source/showcase/UPSQUID.md @@ -3,5 +3,5 @@ layout: showcase title: "UPSQUID" itch: https://01010111.itch.io/upsquid website: https://01010111.itch.io/upsquid -date: "12-31-2021" +date: "2021-12-31" --- \ No newline at end of file diff --git a/src/documents/showcase/Viking Warfare.md b/11ty-source/showcase/Viking Warfare.md similarity index 89% rename from src/documents/showcase/Viking Warfare.md rename to 11ty-source/showcase/Viking Warfare.md index da34f86ad..3f7fdc0aa 100644 --- a/src/documents/showcase/Viking Warfare.md +++ b/11ty-source/showcase/Viking Warfare.md @@ -3,5 +3,5 @@ layout: showcase title: "Viking Warfare" flash: http://www.kongregate.com/games/Junjo/viking-warfare website: http://www.kongregate.com/games/Junjo/viking-warfare -date: "11-2-2014" +date: "2014-11-02" --- \ No newline at end of file diff --git a/src/documents/showcase/Werewolf Tycoon.md b/11ty-source/showcase/Werewolf Tycoon.md similarity index 92% rename from src/documents/showcase/Werewolf Tycoon.md rename to 11ty-source/showcase/Werewolf Tycoon.md index 904ab8051..ff2ce62ec 100644 --- a/src/documents/showcase/Werewolf Tycoon.md +++ b/11ty-source/showcase/Werewolf Tycoon.md @@ -4,5 +4,5 @@ title: "Werewolf Tycoon" flash: http://gamejolt.com/games/arcade/werewolf-tycoon/41745/ ios: https://apps.apple.com/in/app/werewolf-tycoon/id939738216 website: http://joecreates.co.uk/werewolftycoon/ -date: "5-8-2015" +date: "2015-05-08" --- diff --git a/src/documents/showcase/Willy and Mathilda's Houseboat Adventure.md b/11ty-source/showcase/Willy and Mathilda's Houseboat Adventure.md similarity index 88% rename from src/documents/showcase/Willy and Mathilda's Houseboat Adventure.md rename to 11ty-source/showcase/Willy and Mathilda's Houseboat Adventure.md index 91d74a787..7223dcd80 100644 --- a/src/documents/showcase/Willy and Mathilda's Houseboat Adventure.md +++ b/11ty-source/showcase/Willy and Mathilda's Houseboat Adventure.md @@ -3,5 +3,5 @@ layout: showcase title: "Willy and Mathilda's Houseboat Adventure" itch: https://ibwwg.itch.io/mathildagame website: http://ibwwg.com/?id=5 -date: "10-9-2016" +date: "2016-10-09" --- diff --git a/src/documents/showcase/[Speer DX].md b/11ty-source/showcase/[Speer DX].md similarity index 88% rename from src/documents/showcase/[Speer DX].md rename to 11ty-source/showcase/[Speer DX].md index d6f51f849..1a1e70545 100644 --- a/src/documents/showcase/[Speer DX].md +++ b/11ty-source/showcase/[Speer DX].md @@ -3,5 +3,5 @@ layout: showcase title: "[Speer DX]" steam: https://store.steampowered.com/app/1945800/Speer_DX/ website: https://www.ohsat.com/game/speer-dx/ -date: "11-23-2022" +date: "2022-11-23" --- diff --git a/src/documents/showcase/millstone.md b/11ty-source/showcase/millstone.md similarity index 87% rename from src/documents/showcase/millstone.md rename to 11ty-source/showcase/millstone.md index 77749a03b..6bacbc171 100644 --- a/src/documents/showcase/millstone.md +++ b/11ty-source/showcase/millstone.md @@ -3,5 +3,5 @@ layout: showcase title: "millstone" itch: https://01010111.itch.io/millstone website: https://01010111.itch.io/millstone -date: "2-8-2022" +date: "2022-02-08" --- \ No newline at end of file diff --git a/11ty-source/showcase/showcase.json b/11ty-source/showcase/showcase.json new file mode 100644 index 000000000..564d20b45 --- /dev/null +++ b/11ty-source/showcase/showcase.json @@ -0,0 +1,3 @@ +{ + "tags": "showcase-item" +} \ No newline at end of file diff --git a/src/documents/showcase/spaceSpuds.md b/11ty-source/showcase/spaceSpuds.md similarity index 87% rename from src/documents/showcase/spaceSpuds.md rename to 11ty-source/showcase/spaceSpuds.md index 1bb60b56a..f65fdd88a 100644 --- a/src/documents/showcase/spaceSpuds.md +++ b/11ty-source/showcase/spaceSpuds.md @@ -3,5 +3,5 @@ layout: showcase title: "spaceSpuds" itch: http://jonathanhirz.itch.io/spacespuds/ website: http://jonathanhirz.itch.io/spacespuds/ -date: "9-4-2014" +date: "2014-09-04" --- \ No newline at end of file diff --git a/src/documents/sponsors.html b/11ty-source/sponsors.html similarity index 100% rename from src/documents/sponsors.html rename to 11ty-source/sponsors.html diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 4d4630f03..000000000 --- a/Dockerfile +++ /dev/null @@ -1,13 +0,0 @@ -FROM node:20 - -WORKDIR /usr/src/app - -COPY package.json ./ - -RUN apt-get update && apt-get install -y imagemagick - -RUN npm i - -COPY . . - -EXPOSE 9778 diff --git a/README.md b/README.md index 723f8fdf7..cf2dca888 100644 --- a/README.md +++ b/README.md @@ -9,8 +9,8 @@ ## About -This is the source of [haxeflixel.com](https://haxeflixel.com/). It was orgiginally made with a Node.js static site generator called -[DocPad](https://docpad.bevry.me/), but it's in a transition to [11ty](https://www.11ty.dev/) +This is the source of [haxeflixel.com](https://haxeflixel.com/). It was orgiginally made with [DocPad](https://docpad.bevry.me/), but it's in a transition to [11ty](https://www.11ty.dev/). + You can compile this website yourself with a local install of DocPad, pull requests are welcome. 1. [Install DocPad](https://docpad.bevry.me/start/install) @@ -27,9 +27,6 @@ You can compile this website yourself with a local install of DocPad, pull reque npm install npm run start ``` - Or if you are a windows user: - - ...run `install.bat`, then `run.bat` The website uses [docpad-plugin-thumbnails](https://github.com/rantecki/docpad-plugin-thumbnails) @@ -104,7 +101,7 @@ following this example: switch: https://www.nintendo.com/store/products/go-go-pogogirl-switch/ ps4: https://store.playstation.com/en-us/product/UP0891-PPSA10169_00-GOGOPOGOGIRLRATG xbox: https://www.microsoft.com/store/productid/9P10H7L6QCCJ - date: "2-1-2022" + date: "2022-02-01" --- Note that `date` is currently unused but will eventually be used to sort, dates should use US format of month-day-20XX diff --git a/package.json b/package.json index a8349d806..4fb8d926f 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,8 @@ "docpad-plugin-repocloner": "2.3.1", "docpad-plugin-services": "2.7.0", "docpad-plugin-thumbnails": "2.1.2", - "remove-markdown": "github:stiang/remove-markdown#main" + "remove-markdown": "github:stiang/remove-markdown#main", + "sharp": "^0.33.2" }, "main": "node_modules/docpad/bin/docpad-server", "scripts": { @@ -27,10 +28,19 @@ "start:docpad": "docpad run", "build": "run-p build:*", "build:docpad": "docpad generate --env static", - "build:11ty": "eleventy" + "build:11ty": "eleventy", + "test": "standard", + "fix-lints": "standard --fix" }, "devDependencies": { "@11ty/eleventy": "^2.0.1", - "npm-run-all2": "^6.1.2" + "@11ty/eleventy-img": "^4.0.2", + "npm-run-all2": "^6.1.2", + "standard": "^17.1.0" + }, + "standard": { + "ignore": [ + "**/vendor/" + ] } } diff --git a/scripts/docker.js b/scripts/docker.js deleted file mode 100644 index bb40e7f0f..000000000 --- a/scripts/docker.js +++ /dev/null @@ -1,51 +0,0 @@ -const execSync = require('child_process').execSync -const args = process.argv.slice(2) -const IMAGE_NAME = 'haxeflixel.com' -const BUILD_CONTAINER_NAME = 'haxeflixel.com-build-container' -const WATCH_CONTAINER_NAME = 'haxeflixel.com-watch-container' - -if (args.indexOf('buildImage') > -1) buildImage() -if (args.indexOf('buildSite') > -1) buildSite() -if (args.indexOf('runBuildImage') > -1) runBuildImage() -if (args.indexOf('removeBuildImage') > -1) removeBuildImage() -if (args.indexOf('watchSite') > -1) watchSite() -if (args.indexOf('runShell') > -1) runShell() - -function buildImage() { - execSync(`docker build -t ${IMAGE_NAME} .`, {stdio: [0, 1, 2]}) - // execSync(`docker build --no-cache -t ${IMAGE_NAME} .`, {stdio: [0, 1, 2]}) -} - -function runShell() { - execSync(`docker run -ti ${IMAGE_NAME} /bin/bash`, {stdio: [0, 1, 2]}) -} - -function runBuildImage() { - removeBuildImage() - var containerID = execSync(`docker run --name="${BUILD_CONTAINER_NAME}" -dti ${IMAGE_NAME} bash`) - console.log(`Created container ${BUILD_CONTAINER_NAME} ${containerID}`) - return containerID -} - -function buildSite() { - execSync('rm -rf ./out') - runBuildImage() - execSync(`docker exec ${BUILD_CONTAINER_NAME} bash -c "npm run build"`, {stdio: [0, 1, 2]}) - execSync(`docker cp ${BUILD_CONTAINER_NAME}:/usr/src/app/out ./out`) - // copy the images from the docs repo manually :( - execSync(`docker cp ${BUILD_CONTAINER_NAME}:/usr/src/app/out/documentation/documentation/images ./out/documentation`) - removeBuildImage() -} - -function watchSite() { - execSync(`docker rm -f ${WATCH_CONTAINER_NAME} &> /dev/null || true`) - var containerID = execSync(`docker run -p 9778 --name="${WATCH_CONTAINER_NAME}" -dti ${IMAGE_NAME} bash`) - var ip = execSync(`docker inspect --format '{{ .NetworkSettings.IPAddress }}' ${containerID}`) - console.log(`Docpad site running on:${ip}:9778`) - execSync(`docker exec -ti ${WATCH_CONTAINER_NAME} bash -c "npm run watch"`, {stdio: [0, 1, 2]}) -} - -function removeBuildImage() { - console.log(`removing container with name ${BUILD_CONTAINER_NAME}`) - execSync(`docker rm -f ${BUILD_CONTAINER_NAME} &> /dev/null || true`) -} \ No newline at end of file diff --git "a/src/files/images/showcase/Blasting Agent\352\236\211 Ultimate Edition.png" b/src/files/images/showcase/Blasting Agent: Ultimate Edition.png similarity index 100% rename from "src/files/images/showcase/Blasting Agent\352\236\211 Ultimate Edition.png" rename to src/files/images/showcase/Blasting Agent: Ultimate Edition.png diff --git "a/src/files/images/showcase/Defender's Quest\352\236\211 Valley of the Forgotten.png" b/src/files/images/showcase/Defender's Quest: Valley of the Forgotten.png similarity index 100% rename from "src/files/images/showcase/Defender's Quest\352\236\211 Valley of the Forgotten.png" rename to src/files/images/showcase/Defender's Quest: Valley of the Forgotten.png diff --git "a/src/files/images/showcase/Holobunnies\352\236\211 Pause Caf\303\251.png" "b/src/files/images/showcase/Holobunnies: Pause Caf\303\251.png" similarity index 100% rename from "src/files/images/showcase/Holobunnies\352\236\211 Pause Caf\303\251.png" rename to "src/files/images/showcase/Holobunnies: Pause Caf\303\251.png" diff --git a/src/layouts/sponsors-layout.html.eco b/src/layouts/sponsors-layout.html.eco deleted file mode 100644 index 017771a0a..000000000 --- a/src/layouts/sponsors-layout.html.eco +++ /dev/null @@ -1,28 +0,0 @@ - - - -<%- @partial('head.html.eco', {title:@getPreparedTitle()}, {description:@getPreparedDescription()}, {keywords:@getPreparedKeywords()}, {author:@site.author or ''}, {styles:@getBlock("styles").add(["/styles/style.css", "/vendor/highlightjs/styles/an-old-hope.min.css"]).toHTML()} ) %> - - - -<%- @partial('header-menu.html.eco', {ablog:"class='active'"}) %> - -
- -
- -

<%= @document.title %>

- - <%- @content %> - -
- -
- -<%- @partial('footer.html') %> - -<%- @getBlock('scripts').add(@site.scripts).toHTML() %> - - - -