summaryrefslogtreecommitdiff
path: root/doc/asciidoc/examples/website/layout1.conf
diff options
context:
space:
mode:
Diffstat (limited to 'doc/asciidoc/examples/website/layout1.conf')
-rw-r--r--doc/asciidoc/examples/website/layout1.conf153
1 files changed, 153 insertions, 0 deletions
diff --git a/doc/asciidoc/examples/website/layout1.conf b/doc/asciidoc/examples/website/layout1.conf
new file mode 100644
index 0000000..bc8ef98
--- /dev/null
+++ b/doc/asciidoc/examples/website/layout1.conf
@@ -0,0 +1,153 @@
+#
+# AsciiDoc website.
+# Three division table based layout (layout1).
+# NOTE: You should probably use the the pure CSS layout
+# (layout2.conf).
+#
+# +-----------------------------------------------------+
+# | #layout-banner |
+# +--------------+--------------------------------------+
+# | | |
+# | | |
+# | #layout-menu | #layout-content |
+# | | |
+# | | |
+# | | |
+# +--------------+--------------------------------------+
+#
+# - The #layout-menu and #layout-content divisions are contained in a
+# two cell table.
+# - The #layout-content division is a container for AsciiDoc page documents.
+# - Documents rendered in the #layout-content use the standard AsciiDoc
+# xhtml11 backend stylesheets.
+
+[specialwords]
+monospacedwords=(?u)\\?\basciidoc\(1\) (?u)\\?\ba2x\(1\)
+
+[header]
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
+ "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset={encoding}" />
+<meta name="generator" content="AsciiDoc {asciidoc-version}" />
+<meta name="description" content="{description}" />
+<meta name="keywords" content="{keywords}" />
+<title>{title}</title>
+{title%}<title>{doctitle=}</title>
+<link rel="stylesheet" href="{stylesdir=.}/{theme=asciidoc}.css" type="text/css" />
+{doctype-manpage}<link rel="stylesheet" href="{stylesdir=.}/{theme=asciidoc}-manpage.css" type="text/css" />
+ifdef::quirks[]
+<link rel="stylesheet" href="{stylesdir=.}/xhtml11-quirks.css" type="text/css" />
+endif::quirks[]
+<link rel="stylesheet" href="{stylesdir=.}/layout1.css" type="text/css" />
+<script type="text/javascript" src="{scriptsdir=.}/asciidoc.js"></script>
+<script type="text/javascript">
+/*<![CDATA[*/
+asciidoc.install({toc?{toclevels}});
+/*]]>*/
+</script>
+ifdef::asciimath[]
+<script type="text/javascript" src="{scriptsdir=.}/ASCIIMathML.js"></script>
+endif::asciimath[]
+ifdef::latexmath[]
+<script type="text/javascript" src="{scriptsdir=.}/LaTeXMathML.js"></script>
+endif::latexmath[]
+</head>
+<body{max-width? style="max-width:{max-width}"}>
+<div id="layout-banner">
+ <div id="layout-title">AsciiDoc</div>
+ <div id="layout-description">Text based document generation</div>
+</div>
+<table>
+<tr valign="top">
+<td id="layout-menu">
+ <div>&#187;<a href="index.html">Home</a></div>
+ <div>&#187;<a href="userguide.html">User&nbsp;Guide</a></div>
+ <div>&#187;<a href="INSTALL.html">Installation</a></div>
+ <div>&#187;<a href="faq.html">FAQ</a></div>
+ <div>&#187;<a href="manpage.html">asciidoc(1)</a></div>
+ <div>&#187;<a href="a2x.1.html">a2x(1)</a></div>
+ <div>&#187;<a href="asciidocapi.html">API</a></div>
+ <div>&#187;<a href="plugins.html">Plugins</a></div>
+ <div>&#187;<a href="http://powerman.name/doc/asciidoc">Cheatsheet</a></div>
+ <div>&#187;<a href="testasciidoc.html">Tests</a></div>
+ <div>&#187;<a href="CHANGELOG.html">ChangeLog</a></div>
+ <div>&#187;<a href="support.html">Support</a></div>
+ <div id="page-source">&#187;<a href="{eval:os.path.basename(r'{infile}')}">Page&nbsp;Source</a></div>
+</td>
+<td>
+<div id="layout-content">
+# Article, book header.
+ifndef::doctype-manpage[]
+<div id="header">
+<h1>{doctitle}</h1>
+<span id="author">{author}</span><br />
+<span id="email"><code>&lt;<a href="mailto:{email}">{email}</a>&gt;</code></span><br />
+{authored}<span id="revision">version {revnumber}{revdate?,}</span>
+{authored}{revdate}
+ifdef::toc[]
+<div id="toc">
+ <div id="toctitle">Table of Contents</div>
+ <noscript><p><b>JavaScript must be enabled in your browser to display the table of contents.</b></p></noscript>
+</div>
+endif::toc[]
+</div>
+endif::doctype-manpage[]
+# Man page header.
+ifdef::doctype-manpage[]
+<div id="header">
+<h1>
+{doctitle} Manual Page
+</h1>
+ifdef::toc[]
+<div id="toc">
+ <div id="toctitle">Table of Contents</div>
+ <noscript><p><b>JavaScript must be enabled in your browser to display the table of contents.</b></p></noscript>
+</div>
+endif::toc[]
+<h2>NAME</h2>
+<div class="sectionbody">
+<p>{manname} -
+ {manpurpose}
+</p>
+</div>
+</div>
+endif::doctype-manpage[]
+<div id="content">
+
+[footer]
+</div>
+{disable-javascript%<div id="footnotes"><hr /></div>}
+<div id="footer">
+<div id="footer-text">
+Version {revnumber}<br />
+Last updated {localdate} {localtime}
+</div>
+ifdef::badges[]
+<div id="footer-badges">
+ifdef::textonly[]
+Valid <a href="http://validator.w3.org/check?uri=referer">XHTML</a>
+and <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a>.
+endif::textonly[]
+ifndef::textonly[]
+<a href="http://validator.w3.org/check?uri=referer">
+ <img style="border:0;width:88px;height:31px"
+ src="http://www.w3.org/Icons/valid-xhtml11-blue"
+ alt="Valid XHTML 1.1" height="31" width="88" />
+</a>
+<a href="http://jigsaw.w3.org/css-validator/">
+ <img style="border:0;width:88px;height:31px"
+ src="http://jigsaw.w3.org/css-validator/images/vcss-blue"
+ alt="Valid CSS!" />
+</a>
+endif::textonly[]
+</div>
+endif::badges[]
+</div>
+</div>
+</td>
+</tr>
+</table>
+</body>
+</html>