summaryrefslogtreecommitdiff
path: root/lib/graphite/templates/node.ibis
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-02-04 17:38:04 -0800
committerFuwn <[email protected]>2025-06-09 00:43:14 -0700
commit8a78f62e4cb0890cd0ed9c663a21f809013b959e (patch)
treebe25df618590569d62f3279a1c2cdffd7ddeeb08 /lib/graphite/templates/node.ibis
downloaddocumentation-8a78f62e4cb0890cd0ed9c663a21f809013b959e.tar.xz
documentation-8a78f62e4cb0890cd0ed9c663a21f809013b959e.zip
feat: setup documentation
Diffstat (limited to 'lib/graphite/templates/node.ibis')
-rw-r--r--lib/graphite/templates/node.ibis46
1 files changed, 46 insertions, 0 deletions
diff --git a/lib/graphite/templates/node.ibis b/lib/graphite/templates/node.ibis
new file mode 100644
index 0000000..bf0a85a
--- /dev/null
+++ b/lib/graphite/templates/node.ibis
@@ -0,0 +1,46 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <title>{{ node.meta_title || node.title || site.title }}</title>
+ <link rel="stylesheet" href="@root/assets/fonts.css">
+ <link rel="stylesheet" href="@root/assets/graphite.css">
+ <link rel="stylesheet" href="@root/assets/pygments.css">
+ {% if node.meta_description %}
+ <meta name="description" content="{$ node.meta_description.strip() $}">
+ {% endif %}
+ {{ inc.head }}
+ </head>
+ <body class="{$ classes|join(' ') $}">
+ <header class="masthead">
+ <h1><a href="@root/">{{ site.title || "Site Title" }}</a></h1>
+ {% if site.tagline %}
+ <p class="tagline">{{ site.tagline.strip() }}</p>
+ {% endif %}
+ {% if site.version %}
+ <p class="version">{{ site.version.strip() }}</p>
+ {% endif %}
+ <nav class="menu">
+ <input id="menu-check" type="checkbox"/>
+ <label id="menu-label" for="menu-check" class="unselectable">
+ <span class="icon close-icon">✕</span>
+ <span class="icon open-icon">☰</span>
+ <span class="text">Menu</span>
+ </label>
+ {{ inc.menu || automenu }}
+ </nav>
+ </header>
+ <article class="main">
+ <header class="title">
+ <h1>{{ node.title }}</h1>
+ {% if node.subtitle %}
+ <p class="subtitle">{{ node.subtitle }}</p>
+ {% endif %}
+ <hr>
+ </header>
+ {{ node.html }}
+ </article>
+ {{ inc.foot }}
+ </body>
+</html>