aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/index.html27
-rw-r--r--templates/note/index.html23
-rw-r--r--templates/page.tmpl9
-rw-r--r--templates/popup/index.html22
4 files changed, 43 insertions, 38 deletions
diff --git a/templates/index.html b/templates/index.html
index 2288697d224..e29e6333994 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -3,6 +3,7 @@
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
+<meta http-equiv="onion-location" content="http://74bl64uknv672pgnqpzve2w5zrjq4e5umpqkov2nhakxn3w52brd7lid.onion" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>templates</title>
@@ -39,9 +40,11 @@
<li><a href="../">Arquivo Público de Memória Coletiva</a> <span class="divider">/</span> </li>
<li>templates</li>
- <li><span class="divider">|</span> <a href="/meta">Meta</a></li>
- <li><span class="divider">|</span> <a href="https://git.sarava.org/?p=arquivo.git;a=history;f=templates.mdwn">History</a></li>
- <li><span class="divider">|</span> <a href="/index.rss">Feed</a></li>
+ <li><span class="divider">|</span> <a href="../conteudo">Conteúdo</a></li>
+ <li><span class="divider">|</span> <a href="../documentacao">Documentação</a></li>
+ <li><span class="divider">|</span> <a href="../tarefas">Tarefas</a></li>
+ <li><span class="divider">|</span> <a href="https://git.fluxo.info/?p=arquivo.git;a=history;f=templates.mdwn">Histórico</a></li>
+ <li><span class="divider">|</span> <a href="https://git.fluxo.info/arquivo/atom/?h=master">Feed</a></li>
</ul>
</div>
</div>
@@ -64,7 +67,7 @@
<div id="content">
<p class="pagedate">
- <strong>Posted <span class="date">Qua 28 Mar 2012 21:56:22 BRT</span></strong>
+ <strong>Posted <span class="date">dom 02 fev 2020 17:23:50</span></strong>
</p>
<p><a href="../ikiwiki/">Ikiwiki</a> uses many templates for many purposes. By editing its templates,
you can fully customise its appearance, and avoid duplicate content.</p>
@@ -84,8 +87,10 @@ use <code>&lt;TMPL_IF variable&gt;text&lt;TMPL_ELSE&gt;other text&lt;/TMPL_IF&gt
<h2>template pages</h2>
-<p>Template pages are regular wiki pages that are used as templates for other
-pages.</p>
+<p>Template pages are regular wiki pages containing a
+<a href="http://ikiwiki.info/ikiwiki/directive/templatebody/">templatebody directive</a>,
+used as templates for other pages. The parts of the template
+page outside the directive can be used to document it.</p>
<p>The <a href="http://ikiwiki.info/ikiwiki/directive/template/">template directive</a> allows
template pages to be filled out and inserted into other pages in the wiki.</p>
@@ -105,6 +110,9 @@ template pages to be filled out and inserted into other pages in the wiki.</p>
+<p>If the template does not contain a <code>templatebody</code> directive, the entire
+source of the page is used for the template. This is deprecated.</p>
+
<h2>template files</h2>
<p>Template files are unlike template pages in that they have the extension
@@ -152,8 +160,9 @@ changed pages.</li>
<li><code>editpage.tmpl</code>, <code>editconflict.tmpl</code>, <code>editcreationconflict.tmpl</code>,
<code>editfailedsave.tmpl</code>, <code>editpagegone.tmpl</code>, <code>pocreatepage.tmpl</code>,
<code>editcomment.tmpl</code> <code>commentmoderation.tmpl</code>, <code>renamesummary.tmpl</code>,
-<code>passwordmail.tmpl</code>, <code>openid-selector.tmpl</code>, <code>revert.tmpl</code> - Parts of ikiwiki's user
-interface; do not normally need to be customised.</li>
+<code>passwordmail.tmpl</code>, <code>emailauth.tmpl</code>, <code>login-selector.tmpl</code>,
+<code>revert.tmpl</code> - Parts of ikiwiki's user interface; do not normally need
+to be customised.</li>
</ul>
@@ -190,7 +199,7 @@ interface; do not normally need to be customised.</li>
<!--<div class="pagedate">
- Last edited <span class="date">Qua 28 Mar 2012 21:56:22 BRT</span>
+ Last edited <span class="date">dom 02 fev 2020 17:23:50</span>
</div> -->
</div>
diff --git a/templates/note/index.html b/templates/note/index.html
index 96528bcb15b..8b0866d7eb9 100644
--- a/templates/note/index.html
+++ b/templates/note/index.html
@@ -3,6 +3,7 @@
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
+<meta http-equiv="onion-location" content="http://74bl64uknv672pgnqpzve2w5zrjq4e5umpqkov2nhakxn3w52brd7lid.onion" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>note</title>
@@ -41,9 +42,11 @@
<li><a href="../">templates</a> <span class="divider">/</span> </li>
<li>note</li>
- <li><span class="divider">|</span> <a href="/meta">Meta</a></li>
- <li><span class="divider">|</span> <a href="https://git.sarava.org/?p=arquivo.git;a=history;f=templates/note.mdwn">History</a></li>
- <li><span class="divider">|</span> <a href="/index.rss">Feed</a></li>
+ <li><span class="divider">|</span> <a href="../../conteudo">Conteúdo</a></li>
+ <li><span class="divider">|</span> <a href="../../documentacao">Documentação</a></li>
+ <li><span class="divider">|</span> <a href="../../tarefas">Tarefas</a></li>
+ <li><span class="divider">|</span> <a href="https://git.fluxo.info/?p=arquivo.git;a=history;f=templates/note.mdwn">Histórico</a></li>
+ <li><span class="divider">|</span> <a href="https://git.fluxo.info/arquivo/atom/?h=master">Feed</a></li>
</ul>
</div>
</div>
@@ -66,15 +69,9 @@
<div id="content">
<p class="pagedate">
- <strong>Posted <span class="date">Qua 05 Mai 2010 23:47:37 BRT</span></strong>
+ <strong>Posted <span class="date">dom 02 fev 2020 17:23:50</span></strong>
</p>
- <div class="notebox">
-
-</div>
-
-
-<p>
-Use this template to insert a note into a page. The note will be styled to
+ <p>Use this template to insert a note into a page. The note will be styled to
float to the right of other text on the page. This template has one
parameter:</p>
@@ -83,8 +80,6 @@ parameter:</p>
</ul>
-<p></p>
-
</div>
<hr />
@@ -108,7 +103,7 @@ parameter:</p>
<!--<div class="pagedate">
- Last edited <span class="date">Qua 05 Mai 2010 23:47:37 BRT</span>
+ Last edited <span class="date">dom 02 fev 2020 17:23:50</span>
</div> -->
</div>
diff --git a/templates/page.tmpl b/templates/page.tmpl
index b525d22118d..0ad381d4ada 100644
--- a/templates/page.tmpl
+++ b/templates/page.tmpl
@@ -5,6 +5,7 @@
</TMPL_IF>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
+<meta http-equiv="onion-location" content="http://74bl64uknv672pgnqpzve2w5zrjq4e5umpqkov2nhakxn3w52brd7lid.onion" />
<TMPL_IF DYNAMIC>
<TMPL_IF FORCEBASEURL><base href="<TMPL_VAR FORCEBASEURL>" /><TMPL_ELSE>
<TMPL_IF BASEURL><base href="<TMPL_VAR BASEURL>" /></TMPL_IF>
@@ -51,9 +52,11 @@
<li><a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a> <span class="divider">/</span> </li>
</TMPL_LOOP>
<li><TMPL_VAR TITLE></li>
- <li><span class="divider">|</span> <a href="/meta">Meta</a></li>
- <li><span class="divider">|</span> <a href="<TMPL_VAR HISTORYURL>">History</a></li>
- <li><span class="divider">|</span> <a href="/index.rss">Feed</a></li>
+ <li><span class="divider">|</span> <a href="<TMPL_VAR BASEURL>conteudo">Conteúdo</a></li>
+ <li><span class="divider">|</span> <a href="<TMPL_VAR BASEURL>documentacao">Documentação</a></li>
+ <li><span class="divider">|</span> <a href="<TMPL_VAR BASEURL>tarefas">Tarefas</a></li>
+ <li><span class="divider">|</span> <a href="<TMPL_VAR HISTORYURL>">Histórico</a></li>
+ <li><span class="divider">|</span> <a href="https://git.fluxo.info/arquivo/atom/?h=master">Feed</a></li>
</ul>
<TMPL_IF HTML5></header><TMPL_ELSE></div></TMPL_IF>
</div>
diff --git a/templates/popup/index.html b/templates/popup/index.html
index ddf72791fac..acae24ce748 100644
--- a/templates/popup/index.html
+++ b/templates/popup/index.html
@@ -3,6 +3,7 @@
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
+<meta http-equiv="onion-location" content="http://74bl64uknv672pgnqpzve2w5zrjq4e5umpqkov2nhakxn3w52brd7lid.onion" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>popup</title>
@@ -41,9 +42,11 @@
<li><a href="../">templates</a> <span class="divider">/</span> </li>
<li>popup</li>
- <li><span class="divider">|</span> <a href="/meta">Meta</a></li>
- <li><span class="divider">|</span> <a href="https://git.sarava.org/?p=arquivo.git;a=history;f=templates/popup.mdwn">History</a></li>
- <li><span class="divider">|</span> <a href="/index.rss">Feed</a></li>
+ <li><span class="divider">|</span> <a href="../../conteudo">Conteúdo</a></li>
+ <li><span class="divider">|</span> <a href="../../documentacao">Documentação</a></li>
+ <li><span class="divider">|</span> <a href="../../tarefas">Tarefas</a></li>
+ <li><span class="divider">|</span> <a href="https://git.fluxo.info/?p=arquivo.git;a=history;f=templates/popup.mdwn">Histórico</a></li>
+ <li><span class="divider">|</span> <a href="https://git.fluxo.info/arquivo/atom/?h=master">Feed</a></li>
</ul>
</div>
</div>
@@ -66,10 +69,9 @@
<div id="content">
<p class="pagedate">
- <strong>Posted <span class="date">Qua 05 Mai 2010 23:47:37 BRT</span></strong>
+ <strong>Posted <span class="date">dom 02 fev 2020 17:23:50</span></strong>
</p>
- <p>
-Use this template to create a popup window that is displayed when the mouse
+ <p>Use this template to create a popup window that is displayed when the mouse
is over part of the page. This template has two parameters:</p>
<ul>
@@ -82,11 +84,7 @@ large for good usability.
<p>Note that browsers that do not support the CSS will display the popup
-inline in the page, inside square brackets.
-
-<span class="popup">
-<span class="paren">[</span><span class="balloon"></span><span class="paren">]</span>
-</span></p>
+inline in the page, inside square brackets.</p>
</div>
@@ -111,7 +109,7 @@ inline in the page, inside square brackets.
<!--<div class="pagedate">
- Last edited <span class="date">Qua 05 Mai 2010 23:47:37 BRT</span>
+ Last edited <span class="date">dom 02 fev 2020 17:23:50</span>
</div> -->
</div>