tuxji commented on code in PR #102:
URL: https://github.com/apache/daffodil-site/pull/102#discussion_r1050003339


##########
site/_layouts/release.html:
##########
@@ -45,6 +45,7 @@ <h4>Source</h4>
              checksum-root=page.checksum-root
              artifact-root=page.artifact-root
              prefix=prefix
+             apache=page.apache

Review Comment:
   I assume the reason for this new line is to make the params conditional?



##########
site/_includes/download-list.html:
##########
@@ -1,7 +1,8 @@
 {% for file in include.artifacts %}
 <div class="row">
   <div class="col-sm-6">
-    <a href="{{ include.artifact-root | append: include.prefix | append: file 
}}">{{ file }}</a>
+    {% if include.apache %} {% assign params = "?action=download" %} {% endif 
%}
+    <a href="{{ include.artifact-root | append: include.prefix | append: file 
| append: params }}">{{ file }}</a>

Review Comment:
   Why make the params conditional?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to