瀏覽代碼

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
     </body>
5
     </body>
3
 </html>
6
 </html>

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

@@ -1,9 +1,9 @@
1
 <!DOCTYPE HTML>
1
 <!DOCTYPE HTML>
2
 <html>
2
 <html>
3
 	<head>
3
 	<head>
4
-		<title>{{ .Title }}</title>
4
+		<title>{{ .Site.Title }}</title>
5
 		<meta charset="utf-8" />
5
 		<meta charset="utf-8" />
6
         <link rel="stylesheet" href="/css/main.css" />
6
         <link rel="stylesheet" href="/css/main.css" />
7
 	</head>
7
 	</head>
8
 	<body>
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
     padding:10px;
20
     padding:10px;
21
 }
21
 }
22
 
22
 
23
+h1 a {
24
+    color:black;
25
+    text-decoration:none;
26
+}
27
+
23
 #footer {
28
 #footer {
24
     padding:10px;
29
     padding:10px;
25
     border-top:2px solid black;
30
     border-top:2px solid black;