🐙 Templated web page generator for your git repositories
git clone https://github.com/m-col/gitja
Files | Refs | Readme | License

Commit 15b9b6cda67a37977780fe192777b5b676df8c6d
Parent: cfdb7417a77b558368a7b8d2ea9ec6004e35ffad
Author: mcol <mcol@posteo.net>
Date: 2021-09-25 01:07:50 +0100
Committer: mcol <mcol@posteo.net>
Committed: 2021-09-25 01:07:50 +0100

Add template index file

templates/index.html Added

@@ -0,0 +1,19 @@
+<!doctype html>
+<html lang="en">
+  <head>
+    <meta charset="utf-8">
+    <meta http-equiv="x-ua-compatible" content="ie=edge">
+    <meta name="viewport" content="width=device-width, initial-scale=1">
+    <title>{{ name }}</title>
+    <link rel="stylesheet" href="{{- host }}/style.css" />
+  </head>
+
+  <body>
+    <p>{{- name }}</p>
+    <hr>
+    <p>{{- description }}</p>
+    <p>git clone {{ host }}/{{- name }}</p>
+		<p><a href="./log.html">Log</a></p>
+		<p><a href="./tree.html">Tree</a></p>
+  </body>
+</html>