ScilifelabDataCentre / genome-portal

This is the repository for the Swedish Reference Genome Portal, a service facilitating access and discovery of genome data of non-model eukaryotic species studied in Sweden
https://genomes.scilifelab.se/
MIT License
0 stars 0 forks source link

Species archetypes 🎃 #65

Open kwentine opened 1 week ago

kwentine commented 1 week ago

Context

This PR started as a question: would it be possible to use the Hugo archetype system to replace our scripts/template directory? A new species would be created with (a wrapper around):

hugo new species/species_name

Experiment

All the experimental changes are found in the following sections:

I have kept the file names to ease diffing with the originals to emphasize changes. For example:

diff layouts/{species,halloween}/species_intro.html

Points of interest

I may have forgotten some points, but halloween is almost over so I move along :)

Next steps

If you want to create your own halloween species and push it to this branch, feel free ;) But other than that, this can stay as an experiment. If we do identifies bits and pieces to include, I will think further on how to integrate the changes.

Happy Halloween :)