dms-vep / dms-vep-pipeline-3

Pipeline for analyzing deep mutational scanning (DMS) of viral entry proteins (VEPs)
Other
1 stars 0 forks source link

what is relationship between `.vitepress/config.mjs` and `index.md` metadata for VitePress? #129

Closed jbloom closed 1 month ago

jbloom commented 1 month ago

@WillHannon-MCB, there is some highly similar information specified in the .vitepress/config.mjs file and the index.md in ./homepage/. I don't quite understand what is the difference between them: are both needed, and if so which are used where?

WillHannon-MCB commented 1 month ago

Both are needed. Although they look similar, they're doing different things. The index.md file populates the Homepage (index.html), whereas the config.mjs configures the entire site. Currently, it's populating fields in each page's <head> tag, configuring the Navigation bar, and adding a footer to each page.

There are other optional ways to use the config.mjs file to customize the size.