aboutsummaryrefslogtreecommitdiff
path: root/src/templates/log.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/templates/log.html')
-rw-r--r--src/templates/log.html83
1 files changed, 83 insertions, 0 deletions
diff --git a/src/templates/log.html b/src/templates/log.html
new file mode 100644
index 0000000..decd2f9
--- /dev/null
+++ b/src/templates/log.html
@@ -0,0 +1,83 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
+
+ <link rel="icon" type="image/svg+xml" href="$PREFIX/static/logo.svg" />
+ <link rel="stylesheet" type="text/css" href="$PREFIX/static/styles.css" />
+ <link rel="alternate" type="application/atom+xml" href="$PREFIX/commits.xml" title="$PROJECT_NAME - commit feed" hreflang="en" />
+ <link rel="alternate" type="application/atom+xml" href="$PREFIX/tags.xml" title="$PROJECT_NAME - tags feed" hreflang="en" />
+
+ <title>$PROJECT_NAME - $PROJECT_DESCRIPTION</title>
+
+ <meta property="og:site_name" content="Repository for $PROJECT_NAME" />
+ <meta property="og:locale" content="en" />
+ <meta property="og:title" content="$PROJECT_NAME" />
+ <meta property="og:description" content="$PROJECT_DESCRIPTION" />
+ <meta name="description" content="$PROJECT_DESCRIPTION" />
+ </head>
+ <body>
+ <header>
+ <div id="horizontal-aligner-of-logo-and-header-items">
+ <img id="repository-logo" src="$PREFIX/static/logo.svg" alt="Logo image of the repository" />
+ <div id="vertical-aligner-of-project-name-and-description">
+ <h1>
+ $PROJECT_NAME
+ </h1>
+ <h2>
+ $PROJECT_DESCRIPTION
+ </h2>
+ <code>
+ git clone $PROJECT_CLONE_URL
+ </code>
+ </div>
+ </div>
+ <nav>
+ <ul>
+ <li>
+ <a href="$PREFIX/">
+ files
+ </a>
+ </li>
+ <li class="selected-nav-item">
+ <a href="$PREFIX/log">
+ log
+ </a>
+ </li>
+ <li>
+ <a href="$PREFIX/refs/">
+ refs
+ </a>
+ </li>
+ </ul>
+ </nav>
+ </header>
+ <main>
+ <div class="log-commit-box">
+ <p>
+ <a href="$PREFIX/commits/$SHA.html">739a235c</a>
+ |
+ EuAndreh
+ <a href="$PREFIX/commits/SHA.html" class="log-head-highlight">HEAD</a>
+ <a href="$PREFIX/tree/main.html" class="log-branch-highlight">main</a>
+ <a href="$PREFIX/tags/v0.2.1.html" class="log-tag-highlight">v0.2.1</a>
+ </p>
+ <pre>Only display filename if it's set
+
+This prevents None from showing up in different places when pastes are
+submitted through the API.</pre>
+ <pre>Notes:
+ See CI logs with:
+ git notes --ref=refs/notes/ci-logs show 92bfa3c5f06558cebcfa06bf78159e76254e07fd
+ git notes --ref=refs/notes/ci-data show 92bfa3c5f06558cebcfa06bf78159e76254e07fd</pre>
+ </div>
+ </main>
+ <footer>
+ <hr />
+ <p>
+ Generated by gistatic $VERSION at $NOW
+ </p>
+ </footer>
+ </body>
+</html>