feat: Baseline added with config support

This commit is contained in:
Cyper committed 2026-02-27 21:25:11 -05:00
1 parent 76934a6d76
commit 91ee0abc15
20 files changed
+1168

No files matched your search

+1
View File
@@ -0,0 +1 @@
{{ metadata.app_name }} v{{ metadata.app_version }}
+38
View File
@@ -0,0 +1,38 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="generator" content="Rust, Axum, Askama" />
<meta property="og:title" content="{{ metadata.site_title }}" />
<meta property="og:site_name" content="{{ metadata.app_name }}" />
<meta property="og:type" content="website" />
<meta property="og:description" content="{{ metadata.description }}" />
<meta
property="og:image"
content="https://dummyimage.com/350x350/19171E/a2dfcb"
/>
<meta property="og:image:type" content="image/png" />
<meta property="og:image:width" content="350" />
<meta property="og:image:height" content="350" />
<meta property="og:url" content="{{ metadata.site_url }}" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="{{ metadata.site_title }}" />
<meta name="twitter:description" content="{{ metadata.description }}" />
<meta
name="twitter:image"
content="https://dummyimage.com/350x350/19171E/a2dfcb"
/>
<meta name="twitter:site" content="@CyperWoof" />
<meta name="twitter:creator" content="@CyperWoof" />
<meta name="description" content="{{ metadata.description }}" />
<meta name="author" content="{{ metadata.author }}" />
<meta name="keywords" content="{{ metadata.keywords }}" />
<meta name="theme-color" content="#A2DFCB" />
<meta name="name" content="{{ metadata.site_title }}" />
<meta itemprop="name" content="{{ metadata.site_title }}" />
<meta itemprop="description" content="{{ metadata.description }}" />
<meta itemprop="image" content="https://dummyimage.com/350x350/19171E/a2dfcb" />
<meta itemprop="url" content="{{ metadata.site_url }}" />
<meta
itemprop="thumbnailUrl"
content="https://dummyimage.com/350x350/19171E/a2dfcb"
/>
View File
Whitespace-only changes.
+1
View File
@@ -0,0 +1 @@
401 - NOT AUTHORIZED
+2
View File
@@ -0,0 +1,2 @@
<h1>404 - Not Found</h1>
<p>Unable to find page <code>{{ path }}</code></p>
+7
View File
@@ -0,0 +1,7 @@
<h1>500 - INTERNAL SERVER ERROR</h1>
{% if let Some(msg) = message %}
<code>{{ msg }}</code>
{% else %}
<p>An unexpected error occurred</p>
{% endif %}
+10
View File
@@ -0,0 +1,10 @@
{% extends "layout.html" %}
{% block head %}
<link rel="stylesheet" href="/css/home.css" />
{% endblock %}
{% block content %}
<h1>Home Page</h1>
<p>This is the home page</p>
{% endblock %}
+28
View File
@@ -0,0 +1,28 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>{% block title %}{{ title }} - {{ metadata.site_title }}{% endblock %}</title>
{% include "components/metatags.html" %}
<link rel="icon" href="/img/favicon.ico" type="image/x-icon" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="/css/style.css" />
{% block head %}{% endblock %}
</head>
<body>
<header>{% include "components/navbar.html" %}</header>
<main>{% block content %}Content{% endblock %}</main>
<footer>{% block footer %}{% include "components/footer.html" %}{% endblock %}</footer>
{% block scripts %}{% endblock %}
</body>
</html>