-
Notifications
You must be signed in to change notification settings - Fork 32
Home
Welcome to the code-is-science wiki!
codeisscience.com is a static-generated site built on hugo. To build the site locally, clone the repo, and on the command line run hugo
from the root of the repository. If you're editing the site live, and want the pages to auto refresh as you work, run hugo serve
and go to http://localhost:1313 to view the site
Assuming you have a less compiler installed, in the command line, navigate to the themes/codeisscience/static/css
directory and run lessc style.less style.css
.
Content is added into the content
directory, and a file name will be reflected in the directory structure - e.g. content/posts/my-first-post.md
will add a post at codeisscience.com/posts/my-first-post.
Theme files - e.g. css, index, and partials for the header and footer are located under theme/codeisscience
.
The docs folder should never be edited manually - this is just the generated site, for use by github pages.