forked from mehackit/sonic-pi-workshop
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit d5005e1
Showing
23 changed files
with
1,315 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
_site/ | ||
build-tmp/ | ||
content.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
sonic-pi.mehackit.org |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Site settings | ||
title: Mehackit Media Art Workshop with Processing | ||
email: hello@mehackit.org | ||
description: Creative programming workshop with Processing | ||
baseurl: "" # the subpath of your site, e.g. /blog/ | ||
url: "http://sonic-pi.mehackit.org" # the base hostname & protocol for your site | ||
twitter_username: mehackit | ||
github_username: ohss | ||
|
||
# Build settings | ||
markdown: kramdown | ||
|
||
collections: | ||
exercises: | ||
output: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<head> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta http-equiv="content-type" content="text/html; charset=utf-8"> | ||
|
||
<!-- Enable responsiveness on mobile devices--> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1"> | ||
|
||
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title> | ||
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}"> | ||
|
||
<!-- CSS --> | ||
<link rel="stylesheet" href="{{ site.url }}/css/poole.css"> | ||
<link rel="stylesheet" href="{{ site.url }}/css/syntax.css"> | ||
<link rel="stylesheet" href="{{ site.url }}/css/main.css"> | ||
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700|Abril+Fatface"> | ||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"> | ||
|
||
|
||
<!-- Icons --> | ||
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ site.url }}/public/apple-touch-icon-144-precomposed.png"> | ||
<link rel="shortcut icon" href="{{ site.url }}/public/favicon.ico"> | ||
|
||
<!-- RSS --> | ||
<link rel="alternate" type="application/rss+xml" title="RSS" href="/atom.xml"> | ||
</head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<!-- jQuery --> | ||
<script src="{{ "/js/jquery.js" | prepend: site.url }}"></script> | ||
|
||
<!-- Main JS --> | ||
<script src="{{ "/js/main.js" | prepend: site.url }}"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<div class="sidebar"> | ||
<div class="container"> | ||
<div class="sidebar-about"> | ||
<h1> | ||
<a href="{{ site.url }}"> | ||
<img alt="logo" src="{{site.url}}/img/mehackit_logo_white.png" /> | ||
</a> | ||
</h1> | ||
<p class="lead">{{ site.description }}</p> | ||
</div> | ||
|
||
<nav class="sidebar-nav"> | ||
{% assign chapters = "" | split: "" %} | ||
{% for exercise in site.exercises %} | ||
{% if chapters == empty %} | ||
{% assign chapters = chapters | push: exercise.chapter %} | ||
{% else %} | ||
{% if chapters.last != exercise.chapter %} | ||
{% assign chapters = chapters | push: exercise.chapter %} | ||
{% endif %} | ||
{% endif %} | ||
{% endfor %} | ||
|
||
{% for chapter in chapters %} | ||
{% assign chapter_exercises = site.exercises | where: "chapter" , chapter %} | ||
{% for exercise in chapter_exercises %} | ||
<a class="sidebar-nav-item {% unless forloop.first %}sub{% endunless %} {% if page.url == exercise.url %} active{% endif %}" href="{{ exercise.url | prepend: site.url }}">{{ exercise.title }}</a> | ||
{% endfor %} | ||
{% endfor %} | ||
</nav> | ||
|
||
<p> ❤ Mehackit {{ site.time | date: '%Y' }}</p> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!DOCTYPE html> | ||
<html lang="en-us"> | ||
|
||
{% include head.html %} | ||
|
||
<body> | ||
<!-- <div class="page-wrapper"> --> | ||
|
||
{% include sidebar.html %} | ||
|
||
<div class="content container"> | ||
{{ content }} | ||
</div> | ||
|
||
{% include scripts.html %} | ||
<!-- </div> --> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
layout: default | ||
--- | ||
|
||
<div class="exercise"> | ||
<p class="chapter-title center"><small>{{ page.chapter }}</small></p> | ||
<h1 class="exercise-title">{{ page.title }}</h1> | ||
{{ content }} | ||
</div> | ||
|
||
{% assign exercises = site.exercises %} | ||
{% for exercise in exercises %} | ||
{% if exercise.url == page.url %} | ||
{% unless forloop.last %} | ||
{% assign next = exercises[forloop.index] %} | ||
<a href="{{ site.url }}{{ next.url }}" class="exercise-nav nav-next" aria-label="Next: {{next.title}}"><i class="fa fa-angle-right"></i></a> | ||
{% endunless %} | ||
{% unless forloop.first %} | ||
<a href="{{ site.url }}{{ prev.url }}" class="exercise-nav nav-prev" aria-label="Previous: {{ prev.title }}"><i class="fa fa-angle-left"></i></a> | ||
{% endunless %} | ||
{% endif %} | ||
{% assign prev = exercise %} | ||
{% endfor %} |
Oops, something went wrong.