-
Notifications
You must be signed in to change notification settings - Fork 1
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 #5 from uk-tre/further-development
Renaming resources
- Loading branch information
Showing
5 changed files
with
187 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
title: Community Resources | ||
layout: community_resources/index | ||
description: Resources from members and teams within the community | ||
url: /resources | ||
--- | ||
|
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
title: "Alan Turing Institute TRE codebase (Azure)" | ||
description: "Alan Turing Institute open source TRE infrastructure codebase (deployed on Azure)" | ||
owners: | ||
- The Alan Turing Institute | ||
url: resources/turing_tre | ||
tags: | ||
- resource | ||
tag_resource_types: | ||
- code | ||
tag_resource_topics: | ||
- infrastructure | ||
draft: false | ||
layout: resources/resource_page | ||
--- | ||
|
||
# Alan Turing Institute TRE codebase (Azure) | ||
|
||
**Type:** GitHub repository | ||
|
||
**Topic:** TRE Infrastructure | ||
|
||
**Link:** https://github.com/alan-turing-institute/data-safe-haven | ||
|
||
**Owner(s):** The Alan Turing Institute | ||
|
||
**Licence:** BSD 3-Clause License | ||
|
||
## Information | ||
|
||
... |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
title: "Test paper" | ||
description: "Test paper" | ||
owners: | ||
- The Alan Turing Institute | ||
draft: false | ||
url: resources/paper | ||
layout: resources/resource_page | ||
tags: | ||
- resource | ||
tag_resource_types: | ||
- papers | ||
tag_resource_topics: | ||
- information_governance | ||
--- | ||
|
||
# Test paper |
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 |
---|---|---|
@@ -0,0 +1,126 @@ | ||
{{ define "main" }} | ||
<!-- <div class="section padded container"> | ||
{{ range $key, $taxonomy := .Site.Taxonomies.tag_resource_types }} | ||
<li>{{ $key }}</li> | ||
<ul> | ||
{{ range $taxonomy.Pages }} | ||
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li> | ||
{{ end }} | ||
</ul> | ||
{{end}} | ||
</div> --> | ||
|
||
<section class="section padded container"> | ||
<h1>{{ .Title }}</h1> | ||
<p>{{ .Description }}</p> | ||
<p> | ||
You can also find the resources and outputs from our working groups by visiting the <b>working groups page</b> | ||
</p> | ||
<a type="button" class="btn btn-branded" href="/groups"> | ||
Visit working groups page | ||
</a> | ||
<div class="callout callout-warning"> | ||
<strong>Note: </strong> This page is simply signposting to different resources available within the community - | ||
presence of a resource on this page does not signify community endorsement. | ||
Please evaluate each resource in your own terms! | ||
</div> | ||
</section> | ||
<section class="section padded container"> | ||
<h2>Resources (by type)</h2> | ||
<p>Community resources by the type of resource they are</p> | ||
<div class="accordion"> | ||
{{ range $key, $taxonomy := .Site.Taxonomies.tag_resource_types }} | ||
{{ $formatTitle := strings.Replace $key "_" " " }} | ||
<div class="accordion-item"> | ||
<h2 class="accordion-header" id="heading{{$key}}"> | ||
<button class="accordion-button" type="button" data-bs-toggle="collapse" | ||
data-bs-target="#collapse{{$key}}" aria-expanded="true" aria-controls="collapse{{$key}}"> | ||
{{ strings.Title $formatTitle }} | ||
</button> | ||
</h2> | ||
{{ range $taxonomy.Pages }} | ||
<div id="collapse{{$key}}" class="accordion-collapse collapse" aria-labelledby="heading{{$key}}"> | ||
<div class="accordion-body"> | ||
<div class="col"> | ||
<ul class="list-group"> | ||
<li class="list-group-item"> | ||
<div class="container"> | ||
<div class="row row-cols-2"> | ||
<div class="col"> | ||
<h3>Title</h3> | ||
</div> | ||
<div class="col"> | ||
<h3>Owner(s)</h3> | ||
</div> | ||
<div class="col"> | ||
<a href="{{ .Permalink }}"> | ||
{{ .Title }} | ||
</a> | ||
</div> | ||
<div class="col"> | ||
{{ range .Params.owners }} | ||
{{ . }}</br> | ||
{{ end }} | ||
</div> | ||
</div> | ||
</div> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
{{ end }} | ||
</div> | ||
{{end}} | ||
</div> | ||
</section> | ||
<section class="section padded container"> | ||
<h2>Resources (by topic)</h2> | ||
<p>Community resources by the topic the resource is covering</p> | ||
<div class="accordion"> | ||
{{ range $key, $taxonomy := .Site.Taxonomies.tag_resource_topics }} | ||
{{ $formatTitle := strings.Replace $key "_" " " }} | ||
<div class="accordion-item"> | ||
<h2 class="accordion-header" id="heading{{$key}}"> | ||
<button class="accordion-button" type="button" data-bs-toggle="collapse" | ||
data-bs-target="#collapse{{$key}}" aria-expanded="true" aria-controls="collapse{{$key}}"> | ||
{{ strings.Title $formatTitle }} | ||
</button> | ||
</h2> | ||
{{ range $taxonomy.Pages }} | ||
<div id="collapse{{$key}}" class="accordion-collapse collapse" aria-labelledby="heading{{$key}}"> | ||
<div class="accordion-body"> | ||
<div class="col"> | ||
<ul class="list-group"> | ||
<li class="list-group-item"> | ||
<div class="container"> | ||
<div class="row row-cols-2"> | ||
<div class="col"> | ||
<h3>Title</h3> | ||
</div> | ||
<div class="col"> | ||
<h3>Owner(s)</h3> | ||
</div> | ||
<div class="col"> | ||
<a href="{{ .Permalink }}"> | ||
{{ .Title }} | ||
</a> | ||
</div> | ||
<div class="col"> | ||
{{ range .Params.owners }} | ||
{{ . }}</br> | ||
{{ end }} | ||
</div> | ||
</div> | ||
</div> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
{{ end }} | ||
</div> | ||
{{end}} | ||
</div> | ||
</section> | ||
{{ 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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{{ define "main" }} | ||
<div class="section padded container"> | ||
{{ .Content }} | ||
</div> | ||
|
||
{{ end }} |