Skip to content

Commit bfefe76

Browse files
authored
structure, placeholders (#1)
1 parent 9adbd1f commit bfefe76

32 files changed

+662
-2
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
_site
2+
.sass-cache
3+
.jekyll-metadata
4+
*.swp
5+
*.swo

404.html

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
layout: default
3+
---
4+
5+
<style type="text/css" media="screen">
6+
.container {
7+
margin: 10px auto;
8+
max-width: 600px;
9+
text-align: center;
10+
}
11+
h1 {
12+
margin: 30px 0;
13+
font-size: 4em;
14+
line-height: 1;
15+
letter-spacing: -1px;
16+
}
17+
</style>
18+
19+
<div class="container">
20+
<h1>404</h1>
21+
22+
<p><strong>Page not found :(</strong></p>
23+
<p>The requested page could not be found.</p>
24+
</div>

Gemfile

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
source "https://rubygems.org"
2+
3+
# Hello! This is where you manage which Jekyll version is used to run.
4+
# When you want to use a different version, change it below, save the
5+
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
6+
#
7+
# bundle exec jekyll serve
8+
#
9+
# This will help ensure the proper Jekyll version is running.
10+
# Happy Jekylling!
11+
gem "jekyll", "~> 3.8.4"
12+
13+
# This is the default theme for new Jekyll sites. You may change this to anything you like.
14+
gem "minima", "~> 2.0"
15+
16+
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
17+
# uncomment the line below. To upgrade, run `bundle update github-pages`.
18+
# gem "github-pages", group: :jekyll_plugins
19+
20+
# If you have any plugins, put them here!
21+
group :jekyll_plugins do
22+
gem "jekyll-feed", "~> 0.6"
23+
gem "jekyll-paginate", "~> 1.1.0"
24+
gem "jekyll-redirect-from", "~> 0.14.0"
25+
end
26+
27+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
28+
gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby]
29+
30+
# Performance-booster for watching directories on Windows
31+
gem "wdm", "~> 0.1.0" if Gem.win_platform?
32+

Gemfile.lock

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
addressable (2.5.2)
5+
public_suffix (>= 2.0.2, < 4.0)
6+
colorator (1.1.0)
7+
concurrent-ruby (1.0.5)
8+
em-websocket (0.5.1)
9+
eventmachine (>= 0.12.9)
10+
http_parser.rb (~> 0.6.0)
11+
eventmachine (1.2.7)
12+
ffi (1.9.25)
13+
forwardable-extended (2.6.0)
14+
http_parser.rb (0.6.0)
15+
i18n (0.9.5)
16+
concurrent-ruby (~> 1.0)
17+
jekyll (3.8.4)
18+
addressable (~> 2.4)
19+
colorator (~> 1.0)
20+
em-websocket (~> 0.5)
21+
i18n (~> 0.7)
22+
jekyll-sass-converter (~> 1.0)
23+
jekyll-watch (~> 2.0)
24+
kramdown (~> 1.14)
25+
liquid (~> 4.0)
26+
mercenary (~> 0.3.3)
27+
pathutil (~> 0.9)
28+
rouge (>= 1.7, < 4)
29+
safe_yaml (~> 1.0)
30+
jekyll-feed (0.11.0)
31+
jekyll (~> 3.3)
32+
jekyll-paginate (1.1.0)
33+
jekyll-redirect-from (0.14.0)
34+
jekyll (~> 3.3)
35+
jekyll-sass-converter (1.5.2)
36+
sass (~> 3.4)
37+
jekyll-seo-tag (2.5.0)
38+
jekyll (~> 3.3)
39+
jekyll-watch (2.0.0)
40+
listen (~> 3.0)
41+
kramdown (1.17.0)
42+
liquid (4.0.0)
43+
listen (3.1.5)
44+
rb-fsevent (~> 0.9, >= 0.9.4)
45+
rb-inotify (~> 0.9, >= 0.9.7)
46+
ruby_dep (~> 1.2)
47+
mercenary (0.3.6)
48+
minima (2.5.0)
49+
jekyll (~> 3.5)
50+
jekyll-feed (~> 0.9)
51+
jekyll-seo-tag (~> 2.1)
52+
pathutil (0.16.1)
53+
forwardable-extended (~> 2.6)
54+
public_suffix (3.0.3)
55+
rb-fsevent (0.10.3)
56+
rb-inotify (0.9.10)
57+
ffi (>= 0.5.0, < 2)
58+
rouge (3.2.1)
59+
ruby_dep (1.5.0)
60+
safe_yaml (1.0.4)
61+
sass (3.6.0)
62+
sass-listen (~> 4.0.0)
63+
sass-listen (4.0.0)
64+
rb-fsevent (~> 0.9, >= 0.9.4)
65+
rb-inotify (~> 0.9, >= 0.9.7)
66+
67+
PLATFORMS
68+
ruby
69+
70+
DEPENDENCIES
71+
jekyll (~> 3.8.4)
72+
jekyll-feed (~> 0.6)
73+
jekyll-paginate (~> 1.1.0)
74+
jekyll-redirect-from (~> 0.14.0)
75+
minima (~> 2.0)
76+
tzinfo-data
77+
78+
BUNDLED WITH
79+
1.16.5

README.md

Lines changed: 50 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,50 @@
1-
# SolarPerformanceInsight.github.io
1+
# Solar Performance Insight Project site.
2+
This site hosts static content for the Solar Performance Insight project.
3+
4+
It's built using [Jekyll](https://jekyllrb.com/).
5+
6+
### Architecture
7+
Directory structure:
8+
9+
- `_layouts` Base templates that include organize content.
10+
- `_data` Variables for rendering in templates stored in yaml files.
11+
Data entered here is accessible via the `site.data` variable in templates.
12+
- `_includes` Reusable HTML elements.
13+
14+
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).
15+
```
16+
---
17+
layout: base
18+
permalink: /<path/
19+
---
20+
```
21+
Note: Declaring a permalink provides a way for jekyll to link to pages regardless of where they reside in the directory structure or filename.
22+
23+
24+
### Navigation
25+
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.
26+
27+
```
28+
Example: Top level menu item
29+
30+
- name: Team
31+
link: /team/
32+
33+
Example: Subnav Dropdown
34+
35+
- name: Key Topics
36+
links:
37+
- name: Use Cases
38+
link: /usecases/
39+
```
40+
41+
42+
### Adding Content
43+
44+
Pages can be added by creating a new html or markdown file in the root directory of this repo.
45+
46+
If you wish to use a mixture of markdown and html, you may do so with a .md file.
47+
48+
#### Blog Posts
49+
50+
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.

_config.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Welcome to Jekyll!
2+
#
3+
# This config file is meant for settings that affect your whole blog, values
4+
# which you are expected to set up once and rarely edit after that. If you find
5+
# yourself editing this file very often, consider using Jekyll's data files
6+
# feature for the data you need to update frequently.
7+
#
8+
# For technical reasons, this file is *NOT* reloaded automatically when you use
9+
# 'bundle exec jekyll serve'. If you change this file, please restart the server process.
10+
11+
# Site settings
12+
# These are used to personalize your new site. If you look in the HTML files,
13+
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
14+
# You can create any custom variable you would like, and they will be accessible
15+
# in the templates via {{ site.myvariable }}.
16+
title: Solar Performance Insight
17+
email: holmgren@email.arizona.edu
18+
description: >- # this means to ignore newlines until "baseurl:"
19+
Solar Performance Insight project site.
20+
baseurl: "" # the subpath of your site, e.g. /blog
21+
url: "https://solarperformanceinsight.github.io" # the base hostname & protocol for your site, e.g. http://example.com
22+
github_username: SolarPerformanceInsight
23+
24+
# Build settings
25+
markdown: kramdown
26+
theme: minima
27+
plugins:
28+
- jekyll-feed
29+
- jekyll-paginate
30+
- jekyll-redirect-from
31+
paginate: 5
32+
paginate_path: "/blog/page:num/"
33+
# custom vars
34+
project_name: Solar Performance Insight
35+
excerpt_separator: <!-- more -->
36+

_data/navigation.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
- name: Team
2+
link: /team/
3+
- name: Contact
4+
link: /contact/
5+
- name: Funding
6+
link: /funding/
7+
8+
- name: Publications
9+
link: /publications/
10+
11+
- name: Stakeholder Committee
12+
link: /stakeholdercommittee/
13+
14+
- name: Email List
15+
link: /emaillist/

_data/papers.yml

Whitespace-only changes.

_data/posters.yml

Whitespace-only changes.

_data/presentations.yml

Whitespace-only changes.

0 commit comments

Comments
 (0)