TheGazette is a responsive news and magazine website template built on Bootstrap 5. It has a breaking-news bar with market values, a three-up headline slider, a scrolling latest-news strip, a lead story with a sidebar, a video grid and an editorial banner. The five pages are home, category, single post, about us and contact. It suits general news sites and regional papers, and finance, tech, politics, travel and health niches.
The category page has story grids and pagination, the single post page has a pull quote, author box, comments and a comment form, the about page has team cards, and the contact page has a working contact form. A membership banner and sidebar card mark where you can place your own offer or ad code.
What’s new in 3.0
Bootstrap 5.3.8 (the earlier release used Bootstrap 4.0), compiled from Sass, and plain JavaScript with no jQuery. Swiper 14 runs the sliders, a native dialog plays videos, and the ticker and the latest-news strip are rewritten without plugins. npm run build (Dart Sass and esbuild) compiles one minified stylesheet and one script.
Lighter pages: the home page went from 4.2 MB and 51 requests to 1.6 MB and 49 requests, and the contact page from 1.5 MB and 37 requests to 0.7 MB and 17 requests. Every photo has an AVIF version with the JPEG as fallback, real dimensions and lazy loading below the first screen.
No third-party requests: Roboto and PT Serif are self-hosted, the icon fonts are replaced by Lucide SVG icons and a small social-logo subset, and the Google Maps script is gone. A Google Analytics 4 snippet stays commented out until you add your own ID.
Working forms: the contact form, comment form and newsletter box send through a PHP mail handler (set your address in php/send-email.php) with a spam trap, visible labels and clear success and error messages.
Accessibility: skip link, one h1 per page, visible keyboard focus, labelled icon links, text contrast of at least 4.5:1 and reduced-motion support for the tickers.
New sample content: fictional headlines, names and addresses, and replacement photos for the identifiable people and signs in the earlier release (credits are in the README).
Documentation page and README with the build steps and a changelog.