{"id":13499873,"url":"https://github.com/sesh/base.html","last_synced_at":"2026-01-21T11:33:48.256Z","repository":{"id":43870672,"uuid":"73032237","full_name":"sesh/base.html","owner":"sesh","description":"A minimal base.html file to get your project started","archived":false,"fork":false,"pushed_at":"2022-04-02T20:33:04.000Z","size":21,"stargazers_count":60,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"gh-pages","last_synced_at":"2025-10-09T04:11:44.460Z","etag":null,"topics":["html","template"],"latest_commit_sha":null,"homepage":"https://basehtml.xyz","language":"HTML","has_issues":true,"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/sesh.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":"2016-11-07T01:44:04.000Z","updated_at":"2024-12-11T19:35:58.000Z","dependencies_parsed_at":"2022-09-25T00:13:31.925Z","dependency_job_id":null,"html_url":"https://github.com/sesh/base.html","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sesh/base.html","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sesh%2Fbase.html","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sesh%2Fbase.html/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sesh%2Fbase.html/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sesh%2Fbase.html/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sesh","download_url":"https://codeload.github.com/sesh/base.html/tar.gz/refs/heads/gh-pages","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sesh%2Fbase.html/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28632771,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T04:47:28.174Z","status":"ssl_error","status_checked_at":"2026-01-21T04:47:22.943Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["html","template"],"created_at":"2024-07-31T22:00:45.039Z","updated_at":"2026-01-21T11:33:48.242Z","avatar_url":"https://github.com/sesh.png","language":"HTML","funding_links":[],"categories":["HTML"],"sub_categories":[],"readme":"`base.html` represents the minimum that you should include in your base template.\n\n\n## Usage\n\n```\ncurl https://basehtml.xyz \u003e base.html\n```\n\n\n## Rationale\n\n[HTML Boilerplate][html5-bp] is the gold standard of HTML base templates but I've always wanted something simpler.\n\nWe don't need to force decisions about JS / CSS layout in our base template, you're an adult - you can make those mistakes yourself.\nIt should no longer be considered best practice to ~always include [JQuery][jquery]~ (or any third party JS / CSS).\nPlus, and this is awesome, if you're using a [modern SSL configuration][ssl-config] you no longer have to worry about IE 10 compatibility (so no more `ie` css tags that you remove with JS).\n\nThis `base.html` project aims to be as minimal and un-opinionated as possible, including _only_ things that would be considered best practice for 99% of web projects.\n\n\n## Browser Support\n\n100%! No, but really, there's nothing in the `base.html` that will break in any browser.\nWhat's not included is code that specifically adds support for older browsers.\nOr really any actual code beyond a very simple base.\nThat means there's no CSS reset, [`normalize.css`][normalize] or [`modernizr.js`][modernizr] - so if you want to support old version of IE you'll have to include those yourself.\n\nIf you want to use HTML5-style markup (`\u003csection\u003e`, `\u003carticle\u003e`, `\u003cnav\u003e`, etc.) and still support IE9 you'll need to include something like [`html5shiv`][html5shiv].\n\n\n## What about...\n\n#### ...setting a favicon?\n\nJust include `favicon.ico` in the root of your site as recommended by Audrey Feldroy's amazingly detailed [favicon-cheat-sheet][favicon-cheat-sheet].\nI have a set of very small icons you can use in [sesh/favicons] (mostly to avoid the 404).\n\n#### ...including a css reset?\n\nSure. Use whichever one you want! You just have to include it yourself.\n\n#### ...Google Analytics?\n\nThere's a bunch of analytics options out there and Google provides one of them.\nOur aim is to not be opinionated so you'll need to include your own analytics package\n(if you really want a recommendation you can support the creator of this template by using my referral code for [Fathom Analytics](https://usefathom.com/ref/GQ3I7T)).\n\n\n## Contributing\n\nBefore committing please make sure that any changes pass `htmlhint` (with the default settings).\n\n\n## Resources\n\n- Josh Buchea's excellent [HEAD][head] project\n- [HTML5 Boilerplate][html5-bp]\n- Sitepoint's [Minimal HTML Document][sitepoint-html5]\n- CSS Wizardry's [Real HTML5 Boilerplate][real-html5]\n\n---\n\nFavicon credit: Baseball Field by Ryan Choi from the Noun Project\n\n  [head]: http://gethead.info/\n  [html5-bp]: https://github.com/h5bp/html5-boilerplate\n  [jquery]: https://jquery.com\n  [ssl-config]: https://mozilla.github.io/server-side-tls/ssl-config-generator/\n  [normalize]: https://necolas.github.io/normalize.css/\n  [modernizr]: https://modernizr.com/\n  [favicon-cheat-sheet]: https://github.com/audreyfeldroy/favicon-cheat-sheet\n  [html5shiv]: https://github.com/aFarkas/html5shiv\n  [real-html5]: http://csswizardry.com/2011/01/the-real-html5-boilerplate/\n  [sitepoint-html5]: https://www.sitepoint.com/a-minimal-html-document-html5-edition/\n  [sesh/favicons]: https://github.com/sesh/favicons\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsesh%2Fbase.html","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsesh%2Fbase.html","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsesh%2Fbase.html/lists"}