浏览代码

Header and Footer links

Gogs 8 年之前
父节点
当前提交
677d23ef9b

+ 4 - 1
themes/infecte/layouts/partials/footer.html

@@ -1,3 +1,6 @@
1
-      <div id='footer'>Équipe Infecté @ 2017</div>
1
+        <div id='footer'>
2
+            <a href='http://infecte.fr'>Les papiers de la fermentation</a> - <a href='http://abc.infecte.fr'>Recettes</a> - <a href='http://track.infecte.fr'>Suivi de fermentation</a><br /><br />
3
+            Équipe Infecté @ 2017
4
+        </div>
2 5
     </body>
3 6
 </html>

+ 2 - 2
themes/infecte/layouts/partials/header.html

@@ -1,9 +1,9 @@
1 1
 <!DOCTYPE HTML>
2 2
 <html>
3 3
 	<head>
4
-		<title>{{ .Title }}</title>
4
+		<title>{{ .Site.Title }}</title>
5 5
 		<meta charset="utf-8" />
6 6
         <link rel="stylesheet" href="/css/main.css" />
7 7
 	</head>
8 8
 	<body>
9
-      <h1>{{ .Title }}</h1>
9
+      <h1><a href='/'>{{ .Site.Title }}</a></h1>

+ 5 - 0
themes/infecte/static/css/main.css

@@ -20,6 +20,11 @@ h1 {
20 20
     padding:10px;
21 21
 }
22 22
 
23
+h1 a {
24
+    color:black;
25
+    text-decoration:none;
26
+}
27
+
23 28
 #footer {
24 29
     padding:10px;
25 30
     border-top:2px solid black;