Skip to content

Commit

Permalink
differences for PR #197
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Jun 25, 2024
1 parent 53e7882 commit c731d60
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions editing.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,24 @@ These fields will be simple key-pair values of information used throughout the e
carpentry
: The code for the specific carpentry that the lesson belongs to (swc, dc, lc, cp)

carpentry_description
: (Optional) Full organisation name. Not needed when carpentry is swc, dc, lc, or cp.

::::::::::: callout

### Adding a custom logo

The "carpentry" variable works with the {varnish} package to control the logo displayed on your lesson. You can display your own logo by

1. Adding the logo file as SVG (e.g. 'ice-cream-logo.svg') to your fork of {varnish} in the `inst/pkgdown/assets/assets/images` folder.
1. Setting "carpentry" to match the beginning of the name of your logo file. E.g. to use the `ice-cream-logo.svg` file given above, "carpentry" should be set to 'ice-cream'.
1. Adding 'varnish: [YOUR-GITHUB-USERNAME]/varnish' to the Customization section of your lessons `config.yaml` file.

The rendered lesson will display your logo file with alternative text that matches the value of "carpentry". For more informative alternative text, you can set "carpentry_description" to your organisation's full name. E.g. "Ice Cream Carpentry" instead of "ice-cream".

:::::::::::::::::::


title
: The main title of the lesson

Expand Down
2 changes: 1 addition & 1 deletion md5sum.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"links.md" "a7ea11385a9d821b8f57edb0951c83ca" "site/built/links.md" "2024-05-17"
"episodes/introduction.md" "b1ca0d51bfee1538beabc08f46b389cf" "site/built/introduction.md" "2024-05-17"
"episodes/episodes.Rmd" "4f9401544dcfcd6d0ba5b61dca806f04" "site/built/episodes.md" "2024-05-17"
"episodes/editing.md" "51d14a223e1a4603e1224d0e624d06dd" "site/built/editing.md" "2024-05-17"
"episodes/editing.md" "ce190ef81ca537df80bfbee6759c35a0" "site/built/editing.md" "2024-06-25"
"episodes/example.Rmd" "215e3c4ed500fef3410f040349fb0a73" "site/built/example.md" "2024-05-17"
"episodes/deployment.md" "f15377cac190ef5435a60d074aa8aeb3" "site/built/deployment.md" "2024-05-17"
"episodes/update.md" "e3939117fb9b893806c4f43e7f08594e" "site/built/update.md" "2024-05-17"
Expand Down

0 comments on commit c731d60

Please sign in to comment.