Added lastupdated and accuratefor blocks to consolidate and enable styling

This commit is contained in:
str4d
2012-12-14 03:41:29 +00:00
parent 0ebefb6156
commit 7171a3bd78
34 changed files with 75 additions and 73 deletions

View File

@ -19,8 +19,15 @@
{% include "global/nav.html" %}
</div>
<div id="content">
{% block content_outer %}
<div class="inner">
{% block content_outer %}
{%- if self.lastupdated() or self.accuratefor() -%}
<div class="lastupdated">
This page {% if self.lastupdated() %}was last updated in {% block lastupdated %}{% endblock %}{% endif -%}
{% if self.lastupdated() and self.accuratefor() %} and {% endif -%}
{% if self.accuratefor() %}is accurate for router version {% block accuratefor %}{% endblock %}{% endif %}.
</div>
{% endif %}
{% block content %}{% endblock %}
</div>
{% endblock %}

View File

@ -1,7 +1,8 @@
{% extends "global/layout.html" %}
{% block title %}SAM V1 Specification{% endblock %}
{% block lastupdated %}August 2010{% endblock %}
{% block accuratefor %}0.8{% endblock %}
{% block content %}
Updated August 2010 for release 0.8
<p>Specified below is version 1 of a simple client protocol for interacting with
I2P.
Newer alternatives:

View File

@ -1,7 +1,8 @@
{% extends "global/layout.html" %}
{% block title %}SAM V2 Specification{% endblock %}
{% block lastupdated %}August 2010{% endblock %}
{% block accuratefor %}0.8{% endblock %}
{% block content %}
Updated August 2010 for release 0.8
<p>Specified below is a simple client protocol for interacting with I2P.
</p>
<p>

View File

@ -1,7 +1,8 @@
{% extends "global/layout.html" %}
{% block title %}SAM V3{% endblock %}
{% block lastupdated %}August 2010{% endblock %}
{% block accuratefor %}0.8{% endblock %}
{% block content %}
Updated August 2010 for release 0.8
<p>Specified below is a simple client protocol for interacting with I2P.
</p>
<p>SAM version 3

View File

@ -1,7 +1,8 @@
{% extends "global/layout.html" %}
{% block title %}Streaming Library{% endblock %}
{% block lastupdated %}November 2012{% endblock %}
{% block accuratefor %}0.9.3{% endblock %}
{% block content %}
Updated November 2012, current as of router version 0.9.3
<h2>Overview</h2>
<p>

View File

@ -1,8 +1,8 @@
{% extends "global/layout.html" %}
{% block title %}Bittorrent over I2P{% endblock %}
{% block lastupdated %}September 2012{% endblock %}
{% block accuratefor %}0.9.2{% endblock %}
{% block content %}
Updated September 2012, current as of router version 0.9.2
<p>There are several bittorrent clients and trackers on I2P.
As I2P addressing uses a Destination instead of an IP and port, minor

View File

@ -1,9 +1,9 @@
{% extends "global/layout.html" %}
{% block title %}Low-level Cryptography Details{% endblock %}
{% block lastupdated %}March 2012{% endblock %}
{% block accuratefor %}0.8.13{% endblock %}
{% block content %}
<p>
Updated March 2012, current as of router version 0.8.13
<p>
This page specifies the low-level details of the cryptography in I2P.
<p>
There are a handful of cryptographic algorithms in use within I2P, but we have

View File

@ -1,7 +1,8 @@
{% extends "global/layout.html" %}
{% block title %}ElGamal/AES + SessionTag Encryption{% endblock %}
{% block lastupdated %}February 2011{% endblock %}
{% block accuratefor %}0.8.3{% endblock %}
{% block content %}
Updated February 2011, current as of router version 0.8.3
<h2>Overview</h2>
<p>
ElGamal/AES+SessionTags is used for end-to-end encryption.

View File

@ -1,9 +1,8 @@
{% extends "global/layout.html" %}
{% block title %}Garlic Routing{% endblock %}
{% block content %}<p>
Updated August 2010 for release 0.8
</p>
{% block lastupdated %}August 2010{% endblock %}
{% block accuratefor %}0.8{% endblock %}
{% block content %}
<h2>Garlic Routing and "Garlic" Terminology</h2>
<p>
The terms "garlic routing" and "garlic encryption" are often used rather loosely when referring to I2P's technology.

View File

@ -1,11 +1,8 @@
{% extends "global/layout.html" %}
{% block title %}The Network Database{% endblock %}
{% block lastupdated %}June 2012{% endblock %}
{% block accuratefor %}0.9{% endblock %}
{% block content %}
<p>
Updated June 2012, current as of router version 0.9
</p>
<h2>Overview</h2>
<p>

View File

@ -1,9 +1,8 @@
{% extends "global/layout.html" %}
{% block title %}Peer Profiling and Selection{% endblock %}
{% block lastupdated %}July 2010{% endblock %}
{% block accuratefor %}0.8{% endblock %}
{% block content %}
Updated July 2010 for release 0.8
<h2>Overview</h2>
<h3>Peer Profiling</h3>

View File

@ -1,8 +1,8 @@
{% extends "global/layout.html" %}
{% block title %}I2P's Threat Model{% endblock %}
{% block lastupdated %}November 2010{% endblock %}
{% block accuratefor %}0.8.1{% endblock %}
{% block content %}
Updated November 2010, current as of router version 0.8.1
<h2>What do we mean by "anonymous"?</h2>
<p>Your level of anonymity can be described as "how hard it is for someone

View File

@ -1,10 +1,8 @@
{% extends "global/layout.html" %}
{% block title %}Tunnel Overview{% endblock %}
{% block lastupdated %}July 2011{% endblock %}
{% block accuratefor %}0.8.7{% endblock %}
{% block content %}
<p>
Updated July 2011 for release 0.8.7
</p>
<h2>Tunnel Overview</h2>
<p>
This page contains an overview of I2P tunnel terminology and operation, with

View File

@ -1,10 +1,11 @@
{% extends "global/layout.html" %}
{% block title %}Naming and Addressbook{% endblock %}
{% block lastupdated %}March 2012{% endblock %}
{% block accuratefor %}0.8.13{% endblock %}
{% block content %}
<h1>Naming in I2P</h1>
<h2 id="overview">Overview</h2>
This page was last updated in March 2012 and is accurate for router version 0.8.13.
<p>
I2P ships with a generic naming library and a base implementation
designed to work off a local name to destination mapping, as well as an

View File

@ -1,10 +1,10 @@
{% extends "global/layout.html" %}
{% block title %}Plugins{% endblock %}
{% block lastupdated %}June 2012{% endblock %}
{% block accuratefor %}0.9{% endblock %}
{% block content %}
<h2>I2P Plugins</h2>
Page last updated June 2012, current as of router version 0.9.
<h3>General Information</h3>
<p>
I2P includes a plugin architecture

View File

@ -1,8 +1,8 @@
{% extends "global/layout.html" %}
{% block title %}I2CP{% endblock %}
{% block lastupdated %}November 2012{% endblock %}
{% block accuratefor %}0.9.3{% endblock %}
{% block content %}
Updated November 2012, current as of router version 0.9.3
<p>The I2P Client Protocol (I2CP) exposes a strong separation of concerns between
the router and any client that wishes to communicate over the network. It enables
secure and asynchronous messaging by sending and receiving messages over a

View File

@ -1,7 +1,8 @@
{% extends "global/layout.html" %}
{% block title %}I2NP{% endblock %}
{% block lastupdated %}August 2010{% endblock %}
{% block accuratefor %}0.8{% endblock %}
{% block content %}
Updated August 2010, current as of router version 0.8
<h2>I2P Network Protocol (I2NP)</h2>
<p>
The I2P Network Protocol (I2NP),

View File

@ -1,11 +1,12 @@
{% extends "global/layout.html" %}
{% block title %}Protocol Stack{% endblock %}
{% block lastupdated %}August 2010{% endblock %}
{% block accuratefor %}0.8{% endblock %}
{% block content %}
<p>
Here is the protocol stack for I2P.
See also the <a href="{{ site_url('docs/how') }}">Index to Technical Documentation</a>.
Updated August 2010, current for router version 0.8.
<p>
<p>

View File

@ -1,11 +1,11 @@
{% extends "global/layout.html" %}
{% block title %}I2P Blockfile Specification{% endblock %}
{% block lastupdated %}January 2012{% endblock %}
{% block accuratefor %}0.8.12{% endblock %}
{% block content %}
<h2>
Blockfile and Hosts Database Specification
</h2>
<p>
Page last updated January 2012, current as of router version 0.8.12
<h3>Overview</h3>
<p>
This document specifies

View File

@ -1,7 +1,8 @@
{% extends "global/layout.html" %}
{% block title %}Common structure Specification{% endblock %}
{% block lastupdated %}March 2012{% endblock %}
{% block accuratefor %}0.8.13{% endblock %}
{% block content %}
Updated March 2012, current as of router version 0.8.13
<h1>Data types Specification</h1>
<p>
This document describes some data types common to all I2P protocols, like

View File

@ -1,9 +1,8 @@
{% extends "global/layout.html" %}
{% block title %}Configuration File Specification{% endblock %}
{% block lastupdated %}September 2012{% endblock %}
{% block accuratefor %}0.9.2{% endblock %}
{% block content %}
Updated September 2012, current as of router version 0.9.2
<h2>Overview</h2>
<p>
This page provides a general specification of I2P configuration files,

View File

@ -1,9 +1,8 @@
{% extends "global/layout.html" %}
{% block title %}Datagram Specification{% endblock %}
{% block lastupdated %}August 2010{% endblock %}
{% block accuratefor %}0.8{% endblock %}
{% block content %}
Updated August 2010, current as of router version 0.8
<h2>Datagram Overview</h2>
<p>Datagrams build upon the base <a href="i2cp.html">I2CP</a> to provide authenticated
and repliable messages in a standard format. This lets applications reliably read

View File

@ -1,7 +1,8 @@
{% extends "global/layout.html" %}
{% block title %}I2CP Specification{% endblock %}
{% block lastupdated %}November 2012{% endblock %}
{% block accuratefor %}0.9.3{% endblock %}
{% block content %}
Updated November 2012, current as of router version 0.9.3
<h1>I2P Control Protocol (I2CP) Specification</h1>
<h2>Overview</h2>
<p>

View File

@ -1,9 +1,8 @@
{% extends "global/layout.html" %}
{% block title %}I2NP Specification{% endblock %}
{% block lastupdated %}September 2012{% endblock %}
{% block accuratefor %}0.9.2{% endblock %}
{% block content %}
Updated September 2012, current as of router version 0.9.2
<h1>I2P Network Protocol (I2NP) Specification</h1>
<p>
The I2P Network Protocol (I2NP),

View File

@ -1,12 +1,12 @@
{% extends "global/layout.html" %}
{% block title %}I2P Plugin Specification{% endblock %}
{% block lastupdated %}March 2012{% endblock %}
{% block accuratefor %}0.8.13-13{% endblock %}
{% block content %}
<h2>
Specification Version 0.18
2012-03-15
</h2>
<p>
Page last updated March 2012, current as of router version 0.8.13-13
<h3>Overview</h3>
<p>
This document specifies

View File

@ -1,9 +1,8 @@
{% extends "global/layout.html" %}
{% block title %}SSU Protocol Specification{% endblock %}
{% block lastupdated %}October 2012{% endblock %}
{% block accuratefor %}0.9.2{% endblock %}
{% block content %}
Updated October 2012 for release 0.9.2
<p>
<a href="{{ site_url('docs/transport/ssu') }}">See the SSU page for an overview of the SSU transport</a>.

View File

@ -1,9 +1,10 @@
{% extends "_layout.html" %}
{% block title %}Tunnel Creation{% endblock %}
{% block lastupdated %}August 2010{% endblock %}
{% block accuratefor %}0.8{% endblock %}
{% block content %}
This page documents the current tunnel build implementation.
Updated August 2010 for release 0.8
<h2 id="tunnelCreate.overview">Tunnel Creation Specification</h2>

View File

@ -1,9 +1,8 @@
{% extends "global/layout.html" %}
{% block title %}Tunnel Message Specification{% endblock %}
{% block lastupdated %}October 2011{% endblock %}
{% block accuratefor %}0.8.10{% endblock %}
{% block content %}
Updated October 2011 for release 0.8.10
<h1>Tunnel Message Specification</h1>
This document specifies the format of tunnel messages.
For general information about tunnels see

View File

@ -1,7 +1,8 @@
{% extends "global/layout.html" %}
{% block title %}I2P Software Update Specification{% endblock %}
{% block lastupdated %}November 2011{% endblock %}
{% block accuratefor %}0.8.12{% endblock %}
{% block content %}
Page last updated November 2011, current as of router version 0.8.12
<h3>Overview</h3>
<p>
I2P uses a simple, yet secure, system for automated software update.

View File

@ -1,9 +1,8 @@
{% extends "global/layout.html" %}
{% block title %}Transport Overview{% endblock %}
{% block lastupdated %}July 2010{% endblock %}
{% block accuratefor %}0.8{% endblock %}
{% block content %}
Updated July 2010, current as of router version 0.8
<h1>Transports in I2P</h1>
A "transport" in I2P is a method for direct, point-to-point communication

View File

@ -1,9 +1,8 @@
{% extends "global/layout.html" %}
{% block title %}NTCP{% endblock %}
{% block lastupdated %}August 2010{% endblock %}
{% block accuratefor %}0.8{% endblock %}
{% block content %}
Updated August 2010 for release 0.8
<h2>NTCP (NIO-based TCP)</h2>
<p>

View File

@ -1,9 +1,8 @@
{% extends "global/layout.html" %}
{% block title %}SSU Transport{% endblock %}
{% block lastupdated %}October 2012{% endblock %}
{% block accuratefor %}0.9.2{% endblock %}
{% block content %}
Updated October 2012 for release 0.9.2
<h1>Secure Semireliable UDP (SSU)</h1>
<p>
SSU (also called "UDP" in much of the I2P documentation and user interfaces)

View File

@ -1,10 +1,10 @@
{% extends "global/layout.html" %}
{% block title %}Tunnel Implementation{% endblock %}
{% block lastupdated %}October 2010{% endblock %}
{% block accuratefor %}0.8{% endblock %}
{% block content %}
This page documents the current tunnel implementation.
Updated October 2010 for release 0.8
<h2 id="tunnel.overview">Tunnel overview</h2>

View File

@ -1,10 +1,8 @@
{% extends "global/layout.html" %}
{% block title %}Unidirectional Tunnels{% endblock %}
{% block lastupdated %}July 2011{% endblock %}
{% block accuratefor %}0.8.7{% endblock %}
{% block content %}
<p>
Updated July 2011 for release 0.8.7
</p>
<h2>Overview</h2>
<p>
This page describes the origins and design of I2P's unidirectional tunnels.