{"id":15612428,"url":"https://github.com/stevepolitodesign/eleventy-bootstrap-starter","last_synced_at":"2025-10-13T17:31:45.829Z","repository":{"id":37882418,"uuid":"210193930","full_name":"stevepolitodesign/eleventy-bootstrap-starter","owner":"stevepolitodesign","description":"A Blank Bootstrap Starter Theme for Eleventy. ","archived":true,"fork":false,"pushed_at":"2023-03-17T18:48:29.000Z","size":120,"stargazers_count":8,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-22T01:35:23.699Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://stevepolito.design/blog/create-a-bootstrap-starter-theme-in-eleventy/","language":"HTML","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stevepolitodesign.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-09-22T18:20:22.000Z","updated_at":"2023-03-17T18:48:43.000Z","dependencies_parsed_at":"2023-02-08T15:01:22.097Z","dependency_job_id":null,"html_url":"https://github.com/stevepolitodesign/eleventy-bootstrap-starter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stevepolitodesign/eleventy-bootstrap-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevepolitodesign%2Feleventy-bootstrap-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevepolitodesign%2Feleventy-bootstrap-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevepolitodesign%2Feleventy-bootstrap-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevepolitodesign%2Feleventy-bootstrap-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stevepolitodesign","download_url":"https://codeload.github.com/stevepolitodesign/eleventy-bootstrap-starter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevepolitodesign%2Feleventy-bootstrap-starter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279016290,"owners_count":26085828,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-03T06:42:52.807Z","updated_at":"2025-10-13T17:31:45.527Z","avatar_url":"https://github.com/stevepolitodesign.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Requirements\n\n[Parcel](https://parceljs.org/getting_started.html#%F0%9F%9A%80-getting-started)\n\n---\n\n# Documentation\n\n## Site Variables\n\n- Custom site variables are located in `_data/site.json`. These are used in the templates, such as `_includes/shared/header.njk`.\n- Specifically, these are used to dynamically generate page titles and meta descriptions.\n\n## Templates\n\n- Custom templates are located in `_includes/layouts`.\n- In order to use `layout: default` instead of `layouts/default.njk`, an alias was added to `.eleventy.js`.\n\n## Local Development\n\n- `npm run start`\n    - This runs `eleventy --serve` and `parcel watch ./_assets/js/main.js --out-dir ./_site/assets`.\n    - `--out-dir` ensures the assets generated by `parcel` are loaded in the `_site` directory generated by `eleventy`.\n\n## Production Build\n\n- `npm run build`\n    - This runs `eleventy` and `parcel build ./_assets/js/main.js --out-dir ./_site/assets`.\n    - `parcel build` minifies everything.\n    - `--out-dir` ensures the assets generated by `parcel` are loaded in the `_site` directory generated by `eleventy`.\n\n## Styles\n\n- Bootstrap is loaded via npm, and then imported in at `_assets/css/vendor/_bootstrap.scss`\n- [Bootstap overrides](https://getbootstrap.com/docs/4.3/getting-started/theming/#importing) are located at `_assets/css/base/_bootstrap-overrides.scss`.\n- All `.scss` files are imported into `_assets/css/main.scss`.\n- `_assets/css/main.scss` is then imported into `_assets/js/main.js`.\n- `_assets/js/main.js` is then bundled via [Parcel](https://parceljs.org/recipes.html#customizing-bootstrap-styles). Parcel magically creates a `_site/assets/main.css` and `_site/assets/main.js` from this file.\n\n## Javascript\n\n- All javascript is imported into `_assets/js/main.js` and then compiled into `_site/assets/main.js` via Parcel\n- In order to use [Popovers](https://getbootstrap.com/docs/4.3/components/popovers/) and [Tooltips](https://getbootstrap.com/docs/4.3/components/tooltips/), I created `_assets/js/vendor/popover.js` and `_assets/js/vendor/tooltip.js` respectively. These are then imported into `_assets/js/main.js`. ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstevepolitodesign%2Feleventy-bootstrap-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstevepolitodesign%2Feleventy-bootstrap-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstevepolitodesign%2Feleventy-bootstrap-starter/lists"}