-
-
Notifications
You must be signed in to change notification settings - Fork 532
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
738af64
commit 6cd06cd
Showing
8 changed files
with
65 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,21 @@ | ||
|
||
<td><a href="{{ site.baseurl }}/formula/{{ include.formula.name | uri_escape }}" | ||
{%- if include.formula.disabled %} class="disabled" title="This formula has been disabled" | ||
{%- elsif include.formula.deprecated %} class="deprecated" title="This formula has been deprecated" | ||
<td> | ||
{%- assign include_fdata = site.data.formula[include.data_fname] -%} | ||
{%- unless include_fdata -%} | ||
{%- assign include_data_fname = site.data.formula_canonical[include.fname] | remove: "@" | remove: "." | replace: "+", "_" -%} | ||
{%- assign include_fdata = site.data.formula[include_data_fname] -%} | ||
{%- endunless -%} | ||
{%- if include_fdata != nil -%} | ||
<a href="{{ site.baseurl }}/formula/{{ include_fdata.name | uri_escape }}" | ||
{%- if include_fdata.disabled %} class="disabled" title="This formula has been disabled" | ||
{%- elsif include_fdata.deprecated %} class="deprecated" title="This formula has been deprecated" | ||
{%- endif -%} | ||
>{{ include.formula.name | escape }}</a></td> | ||
<td>{{ include.formula.versions.stable | escape }}</td> | ||
<td>{{ include.formula.desc | escape }}</td> | ||
>{{ include_fdata.name | escape }}</a></td> | ||
<td>{{ include_fdata.versions.stable | truncate: 20 | escape }}</td> | ||
<td>{{ include_fdata.desc | escape }} | ||
{%- else -%} | ||
{{ include.fname | escape }}</td> | ||
<td></td> | ||
<td> | ||
{%- endif -%} | ||
</td> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters