{"id":49339463,"url":"https://github.com/stom66/grav-theme-t2b5","last_synced_at":"2026-04-27T03:03:04.444Z","repository":{"id":112017398,"uuid":"361947232","full_name":"stom66/grav-theme-t2b5","owner":"stom66","description":"Bootstrap 5 Grav Theme","archived":false,"fork":false,"pushed_at":"2026-02-05T17:43:07.000Z","size":11987,"stargazers_count":3,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-06T03:37:30.608Z","etag":null,"topics":["bootstrap5","bootswatch","grav","theme"],"latest_commit_sha":null,"homepage":"","language":"Twig","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stom66.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-04-27T01:48:15.000Z","updated_at":"2026-02-05T17:43:11.000Z","dependencies_parsed_at":"2025-02-28T00:29:09.289Z","dependency_job_id":"ce815155-f5b1-4a18-9db8-c2144d0d13e0","html_url":"https://github.com/stom66/grav-theme-t2b5","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stom66/grav-theme-t2b5","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stom66%2Fgrav-theme-t2b5","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stom66%2Fgrav-theme-t2b5/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stom66%2Fgrav-theme-t2b5/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stom66%2Fgrav-theme-t2b5/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stom66","download_url":"https://codeload.github.com/stom66/grav-theme-t2b5/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stom66%2Fgrav-theme-t2b5/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32320686,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"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":["bootstrap5","bootswatch","grav","theme"],"created_at":"2026-04-27T03:02:54.097Z","updated_at":"2026-04-27T03:03:04.438Z","avatar_url":"https://github.com/stom66.png","language":"Twig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# T2B5 Theme\n\n## Description\n\nThe **T2B5** Theme is for [Grav CMS](http://github.com/getgrav/grav). It includes numerous customisation options, such as navbar styles and web-app settings, as well as comprehensive favicon support. It supports using the following:\n\n-   Bootstrap 5.3.3\n-   Bootswatch 5.3.3\n-   FontAwesome Free 6.7.2\n-   Hover.css 2.3.2\n-   Animate.css 4.1.1\n-   GLightbox 3.3.0\n\n---\n\n# Installation\n\n### New sites\n\nThe recommended way to use the theme is by starting with the [grav-skeleton-t2b5](https://github.com/stom66/grav-skeleton-t2b5) repository. This includes this theme as well as the required pages, sample icons, and plugins.\n\n#### Existing sites\n\nIt is possible to add the theme to an existing site, but it's a bit more complicated than just installing the theme. See the [Manual Installation](/INSTALL.md) instructions if you must use this approach.\n\n### Post-install steps\n\nSome additional steps you can take after installing the theme to get the most from it:\n\n-   Update `/user/config/site.yaml`, via _Admin -\u003e Configuration -\u003e Site_\n-   Customise `/user/config/themes/t2b5.yaml` via _Admin -\u003e Themes -\u003e T2B5_\n-   Choose an optional Bootswatch theme in the settings\n-   Add `Sitemap: https://example.com/sitemap.xml` to your `robots.txt` file\n-   Upload your [favicons](#favicons)\n\n---\n\n### Favicons:\n\nThe theme has comprehensive support for favicons and will automatically resize images to a variety of sizes to ensure maxium compatibility with popular browsers and devices.\n\nUpload your favicons to the folder `/user/images/icons` and select them via the Theme config page in the admin panel.\n\nYou should upload the following icons:\n\n-   ICO version, with sizes 16x16, 32x32, 48x48\n-   SVG version (for manifest)\n-   PNG version, 512x512 recommended\n\nThese icons will be used for the browser favicon, as well as app icons and shortcut icons.\n\n## Advanced CSS Customisation\n\nTo customise the theme and rebuild the css first do the following:\n\n1. From the terminal `cd` to the theme dir: `cd /path/to/user/themes/t2b5`\n2. Run: `npm install`\n3. Make your changes to the scss files in the `src/scss` folder\n4. Run: `npm run build` to trigger the vite build, or `npm run watch`\n\n-   Custom styles can be added and changed in `t2b5/src/scss/custom/_styles.scss`\n-   Google Fonts can be added and changed in `t2b5/src/scss/custom/_typography.scss`\n-   The most common Boostrap variables are in `t2b5/src/scss/custom/_variables.scss`\n\nBy default the Bootstrap/Bootswatch libraries are included from CDNs and are not included in `theme.css` If you wish to use a customised local Bootstrap style:\n\n1. Disable the CSS CDN includes in the theme options\n2. Uncomment the boostrap include statement in `t2b5/src/scss/theme.scss`\n\nYou may wish to toggle the \"Use minified CSS\" option in the theme options during development to assist inspection.\n\n---\n\n## Local dev\n\nRun a local development server with the following terminal command\n\n```sh\nbin/grav serve\n```\n\nOr, directly run symfony:\n\n```sh\nsymfony server:start --no-tls --allow-http --listen-ip=0.0.0.0:8002 --passthru=system/router.php\n```\n\nOr use the default PHP server with:\n\n```sh\nphp -c php.ini -S 0.0.0.0:8002 system/router.php\n```\n\nIf you want to access the site from another machine on the local network you'll need to do the following in PowerShell:\n\n```ps\n# Forward port to WSL\nnetsh interface portproxy add v4tov4 listenport=8002 listenaddress=0.0.0.0 connectport=8002 connectaddress=127.0.0.1\n\n# Allow port through windows firewall\nNew-NetFirewallRule -DisplayName \"Allow PHP Server Port 8002\" -Direction Inbound -Protocol TCP -LocalPort 8002 -Action Allow -Profile Any\n\n```\n\nLater, be sure to disable the forwarding:\n\n```ps\nnetsh interface portproxy delete v4tov4 listenport=8000 listenaddress=0.0.0.0\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstom66%2Fgrav-theme-t2b5","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstom66%2Fgrav-theme-t2b5","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstom66%2Fgrav-theme-t2b5/lists"}