{"id":39075629,"url":"https://github.com/cloud-gov/site","last_synced_at":"2026-01-17T18:26:27.797Z","repository":{"id":257868890,"uuid":"863060676","full_name":"cloud-gov/site","owner":"cloud-gov","description":"The cloud.gov website","archived":false,"fork":false,"pushed_at":"2026-01-15T02:07:48.000Z","size":42655,"stargazers_count":2,"open_issues_count":7,"forks_count":2,"subscribers_count":9,"default_branch":"main","last_synced_at":"2026-01-15T08:38:18.724Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://cloud.gov","language":"Astro","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cloud-gov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-09-25T16:39:19.000Z","updated_at":"2025-10-09T19:14:48.000Z","dependencies_parsed_at":"2024-10-24T23:37:42.404Z","dependency_job_id":"20f4ddd6-5508-4441-b0dd-ef8680e70df3","html_url":"https://github.com/cloud-gov/site","commit_stats":null,"previous_names":["cloud-gov/site"],"tags_count":0,"template":false,"template_full_name":"cloud-gov/pages-uswds-11ty","purl":"pkg:github/cloud-gov/site","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud-gov%2Fsite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud-gov%2Fsite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud-gov%2Fsite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud-gov%2Fsite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloud-gov","download_url":"https://codeload.github.com/cloud-gov/site/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud-gov%2Fsite/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28515471,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T17:57:59.192Z","status":"ssl_error","status_checked_at":"2026-01-17T17:57:52.527Z","response_time":85,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2026-01-17T18:26:27.684Z","updated_at":"2026-01-17T18:26:27.769Z","avatar_url":"https://github.com/cloud-gov.png","language":"Astro","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cloud.gov Public Website\n\nThis repo uses Astro to build a static site, ready to be hosted on [Cloud.gov Pages](https://cloud.gov/pages/).\n\n## Local Development\n\n`npm i` to install packages (use the LTS version of NodeJS)\n\n`npm run dev` to copy USWDS assets and start a dev server\n\nView the website at \u003chttp://localhost:4321\u003e\n\n`npm run build` to build all assets locally\n\n`npm run federalist` to approximate the build that happens on Pages.\n\nPlease review the [Astro developer documentation](https://docs.astro.build/en/getting-started/) if you're going to make code changes.\n\n### Env variables \u0026 baseurl\nBecause Pages preview links deploy to subdirectory paths and not root-level domains, it's important to make sure there's a `FEDERALIST_URL` environment variable provided for production builds other than the final live domain. To build absolute asset paths correctly (like the sitemap and canonical URLs), the build process must provide the entire domain, including protocol (`\"https://federalist-12345.sites.pages.cloud.gov/\"`) and any containing directories. In production, the build process automatically prefixes relative urls automatically build for federalist previews of any branch other than `main`, using the ENV variables provided by Pages. See https://docs.cloud.gov/pages/developers/env-vars-on-pages-builds\n\nIn order to keep links easy whether we're building the site at the root level or within a folder, this layout makes use of the rarely-seen `\u003cbase\u003e` [element](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/base) to prefix all non-absolute links. This means that page links which direct to `[this website]/foo` are defined without the first slash (`link: 'foo'`) in YAML and output without the first slash in HTML (`\u003ca href=\"foo\"`). \n\n## Editing Content\n\nThe site's content is in YAML or JSON data so that it can be easily edited from the GitHub web interface if you're not running the site locally.\n\nIn `/src/data/`, you'll see some data files and a folder titled `pages`. All of the page-specific content is in a `page/[name].yaml` file. Sitewide content is in `sitewide.yaml`. You can edit the link in the header and footer in `header.ts` or `footer.ts` \n\nThe order of the page sections in the HTML is controlled elsewhere. If you need to re-order the sections on a given page, or if you've renamed a key in your page's YAML file, check the `src/pages/` folder for the `.astro` page, and update the order of the components or key name in that file. \n\n```js\n  \u003cHero {...content.hero} /\u003e\n  \u003cTiles {...content.g2g} /\u003e\n  \u003cCTA {...sitewide.freeSandbox} /\u003e\n```\n\nThe content sections all accept:\n  - a `heading` field\n  - an `intro` field (parsed as markdown)\n  - a `content` field (parsed as markdown)\n  - an `outro` field (parsed as markdown)\n  - a string of extra `classes` for the containing element\n  - an `art` field which adds a pre-defined background illustration\n  - a `color` field which applies a pre-defined color theme to this section\n  - an `id` field which allows you to specify a unique anchor to this section for in-page linking\n  - a `buttons` list, which can show zero, one, or more large buttons, each expecting:\n      - a `label` which is the button text in sentence case\n      - a `url` which should follow the conventions above (omit the first slash for relative links)\n      - a `variant` if you wish to specify a color(`accent-warm`) or style (`outline`)\n\nAll of the above are optional, so if you don't want something, just omit it.\n\nSome sections also use lists to show content in colums, lists, or cards. These all follow the same structure as well, within an `items` array:\n  - a `heading` field\n  - a `text` field (parsed as markdown)\n  - an `icon` field which will choose from one of the [USWDS icons](https://designsystem.digital.gov/components/icon/) by name (`add_circle`)\n  - a `button` element which has the same `label`, `url`, and `variant` button options above. \n    The Tiles component allow you to specify whether the whole item is clickable, and to what url, using `link`. Do not use both of these together.\n    The Topics component will style this \"button\" as a text link.\n\n### Adding new pages\n\nAdd a new `src/pages/[page].astro` file and its corresponding `src/data/pages[page].yaml`. Make sure your new astro file points to the content at your new YAML file. Match your YAML keys to the objects you're passing into the components. \n\n### Changing URLs\n\nRename the [page].astro filename to change the path. (Really, it's ok) This is not controlled by the page YAML file. **AND THEN:**\n\n### Deleting pages / Redirects\n\nPlease add redirects to `redirects.ts` in the format:\n\n```'/old': '/new',```\n\n**whenever** you delete or rename a page url. (Images and other assets can 404).\n\n### Adding images\n\nThere are two places for images:\n`src/assets/` is home to the images that are dynamically accessed and inserted into the page HTML at build time. These are minified and hashed by Astro, and their actual paths on the website are not stable. You cannot safely link directly to these assets using `src` or `href`, or in Markdown.\n\n`public/assets/img` is the place for any images that are loaded by the CSS, like background images. These are also assets that do not change (or change infrequently), so their URLs are stable. \n\n\n## Contributing\n\nSee [CONTRIBUTING](CONTRIBUTING.md) for additional information.\n\n## Public domain\n\nThis project is in the worldwide [public domain](LICENSE.md). As stated in [CONTRIBUTING](CONTRIBUTING.md):\n\n\u003e This project is in the public domain within the United States, and copyright\n\u003e and related rights in the work worldwide are waived through the [CC0 1.0\n\u003e Universal public domain dedication](https://creativecommons.org/publicdomain/zero/1.0/).\n\u003e\n\u003e All contributions to this project will be released under the CC0 dedication.\n\u003e By submitting a pull request, you are agreeing to comply with this waiver of\n\u003e copyright interest.\n\nSee [CONTRIBUTING](CONTRIBUTING.md) for additional information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloud-gov%2Fsite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloud-gov%2Fsite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloud-gov%2Fsite/lists"}