Skip to content

Commit 97875a3

Browse files
authored
Merge pull request #2 from noahbenson/main
Pull in rewrite of website!
2 parents f030a45 + 5fd9eca commit 97875a3

117 files changed

Lines changed: 7092 additions & 13 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/deploy.yml

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
name: Build and Deploy to GitHub Pages
2+
3+
on:
4+
# Auto-run when gh-pages branch is updated.
5+
push:
6+
branches: ["main"]
7+
# Or we can mangually run it.
8+
workflow_dispatch:
9+
10+
# GITHUB_TOKEN stuff for deployment to GitHub Pages
11+
permissions:
12+
contents: read
13+
pages: write
14+
id-token: write
15+
16+
# If there's a stack of queued workflows, only run the latest.
17+
concurrency:
18+
group: "pages"
19+
cancel-in-progress: false
20+
21+
jobs:
22+
# Build job
23+
build:
24+
runs-on: ubuntu-latest
25+
steps:
26+
- name: Checking out repository
27+
uses: actions/checkout@v4
28+
- name: Setting up pages
29+
uses: actions/configure-pages@v5
30+
- name: Setup Ruby
31+
uses: ruby/setup-ruby@v1
32+
with:
33+
ruby-version: '3.4'
34+
bundler-cache: true
35+
- name: Building with Jekyll
36+
uses: limjh16/jekyll-action-ts@v2
37+
with:
38+
enable_cache: true
39+
#- name: Building with Jekyll
40+
# uses: actions/jekyll-build-pages@v1
41+
# with:
42+
# source: ./
43+
# destination: ./_site
44+
- name: Uploading artifacts
45+
uses: actions/upload-pages-artifact@v3
46+
with:
47+
github_token: ${{ secrets.GITHUB_TOKEN }}
48+
publish_dir: ./_site
49+
# Deployment job
50+
deploy:
51+
environment:
52+
name: github-pages
53+
url: ${{ steps.deployment.outputs.page_url }}
54+
runs-on: ubuntu-latest
55+
needs: build
56+
steps:
57+
- name: Deploy to GitHub Pages
58+
id: deployment
59+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
_site/
2+
.sass-cache/
3+
.jekyll-cache/
4+
.jekyll-metadata
5+
# Ignore folders generated by Bundler
6+
.bundle/
7+
vendor/
8+
9+
Gemfile.lock
10+
111
.DS_Store
2-
*/.DS_Store
3-
_site

Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
FROM bretfisher/jekyll-serve:latest
3+
4+
COPY Gemfile /site/Gemfile
5+
RUN cd /site && bundle install && bundle update
6+

Gemfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
source "https://rubygems.org"
2+
gem "jekyll", "4.4.1"
3+
group :jekyll_plugins do
4+
gem "jekyll-theme-cayman"
5+
gem "jekyll-sass-converter", ">=3.0.0"
6+
gem "jekyll-sitemap"
7+
gem "jekyll-feed"
8+
gem "jekyll-seo-tag"
9+
gem "jekyll-watch"
10+
end
File renamed without changes.

README.md

100755100644
Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
1-
Grayscale Jekyll theme
2-
=========================
1+
# Neurohackademy Website
32

4-
Jekyll theme based on [Grayscale bootstrap theme ](http://ironsummitmedia.github.io/startbootstrap-grayscale/)
3+
This repository contains the website for the
4+
[Neurohackademy](https://neurohackademy.org/), a 2-week annual summer workshop
5+
on data science and neuroimaging.
56

6-
## Demo
7-
View this jekyll theme in action [here](https://jeromelachaud.github.io/grayscale-theme)
7+
The website is built using jekyll.
88

9-
## Screenshot
10-
![screenshot](https://raw.githubusercontent.com/jeromelachaud/grayscale-theme/master/screenshot.png)
11-
12-
=========
13-
For more details, read the [documentation](http://jekyllrb.com/)

_config.yml

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
# Configuration ###############################################################
2+
#
3+
# This file contains the configuration for the Neurohackademy website!
4+
5+
6+
# The course contact email.
7+
# This is currently only listed on the code-of-conduct page as one of the ways
8+
# to report a CoC violation.
9+
contact:
10+
name: Noah Benson
11+
email: nben@uw.edu
12+
13+
# The name used in the title of the webpage.
14+
title: The Neurohackademy
15+
16+
# The base URL of the github IO page.
17+
# This should be the name of this github repository preceded by a /
18+
# character.
19+
# Since the neurohackademy.github.io/ website appears at the root of the
20+
# domain, ours is just "".
21+
baseurl: "/neurohackademy.github.io"
22+
23+
# The path where static images are stored on the site.
24+
imgpath: static/images
25+
26+
27+
# The URL for this website (Used for Sitemap.xml).
28+
url: http://neurohackademy.github.io/
29+
30+
# The theme we use:
31+
theme: jekyll-theme-cayman
32+
show_downloads: false
33+
34+
# Enter a Google Analytics web tracking code (e.g. UA-2110908-2) to activate
35+
# tracking.
36+
google_analytics:
37+
38+
39+
# Static Configuration --------------------------------------------------------
40+
#
41+
# Don't change the items below this line unless you know what you're doing.
42+
43+
permalink: /:title/
44+
45+
# The release of Jekyll Now that you're using
46+
version: v4.4.1
47+
48+
# Jekyll 3 now only supports Kramdown for Markdown
49+
kramdown:
50+
# Use GitHub flavored markdown, including triple backtick fenced code blocks
51+
input: GFM
52+
# Jekyll 3 and GitHub Pages now only support rouge for syntax highlighting
53+
syntax_highlighter: rouge
54+
syntax_highlighter_opts:
55+
# Use existing pygments syntax highlighting css
56+
css_class: 'highlight'
57+
58+
# Set the Sass partials directory, as we're using @imports
59+
sass:
60+
style: :expanded # You might prefer to minify using :compressed
61+
62+
# Use the following plug-ins
63+
plugins:
64+
- jekyll-sitemap # Create a sitemap using the official Jekyll sitemap gem
65+
- jekyll-feed # Create an Atom feed using the official Jekyll feed gem
66+
# - jekyll-remote-theme
67+
# - jekyll-theme-cayman
68+
69+
# Exclude these files from your production _site
70+
exclude:
71+
- Gemfile
72+
- Gemfile.lock
73+
- LICENSE
74+
- README.md
75+
- CNAME

0 commit comments

Comments
 (0)