Skip to content

Commit

Permalink
add opengraph metadata to website
Browse files Browse the repository at this point in the history
- use the social media image from github
- set the development mode to indicate whether users are reading dev
version of the documentation
  • Loading branch information
cpauvert committed May 4, 2024
1 parent 485e280 commit 54cafe4
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
# src: https://pkgdown.r-lib.org/articles/metadata.html
url: https://clavellab.github.io/maldipickr

home:
title: "Reduce the redundancy of bacterial isolates"
description: "A R package to dereplicate and cherry-pick mass spectrometry spectra obtained from bacterial isolates."

template:
bootswatch: litera
bootstrap: 5
Expand All @@ -10,6 +14,10 @@ template:
code_font: "Hack"
primary: "#cf5c36"
theme: "tango"
opengraph:
image:
src: https://repository-images.githubusercontent.com/613291736/be5379b5-ce72-430d-bb4c-70155ba6a0ad
alt: "maldipickr logo with the legend Dereplicate and cherry-pick mass spectrometry spectra"

reference:
- title: "Import"
Expand Down Expand Up @@ -50,3 +58,6 @@ news:
href: "https://clavellab.github.io/maldipickr/news/index.html#maldipickr-120"
- text: "Version 1.1.1"
href: "https://clavellab.github.io/maldipickr/news/index.html#maldipickr-111"

development:
mode: auto

0 comments on commit 54cafe4

Please sign in to comment.