git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorHarald Pfeiffer <coding _ lirion.de> 2018-06-26 23:32:40 +0200
committerHarald Pfeiffer <coding _ lirion.de> 2018-06-26 23:32:40 +0200
commit0fc1cb64def2ac7c0e234670d2c72bd71107a818 (patch)
tree7146b8e417ac5439ac55dbb3321f34b04794c54f /www
downloadcgit-config-0fc1cb64def2ac7c0e234670d2c72bd71107a818.tar.bz2
Initial commit
Diffstat (limited to 'www')
-rw-r--r--www/assets/content.txt1
-rw-r--r--www/cgit.css1
l---------www/cgit.png1
l---------www/favicon.ico1
-rw-r--r--www/fonts/content.txt1
-rw-r--r--www/head.html15
-rw-r--r--www/head.php5
-rw-r--r--www/lirionnet.css6
l---------www/nav.php1
l---------www/robot.txt1
-rwxr-xr-xwww/update13
11 files changed, 46 insertions, 0 deletions
diff --git a/www/assets/content.txt b/www/assets/content.txt
new file mode 100644
index 0000000..ed0f2a4
--- /dev/null
+++ b/www/assets/content.txt
@@ -0,0 +1 @@
+the assets/ folder
diff --git a/www/cgit.css b/www/cgit.css
new file mode 100644
index 0000000..df048d1
--- /dev/null
+++ b/www/cgit.css
@@ -0,0 +1 @@
+/* here be a symlink to cgit's native CSS */
diff --git a/www/cgit.png b/www/cgit.png
new file mode 120000
index 0000000..1d72e3c
--- /dev/null
+++ b/www/cgit.png
@@ -0,0 +1 @@
+the actual cgit logo \ No newline at end of file
diff --git a/www/favicon.ico b/www/favicon.ico
new file mode 120000
index 0000000..baee530
--- /dev/null
+++ b/www/favicon.ico
@@ -0,0 +1 @@
+your favicon \ No newline at end of file
diff --git a/www/fonts/content.txt b/www/fonts/content.txt
new file mode 100644
index 0000000..3c61089
--- /dev/null
+++ b/www/fonts/content.txt
@@ -0,0 +1 @@
+the actual fonts folder
diff --git a/www/head.html b/www/head.html
new file mode 100644
index 0000000..fedb311
--- /dev/null
+++ b/www/head.html
@@ -0,0 +1,15 @@
+<header>
+ <h1>git.lirion.de</h1>
+ <p>Of git, get, and gud</p>
+</header>
+<nav>
+ <a href="//lirion.de/" title="home"><span>lirion.de</span></a>
+ <a href="//lirion.de/" title="links"><span>Links</span></a>
+ <a href="//lirion.de/" title="about"><span>About</span></a>
+ <a href="//mail.lirion.de/" title="contact"><span>Contact</span></a>
+ <a href="//hots.lirion.de" title="hots"><span>Heroes of the Storm</span></a>
+ <a href="//minecraft.lirion.de" title="minecraft"><span>Minecraft</span></a>
+ <a href="//git.lirion.de" title="git"><span>GIT</span></a>
+ <a href="//autoconfig.lirion.de" title="autoconf"><span>autoconf</span></a>
+ <a href="//redhat.lirion.de" title="redhat"><span>RedHat</span></a>
+ </nav>
diff --git a/www/head.php b/www/head.php
new file mode 100644
index 0000000..8d40e16
--- /dev/null
+++ b/www/head.php
@@ -0,0 +1,5 @@
+<header>
+ <h1>git.lirion.de</h1>
+ <p>Of git, get, and gud</p>
+</header>
+<?php include('./nav.php'); ?>
diff --git a/www/lirionnet.css b/www/lirionnet.css
new file mode 100644
index 0000000..64d8b61
--- /dev/null
+++ b/www/lirionnet.css
@@ -0,0 +1,6 @@
+<style type="text/css">
+ /* here be the CSS included from my main domain */
+</style>
+<link rel="stylesheet" type="text/css" href="/fonts/telex-ht-regular.css"/>
+<link rel="stylesheet" type="text/css" href="/fonts/alte-din.css"/>
+<link rel="stylesheet" type="text/css" href="/fonts/elusive-icons.css"/>
diff --git a/www/nav.php b/www/nav.php
new file mode 120000
index 0000000..bbf3731
--- /dev/null
+++ b/www/nav.php
@@ -0,0 +1 @@
+symlink to the navigation fragment of the main website code \ No newline at end of file
diff --git a/www/robot.txt b/www/robot.txt
new file mode 120000
index 0000000..4e330c7
--- /dev/null
+++ b/www/robot.txt
@@ -0,0 +1 @@
+cgit's robot.txt \ No newline at end of file
diff --git a/www/update b/www/update
new file mode 100755
index 0000000..b118e70
--- /dev/null
+++ b/www/update
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+php head.php > head.html
+
+# style.css
+# This will be included in the cgit head itself, so... well. Let's wrap it.
+echo '<style type="text/css">' > lirionnet.css
+cat "/wherever/lirionnet.css" >> lirionnet.css
+echo '</style>' >> lirionnet.css
+for i in "/fonts/telex-ht-regular.css" "/fonts/alte-din.css" "/fonts/elusive-icons.css"
+do
+ echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"$i\"/>" >> lirionnet.css
+done