+1
-1
README.md
+1
-1
README.md
···replace things in the template files that are surrounded by double exclamation points (!!). there are some variables to set at the top of the `js/script.mjs` file, and some style variables to set at the top of `css/style.css`. if you want to add more css, there's a `css/custom.css` file you can tack new stuff onto.-also, you will have to fiddle with JSON for game data. unless you want to just code all them manually for some reason, in which case i salute you. i recommend using [json console](https://jsonconsole.com/json-editor) if you're not down with the brackets since the table and graph views are really useful for like. checking your work
···replace things in the template files that are surrounded by double exclamation points (!!). there are some variables to set at the top of the `js/script.mjs` file, and some style variables to set at the top of `css/style.css`. if you want to add more css, there's a `css/custom.css` file you can tack new stuff onto.+also, you will have to fiddle with JSON for game data. unless you want to just code all them manually for some reason, in which case i salute you. i recommend using [jsonswiss](https://jsonswiss.com/json-table-editor) if you're not down with the brackets since it lets you edit in table view
+79
-4
plain-html/css/style.css
+79
-4
plain-html/css/style.css
············
············
+4
-3
plain-html/game.html
+4
-3
plain-html/game.html
······-Submitted by <a href="#">Author 1</a>, <a href="#">Author 2</a> — <span id="timebefore">!! TIME !!</span> before deadline···<!-- uncomment if you want to drop in some kind of commenting system and put in whatever script you're using -->
······+Submitted by <a href="#">Author 1</a>, <a href="#">Author 2</a> at <span class="submissiontime">!! SUBMISSION TIME !!</span>···+<li><a href="!! DL LINK !!" class="btn" download>Download</a> <b>!! FILE NAME !!</b> <span class="size">!! # MB !!</span> <span class="platforms"><span class="platforms-label">Platforms: </span><span class="icon windows" title="Windows">Windows</span><span class="icon linux" title="Linux">Linux</span></li>+<li><a href="!! DL LINK !!" class="btn" download>Download</a> <b>!! FILE NAME !!</b> <span class="size">!! # MB !!</span> <span class="platforms"><span class="platforms-label">Platforms: </span><span class="icon macos" title="MacOS">MacOS</span></li><!-- uncomment if you want to drop in some kind of commenting system and put in whatever script you're using -->
+98
-98
plain-html/js/script.mjs
+98
-98
plain-html/js/script.mjs
···return `<div class="item" id="item-${i}" data-authors="${item.authors.map(a => a.name)}" data-categories="${item.tags.map(t => 'tags:'+t).join(" ")} ${item.platforms.map(p => 'platforms:'+p).join(" ")}" data-title="${item.title}" data-date="${item.submitTime}"><div class="authors">${item.authors.map((auth) => { return `<a href="${auth.link}" target="_blank">${auth.name}</a>`; }).join(", ")}</div>···tagsElt.innerHTML = `<button class="afs-btn-filter" data-filter="*">all</button>`+allTags.map((t) => {-document.querySelectorAll('button.custom-sort:not([data-sort-key="shuffle"])').forEach((elt) => {-document.querySelectorAll('button.custom-sort:not([data-sort-key="'+btn.getAttribute('data-sort-key')+'"])').forEach((s) => {
···return `<div class="item" id="item-${i}" data-authors="${item.authors.map(a => a.name)}" data-categories="${item.tags.map(t => 'tags:'+t).join(" ")} ${item.platforms.map(p => 'platforms:'+p).join(" ")}" data-title="${item.title}" data-date="${item.submitTime}">+<a href="${item.page}"><img src="${item.thumbnail}" alt="${item.title} thumbnail image" /></a><div class="authors">${item.authors.map((auth) => { return `<a href="${auth.link}" target="_blank">${auth.name}</a>`; }).join(", ")}</div>···tagsElt.innerHTML = `<button class="afs-btn-filter" data-filter="*">all</button>`+allTags.map((t) => {+document.querySelectorAll('button.custom-sort:not([data-sort-key="shuffle"])').forEach((elt) => {+document.querySelectorAll('button.custom-sort:not([data-sort-key="'+btn.getAttribute('data-sort-key')+'"])').forEach((s) => {