diff options
author | Eddy Pedroni <epedroni@pm.me> | 2025-04-06 19:44:27 +0200 |
---|---|---|
committer | Eddy Pedroni <epedroni@pm.me> | 2025-04-06 19:44:27 +0200 |
commit | 38b40d8c5a8915716b3aa46aac4a0a84d0113b25 (patch) | |
tree | 262ef00f62a08f612e1d52b3976ba60c0172b99c /test/generation/template.html | |
parent | c8925b971149706b74420d3684de0908b2d5aeb5 (diff) |
Add test site
Diffstat (limited to 'test/generation/template.html')
-rw-r--r-- | test/generation/template.html | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/test/generation/template.html b/test/generation/template.html new file mode 100644 index 0000000..1e56d6f --- /dev/null +++ b/test/generation/template.html @@ -0,0 +1,28 @@ +<!DOCTYPE html> +<html> + <head> + <title>{{.SiteTitle}} - Docs</title> + <link rel="stylesheet" href="{{.StylesheetUrl}}" /> + <meta charset="UTF-8"> + <meta name="author" content="Eduardo Pedroni"> + </head> + <body> + <header>{{.SiteTitle}}</header> + <nav> + <ul> + {{range .Nav}} + <li> + <a href="{{.AbsoluteUrl}}">{{.Text}}</a> + </li> + {{end}} + </ul> + </nav> + <main> + {{range .Content}} + <article> + {{.}} + </article> + {{end}} + </main> + </body> +</html> |