Skip to content

Commit

Permalink
Merge pull request #22 from send2dan/main
Browse files Browse the repository at this point in the history
Update README files RE: _brand.yml #21
  • Loading branch information
Lextuga007 authored Nov 26, 2024
2 parents 586a658 + 19fc86b commit 9e17ad0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Assets

Content such as logos or repeated Quarto slides are stored here so that they can be linked to from multiple repositories.
Content such as logos, brands or repeated Quarto slides are stored here so that they can be linked to from multiple repositories.

Each folder will contain a specific README on how to link or use the asset.

Expand Down
13 changes: 8 additions & 5 deletions brand/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ check any outputs.

## Logo

If you need to use the NHS-R Community logo (or wish to use another like NHS for
If you need to use the NHS-R Community logo (or wish to use another NHS logo for
any official outputs) you will need to remove the comment hashes from the
`_brand_yml` file and ensure that the logo file is saved wherever the `_brand.yml`
file is.
Expand All @@ -39,12 +39,15 @@ format:

## Quarto

If you are using a Quarto file `_quarto.yml` within a Quarto project (an example
being the [NHS-R Community presentations](https://github.com/nhs-r-community/NHSR-presentations/blob/main/_quarto.yml)
which each refer to this file for shared attributes you will need to add the code:
If you are using a Quarto file, to apply the branding:

1) Place `_quarto.yml` within a Quarto project (an example
being the [NHS-R Community presentations](https://github.com/nhs-r-community/NHSR-presentations/blob/main/_quarto.yml)).

2) Then refer to the `_brand.yml` file in the `_quarto.yml` file by adding the code:

```
brand: _brand.yml
```

to apply the branding.

0 comments on commit 9e17ad0

Please sign in to comment.