Constant TEMPLATE_GIT_COMMIT
Source pub const TEMPLATE_GIT_COMMIT: &str = "<!doctype html>\n<html lang=\"{{ lang | default(value=\'en\') }}\">\n<head>\n <meta charset=\"utf-8\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n <title>{{ project_name }} \u{2014} {{ commit.hash_short }}</title>\n <link rel=\"stylesheet\" href=\"{{ root_path }}static/site.css\" />\n</head>\n<body>\n <header>\n <a href=\"{{ root_path }}\" class=\"site-title\">{{ project_name }}</a>\n <a href=\"../index.html\">\u{2190} Log</a>\n <nav>\n <a href=\"../index.html\">Log</a>\n <a href=\"../refs.html\">Refs</a>\n </nav>\n </header>\n <main>\n <h2 class=\"section-heading\">Commit{% if has_browse %} <a class=\"hash\" href=\"../browse/{{ commit.hash }}/\">browse files</a>{% endif %}</h2>\n <div class=\"commit-meta\">\n <dl>\n <dt>Hash</dt>\n <dd><span class=\"hash-full\">{{ commit.hash }}</span></dd>\n <dt>Author</dt>\n <dd>{{ commit.author_name }} <{{ commit.author_email }}></dd>\n <dt>Date</dt>\n <dd><time datetime=\"{{ commit.date_iso }}\">{{ commit.datetime_display }}</time></dd>\n {% if commit.parents %}\n <dt>Parent{% if commit.parents | length > 1 %}s{% endif %}</dt>\n <dd>\n {% for p in commit.parents %}\n <a class=\"hash\" href=\"{{ p.hash }}.html\">{{ p.hash_short }}</a>{% if not loop.last %} {% endif %}\n {% endfor %}\n </dd>\n {% endif %}\n </dl>\n </div>\n <h2 class=\"section-heading\">Message</h2>\n <div class=\"commit-message\">{{ commit.subject }}{% if commit.body %}\n\n{{ commit.body }}{% endif %}</div>\n {% if changed_files %}\n <h2 class=\"section-heading\">Changed Files ({{ changed_files | length }})</h2>\n <ul class=\"files-list\">\n {% for f in changed_files %}\n <li>\n <details>\n <summary>\n <span class=\"badge badge-{{ f.status }}\">{{ f.status }}</span>\n <span class=\"file-path\">{{ f.path }}</span>\n </summary>\n {% if f.diff_lines %}\n <table class=\"diff-table\"><tbody>\n {% for line in f.diff_lines %}<tr class=\"diff-{{ line.kind }}\"><td class=\"diff-cell\">{{ line.content }}</td></tr>\n {% endfor %}\n </tbody></table>\n {% endif %}\n </details>\n </li>\n {% endfor %}\n </ul>\n {% endif %}\n </main>\n</body>\n</html>\n";