diff options
author | vulonkaaz <7442677+vulonkaaz@users.noreply.github.com> | 2024-06-19 17:44:29 +0200 |
---|---|---|
committer | vulonkaaz <7442677+vulonkaaz@users.noreply.github.com> | 2024-06-19 17:44:29 +0200 |
commit | 2fe3b4972f02be8b0c6143325d541ddda4b91559 (patch) | |
tree | 5b430810b19e0c6b1112c601b9e64b9e9ec72c61 /views/index.html |
Initial version
Diffstat (limited to 'views/index.html')
-rw-r--r-- | views/index.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/views/index.html b/views/index.html new file mode 100644 index 0000000..67045c2 --- /dev/null +++ b/views/index.html @@ -0,0 +1,22 @@ +<!DOCTYPE html> +<html lang="en"> +<head> +<meta charset="utf-8" /> +<title>Paperchan.club</title> +<meta name="viewport" content="width=device-width, initial-scale=1.0"> +<link rel="stylesheet" type="text/css" href="/style.css"/> +</head> + +<body> + <main> + <h1>Paperchan.club</h1> + <section class="threadlist"> + {{ range .posts }} + <article> + <a href="/thread/{{.Id}}"><img src="{{.Picture}}"></a> + <p>Id : {{.Id}}, Replies : {{.Replies}}</p> + <p>{{.CreatedAt}}</p> + </article> + {{ end }} + </section> +{{template "partials/canvas" .}} |