Skip to content

Commit a156fa7

Browse files
committed
Config file for dev buil
New jekyll config file to be used for development builds pushed to https://staff.washington.edu/emiliom/out/ohw20draft/ for convenient, static inspection by others. Also small updates to README and InstructionSiteUpdates.md (renamed)
1 parent 2d7c56c commit a156fa7

4 files changed

Lines changed: 53 additions & 5 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@
55
.jekyll-metadata
66
.sass-cache/
77
_site/
8+
9+
_config_localdev.yml

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
# OceanHackweek web site
22

3-
This is the Github repository for the OceanHackweek (OHW) webstite, https://oceanhackweek.github.io. It's built on [Jekyll](https://jekyllrb.com).
4-
5-
**Instructions for editing the content of the site** are found in [InstructionSiteUpdates.md](InstructionSiteUpdates.md). This document lays out which files control what content and provide instructions for deploying Jekyll locally and running it to update your local edits before submitting a pull request.
3+
GitHub repository for the OceanHackweek (OHW) webstite, [https://oceanhackweek.github.io](https://oceanhackweek.github.io). The site is built on [Jekyll](https://jekyllrb.com).
64

5+
**Instructions for editing the content of the site** are found in [_InstructionSiteUpdates.md](_InstructionSiteUpdates.md). This document lays out which files control what content and provide instructions for deploying Jekyll locally and running it to update your local edits before submitting a pull request.
76

87
## Archived sites and pages from previous years
98

109
### OHW 2019
1110

12-
Currently the materials from 2019 are archived in a GitHub branch, https://github.com/oceanhackweek/oceanhackweek.github.io/tree/ohw19archive. Though the individual markdown pages are accessible, the site is not currently viewable directly as a web site proper. This repo hosts pages accessible from the upper-right drop-down menu; these are found in the `_pages` directory. The content for the main, "front" page is found on the Jekyll sub-model repo https://github.com/oceanhackweek/jekyll-spectral-theme, in the `_includes` directory.
11+
Currently the materials from 2019 are archived in a GitHub branch, https://github.com/oceanhackweek/oceanhackweek.github.io/tree/ohw19archive. Though the individual markdown pages are accessible, the site is not currently viewable directly as a web site proper. This repo hosts pages accessible from the upper-right drop-down menu; these are found in the `_pages` directory. The content for the main, "front" page is found on the Jekyll sub-module repo https://github.com/oceanhackweek/jekyll-spectral-theme, in the `_includes` directory.
1312

1413
### OHW 2018
1514

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Relevant, editable content is organized in the following directories and files:
1414
- [_pages](https://github.com/oceanhackweek/oceanhackweek.github.io/tree/master/_pages): content for extra pages, including all the pages accessible via the drop-down menu on the upper right of the page.
1515
- The destination page file name (what a user sees) is *not* the source markdown file name on the repository; instead, the destination file name is found in the `permalink` tag within the markdown file. For example, for [_pages/01-applicants.md](https://github.com/oceanhackweek/oceanhackweek.github.io/blob/master/_pages/01-applicants.md), the destination file name is [applicant-info.html](https://oceanhackweek.github.io/applicant-info.html)
1616

17-
Note that apparently any Markdown file dropped at the root level of the repository, or in the `_pages` directory (or possibly anywhere else?), will be automatically added to the Menu drop down.
17+
Note that apparently any Markdown file dropped at the root level of the repository, or in the `_pages` directory (or possibly anywhere else?), will be automatically added to the Menu drop down; except ones with names starting with the `_` character.
1818

1919
## Editing and testing locally (in your computer) with Jekyll
2020

_config_uwemiliomdev.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Site settings
2+
title: Oceanhackweek 2020
3+
email: oceanhackweek@uw.edu
4+
description: Data Science + Oceanography<br>
5+
Aug 10-14, 2020<br>
6+
Two parallel, coordinated events:<br>
7+
<b>East</b> @ Bigelow Laboratory for Ocean Sciences<br>
8+
<b>West</b> @ University of Washington<br>
9+
10+
# the subpath of your site, e.g. /blog
11+
baseurl: "/emiliom/out/ohw20draft/"
12+
# the base hostname & protocol for your site
13+
url: "https://staff.washington.edu"
14+
15+
# Homepage tiles
16+
tiles-source: posts # accepts "posts" or "pages"
17+
tiles-count: 3
18+
19+
# Misc settings
20+
featured-image-source:
21+
22+
# Social settings
23+
github_url: https://github.com/oceanhackweek
24+
slack_url: https://oceanhackweek.slack.com
25+
email_url: oceanhackweek@uw.edu
26+
500px_url:
27+
facebook_url:
28+
gitlab_url:
29+
googleplus_url:
30+
instagram_url:
31+
linkedin_url:
32+
pinterest_url:
33+
twitter_url:
34+
35+
# Build settings
36+
markdown: kramdown
37+
38+
# Theme setting, we are excluding jekyll-spectral-theme/ root to avoid picking up theme config.
39+
# We should probably clean it up later.
40+
destination: _site/
41+
plugins_dir: jekyll-spectral-theme/_plugins/
42+
layouts_dir: jekyll-spectral-theme/_layouts/
43+
includes_dir: jekyll-spectral-theme/_includes/
44+
exclude:
45+
- jekyll-spectral-theme/
46+
47+
include: ["_pages"]

0 commit comments

Comments
 (0)