commit | 02702de4cf90df25e4432178c49f31faa0955f65 | [log] [tgz] |
---|---|---|
author | Dirk Pranke <dpranke@google.com> | Thu Oct 28 15:02:57 2021 |
committer | chromium-website-scoped@luci-project-accounts.iam.gserviceaccount.com <chromium-website-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Oct 28 15:04:28 2021 |
tree | cba9744318f0186945937cea2c6d93430b146750 | |
parent | 15147f1fa514493d565ecbc160e339218fe5b95e [diff] |
Fix passthrough copy of files in //site. We were running `eleventy --passthroughall` as part of the build process, which would copy *every* file over to //build, even things like the *.sha1 file that we didn't want. This CL replaces that logic with a list of file extensions to copy over, which should be closer to correct (though not yet perfect). Change-Id: Iae39c86e02c76cb92b97eb1882a58212a8310697 Reviewed-on: https://chromium-review.googlesource.com/c/experimental/website/+/3248177 Commit-Queue: Dirk Pranke <dpranke@google.com> Reviewed-by: Struan Shrimpton <sshrimp@google.com>
This Git repo contains the source content for www.chromium.org.
NOTE: 2021-10-19. This is not (yet) actually true. This is a work-in-progress repo that we plan to move to.
The website is implemented by serving static content (mostly Markdown files) that is translated / built ahead of time into HTML using the Eleventy static site generator (which is written in Node/JS) and deployed onto Firebase Cloud Hosting.
The Markdown is translated using a single extremely simple Nunjucks template and the site is served with a single basic Sass/SCSS stylesheet (using the Node/NPM library version of Sass).
Large objects (PDFs, big images, etc.) are stored in a Google Cloud Storage bucket, indexed by SHA-1 checksums that are committed into this repo.
See //docs/CONTRIBUTING.md if you wish to contribute to the site.