diff options
Diffstat (limited to 'templates/repo_file.html')
-rw-r--r-- | templates/repo_file.html | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/templates/repo_file.html b/templates/repo_file.html index e01d02c..796846e 100644 --- a/templates/repo_file.html +++ b/templates/repo_file.html @@ -9,9 +9,8 @@ </head> <body> <h1><a href="/">gityeet</a></h1> +<h2><a href="/{{ repo_path }}/">{{ repo_path }}</a></h2> <p>{{ rel_path }}</p> -<pre> -{{ blob.content()|from_utf8_lossy }} -</pre> +{{ blob.content()|from_utf8_lossy|highlight(rel_path)|safe }} </body> </html> |