DigitalSlideArchive / digital_slide_archive

The official deployment of the Digital Slide Archive and HistomicsTK.
https://digitalslidearchive.github.io
Apache License 2.0
110 stars 50 forks source link

Separate contact links into own data file #102

Closed jtomeck closed 4 years ago

jtomeck commented 4 years ago

@manthey - Continuing our discussion from #101 This is my solution. I'll see if you think it's a better one.

I separated out just the two contact links so that prepends and fancy if statements would not be needed. The benefit of this outside of simplicity is that it allows us to re-use them elsewhere in the future (if we have a page that needs a contact us call-to-action this data file is already prepared).