Sitelet https://github.com/scverse/scverse.github.io
Skip to content

Repository files navigation

scverse.org

This is a website for scverse.org based on Hugo.

Repository structure

Content

Most of the times, only the content has to be modified. Content is stored as TOML in .md files in /content. To modify the contents of the tutorials page, for example, one has to look inside /content/learn/_index.md.

Styles

For style sheets, SCSS is used. Modify /assets/main.scss to change styles.

Layout

Modifying layout is only required when pages have to be restuctured or new pages are to be added. Look inside /layout for that. Hugo Templating is used to work with content from /content.

Running locally

To build the website (with hot reload), install Hugo and run

hugo server -D

Site search is powered by Pagefind, which indexes the built HTML rather than the content files, so hugo server alone has no index and the search dialog will say so. To try it locally, build and index the site, then serve public/:

hugo && npx pagefind --site public && python3 -m http.server -d public

About

scverse.org website

Resources

Code of conduct

Stars

4 stars

Watchers

8 watching

Forks

Releases

Packages

Used by

Contributors

Languages