You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shiro.apache.org by bm...@apache.org on 2021/09/08 20:12:22 UTC

[shiro-site] 01/06: [JBake][Templates] Download pages.

This is an automated email from the ASF dual-hosted git repository.

bmarwell pushed a commit to branch jbake
in repository https://gitbox.apache.org/repos/asf/shiro-site.git

commit 045c74dbc8180c262155f0d25bfa0a3f675d0b19
Author: Benjamin Marwell <bm...@apache.org>
AuthorDate: Mon Sep 6 07:05:57 2021 +0200

    [JBake][Templates] Download pages.
---
 download.html.vtl                        | 424 -------------------------------
 jbake/content/download.adoc              |  20 ++
 jbake/content/release-archive.adoc       |  21 ++
 jbake/jbake.properties                   |   3 +
 jbake/templates/download.ftl             |  72 ++++++
 jbake/templates/macros/artifacttable.ftl |  47 ++++
 jbake/templates/macros/versions.ftl      |  97 +++++++
 7 files changed, 260 insertions(+), 424 deletions(-)

diff --git a/download.html.vtl b/download.html.vtl
deleted file mode 100644
index 1e9b642..0000000
--- a/download.html.vtl
+++ /dev/null
@@ -1,424 +0,0 @@
-#parse("templates/includes.vtl")
-#mdStyle()
-
-#macro(artifactTable, $versionObject)
-
-<table style="width: 100%" class="table">
-    <thead>
-    <tr>
-        <th class="col-md-1">Artifact</th>
-        <th class="col-md-3">Maven Usage</th>
-        <th class="col-md-3">Notes</th>
-    </tr>
-    </thead>
-    <tbody>
-        #foreach($artifact in $versionObject.artifacts)
-        <tr>
-            #set($version = $versionObject.version)
-
-            #if($artifact.c)
-                #set($classifier = "-$artifact.c")
-            #else
-                #set($classifier = "")
-            #end
-
-            <td style="white-space: nowrap;">
-                <a href="https://repo1.maven.org/maven2/$artifact.g.replace('.', '/')/${artifact.a}/${version}/${artifact.a}-${version}${classifier}.${artifact.type}">$artifact.a</a><br/>
-                (<a href="https://repo1.maven.org/maven2/$artifact.g.replace('.', '/')/${artifact.a}/${version}/${artifact.a}-${version}${classifier}.${artifact.type}.asc">pgp</a>,
-                <a href="https://repo1.maven.org/maven2/$artifact.g.replace('.', '/')/${artifact.a}/${version}/${artifact.a}-${version}${classifier}.${artifact.type}.md5">md5</a>,
-                <a href="https://repo1.maven.org/maven2/$artifact.g.replace('.', '/')/${artifact.a}/${version}/${artifact.a}-${version}${classifier}.${artifact.type}.sha1">sha1</a>)
-            </td>
-
-            <td>
-                #if($artifact.gavAlt)
-                    $artifact.gavAlt
-                #else
-<pre><code class="xml">&lt;dependency&gt;
-  &lt;groupId&gt;$artifact.g&lt;/groupId&gt;
-  &lt;artifactId&gt;$artifact.a&lt;/artifactId&gt;
-  &lt;version&gt;$version&lt;/version&gt;
-&lt;/dependency&gt;
-</code></pre>
-                #end
-            </td>
-
-            <td>$artifact.description.replace('%version%', "$version")</td>
-
-        </tr>
-        #end
-    </tbody>
-</table>
-#end
-
-<h1><a name="Download-DownloadApacheShiro"></a>Download Apache Shiro</h1>
-
-<p>Apache Shiro ${latestRelease} is the current stable release (Java 1.8+ JVM).</p>
-
-<p>To download Shiro please follow the instructions below.</p>
-
-<h3>Code Signatures</h3>
-
-<p>You may <a class="external-link" href="https://infra.apache.org/release-signing.html#verifying-signature">verify the
-    authenticity</a> of all artifacts below by using the PGP <a class="external-link"
-                                                                href="https://www.apache.org/dist/shiro/KEYS">KEYS</a>
-    file. </p>
-
-<h3>Releases</h3>
-
-<div>
-    <ul>
-        <li>
-            <a href="#latest">Latest Stable Release (${latestRelease})</a>
-            <ul>
-                <li><a href="#latestBinary">${latestRelease} Binary Distribution</a></li>
-                <li><a href="#latestSource">${latestRelease} Source Code Distribution</a></li>
-                <li><a href="#latestGit">${latestRelease} Git Source repository</a></li>
-            </ul>
-        </li>
-
-        <li><a href="#previous">Previous Releases</a>
-            <ul>
-                <li><a href="#1.7.x">$shiro17x.version</a></li>
-                <ul>
-                    <li><a href="#1.7.xBinary">$shiro17x.version Binary Distribution</a></li>
-                    <li><a href="#1.7.xSource">$shiro17x.version Source Code Distribution</a></li>
-                    <li><a href="#1.7.xGit">$shiro17x.version Git Source repository</a></li>
-                </ul>
-            </ul>
-            <ul>
-                <li><a href="#1.6.x">$shiro16x.version</a></li>
-                <ul>
-                    <li><a href="#1.6.xBinary">$shiro16x.version Binary Distribution</a></li>
-                    <li><a href="#1.6.xSource">$shiro16x.version Source Code Distribution</a></li>
-                    <li><a href="#1.6.xGit">$shiro16x.version Git Source repository</a></li>
-                </ul>
-            </ul>
-            <ul>
-                <li><a href="#1.5.x">$shiro15x.version</a></li>
-                <ul>
-                    <li><a href="#1.5.xBinary">$shiro15x.version Binary Distribution</a></li>
-                    <li><a href="#1.5.xSource">$shiro15x.version Source Code Distribution</a></li>
-                    <li><a href="#1.5.xGit">$shiro15x.version Git Source repository</a></li>
-                </ul>
-            </ul>
-            <ul>
-                <li><a href="#1.4.x">$shiro14x.version</a></li>
-                <ul>
-                    <li><a href="#1.4.xBinary">$shiro14x.version Binary Distribution</a></li>
-                    <li><a href="#1.4.xSource">$shiro14x.version Source Code Distribution</a></li>
-                    <li><a href="#1.4.xGit">$shiro14x.version Git Source repository</a></li>
-                </ul>
-            </ul>
-            <ul>
-                <li><a href="#1.3.x">$shiro13x.version</a></li>
-                <ul>
-                    <li><a href="#1.3.xBinary">$shiro13x.version Binary Distribution</a></li>
-                    <li><a href="#1.3.xSource">$shiro13x.version Source Code Distribution</a></li>
-                    <li><a href="#1.3.xGit">$shiro13x.version Git Source repository</a></li>
-                </ul>
-            </ul>
-            <ul>
-                <li><a href="#1.2.x">$shiro12x.version</a></li>
-                <ul>
-                    <li><a href="#1.2.xBinary">$shiro12x.version Binary Distribution</a></li>
-                    <li><a href="#1.2.xSource">$shiro12x.version Source Code Distribution</a></li>
-                    <li><a href="#1.2.xGit">$shiro12x.version Git Source repository</a></li>
-                </ul>
-            </ul>
-            <ul>
-                <li><a href="#1.1.x">$shiro11x.version</a></li>
-                <ul>
-                    <li><a href="#1.1.xBinary">$shiro11x.version Binary Distribution</a></li>
-                    <li><a href="#1.1.xSource">$shiro11x.version Source Code Distribution</a></li>
-                    <li><a href="#1.1.xGit">$shiro11x.version Git Source repository</a></li>
-                </ul>
-            </ul>
-        </li>
-    </ul>
-</div>
-
-
-<h2><a name="latest"></a>Latest Stable Release</h2>
-
-<!-- SHIRO LATEST VERSION -->
-<h3>${latestRelease}</h3>
-
-<h4><a name="latestBinary"></a>${latestRelease} Binary Distribution</h4>
-
-<p>Associated documentation can be found <a href="documentation.html" title="Documentation">here</a></p>
-
-<p>To download the files directly as one .jar file just click the link in the "Artifact" column. If you would like
-    acquire Shiro through Maven, then please use the markup listed under "Maven Usage"</p>
-
-<p>
-</p>
-
-#artifactTable($shiro18x)
-
-<h4><a name="latestSource"></a>${latestRelease} Source Code Distribution</h4>
-
-<p>The source bundle requires JDK 1.8 and Maven 3.0.3+ to build:</p>
-
-<p><a class="external-link" href="https://www.apache.org/dyn/closer.lua/shiro/${latestRelease}/shiro-root-${latestRelease}-source-release.zip">zip</a>
-    (<a class="external-link"
-        href="https://www.apache.org/dist/shiro/${latestRelease}/shiro-root-${latestRelease}-source-release.zip.asc">pgp</a>, <a
-            class="external-link"
-            href="https://www.apache.org/dist/shiro/${latestRelease}/shiro-root-${latestRelease}-source-release.zip.sha512">sha512</a>)
-</p>
-
-<h4><a name="latestGit"></a>${latestRelease} Git Source repository</h4>
-
-<p>The source can be cloned anonymously from Git with this command:</p>
-<pre><code style="bash">git clone https://github.com/apache/shiro.git
-git checkout shiro-root-${latestRelease} -b shiro-root-${latestRelease}
-</code>
-</pre>
-
-
-<h2><a name="previous"></a>Previous Releases</h2>
-
-<!-- SHIRO 1.7.X VERSION -->
-<h3><a name="1.7.x"></a>${shiro17x.version}</h3>
-
-<h4><a name="1.7.xBinary"></a>${shiro17x.version} Binary Distribution</h4>
-
-<p>Associated documentation can be found <a href="documentation.html" title="Documentation">here</a></p>
-
-<p>To download the files directly as one .jar file just click the link in the "Artifact" column. If you would like
-    acquire Shiro through Maven, then please use the markup listed under "Maven Usage"</p>
-
-<p>
-</p>
-
-#artifactTable($shiro17x)
-
-<h4><a name="1.7.xSource"></a>${shiro17x.version} Source Code Distribution</h4>
-
-<p>The source bundle requires JDK 1.8 and Maven 3.0.3+ to build:</p>
-
-<p><a class="external-link" href="https://www.apache.org/dyn/closer.lua/shiro/${shiro17x.version}/shiro-root-${shiro17x.version}-source-release.zip">zip</a>
-    (<a class="external-link"
-        href="https://www.apache.org/dist/shiro/${shiro17x.version}/shiro-root-${shiro17x.version}-source-release.zip.asc">pgp</a>, <a
-            class="external-link"
-            href="https://www.apache.org/dist/shiro/${shiro17x.version}/shiro-root-${shiro17x.version}-source-release.zip.md5">md5</a>, <a
-           class="external-link"
-           href="https://www.apache.org/dist/shiro/${shiro17x.version}/shiro-root-${shiro17x.version}-source-release.zip.sha1">sha1</a>)
-</p>
-
-<h4><a name="1.7.xGit"></a>${shiro17x.version} Git Source repository</h4>
-
-<p>The source can be cloned anonymously from Git with this command:</p>
-<pre><code class="bash">git clone https://github.com/apache/shiro.git
-git checkout shiro-root-${shiro17x.version} -b shiro-root-${shiro17x.version}
-</code></pre>
-
-<!-- SHIRO 1.6.X VERSION -->
-<h3><a name="1.6.x"></a>${shiro16x.version}</h3>
-
-<h4><a name="1.6.xBinary"></a>${shiro16x.version} Binary Distribution</h4>
-
-<p>Associated documentation can be found <a href="documentation.html" title="Documentation">here</a></p>
-
-<p>To download the files directly as one .jar file just click the link in the "Artifact" column. If you would like
-    acquire Shiro through Maven, then please use the markup listed under "Maven Usage"</p>
-
-<p>
-</p>
-
-#artifactTable($shiro16x)
-
-<h4><a name="1.6.xSource"></a>${shiro16x.version} Source Code Distribution</h4>
-
-<p>The source bundle requires JDK 1.8 and Maven 3.0.3+ to build:</p>
-
-<p><a class="external-link" href="https://www.apache.org/dyn/closer.lua/shiro/${shiro16x.version}/shiro-root-${shiro16x.version}-source-release.zip">zip</a>
-    (<a class="external-link"
-        href="https://www.apache.org/dist/shiro/${shiro16x.version}/shiro-root-${shiro16x.version}-source-release.zip.asc">pgp</a>, <a
-            class="external-link"
-            href="https://www.apache.org/dist/shiro/${shiro16x.version}/shiro-root-${shiro16x.version}-source-release.zip.md5">md5</a>, <a
-           class="external-link"
-           href="https://www.apache.org/dist/shiro/${shiro16x.version}/shiro-root-${shiro16x.version}-source-release.zip.sha1">sha1</a>)
-</p>
-
-<h4><a name="1.6.xGit"></a>${shiro16x.version} Git Source repository</h4>
-
-<p>The source can be cloned anonymously from Git with this command:</p>
-<pre><code class="bash">git clone https://github.com/apache/shiro.git
-git checkout shiro-root-${shiro16x.version} -b shiro-root-${shiro16x.version}
-</code></pre>
-
-
-<!-- SHIRO 1.5.X VERSION -->
-<h3><a name="1.5.x"></a>${shiro15x.version}</h3>
-
-<h4><a name="1.5.xBinary"></a>${shiro15x.version} Binary Distribution</h4>
-
-<p>Associated documentation can be found <a href="documentation.html" title="Documentation">here</a></p>
-
-<p>To download the files directly as one .jar file just click the link in the "Artifact" column. If you would like
-    acquire Shiro through Maven, then please use the markup listed under "Maven Usage"</p>
-
-<p>
-</p>
-
-#artifactTable($shiro15x)
-
-<h4><a name="1.5.xSource"></a>${shiro15x.version} Source Code Distribution</h4>
-
-<p>The source bundle requires JDK 1.8 and Maven 3.0.3+ to build:</p>
-
-<p><a class="external-link" href="https://www.apache.org/dyn/closer.lua/shiro/${shiro15x.version}/shiro-root-${shiro15x.version}-source-release.zip">zip</a>
-    (<a class="external-link"
-        href="https://www.apache.org/dist/shiro/${shiro15x.version}/shiro-root-${shiro15x.version}-source-release.zip.asc">pgp</a>, <a
-            class="external-link"
-            href="https://www.apache.org/dist/shiro/${shiro15x.version}/shiro-root-${shiro15x.version}-source-release.zip.sha512">sha512</a>)
-</p>
-
-<h4><a name="1.5.xGit"></a>${shiro15x.version} Git Source repository</h4>
-
-<p>The source can be cloned anonymously from Git with this command:</p>
-<pre><code class="bash">git clone https://github.com/apache/shiro.git
-git checkout shiro-root-${shiro15x.version} -b shiro-root-${shiro15x.version}
-</code></pre>
-
-
-<!-- SHIRO 1.4.X VERSION -->
-<h3><a name="1.4.x"></a>${shiro14x.version}</h3>
-
-<h4><a name="1.4.xBinary"></a>${shiro14x.version} Binary Distribution</h4>
-
-<p>Associated documentation can be found <a href="documentation.html" title="Documentation">here</a></p>
-
-<p>To download the files directly as one .jar file just click the link in the "Artifact" column. If you would like
-    acquire Shiro through Maven, then please use the markup listed under "Maven Usage"</p>
-
-<p>
-</p>
-
-#artifactTable($shiro14x)
-
-<h4><a name="1.4.xSource"></a>${shiro14x.version} Source Code Distribution</h4>
-
-<p>The source bundle requires JDK 1.6 and Maven 3.0.3+ to build:</p>
-
-<p><a class="external-link" href="https://www.apache.org/dyn/closer.lua/shiro/${shiro14x.version}/shiro-root-${shiro14x.version}-source-release.zip">zip</a>
-    (<a class="external-link"
-        href="https://www.apache.org/dist/shiro/${shiro14x.version}/shiro-root-${shiro14x.version}-source-release.zip.asc">pgp</a>, <a
-            class="external-link"
-            href="https://www.apache.org/dist/shiro/${shiro14x.version}/shiro-root-${shiro14x.version}-source-release.zip.sha512">sha512</a>)
-</p>
-
-<h4><a name="1.4.xGit"></a>${shiro14x.version} Git Source repository</h4>
-
-<p>The source can be cloned anonymously from Git with this command:</p>
-<pre><code class="bash">git clone https://github.com/apache/shiro.git
-git checkout shiro-root-${shiro14x.version} -b shiro-root-${shiro14x.version}
-</code></pre>
-
-
-<!-- SHIRO 1.3.X VERSION -->
-<h3><a name="1.3.x"></a>${shiro13x.version}</h3>
-
-<h4><a name="1.3.xBinary"></a>${shiro13x.version} Binary Distribution</h4>
-
-<p>Associated documentation can be found <a href="documentation.html" title="Documentation">here</a></p>
-
-<p>To download the files directly as one .jar file just click the link in the "Artifact" column. If you would like
-    acquire Shiro through Maven, then please use the markup listed under "Maven Usage"</p>
-
-<p>
-</p>
-
-#artifactTable($shiro13x)
-
-<h4><a name="1.3.xSource"></a>${shiro13x.version} Source Code Distribution</h4>
-
-<p>The source bundle requires JDK 1.6 and Maven 3.0.3+ to build:</p>
-
-<p><a class="external-link" href="https://www.apache.org/dyn/closer.lua/shiro/${shiro13x.version}/shiro-root-${shiro13x.version}-source-release.zip">zip</a>
-    (<a class="external-link"
-        href="https://www.apache.org/dist/shiro/${shiro13x.version}/shiro-root-${shiro13x.version}-source-release.zip.asc">pgp</a>, <a
-            class="external-link"
-            href="https://www.apache.org/dist/shiro/${shiro13x.version}/shiro-root-${shiro13x.version}-source-release.zip.md5">md5</a>, <a
-            class="external-link"
-            href="https://www.apache.org/dist/shiro/${shiro13x.version}/shiro-root-${shiro13x.version}-source-release.zip.sha1">sha1</a>)
-</p>
-
-<h4><a name="1.3.xGit"></a>${shiro13x.version} Git Source repository</h4>
-
-<p>The source can be cloned anonymously from Git with this command:</p>
-<pre><code class="bash">git clone https://github.com/apache/shiro.git
-git checkout shiro-root-${shiro13x.version} -b shiro-root-${shiro13x.version}
-</code></pre>
-
-<!-- SHIRO 1.2.X VERSION -->
-<h3><a name="1.2.x"></a>${shiro12x.version}</h3>
-
-<h4><a name="1.2.xBinary"></a>${shiro12x.version} Binary Distribution</h4>
-
-<p>Associated documentation can be found <a href="documentation.html" title="Documentation">here</a></p>
-
-<p>To download the files directly as one .jar file just click the link in the "Artifact" column. If you would like
-    acquire Shiro through Maven, then please use the markup listed under "Maven Usage"</p>
-
-<p>
-</p>
-
-#artifactTable($shiro12x)
-
-<h4><a name="1.2.xSource"></a>${shiro12x.version} Source Code Distribution</h4>
-
-<p>The source bundle requires JDK 1.6 and Maven 3.0.3+ to build:</p>
-
-<p><a class="external-link" href="https://www.apache.org/dyn/closer.lua/shiro/${shiro12x.version}/shiro-root-${shiro12x.version}-source-release.zip">zip</a>
-    (<a class="external-link"
-        href="https://www.apache.org/dist/shiro/${shiro12x.version}/shiro-root-${shiro12x.version}-source-release.zip.asc">pgp</a>, <a
-            class="external-link"
-            href="https://www.apache.org/dist/shiro/${shiro12x.version}/shiro-root-${shiro12x.version}-source-release.zip.md5">md5</a>, <a
-            class="external-link"
-            href="https://www.apache.org/dist/shiro/${shiro12x.version}/shiro-root-${shiro12x.version}-source-release.zip.sha1">sha1</a>)
-</p>
-
-<h4><a name="1.2.xGit"></a>${shiro12x.version} Git Source repository</h4>
-
-<p>The source can be cloned anonymously from Git with this command:</p>
-<pre><code class="bash">git clone https://github.com/apache/shiro.git
-git checkout shiro-root-${shiro12x.version} -b shiro-root-${shiro12x.version}
-</code></pre>
-
-
-<!-- SHIRO 1.1.X VERSION -->
-<h3><a name="1.1.x"></a>${shiro11x.version}</h3>
-
-<h4><a name="1.1.xBinary"></a>${shiro11x.version} Binary Distribution</h4>
-
-<p>Associated documentation can be found <a href="documentation.html" title="Documentation">here</a></p>
-
-<p>To download the files directly as one .jar file just click the link in the "Artifact" column. If you would like
-    acquire Shiro through Maven, then please use the markup listed under "Maven Usage"</p>
-
-<p>
-</p>
-
-#artifactTable($shiro11x)
-
-<h4><a name="1.1.xSource"></a>${shiro11x.version} Source Code Distribution</h4>
-
-<p>The ${shiro11x.version} source bundle requires JDK 1.5+ and Maven 2.2+ to build:</p>
-
-<p><a class="external-link"
-      href="https://www.apache.org/dyn/closer.lua/shiro/${shiro11x.version}/shiro-root-${shiro11x.version}-source-release.zip">zip</a> (<a
-        class="external-link" href="https://archive.apache.org/dist/shiro/${shiro11x.version}/shiro-root-${shiro11x.version}-source-release.zip.asc">pgp</a>,
-    <a class="external-link" href="https://archive.apache.org/dist/shiro/${shiro11x.version}/shiro-root-${shiro11x.version}-source-release.zip.md5">md5</a>,
-    <a class="external-link" href="https://archive.apache.org/dist/shiro/${shiro11x.version}/shiro-root-${shiro11x.version}-source-release.zip.sha1">sha1</a>)
-</p>
-
-<h4><a name="1.1.xGit"></a>${shiro11x.version} Git Source repository</h4>
-
-<p>The source can be cloned anonymously from Git with this command:</p>
-<pre><code class="bash">git clone https://github.com/apache/shiro.git
-git checkout shiro-root-${shiro11x.version} -b shiro-root-${shiro11x.version}
-</code></pre>
-
-
-<input type="hidden" id="ghEditPage" value="download.html.vtl"></input>
diff --git a/jbake/content/download.adoc b/jbake/content/download.adoc
new file mode 100644
index 0000000..5db5b5d
--- /dev/null
+++ b/jbake/content/download.adoc
@@ -0,0 +1,20 @@
+= Download Apache Shiro
+:jbake-type: download
+:jbake-status: published
+:jbake-tags: documentation, download
+:jbake-releases: {"versions":["shiro18x"]}
+:idprefix:
+:icons: font
+
+Apache Shiro ${latestRelease} is the current stable release (Java 1.8+ JVM).
+
+To download Shiro please follow the instructions below.
+
+== Code Signatures
+
+You may link:https://infra.apache.org/release-signing.html#verifying-signature[verify the authenticity] of all artifacts below by using the PGP link:https://www.apache.org/dist/shiro/KEYS[KEYS] file.
+
+== Current Release
+
+The current release is ${latestRelease}.
+For older releases, please visit our link:release-archive.html[release archive].
diff --git a/jbake/content/release-archive.adoc b/jbake/content/release-archive.adoc
new file mode 100644
index 0000000..1570d60
--- /dev/null
+++ b/jbake/content/release-archive.adoc
@@ -0,0 +1,21 @@
+= Release Archive
+:jbake-type: download
+:jbake-status: published
+:jbake-tags: documentation, download, archive
+:jbake-releases: { "versions": [ "shiro17x", "shiro16x" ] }
+:idprefix:
+
+This is the Apache Shiro release archive.
+
+To download archived versions of Apache Shiro please follow the instructions below.
+Please note that the current version of Apache Shiro is ${latestRelease}.
+We recommend to stick to the latest version.
+
+== Code Signatures
+
+You may link:https://infra.apache.org/release-signing.html#verifying-signature[verify the authenticity] of all artifacts below by using the PGP link:https://www.apache.org/dist/shiro/KEYS[KEYS] file.
+
+== Previous Releases
+
+This is the release archive.
+To download the current release, please go to the link:download.html[download page] instead.
diff --git a/jbake/jbake.properties b/jbake/jbake.properties
index 7255bdb..608fb5e 100644
--- a/jbake/jbake.properties
+++ b/jbake/jbake.properties
@@ -2,3 +2,6 @@ site.host=https://shiro.apache.org
 render.tags=false
 render.sitemap=true
 render.archive=true
+
+template.download.file=download.ftl
+
diff --git a/jbake/templates/download.ftl b/jbake/templates/download.ftl
new file mode 100644
index 0000000..61f0444
--- /dev/null
+++ b/jbake/templates/download.ftl
@@ -0,0 +1,72 @@
+<#include "header.ftl">
+
+<#include "menu.ftl">
+
+<#include "macros/artifacttable.ftl">
+
+<#if (content.title)??>
+  <div class="page-header">
+    <h1>${content.title}</h1>
+  </div>
+<#else></#if>
+
+<p><@content.body?interpret /></p>
+
+<p>
+  <ul>
+  <#list ((content.releases).versions)![] as version>
+    <#assign release=version?eval />
+    <li><a href="#${release.version?replace(".", "")}">Apache Shiro Release v${release.version}</a></li>
+    <ul>
+      <li><a href="#${release.version?replace(".", "")}Binary">${release.version} Binary Distribution</a></li>
+      <li><a href="#${release.version?replace(".", "")}Source">${release.version} Source Code Distribution</a></li>
+      <li><a href="#${release.version?replace(".", "")}Git">${release.version} Git Source repository</a></li>
+    </ul>
+  </#list>
+  </ul>
+</p>
+
+
+
+<#list ((content.releases).versions)![] as version>
+  <#assign release=version?eval />
+  <h2>Release ${release.version}</h2>
+
+  <h4><a id="#${release.version?replace(".", "")}Binary"></a>${release.version} Binary Distribution</h4>
+
+
+  <p>Associated documentation can be found <a href="documentation.html" title="Documentation">here</a></p>
+
+  <p>To download the files directly as one .jar file just click the link in the "Artifact" column. If you would like
+    acquire Shiro through Maven, then please use the markup listed under "Maven Usage"</p>
+
+  <p>
+  </p>
+
+  <@artifactTable versionObject=release />
+
+  <h4><a id=""#${release.version?replace(".", "")}Source"></a>${release.version} Source Code Distribution</h4>
+
+  <p>The source bundle requires JDK 1.8 and Maven 3.0.3+ to build:</p>
+
+  <p><a class="external-link" href="https://www.apache.org/dyn/closer.lua/shiro/${release.version}/shiro-root-${release.version}-source-release.zip">zip</a>
+    (<a class="external-link"
+        href="https://www.apache.org/dist/shiro/${release.version}/shiro-root-${release.version}-source-release.zip.asc">pgp</a>, <a
+            class="external-link"
+            href="https://www.apache.org/dist/shiro/${release.version}/shiro-root-${release.version}-source-release.zip.sha512">sha512</a>)
+  </p>
+
+  <h4><a name="latestGit"></a>${release.version} Git Source repository</h4>
+
+  <p>The source can be cloned anonymously from Git with this command:</p>
+  <pre><code style="bash" class="language-bash">git clone https://github.com/apache/shiro.git
+git checkout shiro-root-${release.version} -b shiro-root-${release.version}
+</code>
+</pre>
+
+</#list>
+
+
+<hr />
+
+<#include "footer.ftl">
diff --git a/jbake/templates/macros/artifacttable.ftl b/jbake/templates/macros/artifacttable.ftl
new file mode 100644
index 0000000..9121740
--- /dev/null
+++ b/jbake/templates/macros/artifacttable.ftl
@@ -0,0 +1,47 @@
+<#macro artifactTable versionObject={} >
+<#assign version=versionObject.version />
+<table style="width: 100%" class="table">
+  <thead>
+    <tr>
+      <th class="col-md-1">Artifact</th>
+      <th class="col-md-3">Maven Usage</th>
+      <th class="col-md-3">Notes</th>
+    </tr>
+  </thead>
+
+  <tbody>
+  <#list versionObject.artifacts as artifact>
+  <tr>
+    <#assign classifier=artifact.c!"">
+    <#assign group=artifact.g?replace('.', '/') >
+
+    <td style="white-space: nowrap;">
+      <a href="https://repo1.maven.org/maven2/${group}/${artifact.a}/${version}/${artifact.a}-${version}${classifier}.${artifact.type}">${artifact.a}</a><br/>
+      (<a href="https://repo1.maven.org/maven2/${group}/${artifact.a}/${version}/${artifact.a}-${version}${classifier}.${artifact.type}.asc">pgp</a>,
+      <a href="https://repo1.maven.org/maven2/${group}/${artifact.a}/${version}/${artifact.a}-${version}${classifier}.${artifact.type}.md5">md5</a>,
+      <a href="https://repo1.maven.org/maven2/${group}/${artifact.a}/${version}/${artifact.a}-${version}${classifier}.${artifact.type}.sha1">sha1</a>)
+    </td>
+
+    <td>
+      <#if (artifact.gavAlt)?? >
+        ${artifact.gavAlt}
+      <#else>
+      </#if>
+      #if($artifact.gavAlt)
+
+      #else
+      <pre><code class="xml">&lt;dependency&gt;
+  &lt;groupId&gt;$artifact.g&lt;/groupId&gt;
+  &lt;artifactId&gt;$artifact.a&lt;/artifactId&gt;
+  &lt;version&gt;$version&lt;/version&gt;
+&lt;/dependency&gt;
+</code></pre>
+    </td>
+
+    <td>$artifact.description.replace('%version%', "$version")</td>
+
+  </tr>
+  </#list>
+  </tbody>
+</table>
+</#macro>
diff --git a/jbake/templates/macros/versions.ftl b/jbake/templates/macros/versions.ftl
index 998d3e8..9ba2c1f 100644
--- a/jbake/templates/macros/versions.ftl
+++ b/jbake/templates/macros/versions.ftl
@@ -58,6 +58,103 @@ environments (e.g. Ant). However, this is <b>NOT</b> recommended in Maven builds
 retain correct dependency metadata, which can lead to Maven working incorrectly. For Maven builds,
 it is <b>highly</b> recommended to specify individual modules listed below as you require them.'} />
 
+
+<#assign  shiro11x = {"version": "1.1.0", "artifacts": [
+  shiroAll,
+  shiroCore,
+  shiroWeb,
+  shiroAspectJ,
+  shiroEhCache,
+  shiroQuartz,
+  shiroSpring
+]} />
+
+<#assign  shiro12x = {"version": "1.2.6", "artifacts": [
+  shiroAll,
+  shiroCore,
+  shiroWeb,
+  shiroAspectJ,
+  shiroCas,
+  shiroEhCache,
+  shiroFeatures,
+  shiroGuice,
+  shiroQuartz,
+  shiroSpring,
+  shiroHasher
+]} />
+
+<#assign  shiro13x = {"version": "1.3.2", "artifacts": [
+  shiroAll,
+  shiroCore,
+  shiroWeb,
+  shiroAspectJ,
+  shiroCas,
+  shiroEhCache,
+  shiroHazelcast,
+  shiroFeatures,
+  shiroGuice,
+  shiroQuartz,
+  shiroSpring,
+  shiroHasher
+]} />
+
+<#assign  shiro14x = {"version": "1.4.2", "artifacts": [
+  shiroAll,
+  shiroCore,
+  shiroWeb,
+  shiroServletPlugin,
+  shiroJaxrs,
+  shiroAspectJ,
+  shiroCas,
+  shiroEhCache,
+  shiroHazelcast,
+  shiroFeatures,
+  shiroGuice,
+  shiroQuartz,
+  shiroSpring,
+  shiroSpringBoot,
+  shiroSpringBootWeb,
+  shiroHasher
+]} />
+
+<#assign  shiro15x = {"version": "1.5.3", "artifacts": [
+  shiroAll,
+  shiroCore,
+  shiroWeb,
+  shiroServletPlugin,
+  shiroJaxrs,
+  shiroAspectJ,
+  shiroCas,
+  shiroEhCache,
+  shiroHazelcast,
+  shiroFeatures,
+  shiroGuice,
+  shiroQuartz,
+  shiroSpring,
+  shiroSpringBoot,
+  shiroSpringBootWeb,
+  shiroHasher
+]} />
+
+<#assign  shiro16x = {"version": "1.6.0", "artifacts": [
+  shiroAll,
+  shiroCore,
+  shiroWeb,
+  shiroServletPlugin,
+  shiroJaxrs,
+  shiroAspectJ,
+  shiroCas,
+  shiroEhCache,
+  shiroHazelcast,
+  shiroFeatures,
+  shiroGuice,
+  shiroQuartz,
+  shiroSpring,
+  shiroSpringBoot,
+  shiroSpringBootWeb,
+  shiroHasher
+]} />
+
 <#assign shiro17x = {"version": "1.7.1", "artifacts": [
   shiroAll,
   shiroCore,