{"id":20821701,"url":"https://github.com/red/web-foundation","last_synced_at":"2026-02-10T15:46:07.690Z","repository":{"id":90062715,"uuid":"142217396","full_name":"red/web-foundation","owner":"red","description":"foundation.red-lang.org site","archived":false,"fork":false,"pushed_at":"2018-10-26T21:00:31.000Z","size":1487,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-01-18T16:49:01.606Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/red.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-24T22:04:37.000Z","updated_at":"2018-10-26T21:00:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"e8c9042c-7141-40f6-9934-b2b8fa131c91","html_url":"https://github.com/red/web-foundation","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/red%2Fweb-foundation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/red%2Fweb-foundation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/red%2Fweb-foundation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/red%2Fweb-foundation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/red","download_url":"https://codeload.github.com/red/web-foundation/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243167817,"owners_count":20247189,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-17T22:12:54.710Z","updated_at":"2026-02-10T15:46:07.666Z","avatar_url":"https://github.com/red.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Red Foundation website\n\nThis is the site source.\n\n## Building the site\n\n1. Install Node 8+ (I recommend using [nvm](https://github.com/creationix/nvm) or [nvm-windows](https://github.com/coreybutler/nvm-windows/releases))\n2. Install [Hugo](https://gohugo.io/getting-started/installing) - You can test that it's working by running `hugo` after the executable is available in your $PATH. If run from just any old directory, it should complain \"unable to locate config file,\" which means it's working.\n3. Install [Yarn](https://yarnpkg.com/en/)\n4. Clone this repository\n    * If you are using HTTPS (not SSH), you'll need to update the submodule reference in your clone to the theme directory to HTTPS as well. See [this answer](https://stackoverflow.com/a/30885128/2486583).\n5. Run `git submodule update --init --recursive` to initialize the theme submodule after cloning.\n4. Go to the directory where you cloned this repo and run `yarn install` to install dependencies\n5. Run `yarn start`\n6. Visit http://localhost:1313\n\nTo build for production, run `yarn build`. The rendered site will be in the public/ dir.\n\nSee other scripts in package.json.\n\n## Recommended dev environment\n\nVS Code (this will use the workspace settings defined in .vscode/settings.json) with [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint), [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode), and [stylelint](https://marketplace.visualstudio.com/items?itemName=shinnn.stylelint) extensions installed. Linting and formatting will automatically run with a git hook, but these give you faster feedback.\n\n## Working with the theme git submodule\n\nTo pull in submodule changes:\n\n```\n$ git submodule update --remote --merge\n$ git commit -a -m \"submodule updated\"\n```\n\nTo push changes made in theme submodule (while within themes/featherweight directory):\n\n```\n$ git commit -a -m \"updates\"\n$ git push origin HEAD:\u003cbranch-name-in-theme-repo\u003e\n```\n\n## Useful things\n\n[Embed Responsively](http://embedresponsively.com/) will give you YouTube/Vimeo embed codes that work responsively (see 1up-media.html template partial for example).\n\nPhotos are not automatically resized when added through Netlify CMS, so resize/crush them before uploading.\n\nGetting familiar with [Go templates](https://golang.org/pkg/text/template/) is very handy for working with Hugo. Here's a [good tutorial](https://code.tutsplus.com/tutorials/text-generation-with-go-templates--cms-30441).\n\nPretty printing Hugo variables for debug: https://gist.github.com/kaushalmodi/afb6c3e5098eccc028bddc91cf1eb53a\n\nFind the right syntax for your YAML multiline strings - https://yaml-multiline.info/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fred%2Fweb-foundation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fred%2Fweb-foundation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fred%2Fweb-foundation/lists"}