mirror of
https://git.proxmox.com/git/pve-docs
synced 2025-06-28 21:49:17 +00:00
mediawiki.conf: remove gheader/footer content
simply not required for wiki.
This commit is contained in:
parent
b90ea8d3fe
commit
404a1dc149
@ -12,6 +12,7 @@ outfilesuffix=.html
|
|||||||
basebackend=html
|
basebackend=html
|
||||||
basebackend-html=
|
basebackend-html=
|
||||||
basebackend-html5=
|
basebackend-html5=
|
||||||
|
basebackend-mediawiki=
|
||||||
|
|
||||||
[replacements2]
|
[replacements2]
|
||||||
# Line break.
|
# Line break.
|
||||||
@ -533,163 +534,10 @@ bodydata=<td class="tableblock halign-{colalign=left}">|</td>
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
[header]
|
[header]
|
||||||
<!DOCTYPE html>
|
<!-- HEADER -->
|
||||||
<html lang="{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>
|
|
||||||
ifdef::linkcss[]
|
|
||||||
<link rel="stylesheet" href="{stylesdir=.}/{theme=asciidoc}.css" type="text/css">
|
|
||||||
ifeval::["{source-highlighter}"=="pygments"]
|
|
||||||
<link rel="stylesheet" href="{stylesdir=.}/pygments.css" type="text/css">
|
|
||||||
endif::[]
|
|
||||||
|
|
||||||
# DEPRECATED: 'pygments' attribute.
|
|
||||||
ifdef::pygments[<link rel="stylesheet" href="{stylesdir=.}/pygments.css" type="text/css">]
|
|
||||||
|
|
||||||
ifdef::toc2[<link rel="stylesheet" href="{stylesdir=.}/toc2.css" type="text/css" />]
|
|
||||||
<link rel="stylesheet" href="{stylesdir=.}/{stylesheet}" type="text/css">
|
|
||||||
endif::linkcss[]
|
|
||||||
ifndef::linkcss[]
|
|
||||||
<style type="text/css">
|
|
||||||
include1::{theme%}{stylesdir=./stylesheets}/asciidoc.css[]
|
|
||||||
include1::{themedir}/{theme}.css[]
|
|
||||||
ifeval::["{source-highlighter}"=="pygments"]
|
|
||||||
include1::{stylesdir=./stylesheets}/pygments.css[]
|
|
||||||
endif::[]
|
|
||||||
|
|
||||||
# DEPRECATED: 'pygments' attribute.
|
|
||||||
ifdef::pygments[]
|
|
||||||
include1::{stylesdir=./stylesheets}/pygments.css[]
|
|
||||||
endif::pygments[]
|
|
||||||
|
|
||||||
ifdef::toc2[]
|
|
||||||
include1::{stylesdir=./stylesheets}/toc2.css[]
|
|
||||||
endif::toc2[]
|
|
||||||
include1::{stylesheet}[]
|
|
||||||
</style>
|
|
||||||
endif::linkcss[]
|
|
||||||
ifndef::disable-javascript[]
|
|
||||||
ifdef::linkcss[]
|
|
||||||
<script type="text/javascript" src="{scriptsdir=.}/asciidoc.js"></script>
|
|
||||||
<script type="text/javascript" src="{scriptsdir=.}/{theme}.js"></script>
|
|
||||||
<script type="text/javascript">
|
|
||||||
#TODO: Escape not necessary in HTML5?
|
|
||||||
# Escape as CDATA to pass validators.
|
|
||||||
/*<![CDATA[*/
|
|
||||||
asciidoc.install({toc,toc2?{toclevels}});
|
|
||||||
/*]]>*/
|
|
||||||
</script>
|
|
||||||
endif::linkcss[]
|
|
||||||
ifndef::linkcss[]
|
|
||||||
<script type="text/javascript">
|
|
||||||
# Escape as CDATA to pass validators.
|
|
||||||
/*<![CDATA[*/
|
|
||||||
include1::{scriptsdir=./javascripts}/asciidoc.js[]
|
|
||||||
include1::{themedir}/{theme}.js[warnings=False]
|
|
||||||
asciidoc.install({toc,toc2?{toclevels}});
|
|
||||||
/*]]>*/
|
|
||||||
</script>
|
|
||||||
endif::linkcss[]
|
|
||||||
endif::disable-javascript[]
|
|
||||||
ifdef::asciimath[]
|
|
||||||
ifdef::linkcss[]
|
|
||||||
<script type="text/javascript" src="{scriptsdir=.}/ASCIIMathML.js"></script>
|
|
||||||
endif::linkcss[]
|
|
||||||
ifndef::linkcss[]
|
|
||||||
<script type="text/javascript">
|
|
||||||
# Escape as CDATA to pass validators.
|
|
||||||
/*<![CDATA[*/
|
|
||||||
include1::{scriptsdir=./javascripts}/ASCIIMathML.js[]
|
|
||||||
/*]]>*/
|
|
||||||
</script>
|
|
||||||
endif::linkcss[]
|
|
||||||
endif::asciimath[]
|
|
||||||
ifdef::latexmath[]
|
|
||||||
ifdef::linkcss[]
|
|
||||||
<script type="text/javascript" src="{scriptsdir=.}/LaTeXMathML.js"></script>
|
|
||||||
endif::linkcss[]
|
|
||||||
ifndef::linkcss[]
|
|
||||||
<script type="text/javascript">
|
|
||||||
# Escape as CDATA to pass validators.
|
|
||||||
/*<![CDATA[*/
|
|
||||||
include1::{scriptsdir=./javascripts}/LaTeXMathML.js[]
|
|
||||||
/*]]>*/
|
|
||||||
</script>
|
|
||||||
endif::linkcss[]
|
|
||||||
endif::latexmath[]
|
|
||||||
{docinfo1,docinfo2#}{include:{docdir}/docinfo.html}
|
|
||||||
{docinfo,docinfo2#}{include:{docdir}/{docname}-docinfo.html}
|
|
||||||
template::[docinfo]
|
|
||||||
</head>
|
|
||||||
<body class="{doctype}"{max-width? style="max-width:{max-width}"}{css-signature? id="{css-signature}"}>
|
|
||||||
# Article, book header.
|
|
||||||
ifndef::doctype-manpage[]
|
|
||||||
<div id="header">
|
|
||||||
ifndef::notitle[<h1>{doctitle}</h1>]
|
|
||||||
ifdef::doctitle[]
|
|
||||||
<span id="author">{author}</span><br>
|
|
||||||
<span id="email" class="monospaced"><<a href="mailto:{email}">{email}</a>></span><br>
|
|
||||||
<span id="revnumber">version {revnumber}{revdate?,}</span>
|
|
||||||
<span id="revdate">{revdate}</span>
|
|
||||||
<br><span id="revremark">{revremark}</span>
|
|
||||||
endif::doctitle[]
|
|
||||||
{toc,toc2#}{toc-placement$auto:}{template:toc}
|
|
||||||
</div>
|
|
||||||
endif::doctype-manpage[]
|
|
||||||
# Man page header.
|
|
||||||
ifdef::doctype-manpage[]
|
|
||||||
<div id="header">
|
|
||||||
<h1>
|
|
||||||
{doctitle} Manual Page
|
|
||||||
</h1>
|
|
||||||
{toc,toc2#}{toc-placement$auto:}{template:toc}
|
|
||||||
<h2>{manname-title}</h2>
|
|
||||||
<div class="sectionbody">
|
|
||||||
<p>{manname} -
|
|
||||||
{manpurpose}
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
endif::doctype-manpage[]
|
|
||||||
<div id="content">
|
|
||||||
|
|
||||||
[footer]
|
[footer]
|
||||||
</div>
|
<!-- FOOTER -->
|
||||||
{disable-javascript%<div id="footnotes"><hr></div>}
|
|
||||||
<div id="footer">
|
|
||||||
# Removing footer date and version if footer-style set to none
|
|
||||||
ifeval::["{footer-style=default}"!="none"]
|
|
||||||
<div id="footer-text">
|
|
||||||
template::[footer-text]
|
|
||||||
</div>
|
|
||||||
endif::[]
|
|
||||||
ifdef::badges[]
|
|
||||||
<div id="footer-badges">
|
|
||||||
ifndef::icons[]
|
|
||||||
Valid <a href="http://validator.w3.org/check?uri=referer">HTML5</a>
|
|
||||||
and <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a>.
|
|
||||||
endif::icons[]
|
|
||||||
ifdef::icons[]
|
|
||||||
<a href="http://validator.w3.org/check?uri=referer">
|
|
||||||
<img src="http://www.w3.org/html/logo/badge/html5-badge-h-solo.png"
|
|
||||||
width="30" alt="HTML5 Powered" title="HTML5 Powered">
|
|
||||||
</a>
|
|
||||||
<a href="http://jigsaw.w3.org/css-validator/check/referer">
|
|
||||||
<img style="border:0;width:88px;height:31px"
|
|
||||||
src="http://www.w3.org/Icons/valid-css"
|
|
||||||
alt="Valid CSS!">
|
|
||||||
</a>
|
|
||||||
endif::icons[]
|
|
||||||
</div>
|
|
||||||
endif::badges[]
|
|
||||||
</div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
||||||
[footer-date]
|
[footer-date]
|
||||||
# Default footer date is document modification time
|
# Default footer date is document modification time
|
||||||
|
Loading…
Reference in New Issue
Block a user