Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyzilar committed Apr 21, 2019
0 parents commit d9872d3
Show file tree
Hide file tree
Showing 408 changed files with 15,583 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
_site/
.sass-cache/
.jekyll-metadata
node_modules
.ruby-version
4 changes: 4 additions & 0 deletions 404.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
layout: default
permalink: /404.html
---
23 changes: 23 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
source "https://rubygems.org"

# Hello! This is where you manage which Jekyll version is used to run.
# When you want to use a different version, change it below, save the
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
#
# bundle exec jekyll serve
#
# This will help ensure the proper Jekyll version is running.
# Happy Jekylling!
gem "jekyll", "~> 3.6.2"
gem 'json'
gem 'hash-joiner'
gem 'jemoji'


# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
# uncomment the line below. To upgrade, run `bundle update github-pages`.
# gem "github-pages", group: :jekyll_plugins


# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
87 changes: 87 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
GEM
remote: https://rubygems.org/
specs:
activesupport (5.2.2)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
tzinfo (~> 1.1)
addressable (2.5.2)
public_suffix (>= 2.0.2, < 4.0)
colorator (1.1.0)
concurrent-ruby (1.1.3)
ffi (1.9.18)
ffi (1.9.18-x64-mingw32)
forwardable-extended (2.6.0)
gemoji (3.0.0)
hash-joiner (0.0.7)
safe_yaml
html-pipeline (2.7.1)
activesupport (>= 2)
nokogiri (>= 1.4)
i18n (0.9.5)
concurrent-ruby (~> 1.0)
jekyll (3.6.2)
addressable (~> 2.4)
colorator (~> 1.0)
jekyll-sass-converter (~> 1.0)
jekyll-watch (~> 1.1)
kramdown (~> 1.14)
liquid (~> 4.0)
mercenary (~> 0.3.3)
pathutil (~> 0.9)
rouge (>= 1.7, < 3)
safe_yaml (~> 1.0)
jekyll-sass-converter (1.5.1)
sass (~> 3.4)
jekyll-watch (1.5.1)
listen (~> 3.0)
jemoji (0.11.0)
gemoji (~> 3.0)
html-pipeline (~> 2.2)
jekyll (>= 3.0, < 5.0)
json (2.1.0)
kramdown (1.16.2)
liquid (4.0.0)
listen (3.1.5)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
ruby_dep (~> 1.2)
mercenary (0.3.6)
mini_portile2 (2.3.0)
minitest (5.11.3)
nokogiri (1.8.5)
mini_portile2 (~> 2.3.0)
pathutil (0.16.1)
forwardable-extended (~> 2.6)
public_suffix (3.0.1)
rb-fsevent (0.10.2)
rb-inotify (0.9.10)
ffi (>= 0.5.0, < 2)
rouge (2.2.1)
ruby_dep (1.5.0)
safe_yaml (1.0.4)
sass (3.5.4)
sass-listen (~> 4.0.0)
sass-listen (4.0.0)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
thread_safe (0.3.6)
tzinfo (1.2.5)
thread_safe (~> 0.1)
tzinfo-data (1.2018.6)
tzinfo (>= 1.0.0)

PLATFORMS
ruby
x64-mingw32

DEPENDENCIES
hash-joiner
jekyll (~> 3.6.2)
jemoji
json
tzinfo-data

BUNDLED WITH
1.16.5
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Brooklyn Rail in Venice


## Development

To set up:
```
$ npm run dependencies
$ npm run init
$ npm start
```
36 changes: 36 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Welcome to Jekyll!
#
# This config file is meant for settings that affect your whole blog, values
# which you are expected to set up once and rarely edit after that. If you find
# yourself editing this file very often, consider using Jekyll's data files
# feature for the data you need to update frequently.
#
# For technical reasons, this file is *NOT* reloaded automatically when you use
# 'bundle exec jekyll serve'. If you change this file, please restart the server process.

# Site settings
# These are used to personalize your new site. If you look in the HTML files,
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
# You can create any custom variable you would like, and they will be accessible
# in the templates via {{ site.myvariable }}.
title: Brooklyn Rail in Venice
new_url: https://venice.brooklynrail.org
email: [email protected]
description:
baseurl: "" # the subpath of your site, e.g. /blog
url: "" # the base hostname & protocol for your site, e.g. http://example.com
github_username: jeremyzilar

include: ["_pages" ]

collections:
- sections

# Build settings
markdown: kramdown
# theme: minima
plugins:
- jemoji

sass:
sass_dir: _sass
5 changes: 5 additions & 0 deletions _data/footer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Nav
# List links that should appear in the Footer

- text: "Home"
url: /
10 changes: 10 additions & 0 deletions _includes/analytics.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

<!-- Google Analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-24931975-1', 'auto');
ga('send', 'pageview');
</script>
9 changes: 9 additions & 0 deletions _includes/footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{% include analytics.html %}

<!-- scripts -->
<script
src="https://code.jquery.com/jquery-3.4.0.slim.js"
integrity="sha256-milezx5lakrZu0OP9b2QWFy1ft/UEUK6NH1Jqz8hUhQ="
crossorigin="anonymous"></script>
<script src="{{ site.baseurl }}/assets/js/uswds.min.js"></script>
<script src="{{ site.baseurl }}/assets/js/editor.js"></script>
57 changes: 57 additions & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1.0" name="viewport">

<!-- CSS -->
<link rel="stylesheet" type="text/css" href="{{ "/assets/css/styles.css" | prepend: site.baseurl }}?{{ site.time | date: '%Y%m%j%H%M%S' }}">

<!-- Font Awesome -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">

<!-- icons -->
<link rel="shortcut icon" href="{{ site.baseurl }}/assets/img/favicons/apple-touch-icon.png">
<link rel="apple-touch-icon" href="{{ site.baseurl }}/assets/img/favicons/apple-touch-icon.png" />
<link rel="apple-touch-icon" sizes="57x57" href="{{ site.baseurl }}/assets/img/favicons/apple-touch-icon-57x57.png" />
<link rel="apple-touch-icon" sizes="72x72" href="{{ site.baseurl }}/assets/img/favicons/apple-touch-icon-72x72.png" />
<link rel="apple-touch-icon" sizes="76x76" href="{{ site.baseurl }}/assets/img/favicons/apple-touch-icon-76x76.png" />
<link rel="apple-touch-icon" sizes="114x114" href="{{ site.baseurl }}/assets/img/favicons/apple-touch-icon-114x114.png" />
<link rel="apple-touch-icon" sizes="120x120" href="{{ site.baseurl }}/assets/img/favicons/apple-touch-icon-120x120.png" />
<link rel="apple-touch-icon" sizes="144x144" href="{{ site.baseurl }}/assets/img/favicons/apple-touch-icon-144x144.png" />
<link rel="apple-touch-icon" sizes="152x152" href="{{ site.baseurl }}/assets/img/favicons/apple-touch-icon-152x152.png" />
<link rel="apple-touch-icon" sizes="180x180" href="{{ site.baseurl }}/assets/img/favicons/apple-touch-icon-180x180.png" />

<link rel="canonical" href="{{ site.url }}{{ page.url }}" />

{% if page.title %}
<title>{{ page.title }}</title>
<meta property="og:title" content="{{ page.title | xml_escape }}" />
{% else %}
<title>{{ site.title }}</title>
<meta property="og:title" content="{{ site.title | xml_escape }}" />
{% endif %}

{% if page.description %}
<meta name="description" content="{{ page.description | xml_escape }}">
<meta property="og:description" content="{{ page.description | xml_escape }}" />
{% else %}
<meta name="description" content="{{ site.description | xml_escape }}">
<meta property="og:description" content="{{ site.description | xml_escape }}" />
{% endif %}

<!-- GitHub -->
<script type="text/javascript">
source_of_truth = "{{ site.source_of_truth }}";
github_org = "{{ site.github_org }}";
github_repo = "{{ site.github_repo }}";
filepath = "{{ page.path }}";
filepathURL = "https://github.com/{{ site.git_org }}/{{ site.git_repo }}/edit/master/{{ page.path }}";
commit_api = "https://api.github.com/repos/{{ site.github_org }}/{{ site.github_repo }}/commits?path=/{{ page.path }}";
issues_api = "https://api.github.com/repos/{{ site.github_org }}/{{ site.github_repo }}/issues?labels=bug&per_page=100";
workflow_org = "{{ site.workflow_org }}";
workflow_repo = "{{ site.workflow_repo }}";
workflow_issues_api = "https://api.github.com/repos/{{ site.workflow_org }}/{{ site.workflow_repo }}/issues";
content_types = {{ site.content_types | jsonify }};
</script>

</head>
15 changes: 15 additions & 0 deletions _includes/header.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<div class="grid-container">
<div class="grid-row grid-gap-4">
<div class="grid-col-12">
<header class="margin-bottom-4 padding-top-205 padding-bottom-3 border-top-0 border-x-0 border-bottom border-dotted border-bottom-width-2px border-base-dark">
<a class="" href="{{ site.baseurl }}/" accesskey="1" title="Home" aria-label="{{ site.title }}">
<img class="margin-right-1 position-relative top-05
" src="{{ site.baseurl }}/assets/img/brooklynrail-logo.svg" onerror="this.onerror=null; this.src='brooklynrail-logo-red.png'" alt="{{ site.title }}">
</a>
<h1 class="margin-y-0 text-bold font-sans-xl display-none">
{{ site.title }}
</h1>
</header>
</div>
</div>
</div>
12 changes: 12 additions & 0 deletions _includes/navigation.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<nav role="navigation" class="margin-bottom-1 padding-y-105">
<ul class="add-list-reset">
{% assign sorted_sections = site.sections | sort:"order" %}
{% for section in sorted_sections %}
<li class="padding-y-05 font-sans-lg text-bold line-height-sans-4">
<a class="padding-y-05 text-no-underline hover:border-bottom-2px" href="#{{ section.url | slugify }}">
<span>{{ section.title }}</span> <i class="fas fa-arrow-right"></i>
</a>
</li>
{% endfor %}
</ul>
</nav>
7 changes: 7 additions & 0 deletions _includes/section.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{% assign sorted_sections = site.sections | sort:"order" %}
{% for section in sorted_sections %}
<h2 id="{{ section.id | slugify }}">{{ section.title | escape }}</h2>
<div>
{{ section.content }}
</div>
{% endfor %}
19 changes: 19 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<!DOCTYPE html>
<html lang="{{ page.lang | default: site.lang | default: "en" }}">
{% include head.html %}

<body class="bg-secondary-vivid">

<div class="paper bg-white height-auto">
<a class="usa-skipnav" href="#main-content">Skip to main content</a>

{% include header.html %}

{{ content }}

{% include footer.html %}
</div>

</body>

</html>
40 changes: 40 additions & 0 deletions _layouts/page.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
layout: default
---

<div class="grid-container">
<div class="grid-row grid-gap-4">
<div class="grid-col-12">

<header class="margin-bottom-3">
<h1 class="margin-0 text-bold font-sans-xl desktop-lg:font-sans-3xl">{{ page.title | escape }}</h1>
{% if page.deck %}
<div class="margin-y-1 line-height-sans-2 text-light font-sans-xl desktop-lg:font-sans-3xl">{{ page.deck | escape }}</div>
{% endif %}
{% if page.url == '/posts/' %}
{% assign size = page.url | size | minus: 2 %}
<a href="{{ site.baseurl }}/new{{ page.url | slice: 0, size }}" class="usa-button margin-top-3">New</a>
{% endif %}
</header>

{% include navigation.html %}

</div>
</div>
</div>

<section class="article-list" data-api="{{ page.api }}">
<div class="grid-container">
<div class="grid-row grid-gap-4">
<div class="grid-col-12">

{{ content }}


{% include section.html %}


</div>
</div>
</div>
</section>
5 changes: 5 additions & 0 deletions _layouts/section.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
layout: default
---

{{ content }}
Loading

0 comments on commit d9872d3

Please sign in to comment.