forked from theupdateframework/specification
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add custom header to hide status in generated HTML
Add a custom HTML header for use in the generated HTML version of the document. This allows us to: 1. not display a Status -- status isn't something we've typically used in TUF and the options available to us in bikeshed don't quite fit our use 2. display the specification version more prominently in the sub-heading, alongside the last modified date Signed-off-by: Joshua Lock <[email protected]>
- Loading branch information
Showing
4 changed files
with
31 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
<title>[TITLE]</title> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | ||
<style data-fill-with="stylesheet"> | ||
</style> | ||
</head> | ||
<body class="h-entry"> | ||
<div class="head"> | ||
<p data-fill-with="logo"></p> | ||
<h1 id="title" class="p-name no-ref">[TITLE]</h1> | ||
<h2 id="subtitle" class="no-num no-toc no-ref"> Version: [VERSION] <br/> | ||
Last modified: <time class="dt-updated" datetime="[ISODATE]">[DATE]</time></h2> | ||
<div data-fill-with="spec-metadata"></div> | ||
<div data-fill-with="warning"></div> | ||
<p class='copyright' data-fill-with='copyright'></p> | ||
<hr title="Separator for header"> | ||
</div> | ||
|
||
<div data-fill-with="at-risk"></div> | ||
|
||
<nav data-fill-with="table-of-contents" id="toc"></nav> | ||
<main> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters