Author: sebb
Date: Thu Apr 26 14:34:03 2018
New Revision: 1830231
URL: http://svn.apache.org/viewvc?rev=1830231&view=rev
Log:
Use empty string for non-existent website
Modified:
attic/site-jekyll/src/_data/project.txt
attic/site-jekyll/src/_data/projects.json
attic/site-jekyll/src/_layouts/project.html
Modified: attic/site-jekyll/src/_data/project.txt
URL:
http://svn.apache.org/viewvc/attic/site-jekyll/src/_data/project.txt?rev=1830231&r1=1830230&r2=1830231&view=diff
==============================================================================
--- attic/site-jekyll/src/_data/project.txt (original)
+++ attic/site-jekyll/src/_data/project.txt Thu Apr 26 14:34:03 2018
@@ -10,7 +10,8 @@ nokeys: suppress the KEYS entry in the d
"stem": "the generated file name stem | default: name to lower-case;
replace space and / by -",
"project": "object",
"subproject": "<optional>",
- "website": "website URL | default: project.apache.org/subproject OR '#'
to suppress the entry",
+ "website": "website URL | default: project.apache.org/subproject. Use
'' to omit website.",
+ "dist": "the dist/ subdir | default: project[/subproject]",
"nodist": true,
"retired": "April 2018",
"scm": "svn|git-wip|URL",
Modified: attic/site-jekyll/src/_data/projects.json
URL:
http://svn.apache.org/viewvc/attic/site-jekyll/src/_data/projects.json?rev=1830231&r1=1830230&r2=1830231&view=diff
==============================================================================
--- attic/site-jekyll/src/_data/projects.json (original)
+++ attic/site-jekyll/src/_data/projects.json Thu Apr 26 14:34:03 2018
@@ -408,8 +408,8 @@
{
"name": "Quetzalcoatl",
"project": "quetzalcoatl",
- "website": "#",
- "nodist": true,
+ "website": "",
+ "nodist": true,
"retired": "June 2010",
"scm": "svn",
"mailnames": [],
@@ -514,7 +514,7 @@
{
"name": "WS Muse",
"stem": "muse",
- "website": "#",
+ "website": "",
"project": "ws",
"subproject": "muse",
"retired": "January 2013",
Modified: attic/site-jekyll/src/_layouts/project.html
URL:
http://svn.apache.org/viewvc/attic/site-jekyll/src/_layouts/project.html?rev=1830231&r1=1830230&r2=1830231&view=diff
==============================================================================
--- attic/site-jekyll/src/_layouts/project.html (original)
+++ attic/site-jekyll/src/_layouts/project.html Thu Apr 26 14:34:03 2018
@@ -74,7 +74,7 @@ wiki
wikiname
{%- endcomment %}
-<p><a href="{{ page.json.website }}">Apache {{ page.json.name }}</a> moved
into the Attic in {{ page.json.retired }}.
+<p>{%- if page.json.website != '' %}<a href="{{ page.json.website }}">Apache
{{ page.json.name }}</a>{% else %}Apache {{ page.json.name }}{% endif %} moved
into the Attic in {{ page.json.retired }}.
{{ page.json.description }}</p>
<table style="margin-left: auto; margin-right:auto; width:90%">
@@ -84,7 +84,7 @@ wikiname
</tr>
<tr>
<td>Website</td>
-{%- if page.json.website == '#' %}
+{%- if page.json.website == '' %}
<td>n/a</td>
{%- else %}
<td><a href="{{ page.json.website }}">{{ page.json.website | replace:
"http://","" }}</a></td>