summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2020-05-27 13:29:18 +0200
committerEkaitz Zarraga <ekaitz@elenq.tech>2020-05-27 13:29:18 +0200
commitd60bb4c34c053e0154b1c40d1a02db84506ebabf (patch)
tree77ddef6e40026e05e5d7907469fed9657c3de821 /templates
parent87524730886cb7dc09db5f2ffdbcc06c6b7c810d (diff)
Add web templates v1
Diffstat (limited to 'templates')
-rw-r--r--templates/web-simple.html45
-rw-r--r--templates/web.html85
2 files changed, 130 insertions, 0 deletions
diff --git a/templates/web-simple.html b/templates/web-simple.html
new file mode 100644
index 0000000..e8bc78a
--- /dev/null
+++ b/templates/web-simple.html
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml" lang="$lang$" xml:lang="$lang$"$if(dir)$ dir="$dir$"$endif$>
+<head>
+ <meta charset="utf-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
+$for(author-meta)$
+ <meta name="author" content="$author-meta$" />
+$endfor$
+$if(date-meta)$
+ <meta name="dcterms.date" content="$date-meta$" />
+$endif$
+$if(keywords)$
+ <meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$" />
+$endif$
+ <title>ElenQ Publishing - $pagetitle$</title>
+</head>
+<body>
+$for(include-before)$
+$include-before$
+$endfor$
+$if(title)$
+<header id="title-block-header">
+<h1 class="title">$title$</h1>
+$if(subtitle)$
+<p class="subtitle">$subtitle$</p>
+$endif$
+$for(author)$
+<p class="author">$author$</p>
+$endfor$
+$if(date)$
+<p class="date">$date$</p>
+$endif$
+</header>
+$endif$
+$if(toc)$
+<nav id="$idprefix$TOC" role="doc-toc">
+$table-of-contents$
+</nav>
+$endif$
+$body$
+$for(include-after)$
+$include-after$
+$endfor$
+</body>
+</html>
diff --git a/templates/web.html b/templates/web.html
new file mode 100644
index 0000000..68e5c64
--- /dev/null
+++ b/templates/web.html
@@ -0,0 +1,85 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml" lang="$lang$" xml:lang="$lang$"$if(dir)$ dir="$dir$"$endif$>
+<head>
+ <meta charset="utf-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
+$for(author-meta)$
+ <meta name="author" content="$author-meta$" />
+$endfor$
+$if(keywords)$
+ <meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$" />
+$endif$
+
+ <title>ElenQ Publishing - $pagetitle$</title>
+ <link rel="stylesheet" href="/static/css/normalize.css">
+ <link rel="stylesheet" href="/static/css/fonts.css">
+ <link rel="stylesheet" href="/static/css/elenq.css">
+ <link rel="stylesheet" href="/static/css/elenq-publishing.css">
+ <!-- No need to add extra highlighting css -->
+ <link rel="stylesheet" href="/static/css/highlight.css">
+ <style>
+ .sourceCode { overflow: visible; }
+ </style>
+
+
+ <script type="text/javascript" async src="/static/js/prism-hl.js"></script>
+ <script type="text/javascript" async src="/static/js/colorscheme-switcher.js"></script>
+
+$if(math)$
+ $math$
+$endif$
+</head>
+<body>
+ <div class="content container">
+$for(include-before)$
+$include-before$
+$endfor$
+$if(title)$
+<header id="title-block-header">
+<h1 class="main-title">$title$
+$if(subtitle)$
+<span class="subtitle">$subtitle$</p>
+$endif$
+</h1>
+
+<!-- think about how to render the author -->
+$for(author)$
+<p class="author">$author$</p>
+$endfor$
+$if(date)$
+<p class="date">$date$</p>
+$endif$
+</header>
+$endif$
+<!-- Add extra css for TOC-->
+$if(toc)$
+<nav id="$idprefix$TOC" role="doc-toc" class="toc">
+$table-of-contents$
+</nav>
+$endif$
+$body$
+$for(include-after)$
+$include-after$
+$endfor$
+
+ </div>
+
+<footer id="contentinfo" class="bar-bottom">
+ <div class="container text-center">
+ <a href="https://publishing.elenq.tech">
+ <svg viewBox="0 0 12 5" height="80px" class="title-image">
+ <g font-family="armata" text-anchor="middle">
+ <g aria-label="ElenQ" style="line-height:1.25" font-size="30">
+ <path d="M.9865 3H2.822v-.18H1.2016V1.6697h1.3702v-.18H1.2016V.4295h1.6203v-.18H.9865zM3.162 3h.215V.2495h-.215zM3.727 2.0148c0 .7502.5802 1.0402 1.1003 1.0402.7901 0 1.0202-.315 1.0702-.6151h-.24c-.05.125-.145.4-.8302.4-.3951 0-.8302-.24-.8652-.735h1.9354v-.2151c-.05-.6952-.4301-1.0502-1.0702-1.0502-.6402 0-1.1003.48-1.1003 1.1752zm.2451-.125c.07-.5251.345-.8402.8752-.8402.53 0 .7601.34.8101.8402zM6.2575 3h.215V1.2747c.1051-.135.3352-.215.6802-.215.24 0 .5401.09.5401.51V3h.23V1.5697c0-.5501-.41-.7301-.77-.7301-.3701 0-.6052.09-.6802.27v-.215h-.215zM8.258 1.6247c0 .7452.62 1.4303 1.3752 1.4303.32 0 .6101-.125.8452-.32l.32.265h.2501l-.44-.385c.245-.2651.4-.6202.4-.9903 0-.7401-.6151-1.4253-1.3753-1.4253-.7601 0-1.3753.6802-1.3753 1.4253zm.22 0c0-.6101.505-1.2202 1.1552-1.2202.6501 0 1.1552.6101 1.1552 1.2202S10.2834 2.85 9.6332 2.85c-.6501 0-1.1552-.6152-1.1552-1.2253z" style="line-height:1.25"/>
+ </g>
+ <g aria-label="PUBLISHING" style="line-height:1.25" font-size="10">
+ <path d="M2.871 4.3336h.0734v-.4284h.195c.3501 0 .3368-.2184.3368-.2517.0016-.1467-.1-.2368-.2667-.2368H2.871zm.0734-.4901v-.3667h.245c.125 0 .2184.07.2184.1767 0 .1217-.0933.19-.2184.19zM3.5862 4.0385c0 .2118.1067.3134.3167.3134.21 0 .315-.1016.315-.3134v-.6217h-.0716v.605c0 .1684-.0733.2585-.2434.2585-.17 0-.245-.0917-.245-.2584v-.6051h-.0717zM4.343 4.3336h.3384c.1667 0 .2667-.09.2667-.2367 0-.0834-.0416-.2-.175-.2317.0433-.0117.125-.0717.125-.2267 0-.1367-.1-.2218-.27-.2218h-.285zm.0734-.06v-.3668h.245c.125 0 .2184.0684.2184.19 0 .1068-.0934.1768-.2184.1768zm0-.4284v-.3668h.195c.1217 0 .2184.0684.2184.16 0 .1418-.0984.2068-.2184.2068zM5.0582 4.3336h.555v-.0717h-.4834v-.8451h-.0716zM5.7266 4.3336h.0717v-.9168h-.0717zM5.91 3.6485c0 .1733.1383.2033.3034.2367.1117.0233.28.04.28.2067 0 .1267-.1367.1884-.2417.1884-.1717 0-.2517-.05-.2884-.0684l-.055.065c.0667.0417.1384.075.3434.075.165 0 .32-.1333.32-.26 0-.205-.14-.24-.33-.2784-.0817-.0183-.2534-.0267-.2534-.165 0-.1184.095-.1784.2117-.1767.1717 0 .235.04.2718.0583l.055-.055c-.0667-.0417-.1217-.075-.3268-.075-.175 0-.29.125-.29.2484zM6.6868 4.3336h.0717v-.4434h.4567v.4434h.0717v-.9168h-.0717v.4134h-.4567v-.4135h-.0717zM7.412 4.3336h.0716v-.9168H7.412zM7.6087 4.3336h.0733v-.7802l.5051.7802h.0717v-.9168H8.187v.7884l-.5051-.7885h-.0733zM8.3755 3.8752c0 .3.1383.4767.395.4767.115 0 .2168-.0366.2818-.0966v.0783h.0717v-.45h-.3668v.0716h.295v.1417c0 .0917-.11.1834-.2817.1834-.2217 0-.3167-.215-.3167-.4051 0-.2184.1284-.4051.3234-.4051.17 0 .275.0883.275.1884h.0718c0-.165-.1567-.2584-.3535-.2584-.2733 0-.395.2434-.395.475z" style="line-height:1.25"/>
+ </g>
+ </g>
+ </svg>
+ </a>
+ </div>
+</footer>
+
+</body>
+</html>