Giter Site home page Giter Site logo

zfxsss / solararbiter.github.io Goto Github PK

View Code? Open in Web Editor NEW

This project forked from solararbiter/solararbiter.github.io

0.0 0.0 0.0 86.92 MB

Contains the Solar Forecast Arbiter static website

Home Page: https://solarforecastarbiter.org/

License: MIT License

Ruby 0.49% Python 1.30% CSS 1.99% HTML 15.72% Jupyter Notebook 80.50%

solararbiter.github.io's Introduction

Solar Forecast Arbiter Project site.

This site hosts static content for the Solar Forecast Arbiter project.

It's built using Jekyll.

Architecture

Directory structure:

  • _layouts Base templates that include organize content.
  • _data Variables for rendering in templates stored in yaml files. Data entered here is accessible via the site.data variable in templates.
  • _includes Reusable HTML elements.

Content is provided in html files at the root of the directory. The layout to use for a given page is declared at the top of the file in the Front Matter (a yaml snippet preceded and followed by a line with three '-'s on it).

---
layout: base
permalink: /<path/
---

Note: Declaring a permalink provides a way for jekyll to link to pages regardless of where they reside in the directory structure or filename.

Navigation

Main navigation is defined in the _data/navigation.yml file. New menu items can be added by creating a yaml object with name and link attributes where name is the link text to display and link is the permalink, path or url to the target. Dropdown sub-navigation can be defined by creating a top level object with a name and links attribute, where the links attribute is a list of objects with name and link attributes.

Example: Top level menu item

- name: Team
  link: /team/

Example: Subnav Dropdown

- name: Key Topics
  links:
  - name: Use Cases
    link: /usecases/

Adding Content

Pages can be added by creating a new html or markdown file in the root directory of this repo.

If you wish to use a mixture of markdown and html, you may do so with a .md file.

Blog Posts

Blog posts can be added in the _posts directory, with the format <year>-<month>-<day>-<dash-separated-title> in .md or .html. You should set the author field in the front-matter as well as setting the layout to blog, these values will be rendered in the blog post listing and the blog post page.

solararbiter.github.io's People

Contributors

wholmgren avatar lboeman avatar alorenzo175 avatar dplarson avatar cwhanse avatar mrwindandsolar avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.