diff --git a/.cspell.json b/.cspell.json
new file mode 100644
index 0000000..b337528
--- /dev/null
+++ b/.cspell.json
@@ -0,0 +1,20 @@
+{
+ "version": "0.2",
+ "words": [
+ "codeql",
+ "devdeps",
+ "FOUC",
+ "lighttpd",
+ "mkdir",
+ "modernizr",
+ "robotstxt",
+ "vuejs",
+ "cpina"
+ ],
+ "language": "en,en-GB,en-US",
+ "allowCompoundWords": true,
+ "files": ["**/*.md"],
+ "ignoreRegExpList": ["\\_\\w+", "\\#\\w+"],
+ "ignorePaths": [".cspell.json"],
+ "useGitignore": true
+}
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..1609791
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,16 @@
+# For more information about the properties used in
+# this file, please see the EditorConfig documentation:
+# https://editorconfig.org/
+
+root = true
+
+[*]
+charset = utf-8
+end_of_line = lf
+indent_size = 2
+indent_style = space
+insert_final_newline = true
+trim_trailing_whitespace = true
+
+[*.md]
+trim_trailing_whitespace = false
diff --git a/.eslintrc.js b/.eslintrc.js
new file mode 100644
index 0000000..8ede1df
--- /dev/null
+++ b/.eslintrc.js
@@ -0,0 +1,19 @@
+module.exports = {
+ env: {
+ browser: true,
+ es6: true,
+ mocha: true,
+ node: true,
+ },
+ plugins: ['mocha'],
+ extends: 'eslint:recommended',
+ parserOptions: {
+ ecmaVersion: 2020,
+ sourceType: 'module',
+ },
+ rules: {
+ indent: ['error', 2],
+ quotes: ['error', 'single'],
+ semi: ['error', 'always'],
+ },
+};
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..c664a90
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,194 @@
+## GITATTRIBUTES FOR WEB PROJECTS
+#
+# These settings are for any web project.
+#
+# Details per file setting:
+# text These files should be normalized (i.e. convert CRLF to LF).
+# binary These files are binary and should be left untouched.
+#
+# Note that binary is a macro for -text -diff.
+######################################################################
+
+## AUTO-DETECT
+## Handle line endings automatically for files detected as
+## text and leave all files detected as binary untouched.
+## This will handle all files NOT defined below.
+* text=auto
+
+## SOURCE CODE
+*.bat text eol=crlf
+*.coffee text
+*.css text
+*.htm text
+*.html text
+*.inc text
+*.ini text
+*.js text
+*.json text
+*.jsx text
+*.less text
+*.od text
+*.onlydata text
+*.php text
+*.pl text
+*.py text
+*.rb text
+*.sass text
+*.scm text
+*.scss text
+*.sh text eol=lf
+*.sql text
+*.styl text
+*.tag text
+*.ts text
+*.tsx text
+*.xml text
+*.xhtml text
+
+## DOCKER
+*.dockerignore text
+Dockerfile text
+
+## DOCUMENTATION
+*.markdown text
+*.md text
+*.mdwn text
+*.mdown text
+*.mkd text
+*.mkdn text
+*.mdtxt text
+*.mdtext text
+*.txt text
+AUTHORS text
+CHANGELOG text
+CHANGES text
+CONTRIBUTING text
+COPYING text
+copyright text
+*COPYRIGHT* text
+INSTALL text
+license text
+LICENSE text
+NEWS text
+readme text
+*README* text
+TODO text
+
+## TEMPLATES
+*.dot text
+*.ejs text
+*.haml text
+*.handlebars text
+*.hbs text
+*.hbt text
+*.jade text
+*.latte text
+*.mustache text
+*.njk text
+*.phtml text
+*.tmpl text
+*.tpl text
+*.twig text
+
+## LINTERS
+.babelrc text
+.csslintrc text
+.eslintrc text
+.htmlhintrc text
+.jscsrc text
+.jshintrc text
+.jshintignore text
+.prettierrc text
+.stylelintrc text
+
+## CONFIGS
+*.bowerrc text
+*.cnf text
+*.conf text
+*.config text
+.browserslistrc text
+.editorconfig text
+.gitattributes text
+.gitconfig text
+.gitignore text
+.htaccess text
+*.npmignore text
+*.yaml text
+*.yml text
+browserslist text
+Makefile text
+makefile text
+
+## HEROKU
+Procfile text
+.slugignore text
+
+## GRAPHICS
+*.ai binary
+*.bmp binary
+*.eps binary
+*.gif binary
+*.ico binary
+*.jng binary
+*.jp2 binary
+*.jpg binary
+*.jpeg binary
+*.jpx binary
+*.jxr binary
+*.pdf binary
+*.png binary
+*.psb binary
+*.psd binary
+*.svg text
+*.svgz binary
+*.tif binary
+*.tiff binary
+*.wbmp binary
+*.webp binary
+
+## AUDIO
+*.kar binary
+*.m4a binary
+*.mid binary
+*.midi binary
+*.mp3 binary
+*.ogg binary
+*.ra binary
+
+## VIDEO
+*.3gpp binary
+*.3gp binary
+*.as binary
+*.asf binary
+*.asx binary
+*.fla binary
+*.flv binary
+*.m4v binary
+*.mng binary
+*.mov binary
+*.mp4 binary
+*.mpeg binary
+*.mpg binary
+*.ogv binary
+*.swc binary
+*.swf binary
+*.webm binary
+
+## ARCHIVES
+*.7z binary
+*.gz binary
+*.jar binary
+*.rar binary
+*.tar binary
+*.zip binary
+
+## FONTS
+*.ttf binary
+*.eot binary
+*.otf binary
+*.woff binary
+*.woff2 binary
+
+## EXECUTABLES
+*.exe binary
+*.pyc binary
diff --git a/.github/CODE_OF_CONDUCT.md b/.github/CODE_OF_CONDUCT.md
new file mode 100644
index 0000000..3950322
--- /dev/null
+++ b/.github/CODE_OF_CONDUCT.md
@@ -0,0 +1,46 @@
+# Contributor Covenant Code of Conduct
+
+## Our Pledge
+
+In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
+
+## Our Standards
+
+Examples of behavior that contributes to creating a positive environment include:
+
+- Using welcoming and inclusive language
+- Being respectful of differing viewpoints and experiences
+- Gracefully accepting constructive criticism
+- Focusing on what is best for the community
+- Showing empathy towards other community members
+
+Examples of unacceptable behavior by participants include:
+
+- The use of sexualized language or imagery and unwelcome sexual attention or advances
+- Trolling, insulting/derogatory comments, and personal or political attacks
+- Public or private harassment
+- Publishing others' private information, such as a physical or electronic address, without explicit permission
+- Other conduct which could reasonably be considered inappropriate in a professional setting
+
+## Our Responsibilities
+
+Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
+
+Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
+
+## Scope
+
+This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
+
+## Enforcement
+
+Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at h5bp@htmlcssjavascript.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
+
+Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
+
+## Attribution
+
+This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [https://contributor-covenant.org/version/1/4][version]
+
+[homepage]: https://contributor-covenant.org
+[version]: https://contributor-covenant.org/version/1/4/
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md
new file mode 100644
index 0000000..883a5b2
--- /dev/null
+++ b/.github/CONTRIBUTING.md
@@ -0,0 +1,171 @@
+# Contributing to HTML5 Boilerplate
+
+♥ [HTML5 Boilerplate](https://html5boilerplate.com/) and want to get involved?
+Thanks! We're actively looking for folks interested in helping out and there
+are plenty of ways you can help!
+
+Please take a moment to review this document in order to make the contribution
+process easy and effective for everyone involved.
+
+Following these guidelines helps to communicate that you respect the time of
+the developers managing and developing this open source project. In return,
+they should reciprocate that respect in addressing your issue or assessing
+patches and features.
+
+## Using the issue tracker
+
+The [issue tracker](https://github.com/h5bp/html5-boilerplate/issues) is
+the preferred channel for [bug reports](#bugs), [features requests](#features)
+and [submitting pull requests](#pull-requests), but please respect the following
+restrictions:
+
+- Please **do not** use the issue tracker for personal support requests (use
+ [Stack Overflow](https://stackoverflow.com/questions/tagged/html5boilerplate)).
+
+- Please **do not** derail or troll issues. Keep the discussion on topic and
+ respect the opinions of others.
+
+
+
+## Bug reports
+
+A bug is a _demonstrable problem_ that is caused by the code in the repository.
+Good bug reports are extremely helpful - thank you!
+
+Guidelines for bug reports:
+
+1. **Use the GitHub issue search** — check if the issue has already been
+ reported.
+
+2. **Check if the issue has been fixed** — try to reproduce it using the
+ latest `main` or development branch in the repository.
+
+3. **Isolate the problem** — ideally create a [reduced test
+ case](https://css-tricks.com/reduced-test-cases/) and a live example.
+
+A good bug report shouldn't leave others needing to chase you up for more
+information. Please try to be as detailed as possible in your report. What is
+your environment? What steps will reproduce the issue? What browser(s) and OS
+experience the problem? What would you expect to be the outcome? All these
+details will help people to fix any potential bugs.
+
+Example:
+
+> Short and descriptive example bug report title
+>
+> A summary of the issue and the browser/OS environment in which it occurs. If
+> suitable, include the steps required to reproduce the bug.
+>
+> 1. This is the first step
+> 2. This is the second step
+> 3. Further steps, etc.
+>
+> `` - a link to the reduced test case
+>
+> Any other information you want to share that is relevant to the issue being
+> reported. This might include the lines of code that you have identified as
+> causing the bug, and potential solutions (and your opinions on their
+> merits).
+
+
+
+## Feature requests
+
+Feature requests are welcome. But take a moment to find out whether your idea
+fits with the scope and aims of the project. It's up to _you_ to make a strong
+case to convince the project's developers of the merits of this feature. Please
+provide as much detail and context as possible.
+
+
+
+## Pull requests
+
+Good pull requests - patches, improvements, new features - are a fantastic
+help. They should remain focused in scope and avoid containing unrelated
+commits.
+
+**Please ask first** before embarking on any significant pull request (e.g.
+implementing features, refactoring code, porting to a different language),
+otherwise you risk spending a lot of time working on something that the
+project's developers might not want to merge into the project.
+
+Please adhere to the coding conventions used throughout a project (indentation,
+accurate comments, etc.) and any other requirements (such as test coverage).
+
+Adhering to the following process is the best way to get your work
+included in the project:
+
+1. [Fork](https://help.github.com/articles/fork-a-repo/) the project, clone your
+ fork, and configure the remotes:
+
+ ```bash
+ # Clone your fork of the repo into the current directory
+ git clone https://github.com//html5-boilerplate.git
+ # Navigate to the newly cloned directory
+ cd html5-boilerplate
+ # Assign the original repo to a remote called "upstream"
+ git remote add upstream https://github.com/h5bp/html5-boilerplate.git
+ ```
+
+2. If you cloned a while ago, get the latest changes from upstream:
+
+ ```bash
+ git checkout main
+ git pull upstream main
+ ```
+
+3. Create a new topic branch (off the main project development branch) to
+ contain your feature, change, or fix:
+
+ ```bash
+ git checkout -b
+ ```
+
+4. Install locked dependencies:
+
+ ```bash
+ npm ci
+ ```
+
+ Ensure that your `node` and `npm` versions are compatible with the `engines`
+ specification in `package.json`.
+
+5. Commit your changes in logical chunks. Please adhere to these [git commit
+ message guidelines](https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html)
+ or your code is unlikely be merged into the main project. Use Git's
+ [interactive rebase](https://help.github.com/articles/about-git-rebase/)
+ feature to tidy up your commits before making them public.
+
+6. Locally merge (or rebase) the upstream development branch into your topic branch:
+
+ ```bash
+ git pull [--rebase] upstream main
+ ```
+
+7. Update any applicable test cases and run tests:
+
+ ```bash
+ npm run test
+ ```
+
+ Tests must cover changes and pass to be accepted.
+
+8. Run build and commit changes to dist:
+
+ ```bash
+ npm run build
+ git add dist/
+ git commit
+ ```
+
+9. Push your topic branch up to your fork:
+
+ ```bash
+ git push origin
+ ```
+
+10. [Open a Pull Request](https://help.github.com/articles/using-pull-requests/)
+ with a clear title and description.
+
+**IMPORTANT**: By submitting a patch, you agree to allow the project
+owners to license your work under the terms of the [MIT License](LICENSE.txt).
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
new file mode 100644
index 0000000..8777020
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug_report.yml
@@ -0,0 +1,61 @@
+name: Report a bug
+description: Tell us about a bug or issue you may have identified in HTML5 Boilerplate.
+title: "Provide a general summary of the issue"
+labels: [bug]
+assignees: "-"
+body:
+ - type: checkboxes
+ attributes:
+ label: Prerequisites
+ description: Take a couple minutes to help our maintainers work faster.
+ options:
+ - label: I have [searched](https://github.com/h5bp/html5-boilerplate/issues?utf8=%E2%9C%93&q=is%3Aissue) for duplicate or closed issues
+ required: true
+ - label: I have read the [contributing guidelines](https://github.com/h5bp/html5-boilerplate/blob/main/.github/CONTRIBUTING.md)
+ required: true
+ - type: textarea
+ id: what-happened
+ attributes:
+ label: Describe the issue
+ description: Provide a summary of the issue and what you expected to happen, including specific steps to reproduce.
+ validations:
+ required: true
+ - type: textarea
+ id: reduced-test-case
+ attributes:
+ label: Reduced test cases
+ description: Include links [reduced test case](https://css-tricks.com/reduced-test-cases/) links.
+ validations:
+ required: false
+ - type: dropdown
+ id: os
+ attributes:
+ label: What operating system(s) are you seeing the problem on?
+ multiple: true
+ options:
+ - Windows
+ - macOS
+ - Android
+ - iOS
+ - Linux
+ validations:
+ required: true
+ - type: dropdown
+ id: browser
+ attributes:
+ label: What browser(s) are you seeing the problem on?
+ multiple: true
+ options:
+ - Chrome
+ - Safari
+ - Firefox
+ - Microsoft Edge
+ - Opera
+ - Development Environment
+ - type: input
+ id: version
+ attributes:
+ label: What version of HTML% Boilerplate are you using?
+ placeholder: "e.g., v8.0.0 or v7.1.0"
+ validations:
+ required: true
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
new file mode 100644
index 0000000..1674bdf
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -0,0 +1,5 @@
+blank_issues_enabled: false
+contact_links:
+ - name: Ask the community
+ url: https://github.com/h5bp/html5-boilerplate/discussions/new
+ about: Ask and discuss questions with other HTML5 Boilerplate community members.
diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml
new file mode 100644
index 0000000..f5a2dc7
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/feature_request.yml
@@ -0,0 +1,29 @@
+name: Feature request
+description: Suggest new or updated features to include in HTML5 Boilerplate.
+title: "Suggest a new feature"
+labels: [feature]
+assignees: []
+body:
+ - type: checkboxes
+ attributes:
+ label: Prerequisites
+ description: Take a couple minutes to help our maintainers work faster.
+ options:
+ - label: I have [searched](https://github.com/h5bp/html5-boilerplate/issues?utf8=%E2%9C%93&q=is%3Aissue) for duplicate or closed issues
+ required: true
+ - label: I have read the [contributing guidelines](https://github.com/h5bp/html5-boilerplate/blob/main/.github/CONTRIBUTING.md)
+ required: true
+ - type: textarea
+ id: proposal
+ attributes:
+ label: Proposal
+ description: Provide detailed information for what we should add, including relevant links to prior art, screenshots, or live demos whenever possible.
+ validations:
+ required: true
+ - type: textarea
+ id: motivation
+ attributes:
+ label: Motivation and context
+ description: Tell us why this change is needed or helpful, and what problems it may help solve.
+ validations:
+ required: true
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
new file mode 100644
index 0000000..196744a
--- /dev/null
+++ b/.github/PULL_REQUEST_TEMPLATE.md
@@ -0,0 +1,23 @@
+## Types of changes
+
+
+
+- [ ] Bug fix (non-breaking change which fixes an issue)
+- [ ] New feature (non-breaking change which adds functionality)
+- [ ] Breaking change (fix or feature that would cause existing functionality to change)
+
+## Checklist:
+
+
+
+
+- [ ] My code follows the code style of this project.
+- [ ] My change requires a change to the documentation.
+- [ ] I have updated the documentation accordingly.
+- [ ] I have read the **[CONTRIBUTING](https://github.com/h5bp/html5-boilerplate/blob/main/.github/CONTRIBUTING.md)** document.
+- [ ] I have added tests to cover my changes.
+- [ ] All new and existing tests passed.
+
+Pull requests should be thought of as a conversation. There will be some back and forth when trying to get code merged into this or any other project. With all but the simplest changes you can and should expect that the maintainers of the project will request changes to your code. Please be aware of that and check in after you open your PR in order to get your code merged in cleanly.
+
+Thanks!
diff --git a/.github/SUPPORT.md b/.github/SUPPORT.md
new file mode 100644
index 0000000..315a2ff
--- /dev/null
+++ b/.github/SUPPORT.md
@@ -0,0 +1,5 @@
+# Support
+
+For personal support requests with HTML5 Boilerplate please use Stack Overflow
+([`html5boilerplate`](https://stackoverflow.com/questions/tagged/html5boilerplate)
+tag).
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
new file mode 100644
index 0000000..7c01dee
--- /dev/null
+++ b/.github/dependabot.yml
@@ -0,0 +1,16 @@
+version: 2
+updates:
+ - package-ecosystem: npm
+ directory: "/"
+ schedule:
+ interval: monthly
+ versioning-strategy: increase
+ - package-ecosystem: npm
+ directory: "/src/"
+ schedule:
+ interval: monthly
+ versioning-strategy: increase
+ - package-ecosystem: github-actions
+ directory: "/"
+ schedule:
+ interval: monthly
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
new file mode 100644
index 0000000..824eb00
--- /dev/null
+++ b/.github/workflows/codeql-analysis.yml
@@ -0,0 +1,34 @@
+name: "CodeQL"
+
+on:
+ push:
+ branches:
+ - main
+ - "!dependabot/**"
+ pull_request:
+ branches:
+ - main
+ - "!dependabot/**"
+ workflow_dispatch:
+
+jobs:
+ analyze:
+ name: Analyze
+ runs-on: ubuntu-latest
+ permissions:
+ actions: read
+ contents: read
+ security-events: write
+
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v4
+
+ - name: Initialize CodeQL
+ uses: github/codeql-action/init@v3
+ with:
+ languages: "javascript"
+ queries: +security-and-quality
+
+ - name: Perform CodeQL Analysis
+ uses: github/codeql-action/analyze@v3
diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml
new file mode 100644
index 0000000..8caf799
--- /dev/null
+++ b/.github/workflows/dependency-review.yml
@@ -0,0 +1,14 @@
+name: "Dependency Review"
+on: [pull_request]
+
+permissions:
+ contents: read
+
+jobs:
+ dependency-review:
+ runs-on: ubuntu-latest
+ steps:
+ - name: "Checkout Repository"
+ uses: actions/checkout@v4
+ - name: "Dependency Review"
+ uses: actions/dependency-review-action@v4
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
new file mode 100644
index 0000000..5ce65da
--- /dev/null
+++ b/.github/workflows/publish.yml
@@ -0,0 +1,54 @@
+name: Publish
+
+on:
+ push:
+ tags:
+ - "v*"
+
+permissions:
+ contents: read
+
+jobs:
+ build:
+ permissions:
+ contents: write # for actions/create-release to create a release
+ name: Upload Release Asset
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v4
+ - name: Get tag
+ id: get_version
+ run: echo VERSION=$(echo $GITHUB_REF | cut -d / -f 3) >> "$GITHUB_OUTPUT"
+ - name: Create Zip Folder
+ working-directory: dist
+ run: zip -r ../html5-boilerplate_${{ steps.get_version.outputs.VERSION }}.zip ./
+ - name: Create Release
+ id: create_release
+ uses: actions/create-release@v1
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ with:
+ tag_name: ${{ github.ref }}
+ release_name: Release ${{ github.ref }}
+ draft: false
+ prerelease: false
+ - name: Upload Release Asset
+ id: upload-release-asset
+ uses: actions/upload-release-asset@v1
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ with:
+ upload_url: ${{ steps.create_release.outputs.upload_url }}
+ asset_path: ./html5-boilerplate_${{ steps.get_version.outputs.VERSION }}.zip
+ asset_name: html5-boilerplate_${{ steps.get_version.outputs.VERSION }}.zip
+ asset_content_type: application/zip
+ - name: Setup Node
+ uses: actions/setup-node@v4
+ with:
+ node-version: 18
+ registry-url: https://registry.npmjs.org/
+ - name: publish npm
+ run: npm publish
+ env:
+ NODE_AUTH_TOKEN: ${{secrets.npm_token}}
diff --git a/.github/workflows/push-to-template.yml b/.github/workflows/push-to-template.yml
new file mode 100644
index 0000000..b79aaf3
--- /dev/null
+++ b/.github/workflows/push-to-template.yml
@@ -0,0 +1,43 @@
+name: Push to template repository
+
+on:
+ push:
+ branches: [main]
+
+permissions:
+ contents: read
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Get npm cache directory
+ id: npm-cache
+ run: |
+ echo "dir=$(npm config get cache)" >> "$GITHUB_OUTPUT"
+ - uses: actions/cache@v3
+ with:
+ path: ${{ steps.npm-cache.outputs.dir }}
+ key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
+ restore-keys: |
+ ${{ runner.os }}-node-
+ - uses: actions/checkout@v4
+ - name: Setup Node.js
+ uses: actions/setup-node@v4
+ with:
+ node-version: "lts/*"
+ - name: Install dependencies
+ run: npm ci
+ - name: Build
+ run: npm run build
+ - name: Pushes to another repository
+ uses: cpina/github-action-push-to-another-repository@main
+ env:
+ API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
+ with:
+ source-directory: "dist"
+ destination-github-username: "h5bp"
+ destination-repository-name: "html5-boilerplate-template"
+ user-name: "roblarsen"
+ user-email: rob@htmlcssjavascript.com
+ commit-message: "The latest and greatest from HTML5 Boilerplate"
diff --git a/.github/workflows/spellcheck.yml b/.github/workflows/spellcheck.yml
new file mode 100644
index 0000000..6e080c9
--- /dev/null
+++ b/.github/workflows/spellcheck.yml
@@ -0,0 +1,20 @@
+name: "Check spelling"
+on: # rebuild any PRs and main branch changes
+ push:
+ branches-ignore:
+ - "dependabot/**"
+ pull_request:
+
+permissions:
+ contents: read
+
+jobs:
+ spellcheck:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ - uses: streetsidesoftware/cspell-action@v6
+ with:
+ inline: warning
+ strict: false
+ incremental_files_only: true
diff --git a/.github/workflows/test-windows.yml b/.github/workflows/test-windows.yml
new file mode 100644
index 0000000..3ff6e45
--- /dev/null
+++ b/.github/workflows/test-windows.yml
@@ -0,0 +1,35 @@
+name: Build status (Windows)
+
+on:
+ push:
+ branches: [main]
+ pull_request:
+ branches: [main]
+
+permissions:
+ contents: read
+
+jobs:
+ build:
+ runs-on: windows-latest
+ strategy:
+ matrix:
+ node-version: [18.x, 20.x]
+ steps:
+ - name: Get npm cache directory
+ id: npm-cache
+ run: |
+ echo "dir=$(npm config get cache)" >> "$GITHUB_OUTPUT"
+ - uses: actions/cache@v3
+ with:
+ path: ${{ steps.npm-cache.outputs.dir }}
+ key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
+ restore-keys: |
+ ${{ runner.os }}-node-
+ - uses: actions/checkout@v4
+ - name: Run tests ${{ matrix.node-version }}
+ uses: actions/setup-node@v4
+ with:
+ node-version: ${{ matrix.node-version }}
+ - run: npm ci
+ - run: npm test
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644
index 0000000..559c6be
--- /dev/null
+++ b/.github/workflows/test.yml
@@ -0,0 +1,35 @@
+name: Build status (Ubuntu)
+
+on:
+ push:
+ branches: [main]
+ pull_request:
+ branches: [main]
+
+permissions:
+ contents: read
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ node-version: [18.x, 20.x]
+ steps:
+ - name: Get npm cache directory
+ id: npm-cache
+ run: |
+ echo "dir=$(npm config get cache)" >> "$GITHUB_OUTPUT"
+ - uses: actions/cache@v3
+ with:
+ path: ${{ steps.npm-cache.outputs.dir }}
+ key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
+ restore-keys: |
+ ${{ runner.os }}-node-
+ - uses: actions/checkout@v4
+ - name: Run tests ${{ matrix.node-version }}
+ uses: actions/setup-node@v4
+ with:
+ node-version: ${{ matrix.node-version }}
+ - run: npm ci
+ - run: npm test
diff --git a/.gitignore b/.gitignore
index 8e1d602..427305a 100644
Binary files a/.gitignore and b/.gitignore differ
diff --git a/.npmrc b/.npmrc
new file mode 100644
index 0000000..4e2ca93
--- /dev/null
+++ b/.npmrc
@@ -0,0 +1,2 @@
+lockfile-version = 3
+registry = "https://registry.npmjs.org/"
diff --git a/.prettierignore b/.prettierignore
new file mode 100644
index 0000000..849ddff
--- /dev/null
+++ b/.prettierignore
@@ -0,0 +1 @@
+dist/
diff --git a/.prettierrc.json b/.prettierrc.json
new file mode 100644
index 0000000..3d124d4
--- /dev/null
+++ b/.prettierrc.json
@@ -0,0 +1,13 @@
+{
+ "bracketSameLine": true,
+ "embeddedLanguageFormatting": "off",
+ "singleQuote": true,
+ "overrides": [
+ {
+ "files": "**/*.yml",
+ "options": {
+ "singleQuote": false
+ }
+ }
+ ]
+}
diff --git a/404.html b/404.html
new file mode 100644
index 0000000..260cc4c
--- /dev/null
+++ b/404.html
@@ -0,0 +1,62 @@
+
+
+
+
+
+ Page Not Found
+
+
+
+
+
+
Page Not Found
+
Sorry, but the page you were trying to view does not exist.
+
+
+
+
diff --git a/CHANGELOG.md b/CHANGELOG.md
new file mode 100644
index 0000000..003a40c
--- /dev/null
+++ b/CHANGELOG.md
@@ -0,0 +1,403 @@
+# Changelog
+
+## 9.0.1 (April 11, 2024)
+
+- Fixed tests on Windows, adds Windows Testing Action [#3110](https://github.com/h5bp/html5-boilerplate/pull/3110)
+- Add og:image:alt for accessibility [#3066](https://github.com/h5bp/html5-boilerplate/pull/3066)
+- Upgrade to Gulp 5 [#3100](https://github.com/h5bp/html5-boilerplate/pull/3100) [#3105](https://github.com/h5bp/html5-boilerplate/pull/3105)
+- ci: Use GITHUB_OUTPUT envvar instead of set-output command [#3068](https://github.com/h5bp/html5-boilerplate/pull/3068)
+- Readme and Changelog updates [#3055](https://github.com/h5bp/html5-boilerplate/pull/3055) [#3057](https://github.com/h5bp/html5-boilerplate/pull/3057) [#3064](https://github.com/h5bp/html5-boilerplate/pull/3064)
+
+## 9.0.0 (December 6, 2023)
+
+- Removing tile images [#3023](https://github.com/h5bp/html5-boilerplate/pull/3023)
+- Add Prettier [#3011](https://github.com/h5bp/html5-boilerplate/pull/3011)
+- Remove Modernizr [#3002](https://github.com/h5bp/html5-boilerplate/issues/3002)
+- Drop Normalize.css [#2960](https://github.com/h5bp/html5-boilerplate/pull/2960)
+- Create WebPack build to ship with the project [#2650](https://github.com/h5bp/html5-boilerplate/issues/2650)
+- Sets package to private by default [#2888](https://github.com/h5bp/html5-boilerplate/pull/2888)
+- Removes Babel and upgrades our gulpfile to use ES Modules [#2831](https://github.com/h5bp/html5-boilerplate/pull/2831)
+- Farewell Internet Explorer! [#2773](https://github.com/h5bp/html5-boilerplate/issues/2773)
+- Remove apache-server-configs/.htaccess [#2779](https://github.com/h5bp/html5-boilerplate/pull/2779)
+- Moving docs out of src and dist [#2655](https://github.com/h5bp/html5-boilerplate/pull/2655)
+- Replace Parcel with Webpack [#2641](https://github.com/h5bp/html5-boilerplate/pull/2641)
+- Add SVG Favicon [#2554](https://github.com/h5bp/html5-boilerplate/issues/2554)
+- Remove Google Analytics [#2547](https://github.com/h5bp/html5-boilerplate/issues/2547)
+- Rename master branch to main [#2583](https://github.com/h5bp/html5-boilerplate/issues/2583)
+- Remove humans.txt [#2584](https://github.com/h5bp/html5-boilerplate/pull/2584)
+- Add a template repository [#2391](https://github.com/h5bp/html5-boilerplate/pull/2391)
+- Remove plugins js [#2346](https://github.com/h5bp/html5-boilerplate/pull/2346)
+- Rename CSS file [#2342](https://github.com/h5bp/html5-boilerplate/pull/2342) and JS file [#2341](https://github.com/h5bp/html5-boilerplate/pull/2341)
+
+## 8.0.0 (June 04, 2020)
+
+- Add a sample package.json with basic Parcel commands ([#2227](https://github.com/h5bp/html5-boilerplate/pull/2229)), ([231e047](https://github.com/h5bp/html5-boilerplate/commit/231e047d270316b454156dc261e6e04da660e2a2))
+- Add sample Open Graph metadata ([#2235](https://github.com/h5bp/html5-boilerplate/pull/2235))
+- Update Modernizr to 3.11.2 ([84ae9cc](https://github.com/h5bp/html5-boilerplate/commit/84ae9cc91188bea4edb8ec91e2a25a2a7f7837a6))
+- Remove jQuery ([#2225](https://github.com/h5bp/html5-boilerplate/pull/2225))
+- Set anonymizeIp to true in Google Analytics snippet ([#2219](https://github.com/h5bp/html5-boilerplate/pull/2219))
+- Update main.css to 2.1.0 ([#2234](https://github.com/h5bp/html5-boilerplate/pull/2234))
+- Remove Browser Upgrade Prompt ([23c4112](https://github.com/h5bp/html5-boilerplate/commit/23c4112db067262c715ebad861ec892c29c3cdaa))
+- Create new publish action ([#2260](https://github.com/h5bp/html5-boilerplate/pull/2260)), ([#2241](https://github.com/h5bp/html5-boilerplate/pull/2241))
+- Docs updates ([#2251](https://github.com/h5bp/html5-boilerplate/pull/2251)), ([#2253](https://github.com/h5bp/html5-boilerplate/pull/2253)), ([#2245](https://github.com/h5bp/html5-boilerplate/pull/2245)), ([#2220](https://github.com/h5bp/html5-boilerplate/pull/2220)), ([#2263](https://github.com/h5bp/html5-boilerplate/pull/2263)), ([#2262](https://github.com/h5bp/html5-boilerplate/pull/2262))
+
+## 7.3.0 (November 19, 2019)
+
+- Update Modernizr to 3.8 ([2b2bb45](https://github.com/h5bp/html5-boilerplate/commit/2b2bb453916b4b09a6f0929340290dc2505f7ce9))
+- Update to Gulp 4 ([#2151](https://github.com/h5bp/html5-boilerplate/pull/2151))
+- Update package.json ([#2162](https://github.com/h5bp/html5-boilerplate/pull/#2162)) and enable package-lock.json ([abe2087](https://github.com/h5bp/html5-boilerplate/commit/abe20877fdb569c84aa0a1f8ae12c51c51e41250)),([#2145](https://github.com/h5bp/html5-boilerplate/pull/#2145))
+- Remove redundant rules from .editorconfig ([#2157](https://github.com/h5bp/html5-boilerplate/pull/2157))
+- Small docs maintenance updates ([#2155](https://github.com/h5bp/html5-boilerplate/pull/2155)), ([#2164](https://github.com/h5bp/html5-boilerplate/pull/2164)), ([#2165](https://github.com/h5bp/html5-boilerplate/pull/2165)), ([#2167](https://github.com/h5bp/html5-boilerplate/pull/2167)) & ([#2168](https://github.com/h5bp/html5-boilerplate/pull/2168))
+- Bump lowest supported version of node to 8.x ([#2142](https://github.com/h5bp/html5-boilerplate/pull/2142))
+- Remove .jscsrc config and remove gulp-jscs from package.json ([#2153](https://github.com/h5bp/html5-boilerplate/pull/2153))
+
+## 7.2.0 (June 4, 2019)
+
+- Remove `defer` from Google Analytics snippet ([#2132](https://github.com/h5bp/html5-boilerplate/pull/2132))
+- Update jQuery to v3.4.1 ([#2126](https://github.com/h5bp/html5-boilerplate/pull/2126))
+- Update Apache Server Configs to 3.2.1 ([#2128](https://github.com/h5bp/html5-boilerplate/pull/2128))
+- Update main.css to v2.0.0 ([#2135](https://github.com/h5bp/html5-boilerplate/pull/2135))
+- Docs updates ([#2122](https://github.com/h5bp/html5-boilerplate/pull/2122)), ([#2125](https://github.com/h5bp/html5-boilerplate/pull/2125)), ([#2134](https://github.com/h5bp/html5-boilerplate/pull/2134)), ([#2137](https://github.com/h5bp/html5-boilerplate/pull/2137)), ([#2138](https://github.com/h5bp/html5-boilerplate/pull/2138))
+
+## 7.1.0 (March 18, 2019)
+
+- Update Modernizr to 3.7.1 ([#2121](https://github.com/h5bp/html5-boilerplate/pull/2121))
+- Update Analytics docs and snippet ([#2118](https://github.com/h5bp/html5-boilerplate/pull/2118))
+- Minor docs updates ([#2115](https://github.com/h5bp/html5-boilerplate/pull/2115))
+- Minor devdeps updates ([#2114](https://github.com/h5bp/html5-boilerplate/pull/2114))
+- More succinct way of writing the IE conditional statement ([#2113](https://github.com/h5bp/html5-boilerplate/pull/2113))
+
+## 7.0.1 (February 11, 2019)
+
+- Bumps main.css to current version ([#2112](https://github.com/h5bp/html5-boilerplate/pull/2112))
+
+## 7.0.0 (February 8, 2019)
+
+- Drop support for IE9/IE10 (usage of these versions is tiny and Microsoft officially ended support back in 2016). ([#2074](https://github.com/h5bp/html5-boilerplate/pull/2074))
+- Move the CSS to a separate repo ([#2066](https://github.com/h5bp/html5-boilerplate/pull/2066))
+- Add theme-color meta tag to index.html ([#2074](https://github.com/h5bp/html5-boilerplate/pull/2074))
+- Add 'install with yarn' steps to README ([#2063](https://github.com/h5bp/html5-boilerplate/pull/2063))
+- Improved Webmanifest ([#2060](https://github.com/h5bp/html5-boilerplate/pull/2060))
+- Upgrade Normalize to 8.0.1 ([#2104](https://github.com/h5bp/html5-boilerplate/pull/2104))
+- Update .htaccess ([#2110](https://github.com/h5bp/html5-boilerplate/pull/2110))
+- Remove instances of `shrink-to-fit=no` ([#2103](https://github.com/h5bp/html5-boilerplate/pull/2103))
+- Removes "display": "standalone" from manifest ([#2096](https://github.com/h5bp/html5-boilerplate/pull/2096))
+- Big Docs update - Fixed links, removed IE9/IE10 specific info, made touch icons section more concise, add details on security.txt and more tidying up ([#2074](https://github.com/h5bp/html5-boilerplate/pull/2031), [#2065](https://github.com/h5bp/html5-boilerplate/pull/2065), [#2062](https://github.com/h5bp/html5-boilerplate/pull/2062))
+
+## 6.1.0 (May 1, 2018)
+
+- [Update Apache Server Configs to `v3.0.0`.](https://github.com/h5bp/html5-boilerplate/pull/2042)
+- Migrate to eslint ([#2037](https://github.com/h5bp/html5-boilerplate/pull/2037))
+- Update to jQuery 3.3.1 ([#2018](https://github.com/h5bp/html5-boilerplate/pull/2018))
+- Update to Modernizr v3.6 and Normalize v8 ([#2028](https://github.com/h5bp/html5-boilerplate/pull/2028))
+- Update Dev Dependencies ([#2032](https://github.com/h5bp/html5-boilerplate/pull/2032)) ([#2017](https://github.com/h5bp/html5-boilerplate/pull/2017)) ([#2010](https://github.com/h5bp/html5-boilerplate/pull/2010)) ([#2009](https://github.com/h5bp/html5-boilerplate/pull/2009))
+- Replace 'node-sri' with 'ssri' ([#2031](https://github.com/h5bp/html5-boilerplate/pull/2031))
+- Add .babelrc and .prettierrc to .gitattributes ([#2030](https://github.com/h5bp/html5-boilerplate/pull/2030))
+- Update .htaccess ([#2003](https://github.com/h5bp/html5-boilerplate/pull/2003))
+- Fixed JSHint errors ([#1994](https://github.com/h5bp/html5-boilerplate/pull/1994))
+- Add CODE_OF_CONDUCT.md ([#2011](https://github.com/h5bp/html5-boilerplate/pull/2011))
+- Update Documentation ([#2029](https://github.com/h5bp/html5-boilerplate/pull/2029)) ([#2015](https://github.com/h5bp/html5-boilerplate/pull/2015)) ([#2007](https://github.com/h5bp/html5-boilerplate/pull/2007)) ([#2006](https://github.com/h5bp/html5-boilerplate/pull/2006)) ([#1996](https://github.com/h5bp/html5-boilerplate/pull/1996))
+
+## 6.0.1 (August 20, 2017)
+
+- Reverts .visuallyhidden (see [#1985](https://github.com/h5bp/html5-boilerplate/issues/1985))
+
+## 6.0.0 (August 17, 2017)
+
+- Fix Bug: .visuallyhidden on macOS VO fixes #1985 ([#1989](https://github.com/h5bp/html5-boilerplate/pull/1989))
+- Adds web app manifest file ([#1963](https://github.com/h5bp/html5-boilerplate/pull/1963))
+- Update to jQuery 3.2.1 ([#1942](https://github.com/h5bp/html5-boilerplate/pull/1942))
+- Improve ::selection documentation which became confusing after c7057be ([#1955](https://github.com/h5bp/html5-boilerplate/pull/1955))
+- refactor(html): update browsehappy to https instead of http ([#1952](https://github.com/h5bp/html5-boilerplate/pull/1952))
+- Fix links to CONTRIBUTING.md ([#1951](https://github.com/h5bp/html5-boilerplate/pull/1951))
+- Adds .github folder and contents Fixes ([#1948](https://github.com/h5bp/html5-boilerplate/pull/1948))
+- Modernizr 3, modernizr.config and ([#1940](https://github.com/h5bp/html5-boilerplate/pull/1940))
+- Housekeeping by @coliff (#1968 #1969 #1965 #1964 #1958 #1957 #1956)
+- Update .gitattributes for Web Projects ([#1935](https://github.com/h5bp/html5-boilerplate/pull/1935))
+- Add the link for useful .gitignore templates ([#1936](https://github.com/h5bp/html5-boilerplate/pull/1936))
+- Node plumbing updated ([#1925](https://github.com/h5bp/html5-boilerplate/pull/1925)) ([#1928](https://github.com/h5bp/html5-boilerplate/pull/1928)) ([#1931](https://github.com/h5bp/html5-boilerplate/pull/1931))
+- Use es2015 syntax in mocha tests ([#1788](https://github.com/h5bp/html5-boilerplate/pull/1788))
+- Scope :first-letter selector for print styles ([#1904](https://github.com/h5bp/html5-boilerplate/pull/1904))
+- Add SRI Hash for jQuery ([#1904](https://github.com/h5bp/html5-boilerplate/pull/1904))
+- Update .jshintrc ([#1903](https://github.com/h5bp/html5-boilerplate/pull/1903))
+- Improve accessibility with visuallyhidden content ([#1900](https://github.com/h5bp/html5-boilerplate/pull/1900))
+- Tell users that IE 8 and 9 are outdated
+ ([#1747](https://github.com/h5bp/html5-boilerplate/issues/1747)).
+- Removed IE8 Support (upgrades jQuery and normalize.css to latest)
+ ([#1524](https://github.com/h5bp/html5-boilerplate/issues/1524)).
+- Fix print styles for Internet Explorer 11
+ ([#1799](https://github.com/h5bp/html5-boilerplate/issues/1799)).
+- Update doc links to https
+ ([#1889](https://github.com/h5bp/html5-boilerplate/issues/1889)).
+- Delete crossdomain.xml
+ ([#1881](https://github.com/h5bp/html5-boilerplate/issues/1881)).
+- Adds pre-wrap to PRE
+ ([#1742](https://github.com/h5bp/html5-boilerplate/issues/1742)).
+- Change license format to SPDX format
+ ([#1814](https://github.com/h5bp/html5-boilerplate/pull/1814)).
+- Simplify the Google Analytics snippet using `async` & `defer` ([#1660](https://github.com/h5bp/html5-boilerplate/pull/1660#issuecomment-89285678)).
+
+## 5.3.0 (January 12, 2016)
+
+- Update jQuery to `v1.12.0`.
+- Fetch `jQuery` from jQuery's CDN instead of Google's
+ ([#1737](https://github.com/h5bp/html5-boilerplate/issues/1737),
+ [#1739](https://github.com/h5bp/html5-boilerplate/issues/1739)).
+- Change print color for `:first-letter` and `:first-line`
+ pseudo-elements
+ ([#1715](https://github.com/h5bp/html5-boilerplate/pull/1715)).
+
+## 5.2.0 (May 1, 2015)
+
+- Update jQuery to `v1.11.3`
+ ([#1699](https://github.com/h5bp/html5-boilerplate/issues/1699)).
+- Deprecate protocol-relative URLs
+ ([#1694](https://github.com/h5bp/html5-boilerplate/issues/1694)).
+- Update high resolution media query
+ ([#1474](https://github.com/h5bp/html5-boilerplate/issues/1474)).
+- Update Apache Server Configs to `v2.14.0`.
+
+## 5.1.0 (April 1, 2015)
+
+- Update Normalize.css to `v3.0.3`.
+- Use `https://` in the Google Universal Analytics snippet
+ ([eee759b](https://github.com/h5bp/html5-boilerplate/commit/eee759bfe175e850bbc8e4ad0682ec4fe4bd05d6)).
+- Remove the `visibility: hidden` declaration from `.hidden`
+ ([#1663](https://github.com/h5bp/html5-boilerplate/issues/1663)).
+- Use ``
+ instead of ``
+ ([#1656](https://github.com/h5bp/html5-boilerplate/issues/1656)).
+- Update Apache Server Configs to `v2.13.0`.
+
+## 5.0.0 (February 1, 2015)
+
+- Update to jQuery 1.11.2.
+- Update Apache Server Configs to v2.11.0.
+- Rename Apple touch icon to `apple-touch-icon.png` and add
+ `` in `index.html`
+ ([#1622](https://github.com/h5bp/html5-boilerplate/issues/1622)).
+- Add vertical centering for `iframe`
+ ([#1613](https://github.com/h5bp/html5-boilerplate/issues/1613)).
+- Change the outdated browser prompt classname to `browserupgrade`
+ ([#1608](https://github.com/h5bp/html5-boilerplate/issues/1608)).
+- Update to Normalize.css 3.0.2.
+ ([#1050](https://github.com/h5bp/html5-boilerplate/issues/1050)).
+- Update `apple-touch-icon-precomposed.png` and the _"Apple touch
+ icons"_ related documentation
+ ([#1599](https://github.com/h5bp/html5-boilerplate/pull/1599)).
+- Add pseudo-elements to universal selector in print media query
+ ([#1585](https://github.com/h5bp/html5-boilerplate/pull/1585)).
+- Update to Modernizr 2.8.3.
+- Remove need to readjust margins in `404.html`
+ ([#1567](https://github.com/h5bp/html5-boilerplate/pull/1567)).
+- Add `/.editorconfig` file
+ ([#1561](https://github.com/h5bp/html5-boilerplate/issues/1561),
+ [#1564](https://github.com/h5bp/html5-boilerplate/issues/1564)).
+- Add `auto` to the Google Universal Analytics tracker create method
+ ([#1562](https://github.com/h5bp/html5-boilerplate/issues/1562)).
+- Add `timeline` and `timelineEnd` to the list of `console` methods
+ ([#1559](https://github.com/h5bp/html5-boilerplate/issues/1559)).
+- Add `lang=""` to ``
+ ([#1542](https://github.com/h5bp/html5-boilerplate/issues/1542)).
+- Use `` instead of ``
+ ([#1522](https://github.com/h5bp/html5-boilerplate/issues/1522)).
+- Add `/browserconfig.xml` file and tile images
+ ([#1481](https://github.com/h5bp/html5-boilerplate/issues/1481)).
+- Add `Disallow:` to `robots.txt`
+ ([#1487](https://github.com/h5bp/html5-boilerplate/issues/1487)).
+- Remove default foreground color from form elements
+ ([#1390](https://github.com/h5bp/html5-boilerplate/issues/1390)).
+- Remove default margin from print styles
+ ([#1477](https://github.com/h5bp/html5-boilerplate/issues/1477)).
+- Remove image replacement helper class `.ir`
+ ([#1472](https://github.com/h5bp/html5-boilerplate/issues/1472),
+ [#1475](https://github.com/h5bp/html5-boilerplate/issues/1475)).
+- Add vertical centering for `svg`
+ ([#1453](https://github.com/h5bp/html5-boilerplate/issues/1453)).
+- Redesign 404 page
+ ([#1443](https://github.com/h5bp/html5-boilerplate/pull/1443)).
+- Remove IE 6/7 hacks from `main.css`
+ ([#1050](https://github.com/h5bp/html5-boilerplate/issues/1050)).
+- Remove IE conditional classes
+ ([#1187](https://github.com/h5bp/html5-boilerplate/issues/1187),
+ [#1290](https://github.com/h5bp/html5-boilerplate/issues/1290)).
+
+## 4.3.0 (September 10, 2013)
+
+- Use one `apple-touch-icon` instead of six
+ ([#1367](https://github.com/h5bp/html5-boilerplate/issues/1367)).
+- Move font-related declarations from `body` to `html`
+ ([#1411](https://github.com/h5bp/html5-boilerplate/issues/1411)).
+- Update to Apache Server Configs 1.1.0.
+- Add `initial-scale=1` to the viewport `meta`
+ ([#1398](https://github.com/h5bp/html5-boilerplate/pull/1398)).
+- Vertical centering for audio, canvas and video-tags
+ ([#1326](https://github.com/h5bp/html5-boilerplate/issues/1326)).
+- Remove Google Chrome Frame related code
+ ([#1379](https://github.com/h5bp/html5-boilerplate/pull/1379),
+ [#1396](https://github.com/h5bp/html5-boilerplate/pull/1396)).
+- Update to Google Universal Analytics
+ ([#1347](https://github.com/h5bp/html5-boilerplate/issues/1347)).
+- Update to jQuery 1.10.2.
+- Update to Normalize.css 1.1.3.
+
+## 4.2.0 (April 8, 2013)
+
+- Remove Google Analytics protocol check
+ ([#1319](https://github.com/h5bp/html5-boilerplate/pull/1319)).
+- Update to Normalize.css 1.1.1.
+- Update Apache configurations to include the latest changes in the
+ canonical [`.htaccess`](https://github.com/h5bp/server-configs-apache)
+ file.
+- Use a protocol relative URL for the 404 template script.
+- Update to jQuery 1.9.1.
+
+## 4.1.0 (January 21, 2013)
+
+- Update to Normalize.css 1.1.0.
+- Update to jQuery 1.9.0.
+
+## 4.0.3 (January 12, 2013)
+
+- Use 32x32 favicon.ico
+ ([#1286](https://github.com/h5bp/html5-boilerplate/pull/1286)).
+- Remove named function expression in plugins.js
+ ([#1280](https://github.com/h5bp/html5-boilerplate/pull/1280)).
+- Adjust CSS image-replacement code
+ ([#1239](https://github.com/h5bp/html5-boilerplate/issues/1239)).
+- Update HiDPI example media query
+ ([#1127](https://github.com/h5bp/html5-boilerplate/issues/1127)).
+
+## 4.0.2 (December 9, 2012)
+
+- Update placeholder icons.
+- Update to Normalize.css 1.0.2.
+- Update to jQuery 1.8.3.
+
+## 4.0.1 (October 20, 2012)
+
+- Further improvements to `console` method stubbing
+ ([#1206](https://github.com/h5bp/html5-boilerplate/issues/1206),
+ [#1229](https://github.com/h5bp/html5-boilerplate/pull/1229)).
+- Update to jQuery 1.8.2.
+- Update to Modernizr 2.6.2.
+- Minor additions to the documentation.
+
+## 4.0.0 (August 28, 2012)
+
+- Improve the Apache compression configuration
+ ([#1012](https://github.com/h5bp/html5-boilerplate/issues/1012),
+ [#1173](https://github.com/h5bp/html5-boilerplate/issues/1173)).
+- Add a HiDPI example media query
+ ([#1127](https://github.com/h5bp/html5-boilerplate/issues/1127)).
+- Add bundled docs
+ ([#1154](https://github.com/h5bp/html5-boilerplate/issues/1154)).
+- Add MIT license
+ ([#1139](https://github.com/h5bp/html5-boilerplate/issues/1139)).
+- Update to Normalize.css 1.0.1.
+- Separate Normalize.css from the rest of the CSS
+ ([#1160](https://github.com/h5bp/html5-boilerplate/issues/1160)).
+- Improve `console.log` protection
+ ([#1107](https://github.com/h5bp/html5-boilerplate/issues/1107)).
+- Replace hot pink text selection color with a neutral color.
+- Change image replacement technique
+ ([#1149](https://github.com/h5bp/html5-boilerplate/issues/1149)).
+- Code format and consistency changes
+ ([#1112](https://github.com/h5bp/html5-boilerplate/issues/1112)).
+- Rename CSS file and rename JS files and subdirectories.
+- Update to jQuery 1.8
+ ([#1161](https://github.com/h5bp/html5-boilerplate/issues/1161)).
+- Update to Modernizr 2.6.1
+ ([#1086](https://github.com/h5bp/html5-boilerplate/issues/1086)).
+- Remove uncompressed jQuery
+ ([#1153](https://github.com/h5bp/html5-boilerplate/issues/1153)).
+- Remove superfluous inline comments
+ ([#1150](https://github.com/h5bp/html5-boilerplate/issues/1150)).
+
+## 3.0.2 (February 19, 2012)
+
+- Update to Modernizr 2.5.3.
+
+## 3.0.1 (February 08, 2012)
+
+- Update to Modernizr 2.5.2 (includes html5shiv 3.3).
+
+## 3.0.0 (February 06, 2012)
+
+- Improvements to `.htaccess`.
+- Improve 404 design.
+- Simplify JS folder structure.
+- Change `html` IE class names changed to target ranges rather than
+ specific versions of IE.
+- Update CSS to include latest normalize.css changes and better
+ typographic defaults
+ ([#825](https://github.com/h5bp/html5-boilerplate/issues/825)).
+- Update to Modernizr 2.5 (includes yepnope 1.5 and html5shiv 3.2).
+- Update to jQuery 1.7.1.
+- Revert to async snippet for the Google Analytics script.
+- Remove the ant build script
+ ([#826](https://github.com/h5bp/html5-boilerplate/issues/826)).
+- Remove Respond.js
+ ([#816](https://github.com/h5bp/html5-boilerplate/issues/816)).
+- Remove the `demo/` directory
+ ([#808](https://github.com/h5bp/html5-boilerplate/issues/808)).
+- Remove the `test/` directory
+ ([#808](https://github.com/h5bp/html5-boilerplate/issues/808)).
+- Remove Google Chrome Frame script for IE6 users; replace with links
+ to Chrome Frame and options for alternative browsers.
+- Remove `initial-scale=1` from the viewport `meta`
+ ([#824](https://github.com/h5bp/html5-boilerplate/issues/824)).
+- Remove `defer` from all scripts to avoid legacy IE bugs.
+- Remove explicit Site Speed tracking for Google Analytics. It's now
+ enabled by default.
+
+## 2.0.0 (August 10, 2011)
+
+- Change starting CSS to be based on normalize.css instead of reset.css
+ ([#500](https://github.com/h5bp/html5-boilerplate/issues/500)).
+- Add Respond.js media query polyfill.
+- Add Google Chrome Frame script prompt for IE6 users.
+- Simplify the `html` conditional comments for modern browsers and add
+ an `oldie` class.
+- Update clearfix to use "micro clearfix".
+- Add placeholder CSS MQs for mobile-first approach.
+- Add `textarea { resize: vertical; }` to only allow vertical resizing.
+- Add `img { max-width: 100%; }` to the print styles; prevents images
+ being truncated.
+- Add Site Speed tracking for Google Analytics.
+- Update to jQuery 1.6.2 (and use minified by default).
+- Update to Modernizr 2.0 Complete, Production minified (includes
+ yepnope, html5shiv, and Respond.js).
+- Use `Modernizr.load()` to load the Google Analytics script.
+- Much faster build process.
+- Add build script options for CSSLint, JSLint, JSHint tools.
+- Build script now compresses all images in subfolders.
+- Build script now versions files by SHA hash.
+- Many `.htaccess` improvements including: disable directory browsing,
+ improved support for all versions of Apache, more robust and extensive
+ HTTP compression rules.
+- Remove `handheld.css` as it has very poor device support.
+- Remove touch-icon `link` elements from the HTML and include improved
+ touch-icon support.
+- Remove the cache-busting query parameters from files references in
+ the HTML.
+- Remove IE6 PNGFix.
+
+## 1.0.0 (March 21, 2011)
+
+- Rewrite build script to make it more customizable and flexible.
+- Add a humans.txt.
+- Numerous `.htaccess` improvements (including inline documentation).
+- Move the alternative server configurations to the H5BP server configs
+ repo.
+- Use a protocol-relative url to reference jQuery and prevent mixed
+ content warnings.
+- Optimize the Google Analytics snippet.
+- Use Eric Meyer's recent CSS reset update and the HTML5 Doctor reset.
+- More robust `sub`/`sup` CSS styles.
+- Add keyboard `.focusable` helper class that extends `.visuallyhidden`.
+- Print styles no longer print hash or JavaScript links.
+- Add a print reset for IE's proprietary filters.
+- Remove IE9-specific conditional class on the `html` element.
+- Remove margins from lists within `nav` elements.
+- Remove YUI profiling.
diff --git a/LICENSE.txt b/LICENSE.txt
new file mode 100644
index 0000000..294e91d
--- /dev/null
+++ b/LICENSE.txt
@@ -0,0 +1,19 @@
+Copyright (c) HTML5 Boilerplate
+
+Permission 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:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE 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.
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..5ef73c5
--- /dev/null
+++ b/README.md
@@ -0,0 +1,121 @@
+# [HTML5 Boilerplate](https://html5boilerplate.com/)
+
+[](https://github.com/h5bp/html5-boilerplate/actions?query=workflow%3A%22Build+status%22+branch%3Amain)
+[](https://github.com/h5bp/html5-boilerplate/blob/main/LICENSE.txt)
+[](https://www.npmjs.com/package/html5-boilerplate)
+[](https://github.com/h5bp/html5-boilerplate)
+
+HTML5 Boilerplate is a professional front-end template for building
+fast, robust, and adaptable web apps or sites.
+
+This project is the product of over 10 years of iterative development and
+community knowledge. It does not impose a specific development
+philosophy or framework, so you're free to architect your code in the
+way that you want.
+
+- [Homepage](https://html5boilerplate.com/)
+- [Source Code](https://github.com/h5bp/html5-boilerplate)
+
+## About This Repository
+
+This repository is where HTML5-Boilerplate is authored. Some of the tools,
+files and processes that you see here are solely for the _production_ of
+HTML5 Boilerplate and are not _part_ of HTML5 Boilerplate. For one example, the
+[gulpfile.mjs](https://github.com/h5bp/html5-boilerplate/blob/main/gulpfile.mjs)
+script is used to _build_ the project. It's not part of the project itself.
+
+The project we publish is represented by the contents of the `/dist/`
+folder. Everything else in this repository is used to author the project.
+
+Think of it this way, in the same way that you don't clone [vuejs/core](https://github.com/vuejs/core)
+to create a Vue.js app, you don't need to clone this repository to start a new
+site or app based on HTML5 Boilerplate.
+
+So, if you're looking for a quick start template to build a website or
+application, look at the options in the
+[Quick Start](https://github.com/h5bp/html5-boilerplate#quick-start) section of this document.
+
+If you want to help us _improve_ HTML5 Boilerplate then you can start with the documentation [here](.github/CONTRIBUTING.md), which includes steps to clone this repo in order to get it set up for development.
+
+## Quick Start
+
+Choose one of the following options:
+
+- Using the [create-html5-boilerplate](https://github.com/h5bp/create-html5-boilerplate)
+ script, instantly fetch the latest npm published package (or any version
+ available on npm) with `npx`, `npm init` or `yarn create` without having to
+ install any dependencies. Running the following `npx` command installs the
+ latest version into a folder called `new-site`
+
+ ```bash
+ npx create-html5-boilerplate new-site
+ cd new-site
+ npm install
+ npm run start
+ ```
+
+- Using our new [Template Repository](https://github.com/h5bp/html5-boilerplate-template)
+ create a new GitHub repository based on the latest code from the main branch of HTML5
+ Boilerplate.
+
+- Install with [npm](https://www.npmjs.com/): `npm install html5-boilerplate`
+ or [yarn](https://yarnpkg.com/): `yarn add html5-boilerplate`. The resulting
+ `node_modules/html5-boilerplate/dist` folder represents the latest version of
+ the project for end users. Depending on what you want to use and how you want
+ to use it, you may have to copy and paste the contents of that folder into
+ your project directory.
+
+- Download the latest stable release from
+ [here](https://github.com/h5bp/html5-boilerplate/releases/download/v9.0.0/html5-boilerplate_v9.0.0.zip). This zip file is a
+ snapshot of the `dist` folder. On Windows, Mac and from the file manager on
+ Linux unzipping this folder will output to a folder named something like
+ `html5-boilerplate_v9.0.0`. From the command-line, you will need to create a
+ folder and unzip the contents into that folder.
+
+ ```bash
+ mkdir html5-boilerplate
+ unzip html5-boilerplate*.zip -d html5-boilerplate
+ ```
+
+## Features
+
+- A finely-tuned starter template: Reap the benefits of 10 years of analysis,
+ research and experimentation by over 200 contributors.
+- Designed with progressive enhancement in mind.
+- Includes:
+ - Placeholder Open Graph elements and attributes.
+ - An example package.json file with [WebPack](https://webpack.js.org/) commands
+ built in to jumpstart application development.
+ - Placeholder CSS Media Queries.
+ - Useful CSS helper classes.
+ - Default print styles, performance optimized.
+ - "Delete-key friendly." Easy to strip out parts you don't need.
+ - Extensive documentation.
+
+## Browser Support
+
+HTML5-Boilerplate supports the latest, stable releases of all major browsers.
+
+Check the `default` configuration from [Browserslist](https://browsersl.ist/#q=defaults)
+for more details on browsers and versions covered.
+
+## Documentation
+
+Take a look at the [documentation table of contents](docs/TOC.md). This
+documentation is bundled with the project which makes it available for offline
+reading and provides a useful starting point for any documentation you want to
+write about your project.
+
+## Contributing
+
+Hundreds of developers have helped to make the HTML5 Boilerplate. Anyone is
+welcome to [contribute](.github/CONTRIBUTING.md). However, if you decide to get
+involved, please take a moment to review the [guidelines](.github/CONTRIBUTING.md):
+
+- [Bug reports](.github/CONTRIBUTING.md#bugs)
+- [Feature requests](.github/CONTRIBUTING.md#features)
+- [Pull requests](.github/CONTRIBUTING.md#pull-requests)
+
+## License
+
+The code is available under the [MIT license](LICENSE.txt).
diff --git a/docs/TOC.md b/docs/TOC.md
new file mode 100644
index 0000000..9bfdc24
--- /dev/null
+++ b/docs/TOC.md
@@ -0,0 +1,37 @@
+[HTML5 Boilerplate homepage](https://html5boilerplate.com/)
+
+## Getting started
+
+- [Usage](usage.md) — Overview of the project contents.
+- [FAQ](faq.md) — Frequently asked questions along with their answers.
+
+## HTML5 Boilerplate core
+
+- [HTML](html.md) — Guide to the default HTML.
+- [CSS](css.md) — Guide to the default CSS.
+- [JavaScript](js.md) — Guide to the default JavaScript.
+- [Everything else](misc.md).
+
+## Development
+
+- [Extending and customizing HTML5 Boilerplate](extend.md) — Going further with
+ the boilerplate.
+
+## Related projects
+
+The [H5BP organization](https://github.com/h5bp) maintains several projects that
+complement HTML5 Boilerplate, projects that can help you improve different
+aspects of your website/web app (e.g.: the performance, security, etc.).
+
+- [Server Configs](https://github.com/h5bp/server-configs) — Fast and smart
+ configurations for web servers such as Apache and Nginx.
+ - [Apache](https://github.com/h5bp/server-configs-apache)
+ - [Google App Engine (GAE)](https://github.com/h5bp/server-configs-gae)
+ - [Internet Information Services
+ (IIS)](https://github.com/h5bp/server-configs-iis)
+ - [lighttpd](https://github.com/h5bp/server-configs-lighttpd)
+ - [Nginx](https://github.com/h5bp/server-configs-nginx)
+ - [Node.js](https://github.com/h5bp/server-configs-node)
+- [Front-end Developer Interview Questions](https://github.com/h5bp/Front-end-Developer-Interview-Questions)
+- [create-html5-boilerplate](https://github.com/h5bp/create-html5-boilerplate) — Quick start HTML5 Boilerplate development.
+- [main.css](https://github.com/h5bp/main.css) — the main.css file included (as style.css) with HTML5 Boilerplate.
diff --git a/docs/about-this-repo.md b/docs/about-this-repo.md
new file mode 100644
index 0000000..95f39fd
--- /dev/null
+++ b/docs/about-this-repo.md
@@ -0,0 +1,114 @@
+# About This Repo
+
+This document outlines the configuration of this repo as well as the basic
+process we use to manage the project. As GitHub has matured as a platform
+and HTML5 Boilerplate has matured as a project there are a lot of lessons
+to be learned from the way we run the show here.
+
+## GitHub configuration
+
+This section will go through the way we configure the repo in GitHub.
+Open source projects get the full power of the platform and as a project
+we like to experiment with new GitHub features. Our current configuration
+might help you figure out some things you want to do in your own projects.
+
+### General Configuration
+
+This section outlines the basic configuration options we use.
+
+- We have a stub of a Wiki still, so we have wikis turned on. The most
+ interesting page that remains is a history of the project written several
+ years ago.
+- We use the Issues feature heavily. We don't yet have Issue Templates set
+ up, but we do have adding them as an issue, so we'll take advantage of them
+ at some point.
+- Discussions are enabled, but they haven't been very useful so far.
+
+### Pull Requests
+
+The most visible portion of our configuration is the way we handle pull
+requests. At the most basic level, we require pull requests to add code
+to the repo and require a review to merge code. In addition we run several
+code quality checks on every pull request to make sure we're not introducing
+anything we don't want into the codebase.
+
+We take advantage of the "draft" feature for PRs. This way we have visibility
+throughout the life of the PR.
+
+Let's take a look at how we configure our `main` branch.
+
+#### `main`
+
+`main` is the default branch and is our only protected branch. We use feature
+branches to add features and/or fix issues in the codebase. Other project
+configurations might require a long-running, similarly protected, `development`
+branch but for us the single protected `main` branch is enough for our
+purposes.
+
+Our branch protection rules are as follows:
+
+- We require a pull request (PR) with one approving reviewer to merge code
+- In addition to the PR and approving reviewer, we require three status checks
+ to pass before code can be merged
+ _ Build with Node 20
+ _ Build with Node 18
+- We _allow_ force pushes for project admins. While force pushes can create
+ some head scratching moments for people who have cloned the repo and update
+ before and after the force push, the ability to clean up the `HEAD` of a
+ public branch like this in an emergency is useful.
+
+#### GitHub Actions and Other Checks That Run on `main`
+
+- We run a simple _build status_ check. This is the most basic test you can run
+ and is absolutely vital. If you can't build your project you're in trouble.
+ Currently we're testing against Node 16 and 18.
+- We take advantage of our access to _CodeQL analysis_ Free for research and
+ open source don't you know :) We don't have a ton of surface area to cover,
+ but it's nice to have this powerful code scanning tool available to us.
+- We run a _dependency review_ scan to see if any newly added dependencies add
+ known security flaws. This is important for even us, but for a project that
+ uses a larger number of third party dependencies, this sort of check is vital.
+- We also run a CodeQL scans to check for security issues and problems.
+- We push any changes to `main` to our [HTML5\-Boilerplate Template Repo](https://github.com/h5bp/html5-boilerplate-template)
+
+Since we've talked about some of our Actions, let's look at the full configuration
+of our `.github` folder.
+
+### .github Folder
+
+- workflows
+ - `build-dist.yml` is currently broken. We can't push to `main` without a
+ code review, so this task is blocked. What I would like, (are you there,
+ GitHub, it's me, Rob) is to allow Actions to bypass branch protection
+ rules. I think we'll have to basically write a mini-bot that opens a PR
+ whenever there are changes to `main` and then pushes to the same branch
+ until the PR is closed. In some ways that will be better as it will be less
+ noisy in terms of bot pushes to main.
+ - `codeql-analysis.yml` controls our CodeQL action. We use the defaults. If
+ you're building something with more JavaScript footprint, you can tweak
+ the settings for this job.
+ - `dependency-review.yml` does what it says on the tin- it tests newly
+ introduced dependencies for vulnerabilities.
+ - `publish.yml` is the action that publishes all the various versions of
+ the project. When we create a new tag and push it to GitHub, this script
+ publishes our npm package and creates a GitHub release and attaches a zip
+ file of our `dist` folder.
+ - `push-to-template.yml` pushes the `HEAD` of `main` to our template repo
+ - `spellcheck.yml` automatically checks markdown files for typos with cSpell.
+ - `test.yml` runs our test suite on Ubuntu.
+ - `test-windows.yml` runs our test suite on Windows.
+- `CODE_OF_CONDUCT.md` is our Code of Conduct, based on
+ [Contributor Covenant.](https://www.contributor-covenant.org/)
+- `CONTRIBUTING.md` contains our contribution guidelines.
+- `ISSUE_TEMPLATE.md` is our new issue boilerplate.
+- `PULL_REQUEST_TEMPLATE.md` is our new PR boilerplate.
+- `SUPPORT.md` points people to different (non-HTML5-Boilerplate) support
+ resources
+- `dependabot.yml` is our Dependabot configuration. We do `npm`, monthly on
+ two separate `package.json` files, one in `src` and one in project root.
+
+---
+
+That covers most of the interesting GitHub features and functionality that we
+use. We're going to continue to keep this document up to date as we change
+things or new GitHub features.
diff --git a/docs/css.md b/docs/css.md
new file mode 100644
index 0000000..0c548e3
--- /dev/null
+++ b/docs/css.md
@@ -0,0 +1,22 @@
+[HTML5 Boilerplate homepage](https://html5boilerplate.com/) | [Documentation
+table of contents](TOC.md)
+
+# The CSS
+
+HTML5 Boilerplate's CSS includes:
+
+- [style.css](#stylecss)
+
+## style.css
+
+Several base styles are included. These styles:
+
+- provide basic typography settings that improve text readability
+- protect against unwanted `text-shadow` during text highlighting
+- tweak the default alignment of some elements (e.g.: `img`, `video`,
+ `fieldset`, `textarea`)
+- style the prompt that is displayed to users using an outdated browser
+- and more...
+
+These styles are included in
+[style.css](https://github.com/h5bp/html5-boilerplate/blob/main/dist/css/style.css).
diff --git a/docs/extend.md b/docs/extend.md
new file mode 100644
index 0000000..1c7b7a7
--- /dev/null
+++ b/docs/extend.md
@@ -0,0 +1,356 @@
+[HTML5 Boilerplate homepage](https://html5boilerplate.com) | [Documentation
+table of contents](TOC.md)
+
+# Extend and customize HTML5 Boilerplate
+
+Here is some useful advice for how you can make your project with HTML5
+Boilerplate even better. We don't want to include it all by default, as not
+everything fits with everyone's needs.
+
+- [Server Configuration](#server-configuration)
+- [App Stores](#app-stores)
+- [DNS prefetching](#dns-prefetching)
+- [Miscellaneous](#miscellaneous)
+- [News Feeds](#news-feeds)
+- [Search](#search)
+- [Social Networks](#social-networks)
+- [URLs](#urls)
+- [Web Apps](#web-apps)
+- [security.txt](#securitytxt)
+
+## Server Configuration
+
+We no longer include a [`.htaccess`](#htaccess) file for the [Apache HTTP
+server](https://httpd.apache.org/docs/) in HTML5 Boilerplate by default, however if you are
+using a web server, then we encourage you to checkout out the [server configuration](https://github.com/h5bp/server-configs)
+that corresponds to your web server and environment.
+
+These repos offer a collection of configuration snippets that can help your server improve the
+website's performance and security, while also ensuring that resources are served with the
+correct content-type and are accessible, if needed, even cross-domain.
+
+## App Stores
+
+### Smart App Banners in iOS 6+ Safari
+
+Stop bothering everyone with gross modals advertising your entry in the App
+Store. Including the following [meta
+tag](https://developer.apple.com/documentation/webkit/promoting_apps_with_smart_app_banners)
+will unobtrusively give the user the option to download your iOS app, or open it
+with some data about the user's current state on the website.
+
+```html
+
+```
+
+## DNS prefetching
+
+In short, DNS Prefetching is a method of informing the browser of domain names
+referenced on a site so that the client can resolve the DNS for those hosts,
+cache them, and when it comes time to use them, have a faster turn around on the
+request.
+
+### Implicit prefetches
+
+There is a lot of prefetching done for you automatically by the browser. When
+the browser encounters an anchor in your HTML that does not share the same
+domain name as the current location the browser requests, from the client OS,
+the IP address for this new domain. The client first checks its cache and then,
+lacking a cached copy, makes a request from a DNS server. These requests happen
+in the background and are not meant to block the rendering of the page.
+
+The goal of this is that when the foreign IP address is finally needed it will
+already be in the client cache and will not block the loading of the foreign
+content. Fewer requests result in faster page load times. The perception of this
+is increased on a mobile platform where DNS latency can be greater.
+
+### Explicit prefetches
+
+Typically the browser only scans the HTML for foreign domains. If you have
+resources that are outside of your HTML (a JavaScript request to a remote server
+or a CDN that hosts content that may not be present on every page of your site,
+for example) then you can queue up a domain name to be prefetched.
+
+```html
+
+
+```
+
+You can use as many of these as you need, but it's best if they are all
+immediately after the [Meta
+Charset](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-charset)
+element (which should go right at the top of the `head`), so the browser can act
+on them ASAP.
+
+### Further reading about DNS prefetching
+
+- https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-DNS-Prefetch-Control
+- https://dev.chromium.org/developers/design-documents/dns-prefetching
+
+## Search
+
+### Direct search spiders to your sitemap
+
+After creating a [sitemap](https://www.sitemaps.org/protocol.html)
+
+Submit it to search engine tool:
+
+- [Google](https://www.google.com/webmasters/tools/sitemap-list)
+- [Bing](https://www.bing.com/toolbox/webmaster)
+- [Yandex](https://webmaster.yandex.com/)
+- [Baidu](https://zhanzhang.baidu.com/) OR Insert the following line anywhere in
+ your robots.txt file, specifying the path to your sitemap:
+
+```
+Sitemap: https://example.com/sitemap_location.xml
+```
+
+### Hide pages from search engines
+
+According to Heather Champ, former community manager at Flickr, you should not
+allow search engines to index your "Contact Us" or "Complaints" page if you
+value your sanity. This is an HTML-centric way of achieving that.
+
+```html
+
+```
+
+**_WARNING:_** DO NOT INCLUDE ON PAGES THAT SHOULD APPEAR IN SEARCH ENGINES.
+
+### Search Plugins
+
+Sites with in-site search functionality should be strongly considered for a
+browser search plugin. A "search plugin" is an XML file which defines how your
+plugin behaves in the browser. [How to make a browser search
+plugin](https://developer.mozilla.org/en-US/docs/Web/OpenSearch).
+
+```html
+
+```
+
+## Miscellaneous
+
+- Use [Microformats](https://microformats.org/wiki/Main_Page) (via
+ [microdata](https://microformats.org/wiki/microdata)) for optimum search
+ results
+ [visibility](https://developers.google.com/search/blog/2009/05/introducing-rich-snippets).
+
+- If you want to disable the translation prompt in Chrome or block Google
+ Translate from translating your web page, use [``](https://developers.google.com/search/docs/crawling-indexing/special-tags).
+ To disable translation for a particular section of the web page, add
+ [`class="notranslate"`](https://support.google.com/translate/?hl=en#2641276).
+
+- If you want to disable the automatic detection and formatting of possible
+ phone numbers in Safari on iOS, use [``](https://developer.apple.com/library/archive/documentation/AppleApplications/Reference/SafariHTMLRef/Articles/MetaTags.html).
+
+- Avoid development/stage websites "leaking" into SERPs (search engine results
+ page) by [implementing X-Robots-tag
+ headers](https://github.com/h5bp/html5-boilerplate/issues/804).
+
+## News Feeds
+
+### RSS
+
+Have an RSS feed? Link to it here. Want to [learn how to write an RSS feed from
+scratch](https://www.rssboard.org/rss-specification)?
+
+```html
+
+```
+
+### Atom
+
+Atom is similar to RSS, and you might prefer to use it instead of or in addition
+to it. [See what Atom's all
+about]().
+
+```html
+
+```
+
+### Pingbacks
+
+Your server may be notified when another site links to yours. The href attribute
+should contain the location of your pingback service.
+
+```html
+
+```
+
+- High-level explanation:
+ https://codex.wordpress.org/Introduction_to_Blogging#Pingbacks
+- Step-by-step example case:
+ https://www.hixie.ch/specs/pingback/pingback-1.0#TOC5
+- PHP pingback service:
+ https://web.archive.org/web/20131211032834/http://blog.perplexedlabs.com/2009/07/15/xmlrpc-pingbacks-using-php/
+
+## Social Networks
+
+### Facebook Open Graph data
+
+You can control the information that Facebook and others display when users
+share your site. Below are just the most basic data points you might need. For
+specific content types (including "website"), see [Facebook's built-in Open
+Graph content
+templates](https://developers.facebook.com/docs/sharing/opengraph/using-objects).
+Take full advantage of Facebook's support for complex data and activity by
+following the [Open Graph
+tutorial](https://developers.facebook.com/docs/sharing/webmasters/getting-started).
+
+For a reference of Open Graph's markup and properties, you may check [Facebook's
+Open Graph Protocol reference](https://ogp.me). Finally, you can validate your
+markup with the [Facebook Object
+Debugger](https://developers.facebook.com/tools/debug/) (needs registration to
+Facebook).
+
+```html
+
+
+
+
+
+
+
+
+
+
+```
+
+### Twitter Cards
+
+Twitter provides a snippet specification that serves a similar purpose to Open
+Graph. In fact, Twitter will use Open Graph when Cards is not available. You can
+read more about the various snippet formats in the
+[official Twitter Cards
+documentation](https://developer.twitter.com/en/docs/twitter-for-websites/cards/overview/abouts-cards).
+
+```html
+
+
+
+
+
+
+
+```
+
+### Schema.org
+
+Google also provides a snippet specification that serves a similar purpose to
+Facebook's Open Graph or Twitter Cards. This metadata is a subset of
+[schema.org's microdata vocabulary](https://schema.org/), which covers many
+other schemas that can describe the content of your pages to search engines. For
+this reason, this metadata is more generic for SEO, notably for Google's
+search-engine, although this vocabulary is also used by Microsoft, Pinterest and
+Yandex.
+
+You can validate your markup with the [Structured Data Testing
+Tool](https://developers.google.com/search/docs/appearance/structured-data). Also, please
+note that this markup requires to add attributes to your top `html` tag.
+
+```html
+
+
+
+
+
+
+
+
+```
+
+## URLs
+
+### Canonical URL
+
+Signal to search engines and others "Use this URL for this page!" Useful when
+parameters after a `#` or `?` is used to control the display state of a page.
+`https://www.example.com/cart.html?shopping-cart-open=true` can be indexed as
+the cleaner, more accurate `https://www.example.com/cart.html`.
+
+```html
+
+```
+
+## Web Apps
+
+There are a couple of meta tags that provide information about a web app when
+added to the Home Screen on iOS:
+
+- Adding `apple-mobile-web-app-capable` will make your web app chrome-less and
+ provide the default iOS app view. You can control the color scheme of the
+ default view by adding `apple-mobile-web-app-status-bar-style`.
+
+```html
+
+
+```
+
+- You can use `apple-mobile-web-app-title` to add a specific sites name for the
+ Home Screen icon.
+
+```html
+
+```
+
+For further information please read the [official
+documentation](https://developer.apple.com/library/archive/documentation/AppleApplications/Reference/SafariHTMLRef/Articles/MetaTags.html)
+on Apple's site.
+
+### Apple Touch Icons
+
+Apple touch icons are used as icons when a user adds your webapp to the home
+screen of an iOS devices.
+
+Though the dimensions of the icon can vary between iOS devices and versions one
+`180×180px` touch icon named `icon.png` and including the following in the
+`` of the page is enough:
+
+```html
+
+```
+
+For a more comprehensive overview, please refer to Mathias' [article on Touch
+Icons](https://mathiasbynens.be/notes/touch-icons).
+
+### Apple Touch Startup Image
+
+Apart from that it is possible to add start-up screens for web apps on iOS. This
+basically works by defining `apple-touch-startup-image` with an according link
+to the image. Since iOS devices have different screen resolutions it maybe
+necessary to add media queries to detect which image to load. Here is an example
+for an iPhone:
+
+```html
+
+```
+
+### Theme Color
+
+You can add the [`theme-color` meta
+extension](https://html.spec.whatwg.org/multipage/semantics.html#meta-theme-color)
+in the `` of your pages to suggest the color that browsers and OSes should
+use if they customize the display of individual pages in their UIs with varying
+colors.
+
+```html
+
+```
+
+The `content` attribute extension can take any valid CSS color.
+
+For browser support details, refer to [Can I Use](https://caniuse.com/meta-theme-color).
+
+### security.txt
+
+When security risks in web services are discovered by users they often lack the
+channels to disclose them properly. As a result, security issues may be left
+unreported.
+
+Security.txt defines a standard to help organizations define the process for
+users to disclose security vulnerabilities securely. Include a text file on your
+server at `.well-known/security.txt` with the relevant contact details.
+
+Check [https://securitytxt.org/](https://securitytxt.org/) for more details.
diff --git a/docs/faq.md b/docs/faq.md
new file mode 100644
index 0000000..135f28a
--- /dev/null
+++ b/docs/faq.md
@@ -0,0 +1,15 @@
+[HTML5 Boilerplate homepage](https://html5boilerplate.com/) | [Documentation
+table of contents](TOC.md)
+
+# Frequently asked questions
+
+## Do I need to upgrade my site each time a new version of HTML5 Boilerplate is released?
+
+No, just as you don't normally replace the foundation of a house once it was
+built. However, there is nothing stopping you from trying to work in the latest
+changes, but you'll have to assess the costs/benefits of doing so.
+
+## Where can I get help with support questions?
+
+Please ask for help on
+[Stack Overflow](https://stackoverflow.com/questions/tagged/html5boilerplate).
diff --git a/docs/html.md b/docs/html.md
new file mode 100644
index 0000000..86e5de7
--- /dev/null
+++ b/docs/html.md
@@ -0,0 +1,139 @@
+[HTML5 Boilerplate homepage](https://html5boilerplate.com/) | [Documentation
+table of contents](TOC.md)
+
+# The HTML
+
+By default, HTML5 Boilerplate provides two `html` pages:
+
+- [`index.html`](#indexhtml) - a default HTML skeleton that should form the
+ basis of all pages on your website
+- `404.html` - a placeholder 404 error page
+
+## `index.html`
+
+### The `no-js` Class
+
+The `no-js` class is provided in order to allow you to more easily and
+explicitly add custom styles based on whether JavaScript is disabled (`.no-js`)
+or enabled (`.js`). Using this technique also helps [avoid the
+FOUC](https://www.paulirish.com/2009/avoiding-the-fouc-v3/).
+
+### Language Attribute
+
+Please consider specifying the language of your content by adding a
+[value](https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry)
+to the `lang` attribute in the `` as in this example:
+
+```html
+
+```
+
+### The order of the `` and `` tags
+
+The charset declaration (``) must be included completely
+within the
+[first 1024 bytes of the document](https://html.spec.whatwg.org/multipage/semantics.html#charset)
+and should be specified as early as possible.
+
+### Meta Description
+
+The `description` meta tag provides a short description of the page. In some
+situations this description is used as a part of the snippet shown in the search
+results.
+
+```html
+
+```
+
+Google's
+[Create good meta descriptions](https://support.google.com/webmasters/answer/35624?hl=en#meta-descriptions)
+documentation has useful tips on creating an effective description.
+
+### Mobile Viewport
+
+There are a few different options that you can use with the
+[`viewport` meta tag](https://docs.google.com/present/view?id=dkx3qtm_22dxsrgcf4 "Viewport and Media Queries - The Complete Idiot's Guide").
+You can find out more in [
+the MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/HTML/Viewport_meta_tag).
+HTML5 Boilerplate comes with a simple setup that strikes a good balance for general use cases.
+
+```html
+
+```
+
+If you want to take advantage of edge-to-edge displays of iPhone X/XS/XR you
+can do so with additional viewport parameters.
+[Check the WebKit blog](https://webkit.org/blog/7929/designing-websites-for-iphone-x/) for
+details.
+
+### Open Graph Metadata
+
+The [Open Graph Protocol](https://ogp.me) allows you to define the way your
+site is presented when referenced on third party sites and applications
+(Facebook, Twitter, LinkedIn). The protocol provides a series of meta elements
+that define the details of your site. The required attributes define the title,
+preview image, URL, and [type](https://ogp.me/#types) (e.g., video, music,
+website, article).
+
+```html
+
+
+
+
+
+```
+
+In addition to these four attributes there are many more attributes you can use
+to add more richness to the description of your site. This just represents the
+most basic implementation.
+
+To see a working example, the following is the open graph metadata for the HTML5
+Boilerplate site. In addition to the required fields we add `og:description` to
+describe the site in more detail.
+
+```html
+
+
+
+
+
+
+
+```
+
+### Web App Manifest
+
+HTML5 Boilerplate includes a simple web app manifest file.
+
+The web app manifest is a simple JSON file that allows you to control how your
+app appears on a device's home screen, what it looks like when it launches in
+that context and what happens when it is launched. This allows for much greater
+control over the UI of a saved site or web app on a mobile device.
+
+It's linked to from the HTML as follows:
+
+```html
+
+```
+
+Our
+[site.webmanifest](https://github.com/h5bp/html5-boilerplate/blob/main/src/site.webmanifest)
+contains a very skeletal "app" definition, just to show the basic usage. You
+should fill this file out with
+[more information about your site or application](https://developer.mozilla.org/en-US/docs/Web/Manifest)
+
+### Favicons and Touch Icon
+
+The shortcut icons should be put in the root directory of your site.
+`favicon.ico` is automatically picked up by browsers if it's placed in the root.
+HTML5 Boilerplate comes with a default set of icons (include favicon and one
+Apple Touch Icon) that you can use as a baseline to create your own.
+
+Please refer to the more detailed description in the [Extend section](extend.md)
+of these docs.
+
+### The Content Area
+
+The central part of the boilerplate template is pretty much empty. This is
+intentional, in order to make the boilerplate suitable for both web page and web
+app development.
diff --git a/docs/js.md b/docs/js.md
new file mode 100644
index 0000000..161fc72
--- /dev/null
+++ b/docs/js.md
@@ -0,0 +1,16 @@
+[HTML5 Boilerplate homepage](https://html5boilerplate.com/) | [Documentation
+table of contents](TOC.md)
+
+# The JavaScript
+
+Information about the default JavaScript included in the project.
+
+## app.js
+
+This file can be used to contain or reference your site/app JavaScript code. If
+you're working on something more advanced you might replace this file entirely.
+That's cool.
+
+## vendor
+
+This directory can be used to contain all third-party library code.
diff --git a/docs/misc.md b/docs/misc.md
new file mode 100644
index 0000000..098fa7b
--- /dev/null
+++ b/docs/misc.md
@@ -0,0 +1,113 @@
+[HTML5 Boilerplate homepage](https://html5boilerplate.com/) | [Documentation
+table of contents](TOC.md)
+
+# Miscellaneous
+
+- [.gitignore](#gitignore)
+- [.editorconfig](#editorconfig)
+- [robots.txt](#robotstxt)
+- [package.json](#packagejson)
+
+--
+
+## .gitignore
+
+HTML5 Boilerplate includes a basic project-level `.gitignore`. This should
+primarily be used to avoid certain project-level files and directories from
+being kept under source control. Different development-environments will
+benefit from different collections of ignores.
+
+OS-specific and editor-specific files should be ignored using a "global
+ignore" that applies to all repositories on your system.
+
+For example, add the following to your `~/.gitconfig`, where the `.gitignore`
+in your HOME directory contains the files and directories you'd like to
+globally ignore:
+
+```gitignore
+[core]
+ excludesfile = ~/.gitignore
+```
+
+- More on global ignores: [https://help.github.com/articles/ignoring-files/](https://help.github.com/en/github/using-git/ignoring-files)
+- Comprehensive set of ignores on GitHub: https://github.com/github/gitignore
+
+## .editorconfig
+
+The `.editorconfig` file is provided in order to encourage and help you and
+your team define and maintain consistent coding styles between different
+editors and IDEs.
+
+By default, `.editorconfig` includes some basic
+[properties](https://editorconfig.org/#supported-properties) that reflect the
+coding styles from the files provided by default, but you can easily change
+them to better suit your needs.
+
+In order for your editor/IDE to apply the
+[properties](https://editorconfig.org/#supported-properties) from the
+`.editorconfig` file, you may need to [install a
+plugin](https://editorconfig.org/#download).
+
+**N.B.** If you aren't using the server configurations provided by HTML5
+Boilerplate, we highly encourage you to configure your server to block
+access to `.editorconfig` files, as they can disclose sensitive information!
+
+For more details, please refer to the [EditorConfig
+project](https://editorconfig.org/).
+
+## robots.txt
+
+The `robots.txt` file is used to give instructions to web robots on what can
+be crawled from the website.
+
+By default, the file provided by this project includes the next two lines:
+
+- `User-agent: *` - the following rules apply to all web robots
+- `Disallow:` - everything on the website is allowed to be crawled
+
+If you want to disallow certain pages you will need to specify the path in a
+`Disallow` directive (e.g.: `Disallow: /path`) or, if you want to disallow
+crawling of all content, use `Disallow: /`.
+
+The `/robots.txt` file is not intended for access control, so don't try to
+use it as such. Think of it as a "No Entry" sign, rather than a locked door.
+URLs disallowed by the `robots.txt` file might still be indexed without being
+crawled, and the content from within the `robots.txt` file can be viewed by
+anyone, potentially disclosing the location of your private content! So, if
+you want to block access to private content, use proper authentication instead.
+
+For more information about `robots.txt`, please see:
+
+- [robotstxt.org](https://www.robotstxt.org/)
+- [How Google handles the `robots.txt` file](https://developers.google.com/search/reference/robots_txt)
+
+## package.json
+
+`package.json` is used to define attributes of your site or application for
+use in modern JavaScript development. [The full documentation is available](https://docs.npmjs.com/files/package.json)
+if you're interested. The fields we provide are as follows:
+
+- `title` - the title of your project. If you expect to publish your application
+ to npm, then the name needs to follow [certain guidelines](https://docs.npmjs.com/files/package.json#name)
+ and be unique.
+- `version` - indicates the version of your site application using semantic
+ versioning ([SemVer](https://semver.org/))
+- `description` - describes your site.
+- `scripts` - is a JavaScript object containing commands that can be run in a
+ node environment. There are many [built-in keys](https://docs.npmjs.com/misc/scripts)
+ related to the package lifecycle that node understands automatically. You can
+ also define custom scripts for use with your application development. We
+ provide three custom scripts that work with webpack to get you up and running
+ quickly with a bundler for your assets and a simple development server.
+
+ - `start` serves your `index.html` with a simple development server
+
+- `keywords` - an array of keywords used to discover your app in the npm
+ registry
+- `author` - defines the author of a package. There is also an alternative
+ [contributors](https://docs.npmjs.com/files/package.json#people-fields-author-contributors)
+ field if there's more than one author.
+- `license` - the license for your application. Must conform to
+ [specific rules](https://docs.npmjs.com/files/package.json#license)
+- `devDependencies` - development dependencies for your package. In our case
+ we have several dependencies used by webpack, which we use as a simple development server.
diff --git a/docs/usage.md b/docs/usage.md
new file mode 100644
index 0000000..767c04c
--- /dev/null
+++ b/docs/usage.md
@@ -0,0 +1,160 @@
+[HTML5 Boilerplate homepage](https://html5boilerplate.com/) | [Documentation
+table of contents](TOC.md)
+
+# Usage
+
+The most basic usage of HTML5 Boilerplate is to create a static site or simple
+app. Once you've downloaded or cloned the project, that process looks something
+like this:
+
+1. Set up the basic structure of the site.
+2. Add some content, style, and functionality.
+3. Run your site locally to see how it looks.
+4. Deploy your site.
+
+Cool, right? _It is_. That said, the smart defaults, baseline elements, default
+attribute values and various other utilities that HTML5 Boilerplate offers can
+serve as the foundation for whatever you're interested in building.
+
+Even the basic use-case of a simple static site can be enhanced by manipulating
+the code through an automated build process. Moving up in complexity HTML5
+Boilerplate can be integrated with whatever front-end framework, CMS or
+e-commerce platform you're working with. Mix-and-match to your heart's content.
+Use what you need (toss it in a blender if you need to) and discard the rest.
+HTML5 Boilerplate is a starting point, not a destination.
+
+## Basic structure
+
+A basic HTML5 Boilerplate site initially looks something like this:
+
+```
+.
+├── css
+│ └── style.css
+├── doc
+├── img
+├── js
+│ ├── app.js
+ └── vendor
+├── .editorconfig
+├── 404.html
+├── favicon.ico
+├── icon.png
+├── icon.svg
+├── index.html
+├── package.json
+├── robots.txt
+├── site.webmanifest
+└── webpack.common.js
+└── webpack.config.dev.js
+└── webpack.config.prod.js
+```
+
+What follows is a general overview of each major part and how to use them.
+
+### css
+
+This directory should contain all your project's CSS files. It includes some
+initial CSS to help get you started from a solid foundation. [About the
+CSS](css.md).
+
+### doc
+
+This directory contains all the HTML5 Boilerplate documentation. You can use it
+as the location and basis for your own project's documentation.
+
+### js
+
+This directory should contain all your project's JS files. Libraries, plugins,
+and custom code can all be included here. It includes some initial JS to help
+get you started. [About the JavaScript](js.md).
+
+### 404.html
+
+A helpful custom 404 to get you started.
+
+### .editorconfig
+
+The `.editorconfig` file is provided in order to encourage and help you and your
+team to maintain consistent coding styles between different editors and IDEs.
+[Read more about the `.editorconfig` file](misc.md#editorconfig).
+
+### index.html
+
+This is the default HTML skeleton that should form the basis of all pages on
+your site. If you are using a server-side templating framework, then you will
+need to integrate this starting HTML with your setup.
+
+Make sure that you update the URLs for the referenced CSS and JavaScript if you
+modify the directory structure at all.
+
+### package.json
+
+Edit this file to describe your application, add dependencies, scripts and
+other properties related to node based development and the npm registry
+
+### robots.txt
+
+Edit this file to include any pages you need hidden from search engines.
+
+### Icons
+
+Replace the default `favicon.ico` and Apple Touch Icon with your own.
+
+If you want to use different Apple Touch Icons for different resolutions please
+refer to the [according documentation](extend.md#apple-touch-icons).
+
+### Webpack
+
+The project contains a simple [webpack](https://webpack.js.org/) configuration.
+
+To get started developing a site with a development server, run the following
+commands from within the `/dist/` folder in the project's repo or within the
+root folder of the dowloaded project files, the folder created by `npm install`
+or the project folder created by running [create\-html5\-boilerplate](https://github.com/h5bp/create-html5-boilerplate)
+
+```
+npm install
+npm run start
+```
+
+This will start a Webpack development server with hot reloading of edited files.
+
+To package a site for production run
+
+```
+npm run build
+```
+
+This command will bundle up the site's JavaScript and copy over static assets to
+the newly created `dist` folder.
+
+There are three files:
+
+#### webpack.common.js
+
+Both the production and development scripts inherit from this common script.
+
+#### webpack.config.dev.js
+
+This development configuration defines the behavior of development server.
+
+#### webpack.config.prod.js
+
+This production configuration defines the behavior of the production build.
+
+It copies the following files and folders to the dist folder:
+
+- css
+- img
+- js/vendor
+- 404.html
+- favicon.ico
+- icon.png
+- icon.svg
+- index.html
+- robots.txt
+- site.webmanifest
+
+`js/vendor` is copied over in order to allow you to use unprocessed JS files
+in addition to the files bundled based on the project's entry point `app.js.`
diff --git a/favicon.ico b/favicon.ico
new file mode 100644
index 0000000..be74abd
Binary files /dev/null and b/favicon.ico differ
diff --git a/gulpfile.mjs b/gulpfile.mjs
new file mode 100644
index 0000000..c0139cc
--- /dev/null
+++ b/gulpfile.mjs
@@ -0,0 +1,143 @@
+import fs from 'fs';
+import path from 'path';
+import gulp from 'gulp';
+import gulpAutoPrefixer from 'gulp-autoprefixer';
+import gulpEslint from 'gulp-eslint';
+import gulpHeader from 'gulp-header';
+import gulpRename from 'gulp-rename';
+import archiver from 'archiver';
+import { globSync } from 'glob';
+import { deleteSync } from 'del';
+import { createRequire } from 'module';
+const require = createRequire(import.meta.url);
+const pkg = require('./package.json');
+
+const dirs = pkg['h5bp-configs'].directories;
+
+// ---------------------------------------------------------------------
+// | Helper tasks |
+// ---------------------------------------------------------------------
+
+gulp.task('archive:create_archive_dir', (done) => {
+ fs.mkdirSync(path.resolve(dirs.archive), '0755');
+ done();
+});
+
+gulp.task('archive:zip', (done) => {
+ const archiveName = path.resolve(
+ dirs.archive,
+ `${pkg.name}_v${pkg.version}.zip`,
+ );
+ const zip = archiver('zip');
+ const files = globSync('**/*.*', {
+ cwd: dirs.dist,
+ ignore: [
+ '**/node_modules/**',
+ 'package-lock.json',
+ '**/dist/**',
+ '**/.cache/**',
+ ],
+ dot: true, // include hidden files
+ });
+ const output = fs.createWriteStream(archiveName);
+
+ zip.on('error', (error) => {
+ done();
+ throw error;
+ });
+
+ output.on('close', done);
+
+ files.forEach((file) => {
+ const filePath = path.resolve(dirs.dist, file);
+
+ // `zip.bulk` does not maintain the file
+ // permissions, so we need to add files individually
+ zip.append(fs.createReadStream(filePath), {
+ name: file,
+ mode: fs.statSync(filePath).mode,
+ });
+ });
+
+ zip.pipe(output);
+ zip.finalize();
+ done();
+});
+
+gulp.task('clean', (done) => {
+ deleteSync([dirs.archive, dirs.dist]);
+ done();
+});
+
+gulp.task('copy:index.html', () => {
+ return gulp.src(`${dirs.src}/index.html`).pipe(gulp.dest(dirs.dist));
+});
+
+gulp.task('copy:license', () =>
+ gulp.src('LICENSE.txt').pipe(gulp.dest(dirs.dist)),
+);
+
+gulp.task('copy:style', () => {
+ const banner = `/*! HTML5 Boilerplate v${pkg.version} | ${pkg.license} License | ${pkg.homepage} */\n\n`;
+
+ return gulp
+ .src('node_modules/main.css/dist/main.css')
+ .pipe(gulpHeader(banner))
+ .pipe(
+ gulpAutoPrefixer({
+ cascade: false,
+ }),
+ )
+ .pipe(
+ gulpRename({
+ basename: 'style',
+ }),
+ )
+ .pipe(gulp.dest(`${dirs.dist}/css`));
+});
+
+gulp.task('copy:misc', () =>
+ gulp
+ .src(
+ [
+ // Copy all files
+ `${dirs.src}/**/*`,
+
+ // Exclude the following files
+ // (other tasks will handle the copying of these files)
+ `!${dirs.src}/css/main.css`,
+ `!${dirs.src}/index.html`,
+ `!**/.DS_Store`,
+ ],
+ {
+ encoding: false,
+ // Include hidden files by default
+ dot: true,
+ },
+ )
+ .pipe(gulp.dest(dirs.dist)),
+);
+
+gulp.task('lint:js', () =>
+ gulp
+ .src([`${dirs.src}/js/*.js`, `${dirs.src}/*.js`, `${dirs.test}/*.mjs`])
+ .pipe(gulpEslint())
+ .pipe(gulpEslint.failOnError()),
+);
+
+// ---------------------------------------------------------------------
+// | Main tasks |
+// ---------------------------------------------------------------------
+gulp.task(
+ 'copy',
+ gulp.series('copy:index.html', 'copy:license', 'copy:style', 'copy:misc'),
+);
+
+gulp.task('build', gulp.series(gulp.parallel('clean', 'lint:js'), 'copy'));
+
+gulp.task(
+ 'archive',
+ gulp.series('build', 'archive:create_archive_dir', 'archive:zip'),
+);
+
+gulp.task('default', gulp.series('build'));
diff --git a/icon.png b/icon.png
new file mode 100644
index 0000000..8a42581
Binary files /dev/null and b/icon.png differ
diff --git a/icon.svg b/icon.svg
new file mode 100644
index 0000000..f232922
--- /dev/null
+++ b/icon.svg
@@ -0,0 +1 @@
+
diff --git a/index.html b/index.html
index 907a94b..e078d87 100644
--- a/index.html
+++ b/index.html
@@ -1,99 +1,208 @@
-
-
-
-
+
+
+
Futuristic Space Calendar
-
+
-
+
-
-
-
-
+
+
+
+
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
Sun
-
Mon
-
Tue
-
Wed
-
Thu
-
Fri
-
Sat
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
+
+
Add Event
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
-
\ No newline at end of file
+
+