Files
buildroot/docs/website/header.html
Angelo Compagnucci 3e8018f8b2 website: version the CSS and JS URLs
The web server sends no caching headers, so browsers decide on their
own how long to keep main.css and buildroot.js. Browsers which cached
buildroot.js before commit 445fb0d067 ("website: fix the recent
activity in buildroot.js") keep running the old script, which needs
the x2js library that is not loaded anymore: both the recent commits
and the recent discussions stay empty until a forced reload.

Add a version to the URLs of both files, so that browsers fetch the new
ones. The version has to be bumped each time one of them changes.

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2026-11-04 22:05:28 +01:00

55 lines
3.3 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="Buildroot" content="">
<meta name="angelo.compagnucci@gmail.com" content="">
<link rel="icon" href="favicon.png">
<meta property="og:site_name" content="Buildroot">
<meta property="og:title" content="Buildroot - Making Embedded Linux Easy">
<meta property="og:description" content="Buildroot is a simple, efficient and easy-to-use tool to generate embedded Linux systems through cross-compilation.">
<meta property="og:type" content="website">
<meta property="og:image" content="https://buildroot.org/images/logo-og.png">
<meta property="og:image:alt" content="Buildroot logo">
<title>Buildroot - Making Embedded Linux Easy</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/5.3.8/materia/bootstrap.min.css" integrity="sha512-lR3pptsOFflVTuIszkLNcibNkPReN2dEA/t1U1++B3/wPEZL4pysMdYsQfaMefLI/X2fjvk5AeaHVBcFoVO2mA==" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-icons/1.13.1/font/bootstrap-icons.min.css" integrity="sha512-t7Few9xlddEmgd3oKZQahkNI4dS6l80+eGEzFQiqtyVYdvcSG2D3Iub77R20BdotfRPA9caaRkg1tyaJiPmO0g==" crossorigin="anonymous">
<link href="css/main.css?v=2" rel="stylesheet">
</head>
<body class="bg-body-tertiary">
<!-- Fixed navbar -->
<nav class="navbar navbar-expand-xl bg-primary sticky-top py-0" data-bs-theme="dark">
<div class="container-xxl px-sm-4">
<a class="navbar-brand fs-2 me-xl-5 py-2" href="/"><b>Buildroot</b></a>
<button class="navbar-toggler border-0 shadow-none" type="button" data-bs-toggle="collapse" data-bs-target="#navbar-main" aria-controls="navbar-main" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbar-main">
<ul class="navbar-nav flex-grow-1 justify-content-xl-between pb-1 pb-xl-0">
<li class="nav-item"><a class="nav-link fs-5 fw-light px-2 px-xl-1" href="/news.html">
<span class="bi bi-star-fill"></span> News</a></li>
<li class="nav-item"><a class="nav-link fs-5 fw-light px-2 px-xl-1" href="/docs.html">
<span class="bi bi-book-fill"></span> Documentation</a></li>
<li class="nav-item"><a class="nav-link fs-5 fw-light px-2 px-xl-1" href="/support.html">
<span class="bi bi-question-circle-fill"></span> Support</a></li>
<li class="nav-item"><a class="nav-link fs-5 fw-light px-2 px-xl-1" href="/contribute.html">
<span class="bi bi-share-fill"></span> Contribute</a></li>
<li class="nav-item"><a class="nav-link fs-5 fw-light px-2 px-xl-1" href="/lts.html">
<span class="bi bi-send-fill"></span> LTS</a></li>
<li class="nav-item"><a class="nav-link fs-5 fw-light px-2 px-xl-1" href="/sponsors.html">
<span class="bi bi-currency-dollar"></span> Sponsors</a></li>
<li class="nav-item"><a class="nav-link fs-5 fw-light px-2 px-xl-1" href="/association.html">
<span class="bi bi-arrows-angle-contract"></span> Association</a></li>
<li class="nav-item align-self-xl-center"><a class="btn btn-success my-2 my-xl-0" href="/download.html">
<span class="bi bi-cloud-download-fill"></span> Download</a></li>
</ul>
</div><!--/.navbar-collapse -->
</div>
</nav>