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 2022/02/12 11:48:03 UTC

[shiro-site] 01/01: [SHIRO-864] fix links with classifiers

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

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

commit 294de846dea19fea98f972db0d45264725139dd4
Author: Benjamin Marwell <bm...@apache.org>
AuthorDate: Sat Feb 12 12:47:51 2022 +0100

    [SHIRO-864] fix links with classifiers
---
 src/site/templates/macros/artifacttable.ftl | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/site/templates/macros/artifacttable.ftl b/src/site/templates/macros/artifacttable.ftl
index 99d342b..54cd9eb 100644
--- a/src/site/templates/macros/artifacttable.ftl
+++ b/src/site/templates/macros/artifacttable.ftl
@@ -16,6 +16,8 @@
   <tr>
     <#if (artifact.c)??>
         <#assign classifier="-"+artifact.c>
+    <#else>
+        <#assign classifier="">
     </#if>
     <#assign group=artifact.g?replace('.', '/') >