-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from osuosl/antoniagaete/fix_project_table_count
Project table count updated automatically
- Loading branch information
Showing
6 changed files
with
33 additions
and
33 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
{{ if .IsNamedParams }} | ||
<table class="hosted_projects_table"> | ||
<thead> | ||
<th>Project</th> | ||
<th>Services</th> | ||
</thead> | ||
<tbody> | ||
{{ $data := index $.Site.Data $.Params.file }} | ||
{{ range $data }} | ||
<tr> | ||
<td class="hosted_projects_table_name">{{ .name }}</td> | ||
<td>{{ .description }}</td> | ||
</tr> | ||
{{ end }} | ||
</tbody> | ||
<thead> | ||
<th>Project</th> | ||
<th>Services</th> | ||
</thead> | ||
<tbody> | ||
{{ $data := index $.Site.Data $.Params.file }} | ||
{{ range $data }} | ||
<tr> | ||
<td class="hosted_projects_table_name">{{ .name }}</td> | ||
<td>{{ .description }}</td> | ||
</tr> | ||
{{ end }} | ||
</tbody> | ||
</table> | ||
{{- end -}} |
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,16 +1,16 @@ | ||
{{ if .IsNamedParams }} | ||
<table class="projects_table"> | ||
<thead> | ||
<th colspan="2">{{ .Params.table_title }} ({{ .Params.project_count }} projects)</th> | ||
</thead> | ||
<tbody> | ||
{{ $data := index $.Site.Data $.Params.file }} | ||
{{ range $data }} | ||
<tr> | ||
<td>{{ .name }}</td> | ||
<td>{{ .description }}</td> | ||
</tr> | ||
{{ end }} | ||
</tbody> | ||
<thead> | ||
<th colspan="2">{{ .Params.table_title }} ({{ len (index $.Site.Data .Params.file) }} projects)</th> | ||
</thead> | ||
<tbody> | ||
{{ $data := index $.Site.Data .Params.file }} | ||
{{ range $data }} | ||
<tr> | ||
<td>{{ .name }}</td> | ||
<td>{{ .description }}</td> | ||
</tr> | ||
{{ end }} | ||
</tbody> | ||
</table> | ||
{{- end -}} | ||
{{- end }} |