diff options
| author | Joe Mou <dev@mou.fo> | 2026-09-21 12:12:42 -0400 |
|---|---|---|
| committer | Joe Mou <dev@mou.fo> | 2026-09-21 12:16:34 -0400 |
| commit | 4a689592a67bad939c4fb2b217bdc812939ff542 (patch) | |
| tree | ba3c452a4b852f58c89f5bc7e21c4f0d6d0a2fe3 /views | |
| parent | 258ae3a4ad6b4660e356b58f6b3937bfe3b2917d (diff) | |
Use base layout for home page
Diffstat (limited to 'views')
| -rw-r--r-- | views/home.eta | 40 |
1 files changed, 16 insertions, 24 deletions
diff --git a/views/home.eta b/views/home.eta index 604e4d0..6c5d85c 100644 --- a/views/home.eta +++ b/views/home.eta @@ -1,25 +1,19 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="UTF-8"> - <title>cgithub</title> - <link rel="stylesheet" href="/static/style.css"> -</head> -<body> - <header> - <h1>cgithub</h1> - <p>Lightweight GitHub alternative frontend</p> - </header> +<% layout("/layouts/base.eta", { title: "cgithub" }) %> - <main> - <p>Browse any GitHub repository by navigating to <code>/:owner/:repo</code>, or a user or organization profile at <code>/:owner</code></p> - </main> +<header> + <h1>cgithub</h1> + <p>Lightweight GitHub alternative frontend</p> +</header> - <h2>Credits</h2> - <p>Icons by <a href="https://phosphoricons.com">Phosphor Icons</a></p> - <details> - <summary>Phosphor Icons License (MIT)</summary> - <pre> +<main> + <p>Browse any GitHub repository by navigating to <code>/:owner/:repo</code>, or a user or organization profile at <code>/:owner</code></p> +</main> + +<h2>Credits</h2> +<p>Icons by <a href="https://phosphoricons.com">Phosphor Icons</a></p> +<details> + <summary>Phosphor Icons License (MIT)</summary> + <pre> MIT License Copyright (c) 2023 Phosphor Icons @@ -41,7 +35,5 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - </pre> - </details> -</body> -</html> + </pre> +</details> |
