[
  {
    "path": ".dependabot/config.yml",
    "content": "version: 1\nupdate_configs:\n  - package_manager: javascript\n    directory: /\n    update_schedule: weekly\n    allowed_updates:\n      - match:\n          update_type: security\n    automerged_updates:\n      - match:\n          dependency_type: all\n          update_type: all\n"
  },
  {
    "path": ".editorconfig",
    "content": "# 2018 September 26\n# https://github.com/bevry/base\n\nroot = true\n\n[*]\nend_of_line = lf\ncharset = utf-8\ntrim_trailing_whitespace = true\ninsert_final_newline = false\nindent_style = tab\n\n[{*.mk,*.py}]\nindent_style = tab\nindent_size = 4\n\n[*.md]\nindent_style = space\nindent_size = 4\n\n[{*.json,*.lsrules,*.yml,*.bowerrc,*.babelrc}]\nindent_style = space\nindent_size = 2\n\n[{*.json,*.lsrules}]\ninsert_final_newline = true\n"
  },
  {
    "path": ".github/FUNDING.yml",
    "content": "github: [balupton]\npatreon: bevry\nopen_collective: bevry\nko_fi: balupton\nliberapay: bevry\ncustom: ['https://bevry.me/fund']"
  },
  {
    "path": ".gitignore",
    "content": "# 2019 January 26\n# https://github.com/bevry/base\n\n# System Files\n**/.DS_Store\n\n# Temp Files\n**/.docpad.db\n**/*.log\n**/*.cpuprofile\n**/*.heapsnapshot\n\n# Editor Files\n.c9/\n.vscode/\n\n# Private Files\n.env\n.idea\n.cake_task_cache\n\n# Build Caches\nbuild/\nbower_components/\nnode_modules/\n.next/\n.pnp/\n.pnp.js\n\n# Build Outputs\n**/out.*\n**/*.out.*\n**/out/\n**/output/\nedition*/\ncoffeejs/\ncoffee/\nes5/\nes2015/\nesnext/\ndocs/\n\n# =====================================\n# CUSTOM\n\n# None\n"
  },
  {
    "path": ".travis.yml",
    "content": "sudo: false\nlanguage: node_js\nnode_js:\n- '12'\nmatrix:\n  fast_finish: true\n  allow_failures: []\ncache: npm\ninstall:\n- eval \"$(curl -fsSL https://raw.githubusercontent.com/bevry/awesome-travis/c91c9d5eef34ecb0e92029667fd5052640225fa3/scripts/node-install.bash)\"\nbefore_script:\n- eval \"$(curl -fsSL https://raw.githubusercontent.com/bevry/awesome-travis/c91c9d5eef34ecb0e92029667fd5052640225fa3/scripts/node-verify.bash)\"\nnotifications:\n  email:\n    recipients:\n      secure: EIbhoOvzvqgkAkdnx19xBfE3QtGfn1tEpHF5lgWfnC+3JOQh5DQQtdsIwI/TiZ1b6q9Xwbr9xZTEhKdFE2c/6j0Xoz+x64XcNROo9VDXArZ2H6K43c97DXC56rkAITWZ6VYrMr7SpBsd+TG75LZ8CIYW0ywSKIn84A/irf/jKV0=\n"
  },
  {
    "path": "CONTRIBUTING.md",
    "content": "<!--\n2019 February 28\nhttps://github.com/bevry/base\n-->\n\n# Before You Post!\n\n## Support\n\nWe offer support through our [Official Support Channels](https://bevry.me/support). Do not use GitHub Issues for support, your issue will be closed.\n\n## Contribute\n\nOur [Contributing Guide](https://bevry.me/contribute) contains useful tips and suggestions for how to contribute to this project, it's worth the read.\n\n## Development\n\n### Setup\n\n1. [Install Node.js](https://bevry.me/install/node)\n\n1. Fork the project and clone your fork - [guide](https://help.github.com/articles/fork-a-repo/)\n\n1. Setup the project for development\n\n    ```bash\n    npm run our:setup\n    ```\n\n### Developing\n\n1. Compile changes\n\n    ```bash\n    npm run our:compile\n    ```\n\n1. Run tests\n\n    ```bash\n    npm test\n    ```\n\n### Publishing\n\nFollow these steps in order to implement your changes/improvements into your desired project:\n\n#### Preparation\n\n1. Make sure your changes are on their own branch that is branched off from master.\n\n    1. You can do this by: `git checkout master; git checkout -b your-new-branch`\n    1. And push the changes up by: `git push origin your-new-branch`\n\n1. Ensure all tests pass:\n\n    ```bash\n    npm test\n    ```\n\n    > If possible, add tests for your change, if you don't know how, mention this in your pull request\n\n1. Ensure the project is ready for publishing:\n\n    ```\n    npm run our:release:prepare\n    ```\n\n#### Pull Request\n\nTo send your changes for the project owner to merge in:\n\n1. Submit your pull request\n    1. When submitting, if the original project has a `dev` or `integrate` branch, use that as the target branch for your pull request instead of the default `master`\n    1. By submitting a pull request you agree for your changes to have the same license as the original plugin\n\n#### Publish\n\nTo publish your changes as the project owner:\n\n1. Switch to the master branch:\n\n    ```bash\n    git checkout master\n    ```\n\n1. Merge in the changes of the feature branch (if applicable)\n\n1. Increment the version number in the `package.json` file according to the [semantic versioning](http://semver.org) standard, that is:\n\n    1. `x.0.0` MAJOR version when you make incompatible API changes (note: DocPad plugins must use v2 as the major version, as v2 corresponds to the current DocPad v6.x releases)\n    1. `x.y.0` MINOR version when you add functionality in a backwards-compatible manner\n    1. `x.y.z` PATCH version when you make backwards-compatible bug fixes\n\n1. Add an entry to the changelog following the format of the previous entries, an example of this is:\n\n    ```markdown\n    ## v6.29.0 2013 April 1\n\n    -   Progress on [issue #474](https://github.com/bevry/docpad/issues/474)\n    -   DocPad will now set permissions based on the process's ability\n        -   Thanks to [Avi Deitcher](https://github.com/deitch), [Stephan Lough](https://github.com/stephanlough) for [issue #165](https://github.com/bevry/docpad/issues/165)\n    -   Updated dependencies\n    ```\n\n1) Commit the changes with the commit title set to something like `v6.29.0. Bugfix. Improvement.` and commit description set to the changelog entry\n\n1. Ensure the project is ready for publishing:\n\n    ```\n    npm run our:release:prepare\n    ```\n\n1. Prepare the release and publish it to npm and git:\n\n    ```bash\n    npm run our:release\n    ```\n"
  },
  {
    "path": "LICENSE.md",
    "content": "<!-- LICENSEFILE/ -->\n\n<h1>License</h1>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; <a href=\"http://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<h2>MIT License</h2>\n\n<pre>\nPermission 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:\n\nThe above copyright notice and this permission notice (including the next paragraph) shall be included in all copies or substantial portions of the Software.\n\nTHE 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.\n</pre>\n\n<!-- /LICENSEFILE -->\n"
  },
  {
    "path": "README.md",
    "content": "<!-- TITLE/ -->\n\n<h1>staticsitegenerators-website</h1>\n\n<!-- /TITLE -->\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.org/bevry/staticsitegenerators-website\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/bevry/staticsitegenerators-website/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n<!-- DESCRIPTION/ -->\n\nWebsite rendering of staticsitegenerators-list\n\n<!-- /DESCRIPTION -->\n\nThis project is a website rendering of the [Static Site Generators Listing](http://github.com/bevry/staticsitegenerators-list/issues).\n\nThe website is created using the following:\n\n-   [Zeit Now v2](https://zeit.co/docs/v2/)\n-   [Zeit Next.js](https://nextjs.org/docs/)\n-   [React Hooks](https://reactjs.org/docs/hooks-intro.html)\n-   [TypeScript](http://npmjs.com/package/@zeit/next-typescript)\n\nThe project is maintained using the following:\n\n-   [Boundation](https://github.com/bevry/boundation)\n-   [Projectz](https://github.com/bevry/projectz)\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; <a href=\"http://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n"
  },
  {
    "path": "components/project.tsx",
    "content": "import React from 'react'\nimport moment from 'moment'\nexport default function Project({ project }: { project: any }) {\n\tconst stars = project.stars ? (\n\t\t<span>\n\t\t\t{project.stars}\n\t\t\t⭐️\n\t\t</span>\n\t) : (\n\t\t''\n\t)\n\tconst name = project.website ? (\n\t\t<a\n\t\t\thref={`${project.website}`}\n\t\t\ttitle={`Visit ${project.name}&rsquo;s website`}\n\t\t>\n\t\t\t{project.name}\n\t\t</a>\n\t) : (\n\t\tproject.name\n\t)\n\tconst github = project.github ? (\n\t\t<a\n\t\t\thref={`https://github.com/${project.github}`}\n\t\t\ttitle={`Visit ${project.name}&rsquo;s GitHub repository`}\n\t\t>\n\t\t\t<i className=\"icon github\" />\n\t\t</a>\n\t) : (\n\t\t''\n\t)\n\treturn (\n\t\t<tr className=\"project\">\n\t\t\t<td className=\"stars\">{stars}</td>\n\t\t\t<td className=\"name\">\n\t\t\t\t<label>\n\t\t\t\t\t{name}\n\t\t\t\t\t{github}\n\t\t\t\t</label>\n\t\t\t\t<span>{project.description}</span>\n\t\t\t</td>\n\t\t\t<td className=\"license\">{project.license || ''}</td>\n\t\t\t<td className=\"language\">{project.language || ''}</td>\n\t\t\t<td className=\"created_at\">\n\t\t\t\t{project.created_at ? moment(project.created_at).fromNow() : ''}\n\t\t\t</td>\n\t\t\t<td className=\"updated_at\">\n\t\t\t\t{project.updated_at ? moment(project.updated_at).fromNow() : ''}\n\t\t\t</td>\n\t\t</tr>\n\t)\n}\n"
  },
  {
    "path": "next-env.d.ts",
    "content": "/// <reference types=\"next\" />\n/// <reference types=\"next/types/global\" />\n"
  },
  {
    "path": "next.config.js",
    "content": "module.exports = {\n\ttarget: 'serverless'\n}\n"
  },
  {
    "path": "now.json",
    "content": "{\n  \"version\": 2,\n  \"name\": \"staticsitegenerators-website\",\n  \"alias\": \"staticsitegenerators.net\",\n  \"routes\": [\n    {\n      \"src\": \"/\",\n      \"headers\": { \"Cache-Control\": \"s-maxage=1800\" }\n    },\n    {\n      \"src\": \"/raw(.json)?\",\n      \"status\": 301,\n      \"headers\": {\n        \"Location\": \"https://unpkg.com/staticsitegenerators@next/raw.json\"\n      }\n    },\n    {\n      \"src\": \"/(list|hydrated)(.json)?\",\n      \"status\": 301,\n      \"headers\": {\n        \"Location\": \"https://unpkg.com/staticsitegenerators@next/hydrated.json\"\n      }\n    }\n  ],\n  \"builds\": [{ \"src\": \"next.config.js\", \"use\": \"@now/next\" }]\n}\n"
  },
  {
    "path": "package.json",
    "content": "{\n  \"name\": \"staticsitegenerators-website\",\n  \"version\": \"1.0.0\",\n  \"private\": true,\n  \"description\": \"Website rendering of staticsitegenerators-list\",\n  \"homepage\": \"https://github.com/bevry/staticsitegenerators-website\",\n  \"license\": \"MIT\",\n  \"keywords\": [\n    \"static site generators\",\n    \"ssgs\",\n    \"static sites\",\n    \"website\",\n    \"static\",\n    \"site\"\n  ],\n  \"badges\": {\n    \"list\": [\n      \"travisci\",\n      \"---\",\n      \"githubsponsors\",\n      \"patreon\",\n      \"flattr\",\n      \"liberapay\",\n      \"buymeacoffee\",\n      \"opencollective\",\n      \"crypto\",\n      \"paypal\",\n      \"wishlist\"\n    ],\n    \"config\": {\n      \"githubSponsorsUsername\": \"balupton\",\n      \"buymeacoffeeUsername\": \"balupton\",\n      \"cryptoURL\": \"https://bevry.me/crypto\",\n      \"flattrUsername\": \"balupton\",\n      \"liberapayUsername\": \"bevry\",\n      \"opencollectiveUsername\": \"bevry\",\n      \"patreonUsername\": \"bevry\",\n      \"paypalURL\": \"https://bevry.me/paypal\",\n      \"wishlistURL\": \"https://bevry.me/wishlist\"\n    }\n  },\n  \"funding\": \"https://bevry.me/fund\",\n  \"author\": \"Benjamin Lupton <b@lupton.cc> (http://balupton.com)\",\n  \"maintainers\": [\n    \"Benjamin Lupton <b@lupton.cc> (http://balupton.com)\"\n  ],\n  \"contributors\": [\n    \"Benjamin Lupton <b@lupton.cc> (http://balupton.com)\",\n    \"Misha Koryak (http://dogself.com)\",\n    \"Michael Westbom <mike@totallymike.org> (https://github.com/totallymike)\",\n    \"Dirk Ginader (http://ginader.com)\",\n    \"George Erickson (gee.io)\",\n    \"Matteo Bertini <matteo@naufraghi.net> (http://www.slug.it/naufraghi/)\",\n    \"dependabot-preview[bot] (http://github.com/apps/dependabot-preview)\"\n  ],\n  \"bugs\": {\n    \"url\": \"https://github.com/bevry/staticsitegenerators-website/issues\"\n  },\n  \"repository\": {\n    \"type\": \"git\",\n    \"url\": \"https://github.com/bevry/staticsitegenerators-website.git\"\n  },\n  \"engines\": {\n    \"node\": \">=12\"\n  },\n  \"editions\": [\n    {\n      \"description\": \"source\",\n      \"directory\": \".\",\n      \"tags\": [\n        \"website\",\n        \"typescript\",\n        \"react\",\n        \"jsx\",\n        \"html\",\n        \"css\",\n        \"import\"\n      ]\n    }\n  ],\n  \"type\": \"commonjs\",\n  \"dependencies\": {\n    \"@types/react\": \"^16.9.16\",\n    \"@types/react-dom\": \"^16.9.4\",\n    \"isomorphic-unfetch\": \"^3.0.0\",\n    \"moment\": \"^2.24.0\",\n    \"next\": \"9.3.2\",\n    \"react\": \"^16.12.0\",\n    \"react-dom\": \"^16.12.0\"\n  },\n  \"devDependencies\": {\n    \"@types/next\": \"^9.0.0\",\n    \"@typescript-eslint/eslint-plugin\": \"^2.11.0\",\n    \"@typescript-eslint/parser\": \"^2.11.0\",\n    \"@zeit/next-typescript\": \"1.1.2-canary.0\",\n    \"assert-helpers\": \"^5.8.0\",\n    \"eslint\": \"^6.7.2\",\n    \"eslint-config-bevry\": \"^2.3.0\",\n    \"eslint-config-prettier\": \"^6.7.0\",\n    \"eslint-plugin-prettier\": \"^3.1.2\",\n    \"eslint-plugin-react\": \"^7.17.0\",\n    \"eslint-plugin-react-hooks\": \"^2.3.0\",\n    \"kava\": \"^4.4.0\",\n    \"now\": \"16.6.4-canary.6\",\n    \"prettier\": \"^1.19.1\",\n    \"projectz\": \"^1.16.0\",\n    \"typescript\": \"^3.7.3\"\n  },\n  \"scripts\": {\n    \"our:clean\": \"rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next\",\n    \"our:compile\": \"npm run our:compile:next\",\n    \"our:compile:next\": \"next build\",\n    \"our:deploy\": \"echo no need for this project\",\n    \"our:meta\": \"npm run our:meta:projectz\",\n    \"our:meta:projectz\": \"projectz compile\",\n    \"our:release\": \"npm run our:release:push\",\n    \"our:release:prepare\": \"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta\",\n    \"our:release:push\": \"git push origin master && git push origin --tags\",\n    \"our:setup\": \"npm run our:setup:install\",\n    \"our:setup:install\": \"npm install\",\n    \"our:test\": \"npm run our:verify && npm test\",\n    \"our:verify\": \"npm run our:verify:eslint && npm run our:verify:prettier && npm run our:verify:stylelint && npm run our:verify:typescript\",\n    \"our:verify:eslint\": \"eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx .\",\n    \"our:verify:prettier\": \"prettier --write ./**\",\n    \"our:verify:stylelint\": \"echo 'disabled due to https://spectrum.chat/zeit/general/resolved-deployments-fail-with-enospc-no-space-left-on-device-write~d1b9f61a-65e8-42a3-9042-f9c6a6fae6fd'\",\n    \"our:verify:typescript\": \"tsc --noEmit --project tsconfig.json\",\n    \"start\": \"npm run our:verify && next dev\",\n    \"test\": \"npm run build\",\n    \"dev\": \"next\",\n    \"build\": \"next build\",\n    \"now-build\": \"npm run our:compile:next\"\n  },\n  \"eslintConfig\": {\n    \"extends\": [\n      \"bevry\"\n    ]\n  },\n  \"prettier\": {\n    \"semi\": false,\n    \"singleQuote\": true\n  }\n}\n"
  },
  {
    "path": "pages/index.tsx",
    "content": "import React, { useState } from 'react'\nimport Head from 'next/head'\nimport fetch from 'isomorphic-unfetch'\nimport moment from 'moment'\nimport Project from '../components/project'\n\ntype List = Array<any>\ntype Direction = -1 | 1\n\nconst numericCompare = (a: number, b: number) => a - b\nconst alphaCompare = (a: any, b: any) => (a < b ? -1 : a > b ? 1 : 0)\nconst lower = (value: any) => String(value || '').toLowerCase()\nconst number = (value: any) => value || 0\nconst date = (value: any) => moment(value || 0).unix()\n\ninterface Column {\n\tid: string\n\tname: string\n\tparse: (value: any) => any\n\tcompare: (a: any, b: any) => number\n\tdirection?: Direction\n}\ninterface Table {\n\tcolumns: Column[]\n\tlist: List\n\tlast?: string\n}\n\nexport default function IndexPage({ listing }: { listing: List }) {\n\tconst [table, setTable] = useState<Table>({\n\t\tcolumns: [\n\t\t\t{\n\t\t\t\tid: 'stars',\n\t\t\t\tname: 'Stars',\n\t\t\t\tparse: number,\n\t\t\t\tcompare: numericCompare\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: 'name',\n\t\t\t\tname: 'Name',\n\t\t\t\tparse: lower,\n\t\t\t\tcompare: alphaCompare\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: 'license',\n\t\t\t\tname: 'License',\n\t\t\t\tparse: lower,\n\t\t\t\tcompare: alphaCompare\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: 'language',\n\t\t\t\tname: 'Language',\n\t\t\t\tparse: lower,\n\t\t\t\tcompare: alphaCompare\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: 'created_at',\n\t\t\t\tname: 'Created',\n\t\t\t\tparse: date,\n\t\t\t\tcompare: numericCompare\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: 'updated_at',\n\t\t\t\tname: 'Updated',\n\t\t\t\tparse: date,\n\t\t\t\tcompare: numericCompare\n\t\t\t}\n\t\t],\n\t\tlist: listing\n\t})\n\n\tfunction updateOrder(key: string) {\n\t\tconst columns = table.columns.slice()\n\t\tconst column = columns.find(column => column.id === key)\n\t\tif (!column) throw new Error('could not find the column')\n\t\tcolumn.direction = column.direction === -1 ? 1 : -1\n\t\tconst list = table.list.sort(function(A, B) {\n\t\t\tconst a = column.parse(A[column.id])\n\t\t\tconst b = column.parse(B[column.id])\n\t\t\tconst z = column.compare(a, b) * (column.direction as number)\n\t\t\treturn z\n\t\t})\n\t\tsetTable({ columns, list, last: key })\n\t}\n\n\tfunction handleOrder(key: string) {\n\t\treturn () => updateOrder(key)\n\t}\n\tfunction getDirectionIcon(value: Direction) {\n\t\treturn value === -1 ? '⬇️' : '⬆️'\n\t}\n\n\tconst items = table.list.map(project => (\n\t\t<Project key={project.id} project={project} />\n\t))\n\n\treturn (\n\t\t<div>\n\t\t\t<Head>\n\t\t\t\t<title>Static Site Generators</title>\n\t\t\t\t<meta\n\t\t\t\t\tname=\"keywords\"\n\t\t\t\t\tcontent=\"static site generator, static site, static, site, web site, web app, app, application, web application, seo, search engine optimisation, fast, flat file, cms, content management system, nosql, node.js, ruby, javascript, python\"\n\t\t\t\t/>\n\t\t\t\t<link rel=\"stylesheet\" href=\"//unpkg.com/normalize.css/normalize.css\" />\n\t\t\t\t<link rel=\"stylesheet\" href=\"/style.css\" />\n\t\t\t</Head>\n\n\t\t\t<header className=\"header\">\n\t\t\t\t<h1>Static Site Generators</h1>\n\t\t\t\t<h2>\n\t\t\t\t\tThe definitive listing of Static Site Generators &mdash; all{' '}\n\t\t\t\t\t{table.list.length} of them!\n\t\t\t\t</h2>\n\t\t\t</header>\n\n\t\t\t<article>\n\t\t\t\t<table>\n\t\t\t\t\t<thead>\n\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t{table.columns.map(column => (\n\t\t\t\t\t\t\t\t<th\n\t\t\t\t\t\t\t\t\tkey={column.id}\n\t\t\t\t\t\t\t\t\tclassName={column.id}\n\t\t\t\t\t\t\t\t\tonClick={handleOrder(column.id)}\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t{column.name}{' '}\n\t\t\t\t\t\t\t\t\t{table.last === column.id\n\t\t\t\t\t\t\t\t\t\t? getDirectionIcon(column.direction as Direction)\n\t\t\t\t\t\t\t\t\t\t: ''}\n\t\t\t\t\t\t\t\t</th>\n\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t</tr>\n\t\t\t\t\t</thead>\n\t\t\t\t\t<tbody>{items}</tbody>\n\t\t\t\t\t<tfoot />\n\t\t\t\t</table>\n\n\t\t\t\t<footer>\n\t\t\t\t\t<a\n\t\t\t\t\t\thref=\"https://github.com/bevry/staticsitegenerators-list\"\n\t\t\t\t\t\ttitle=\"Update this static site generator listing\"\n\t\t\t\t\t>\n\t\t\t\t\t\tUpdate Listing\n\t\t\t\t\t</a>\n\t\t\t\t\t<a\n\t\t\t\t\t\thref=\"https://github.com/bevry/staticsitegenerators-website\"\n\t\t\t\t\t\ttitle=\"Update this website&rsquo;s content\"\n\t\t\t\t\t>\n\t\t\t\t\t\tUpdate Website\n\t\t\t\t\t</a>\n\t\t\t\t\t<a href=\"/list.json\" title=\"Get the listing in the JSON data format\">\n\t\t\t\t\t\tJSON Data\n\t\t\t\t\t</a>\n\t\t\t\t</footer>\n\t\t\t</article>\n\t\t</div>\n\t)\n}\n\nIndexPage.getInitialProps = async function() {\n\tconst url = '/list.json'\n\tconst res = await fetch(url)\n\tconst json = await res.json()\n\treturn { listing: json }\n}\n"
  },
  {
    "path": "public/robots.txt",
    "content": "# robotstxt.org/\n\nUser-agent: *\n"
  },
  {
    "path": "public/style.css",
    "content": "body {\n\tfont-family: -apple-system-body, sans-serif;\n}\nh1,\nh2,\nth {\n\tfont-family: -apple-system-headline, serif;\n}\nh1,\nh2 {\n\tmargin: 0;\n\tpadding: 0;\n}\nh1 {\n\tfont-size: 1.5em;\n}\nh2 {\n\tfont-size: 1em;\n}\nth {\n\tfont-size: 110%;\n}\na {\n\ttext-decoration: none;\n}\na:hover {\n\ttext-decoration: underline;\n}\nfooter {\n\tmargin: 2em;\n}\nfooter a {\n\tmargin: 1em;\n}\ntable {\n\tcursor: default;\n\tborder-collapse: collapse;\n}\nthead {\n\tbackground-color: #eee;\n\tcolor: #666;\n\tfont-weight: bold;\n\tcursor: pointer;\n}\nth {\n\tcolor: #000;\n\tpadding: 0.4em 0.5em;\n\tborder: 1px solid #999;\n\tborder-right: 0;\n}\ntd {\n\tpadding: 1em 0;\n\tborder-bottom: 1px solid #eee;\n}\ntr:hover {\n\tbackground: #eee;\n}\n.name {\n\twidth: 100%;\n\ttext-align: left;\n\tpadding: 0.5em 0.5em;\n}\n.name label {\n\tfont-weight: bold;\n\tdisplay: block;\n}\ntr:not(:hover) .name span {\n\tcolor: #777;\n}\n.stars {\n\tmin-width: 4em;\n}\ntd.stars {\n\ttext-align: right;\n\tfont-family: monospace;\n}\n.license,\n.language,\n.created_at,\n.updated_at {\n\ttext-align: center;\n}\n.license {\n\tmin-width: 7em;\n}\n.created_at,\n.updated_at {\n\tmin-width: 6em;\n}\n.icon {\n\theight: 16px;\n\twidth: 16px;\n\tdisplay: inline-block;\n\tcolor: #111;\n\toverflow: hidden;\n\tvertical-align: top;\n\tbox-sizing: border-box;\n\tfill: currentColor;\n\tmargin: 0 0.5em;\n\topacity: 0.2;\n}\n.icon.github {\n\tbackground-image: url('./github.svg');\n}\na:hover .icon {\n\topacity: 1;\n}\n"
  },
  {
    "path": "tsconfig.json",
    "content": "{\n  \"compilerOptions\": {\n    \"allowJs\": true,\n    \"allowSyntheticDefaultImports\": true,\n    \"jsx\": \"preserve\",\n    \"lib\": [\"dom\", \"esnext\"],\n    \"maxNodeModuleJsDepth\": 5,\n    \"module\": \"esnext\",\n    \"moduleResolution\": \"node\",\n    \"sourceMap\": true,\n    \"strict\": true,\n    \"target\": \"esnext\",\n    \"skipLibCheck\": true,\n    \"forceConsistentCasingInFileNames\": true,\n    \"noEmit\": true,\n    \"esModuleInterop\": true,\n    \"resolveJsonModule\": true,\n    \"isolatedModules\": true\n  },\n  \"include\": [\"client\", \"pages\", \"scripts\", \"server\", \"shared\"],\n  \"exclude\": [\"node_modules\"]\n}\n"
  }
]