2022-12-16 12:28:55 -05:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
2022-12-18 12:59:59 -05:00
|
|
|
<title>git.example.com - {{ repository_name }}</title>
|
2022-12-16 12:28:55 -05:00
|
|
|
<meta charset="utf-8" />
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale-1.0, user-scalable=yes" />
|
|
|
|
<link rel="icon" href="data:," />
|
|
|
|
<meta name="description" content="{{ repository_description }}" />
|
|
|
|
<style>
|
2023-02-03 23:37:35 -05:00
|
|
|
body {
|
|
|
|
font-family: sans-serif;
|
2023-02-04 00:23:01 -05:00
|
|
|
font-size: 16px;
|
2023-02-03 23:37:35 -05:00
|
|
|
margin: 0 auto;
|
|
|
|
max-width: 700px;
|
|
|
|
line-height: 1.5;
|
|
|
|
}
|
2023-02-04 00:23:01 -05:00
|
|
|
pre, code {
|
|
|
|
font-size: 14px;
|
|
|
|
background-color: #eeeeee;
|
|
|
|
border-radius: 5px ;
|
|
|
|
}
|
2023-02-03 23:43:59 -05:00
|
|
|
code { padding: 2px 7px }
|
2023-02-04 00:23:01 -05:00
|
|
|
pre {
|
|
|
|
overflow: scroll;
|
|
|
|
padding: 15px 20px;
|
|
|
|
white-space: pre;
|
|
|
|
}
|
2023-02-03 23:43:59 -05:00
|
|
|
pre code { padding: 0 }
|
2022-12-16 12:28:55 -05:00
|
|
|
a { color: blue }
|
|
|
|
nav a { margin-right: 10px }
|
2023-02-04 00:23:01 -05:00
|
|
|
hr {
|
|
|
|
border: 0;
|
|
|
|
border-bottom: 1px solid black;
|
|
|
|
}
|
2023-02-03 02:42:42 -05:00
|
|
|
th { text-align: left }
|
2023-02-04 00:23:01 -05:00
|
|
|
td {
|
|
|
|
padding: 0 1em 0 0;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
footer {
|
|
|
|
font-size: small;
|
|
|
|
text-align: right;
|
|
|
|
}
|
2023-02-03 23:37:35 -05:00
|
|
|
img { max-width: 100% }
|
2023-02-02 00:39:13 -05:00
|
|
|
/* permalinks */
|
2022-12-26 11:09:48 -05:00
|
|
|
h1 a[href^="#"]::after, h2 a[href^="#"]::after, h3 a[href^="#"]::after, h4 a[href^="#"]::after, h5 a[href^="#"]::after, h6 a[href^="#"]::after { content: "¶"; opacity: 0; margin-left: .5em; }
|
|
|
|
h1:hover a[href^="#"]::after, h2:hover a[href^="#"]::after, h3:hover a[href^="#"]::after, h4:hover a[href^="#"]::after, h5:hover a[href^="#"]::after, h6:hover a[href^="#"]::after { opacity: 100; }
|
|
|
|
h1 a[href^="#"], h2 a[href^="#"], h3 a[href^="#"], h4 a[href^="#"], h5 a[href^="#"], h6 a[href^="#"] { text-decoration: none; }
|
2023-02-02 00:39:13 -05:00
|
|
|
#file-contents {
|
|
|
|
white-space: pre;
|
|
|
|
font-family: monospace;
|
|
|
|
border-collapse: collapse;
|
|
|
|
}
|
2023-02-03 02:42:42 -05:00
|
|
|
#file-contents code { background-color: inherit }
|
|
|
|
.line-number { text-align: right }
|
2023-02-04 00:23:01 -05:00
|
|
|
.line:target { background-color: yellow }
|
2023-02-03 23:37:35 -05:00
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
body {
|
2023-02-04 00:40:05 -05:00
|
|
|
color: #dddddd;
|
|
|
|
background-color: #111111;
|
2023-02-03 23:37:35 -05:00
|
|
|
}
|
2023-02-04 17:35:26 -05:00
|
|
|
a { color: #14cccc }
|
2023-02-04 00:23:01 -05:00
|
|
|
pre, code { background-color: #222222 }
|
|
|
|
.line:target { background-color: darkgreen }
|
2023-02-04 17:39:49 -05:00
|
|
|
hr { border-bottom: 1px solid #dddddd }
|
2023-02-03 23:37:35 -05:00
|
|
|
}
|
2022-12-16 12:28:55 -05:00
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
2022-12-18 12:59:59 -05:00
|
|
|
<h1>git.example.com</h1>
|
2023-01-08 12:27:39 -05:00
|
|
|
<h2>{{ repository_path_parent }}
|
|
|
|
{% if repository_path_parent %} / {% endif %}
|
|
|
|
{{ repository_name }}</h2>
|
2023-02-03 23:37:35 -05:00
|
|
|
<p><strong>clone url</strong>: <code>git://git.example.com/{{ repository_path }}</code></p>
|
2022-12-16 12:28:55 -05:00
|
|
|
<nav>
|
|
|
|
{% if readme_file %}
|
2022-12-18 12:59:59 -05:00
|
|
|
<a href="{{ relative_root }}{{ readme_file }}.html">about</a>
|
2022-12-16 12:58:30 -05:00
|
|
|
<a href="{{ relative_root }}files.html">files</a>
|
2022-12-16 12:28:55 -05:00
|
|
|
{% else %}
|
2022-12-18 12:59:59 -05:00
|
|
|
<a href="{{ relative_root }}files.html">files</a>
|
2022-12-16 12:28:55 -05:00
|
|
|
{% endif %}
|
|
|
|
{% if license_file %}
|
2022-12-16 12:58:30 -05:00
|
|
|
<a href="{{ relative_root }}{{ license_file }}.html">license</a>
|
2022-12-16 12:28:55 -05:00
|
|
|
{% endif %}
|
|
|
|
{% if issues_file %}
|
2022-12-16 12:58:30 -05:00
|
|
|
<a href="{{ relative_root }}{{ issues_file }}.html">issues</a>
|
2022-12-16 12:28:55 -05:00
|
|
|
{% endif %}
|
2022-12-16 12:58:30 -05:00
|
|
|
<a href="{{ relative_root }}commits.html">commits</a>
|
|
|
|
<a href="{{ relative_root }}contributors.html">contributors</a>
|
2022-12-16 12:28:55 -05:00
|
|
|
</nav>
|
|
|
|
<hr />
|
2022-12-26 13:38:04 -05:00
|
|
|
{% if source_file %}
|
|
|
|
<p id="file-path">{{ source_file }}</p>
|
|
|
|
{% endif %}
|
2022-12-16 12:28:55 -05:00
|
|
|
{{ content|safe }}
|
|
|
|
<hr />
|
|
|
|
<footer>
|
2022-12-18 12:59:59 -05:00
|
|
|
<p>Generated by
|
|
|
|
<a href="https://git.m455.casa/repo2html/"
|
|
|
|
title="the repo2html git repo static renderer by m455 and pho4cexa">repo2html</a>
|
|
|
|
{{ repo2html_version }} using
|
|
|
|
<a href="http://wiki.call-cc.org/eggref/5/ersatz"
|
|
|
|
title="the ersatz Jinja2-like templating library by Ivan Raikov"
|
2023-02-03 23:37:35 -05:00
|
|
|
>ersatz</a> templates</p>
|
|
|
|
</footer>
|
|
|
|
</html>
|