Skip to content

Commit af5b852

Browse files
committed
gh-pages: change page title and add footnote
1 parent 0fd05a8 commit af5b852

File tree

3 files changed

+14
-5
lines changed

3 files changed

+14
-5
lines changed

build/phars.html.template

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@
55
<meta charset="UTF-8" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
77
<link rel="stylesheet" href="../styles.css" />
8-
<title>PHP_CodeSniffer PHAR - All PHAR files</title>
8+
<title>PHP_CodeSniffer - PHAR Archive</title>
99
<link rel="canonical" href="https://phars.phpcodesniffer.com/phars/" />
1010
</head>
1111

1212
<body>
1313
<main class="container">
14-
<h1 class="heading">All PHAR files</h1>
14+
<h1 class="heading">PHAR Archive</h1>
1515
<a href=".." class="link">See latest PHAR files</a>
1616
<!-- {{ PHARS }} -->
17+
<div class="footnote">Note: The PHAR archive does not contain all previously released PHAR files. Only the ones released since PHIVE support was added (and the PHAR files started to be signed).</div>
1718
</main>
1819
</body>
1920

src/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ <h2 class="download-box__title">PHPCBF</h2>
4747
</div>
4848
<aside class="additional-info">
4949
<a href="./phars/">
50-
See all PHAR files
50+
See more versions in our PHAR archive
5151
</a>
5252

5353
</aside>

src/styles.css

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ body {
152152
padding-top: 2rem;
153153
}
154154

155-
/* phars.html */
155+
/* phars/index.html */
156156

157157
.link {
158158
color: var(--foreground-color);
@@ -197,4 +197,12 @@ body {
197197
color: color-mix(in srgb, var(--foreground-color), #6b7280);
198198
font-size: 0.8em;
199199
margin-left: 0.25rem;
200-
}
200+
}
201+
202+
.footnote {
203+
max-width: 80ch;
204+
font-size: .8rem;
205+
text-align: center;
206+
padding: 1rem;
207+
text-wrap: balance;
208+
}

0 commit comments

Comments
 (0)