Skip to content

Commit d3530fc

Browse files
committed
Initial site commit
0 parents  commit d3530fc

File tree

128 files changed

+16642
-0
lines changed

Some content is hidden

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

128 files changed

+16642
-0
lines changed

.gitignore

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
_site
2+
.sass-cache
3+
.DS_Store
4+
.jekyll-metadata
5+
node_modules

404.html

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
layout: default
3+
title: "404: Page not found"
4+
permalink: 404.html
5+
---
6+
7+
<div>
8+
<h1>404: Page not found</h1>
9+
</div>

Gemfile

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# frozen_string_literal: true
2+
3+
source "https://rubygems.org"
4+
5+
git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
6+
7+
gem "jekyll-paginate"
8+
gem "jekyll-sitemap"
9+
gem "jekyll-feed"
10+
gem "jekyll-seo-tag"

Gemfile.lock

+73
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
addressable (2.6.0)
5+
public_suffix (>= 2.0.2, < 4.0)
6+
colorator (1.1.0)
7+
concurrent-ruby (1.1.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.10.0)
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.5)
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.12.1)
31+
jekyll (>= 3.7, < 5.0)
32+
jekyll-paginate (1.1.0)
33+
jekyll-sass-converter (1.5.2)
34+
sass (~> 3.4)
35+
jekyll-seo-tag (2.6.0)
36+
jekyll (~> 3.3)
37+
jekyll-sitemap (1.3.1)
38+
jekyll (>= 3.7, < 5.0)
39+
jekyll-watch (2.2.1)
40+
listen (~> 3.0)
41+
kramdown (1.17.0)
42+
liquid (4.0.3)
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+
pathutil (0.16.2)
49+
forwardable-extended (~> 2.6)
50+
public_suffix (3.0.3)
51+
rb-fsevent (0.10.3)
52+
rb-inotify (0.10.0)
53+
ffi (~> 1.0)
54+
rouge (3.3.0)
55+
ruby_dep (1.5.0)
56+
safe_yaml (1.0.5)
57+
sass (3.7.4)
58+
sass-listen (~> 4.0.0)
59+
sass-listen (4.0.0)
60+
rb-fsevent (~> 0.9, >= 0.9.4)
61+
rb-inotify (~> 0.9, >= 0.9.7)
62+
63+
PLATFORMS
64+
ruby
65+
66+
DEPENDENCIES
67+
jekyll-feed
68+
jekyll-paginate
69+
jekyll-seo-tag
70+
jekyll-sitemap
71+
72+
BUNDLED WITH
73+
1.16.1

README.md

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# BitDevs NYC
2+
3+
Simple Jekyll site for hosting all of the links from meetups past and future.
4+
5+
## Development
6+
7+
You'll need [Ruby & Jekyll](https://jekyllrb.com/docs/installation/) to run the site locally. Once they're setup:
8+
9+
* Clone the repository and go into the directory
10+
* Run `bundle install`
11+
* Run `jekyll serve`
12+
* Go to http://localhost:4000
13+
14+
## Making a Post
15+
16+
To make a new post, make a new file in `_posts/` with a title of `YYYY-MM-DD-title-goes-here`. At the top of the file you'll want to provide the following information:
17+
18+
```md
19+
---
20+
layout: post # Always post
21+
type: socratic # or whitepaper for a whitepaper seriews
22+
title: "Name of the Post"
23+
meetup: https://www.meetup.com/BitDevsNYC/events/[event id here]/
24+
---
25+
```
26+
27+
After that, it's just simple markdown. The site will auto-generate the rest.
28+
29+
## Changing Site Data
30+
31+
All site configurations are either contained in `_config.yml` or `_data/settings.yml`. Some data is duplicated between the two due to the way Jekyll injects variables, so be sure to update both.
32+
33+
34+
## Attributions
35+
36+
Thanks to [LeNPaul](https://github.com/LeNPaul/jekyll-starter-kit) for the Jekyll starter kit this was forked from.

_config.yml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Build settings
2+
markdown: kramdown
3+
highlighter: rouge
4+
permalink: none
5+
plugins: [jekyll-sitemap, jekyll-feed, jekyll-seo-tag]
6+
7+
sass:
8+
sass_dir: assets/css
9+
style: :compressed
10+
11+
# Customise atom feed settings (this is where Jekyll-Feed gets configuration information)
12+
title: "BitDevs NYC"
13+
description: "BitDevs is community for those interested in discussing and participating in the research and development of Bitcoin and related protocols."
14+
15+
# Leave out some files
16+
exclude: ['README.md', 'Gemfile', 'Gemfile.lock', '.sass-cache']

_data/settings.yml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
title: 'BitDevs NYC'
2+
tagline: 'BitDevs is community for those interested in discussing and participating in the research and development of Bitcoin and related protocols.'
3+
4+
menu:
5+
- {name: 'About', url: '/about'}
6+
- {name: 'Meetup', url: 'https://www.meetup.com/BitDevsNYC/', external: true}

_includes/footer.html

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<footer class="Footer">
2+
<div class="Footer-border">
3+
==============================================================================================================================================================
4+
</div>
5+
<div class="Footer-inner">
6+
<div class="Footer-source">
7+
<a href="https://github.com/BitDevsNYC/BitDevsNYC.github.io" target="_blank" rel="noopener nofollow">Source available on Github</a>
8+
</div>
9+
<div class="Footer-rss">
10+
<a href="/feed.xml">RSS Feed</a>
11+
</div>
12+
</div>
13+
</footer>

_includes/head.html

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<head>
2+
3+
<title>
4+
{% if page.title == "Home" %}
5+
{{ site.data.settings.title }} | {{ site.data.settings.tagline }}
6+
{% else %}
7+
{{ page.title }} | {{ site.data.settings.title }}
8+
{% endif %}
9+
</title>
10+
11+
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
12+
13+
<link rel="stylesheet" href="{{ site.github.url }}/assets/css/style.css">
14+
<link href="https://fonts.googleapis.com/css?family=Source+Code+Pro" rel="stylesheet">
15+
16+
<script type="text/javascript" src="{{ site.github.url }}/assets/js/script.js" async></script>
17+
18+
<!-- Use Atom -->
19+
{% feed_meta %}
20+
21+
<!-- Use Jekyll SEO plugin -->
22+
{% seo %}
23+
24+
</head>

_includes/header.html

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<header class="Header">
2+
<div class="Header-inner">
3+
<div class="Header-logo">
4+
<a href="{{ site.github.url }}/">{{ site.data.settings.title }}</a>
5+
</div>
6+
<nav class="Header-nav">
7+
{% for item in site.data.settings.menu %}
8+
{% if item.external %}
9+
<a href="{{ item.url }}" target="_blank" rel="noopener nofollow">
10+
{{ item.name }}
11+
</a>
12+
{% else %}
13+
<a href="{{ site.github.url }}{{ item.url }}">{{ item.name }}</a>
14+
{% endif %}
15+
{% endfor %}
16+
</nav>
17+
</div>
18+
<div class="Header-border">
19+
==============================================================================================================================================================
20+
</div>
21+
</header>

_layouts/default.html

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<!DOCTYPE html>
2+
<html>
3+
4+
{% include head.html %}
5+
6+
<body>
7+
8+
<div class="Site">
9+
10+
{% include header.html %}
11+
12+
{{ content }}
13+
14+
{% include footer.html %}
15+
16+
<div>
17+
18+
</body>
19+
20+
</html>

_layouts/page.html

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
layout: default
3+
---
4+
5+
<section>
6+
<div class="page-content">
7+
{{ content }}
8+
</div>
9+
</section>

_layouts/post.html

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
layout: default
3+
---
4+
5+
<section>
6+
<div class="Post">
7+
<h1 class="Post-title">{{ page.title }}</h1>
8+
<div class="Post-info">
9+
<span>{{ page.date | date_to_string }}</span>
10+
{% if page.meetup %}
11+
<span>
12+
<a href="{{ page.meetup }}" target="_blank" rel="noopener nofollow">
13+
Link to Meetup
14+
</a>
15+
</span>
16+
{% endif %}
17+
</div>
18+
<div class="Post-content">{{ content }}</div>
19+
</div>
20+
</section>

_offline/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Offline Scripts
2+
3+
This is just a set of tools / scripts used to backfill the site with data. Run `npm install` / `yarn` to install dependencies. Use `npm run` to see which commands are available. Before running any command, you must run `export MEETUP_API_KEY="your-api-key-here"`.

0 commit comments

Comments
 (0)