Skip to content

Commit

Permalink
Repo tables.
Browse files Browse the repository at this point in the history
  • Loading branch information
RossBugginsNHS committed May 29, 2024
1 parent fdabf8a commit 99f2475
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 1 deletion.
19 changes: 19 additions & 0 deletions docs/_includes/notify-repo-table.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<h2>Repository List</h2>

<table>
<tr>
<th>Repository Name</th><th>More Info</th>
</tr>
{% for repo in site.notify-repos %}
<tr>
<td>
{{repo.repo-name}}
</td>
<td>
<a href="{{site.baseurl}}/notify-repos/{{repo.repo-name}}.html">
{{ repo.name }} - {{ repo.description }}
</a>
</td>
</tr>
{% endfor %}
</table>
6 changes: 6 additions & 0 deletions docs/_layouts/notify-repo.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@ layout: default

<h1>{{page.name}} Repository</h1>

<p>
{{page.description}}
</p>

<p>
<a href="https://github.com/NHSDigital/{{page.repo-name}}">https://github.com/NHSDigital/{{page.repo-name}}</a>
</p>

<h2>Authors</h2>

Expand Down
2 changes: 1 addition & 1 deletion docs/notify-repos.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ nav_order: 6
has_children: false
---

{% include notify-repo-list.html %}
{% include notify-repo-table.html %}

0 comments on commit 99f2475

Please sign in to comment.