commit df355ef

0uppy  ·  2026-05-24 19:34:27 +0000 UTC
parent 6d96d14
templates: updated the templates for da pages
2 files changed,  +16, -8
+8, -3
 1@@ -3,18 +3,23 @@
 2   <head>
 3     <meta charset="UTF-8">
 4     <meta name="viewport" content="width=device-width, initial-scale=1.0">
 5+    <link rel="icon" href="images/favicon.ico">
 6     <title>{{ .Title }}</title>
 7     <meta name="description" content="{{ .Description }}">
 8-    <link href="css/style.css" rel="stylesheet">
 9+    <style>
10+        body { font-family: Verdana, sans-serif; }
11+        td { padding: 0.5em 1.5em; }
12+        td:first-child a { white-space: nowrap; }
13+    </style>
14   </head>
15   <body>
16-    <p>{{ .Title }} | words words words words words</p>
17+    <p>{{ .Title }} | {{ .Description }}</p>
18     <hr>
19     <table>
20       <tr>
21         <td valign="top">
22           {{ range .Sidebar }}
23-            <a href="{{ .Path }}">› {{ .Name }}</a><br>
24+            <a href="{{ .Path }}">&rsaquo; {{ .Name }}</a><br>
25           {{ end }}
26         </td>
27         <td valign="top">
+8, -5
 1@@ -3,20 +3,23 @@
 2   <head>
 3     <meta charset="UTF-8">
 4     <meta name="viewport" content="width=device-width, initial-scale=1.0">
 5+    <link rel="icon" href="images/favicon.ico">
 6     <title>{{ .Title }}</title>
 7     <meta name="description" content="{{ .Description }}">
 8-		<style>
 9-  			td { padding: 0.5em 1em; }
10-		</style>
11+        <style>
12+            body { font-family: Verdana, sans-serif; }
13+            td { padding: 0.5em 1.5em; }
14+            td:first-child a { white-space: nowrap; }
15+        </style>
16   </head>
17   <body>
18-    <p>{{ .Title }} | words words words words words</p>
19+    <p>{{ .Title }} | {{ .Description }}</p>
20     <hr>
21     <table>
22       <tr>
23         <td valign="top">
24           {{ range .Sidebar }}
25-            <a href="{{ .Path }}">› {{ .Name }}</a><br>
26+            <a href="{{ .Path }}">&rsaquo; {{ .Name }}</a><br>
27           {{ end }}
28         </td>
29         <td valign="top">