summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorCristián Maureira-Fredes <cristian.maureira-fredes@qt.io>2022-11-30 10:44:15 +0100
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2023-02-13 11:57:41 +0000
commit0818c469d0364c9557463086b958abb224de704a (patch)
treeea75e290717437be407c7c408c5b409e9bed6734 /templates
parent478fcbedd224fe0ff0bc41b24a62cda521acbd07 (diff)
Add simple template option
This includes a new minimal HTML template to be used to render the QUIPs, motivated by the inclusion of the generated HTML files into the qt-project.org website. A new make variable is used QUIP_TEMPLATE, so one can select a different HTML base file, skipping the current default approach of patching the PlanetQt theme. Change-Id: Iefbc7024d2fccc66241d541c53e46a9b4fdf9cff Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Kai Köhne <kai.koehne@qt.io>
Diffstat (limited to 'templates')
-rw-r--r--templates/simple_template.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/templates/simple_template.html b/templates/simple_template.html
new file mode 100644
index 0000000..9b92838
--- /dev/null
+++ b/templates/simple_template.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+ <meta charset="UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=yes" />
+
+ <title>%(title)s</title>
+ %(stylesheet)s
+ <link rel="shortcut icon" href="favicon.ico" />
+</head>
+<body>
+<div class="content">
+ <div class="wrapper">
+ <h1>%(title)s</h1>
+ <ul>
+ <li><a href="./">QUIP Index</a></li>
+ <li><a href="%(urlstem)s.html">QUIP %(quip)s</a></li>
+ </ul>
+ <div class="context document">
+ %(body)s
+ </div>
+ </div>
+</div>
+
+</body>
+</html>