From e4d12fc667c9830dd5f08f827b2a70adff58a09b Mon Sep 17 00:00:00 2001
From: Anirudh Oppiliappan <x@icyphox.sh>
Date: Sun, 18 Dec 2022 10:42:18 +0530
Subject: templates: unified repo-header

---
 templates/repo.html | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

(limited to 'templates/repo.html')

diff --git a/templates/repo.html b/templates/repo.html
index 3b5d2b0..2e87b07 100644
--- a/templates/repo.html
+++ b/templates/repo.html
@@ -7,13 +7,8 @@
   </title>
 {{ template "head" . }}
 
-  <header>
-    <h2> 
-    <a href="/">all repos</a>
-     &mdash; {{ .name }}
-    </h2>
-    <h3 class="desc">{{ .desc }}</h3>
-  </header>
+{{ template "repoheader" . }}
+
   <body>
     {{ template "nav" . }}
     <main>
-- 
cgit v1.2.3