Skip to content

Commit ac3bc44

Browse files
author
Andrea Zanelli
committed
First commit.
1 parent d3e9a5e commit ac3bc44

30 files changed

+1757
-0
lines changed

.gitignore

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

Gemfile

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
source 'https://rubygems.org'
2+
3+
require 'json'
4+
require 'open-uri'
5+
versions = JSON.parse(open('https://pages.github.com/versions.json').read)
6+
7+
gem 'github-pages', versions['github-pages']

Gemfile.lock

+127
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
activesupport (4.2.6)
5+
i18n (~> 0.7)
6+
json (~> 1.7, >= 1.7.7)
7+
minitest (~> 5.1)
8+
thread_safe (~> 0.3, >= 0.3.4)
9+
tzinfo (~> 1.1)
10+
addressable (2.4.0)
11+
coffee-script (2.4.1)
12+
coffee-script-source
13+
execjs
14+
coffee-script-source (1.10.0)
15+
colorator (0.1)
16+
ethon (0.9.0)
17+
ffi (>= 1.3.0)
18+
execjs (2.7.0)
19+
faraday (0.9.2)
20+
multipart-post (>= 1.2, < 3)
21+
ffi (1.9.10)
22+
gemoji (2.1.0)
23+
github-pages (82)
24+
github-pages-health-check (= 1.1.0)
25+
jekyll (= 3.1.6)
26+
jekyll-coffeescript (= 1.0.1)
27+
jekyll-feed (= 0.5.1)
28+
jekyll-gist (= 1.4.0)
29+
jekyll-github-metadata (= 2.0.0)
30+
jekyll-mentions (= 1.1.2)
31+
jekyll-paginate (= 1.1.0)
32+
jekyll-redirect-from (= 0.10.0)
33+
jekyll-sass-converter (= 1.3.0)
34+
jekyll-seo-tag (= 2.0.0)
35+
jekyll-sitemap (= 0.10.0)
36+
jemoji (= 0.6.2)
37+
kramdown (= 1.10.0)
38+
liquid (= 3.0.6)
39+
listen (= 3.0.6)
40+
mercenary (~> 0.3)
41+
rouge (= 1.10.1)
42+
terminal-table (~> 1.4)
43+
github-pages-health-check (1.1.0)
44+
addressable (~> 2.3)
45+
net-dns (~> 0.8)
46+
octokit (~> 4.0)
47+
public_suffix (~> 1.4)
48+
typhoeus (~> 0.7)
49+
html-pipeline (2.4.1)
50+
activesupport (>= 2, < 5)
51+
nokogiri (>= 1.4)
52+
i18n (0.7.0)
53+
jekyll (3.1.6)
54+
colorator (~> 0.1)
55+
jekyll-sass-converter (~> 1.0)
56+
jekyll-watch (~> 1.1)
57+
kramdown (~> 1.3)
58+
liquid (~> 3.0)
59+
mercenary (~> 0.3.3)
60+
rouge (~> 1.7)
61+
safe_yaml (~> 1.0)
62+
jekyll-coffeescript (1.0.1)
63+
coffee-script (~> 2.2)
64+
jekyll-feed (0.5.1)
65+
jekyll-gist (1.4.0)
66+
octokit (~> 4.2)
67+
jekyll-github-metadata (2.0.0)
68+
jekyll (~> 3.1)
69+
octokit (~> 4.0)
70+
jekyll-mentions (1.1.2)
71+
html-pipeline (~> 2.3)
72+
jekyll (~> 3.0)
73+
jekyll-paginate (1.1.0)
74+
jekyll-redirect-from (0.10.0)
75+
jekyll (>= 2.0)
76+
jekyll-sass-converter (1.3.0)
77+
sass (~> 3.2)
78+
jekyll-seo-tag (2.0.0)
79+
jekyll (~> 3.1)
80+
jekyll-sitemap (0.10.0)
81+
jekyll-watch (1.4.0)
82+
listen (~> 3.0, < 3.1)
83+
jemoji (0.6.2)
84+
gemoji (~> 2.0)
85+
html-pipeline (~> 2.2)
86+
jekyll (>= 3.0)
87+
json (1.8.3)
88+
kramdown (1.10.0)
89+
liquid (3.0.6)
90+
listen (3.0.6)
91+
rb-fsevent (>= 0.9.3)
92+
rb-inotify (>= 0.9.7)
93+
mercenary (0.3.6)
94+
mini_portile2 (2.0.0)
95+
minitest (5.9.0)
96+
multipart-post (2.0.0)
97+
net-dns (0.8.0)
98+
nokogiri (1.6.7.2)
99+
mini_portile2 (~> 2.0.0.rc2)
100+
octokit (4.3.0)
101+
sawyer (~> 0.7.0, >= 0.5.3)
102+
public_suffix (1.5.3)
103+
rb-fsevent (0.9.7)
104+
rb-inotify (0.9.7)
105+
ffi (>= 0.5.0)
106+
rouge (1.10.1)
107+
safe_yaml (1.0.4)
108+
sass (3.4.22)
109+
sawyer (0.7.0)
110+
addressable (>= 2.3.5, < 2.5)
111+
faraday (~> 0.8, < 0.10)
112+
terminal-table (1.5.2)
113+
thread_safe (0.3.5)
114+
typhoeus (0.8.0)
115+
ethon (>= 0.8.0)
116+
tzinfo (1.2.2)
117+
thread_safe (~> 0.1)
118+
119+
PLATFORMS
120+
ruby
121+
122+
DEPENDENCIES
123+
github-pages (= 82)
124+
json
125+
126+
BUNDLED WITH
127+
1.12.5

_config.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Welcome to Jekyll!
2+
#
3+
# This config file is meant for settings that affect your whole blog, values
4+
# which you are expected to set up once and rarely need to edit after that.
5+
# For technical reasons, this file is *NOT* reloaded automatically when you use
6+
# 'jekyll serve'. If you change this file, please restart the server process.
7+
8+
#
9+
# Site settings
10+
#
11+
12+
title: Benjamin
13+
14+
15+
16+
# Write an awesome description for your new site here. It will appear in your
17+
# document head meta (for Google search results) and in your feed.xml site
18+
# description.
19+
description: >
20+
Benjamin is a PHP/JavaScript platform for easily building static websites
21+
with an amazing fast navigation. You will find here the documentation to
22+
getting started with Benjamin.
23+
24+
# The subpath of your site, e.g. /blog
25+
baseurl: ""
26+
27+
url: "https://github.com/netgloo/benjamin"
28+
29+
#
30+
# Build settings
31+
#
32+
33+
markdown: kramdown

_includes/footer.html

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
<footer class="site-footer">
2+
3+
<div class="wrapper">
4+
5+
<h2 class="footer-heading">{{ site.title }}</h2>
6+
7+
<div class="footer-col-wrapper">
8+
<div class="footer-col footer-col-1">
9+
<ul class="contact-list">
10+
<li>{{ site.title }}</li>
11+
<li><a href="mailto:{{ site.email }}">{{ site.email }}</a></li>
12+
</ul>
13+
</div>
14+
15+
<div class="footer-col footer-col-2">
16+
<ul class="social-media-list">
17+
18+
<li>
19+
{% include icon-github.html %}
20+
</li>
21+
22+
{% comment %}
23+
{% if site.twitter_username %}
24+
<li>
25+
{% include icon-twitter.html username=site.twitter_username %}
26+
</li>
27+
{% endif %}
28+
{% endcomment %}
29+
</ul>
30+
</div>
31+
32+
<div class="footer-col footer-col-3">
33+
<p>{{ site.description }}</p>
34+
</div>
35+
</div>
36+
37+
</div>
38+
39+
</footer>

_includes/head.html

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<head>
2+
<meta charset="utf-8">
3+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
4+
<meta name="viewport" content="width=device-width, initial-scale=1">
5+
6+
<title>{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title>
7+
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
8+
9+
<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.github.url }}">
10+
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.github.url | prepend: site.url }}">
11+
</head>

_includes/header.html

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<header class="site-header">
2+
3+
<div class="wrapper">
4+
5+
<a class="site-title" href="{{ site.github.url }}/">{{ site.title }}</a>
6+
7+
<nav class="site-nav">
8+
<a href="#" class="menu-icon">
9+
<svg viewBox="0 0 18 15">
10+
<path fill="#424242" d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.031C17.335,0,18,0.665,18,1.484L18,1.484z"/>
11+
<path fill="#424242" d="M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0c0-0.82,0.665-1.484,1.484-1.484 h15.031C17.335,6.031,18,6.696,18,7.516L18,7.516z"/>
12+
<path fill="#424242" d="M18,13.516C18,14.335,17.335,15,16.516,15H1.484C0.665,15,0,14.335,0,13.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.031C17.335,12.031,18,12.696,18,13.516L18,13.516z"/>
13+
</svg>
14+
</a>
15+
16+
<div class="trigger">
17+
<a class="page-link" href="{{ '/getting-started/' | prepend: site.github.url }}">Getting Started</a>
18+
{% comment %}
19+
{% for my_page in site.pages %}
20+
{% if my_page.title %}
21+
<a class="page-link" href="{{ my_page.url | prepend: site.github.url }}">{{ my_page.title }}</a>
22+
{% endif %}
23+
{% endfor %}
24+
{% endcomment %}
25+
</div>
26+
</nav>
27+
28+
</div>
29+
30+
</header>

_includes/icon-github.html

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<a href="https://github.com/netgloo/benjamin">
2+
<span class="icon icon--github">{% include icon-github.svg %}</span>
3+
<span class="username">netgloo/benjamin</span>
4+
</a>

_includes/icon-github.svg

+1
Loading

_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+
{% include header.html %}
9+
10+
<div class="page-content">
11+
<div class="wrapper">
12+
{{ content }}
13+
</div>
14+
</div>
15+
16+
{% include footer.html %}
17+
18+
</body>
19+
20+
</html>

_layouts/page.html

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
layout: default
3+
---
4+
<article class="post">
5+
6+
<header class="post-header">
7+
<h1 class="post-title">{{ page.title }}</h1>
8+
</header>
9+
10+
<div class="post-content">
11+
{{ content }}
12+
</div>
13+
14+
</article>

_layouts/post.html

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
layout: default
3+
---
4+
<article class="post" itemscope itemtype="http://schema.org/BlogPosting">
5+
6+
<header class="post-header">
7+
<h1 class="post-title" itemprop="name headline">{{ page.title }}</h1>
8+
<p class="post-meta"><time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">{{ page.date | date: "%b %-d, %Y" }}</time>{% if page.author %} • <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">{{ page.author }}</span></span>{% endif %}</p>
9+
</header>
10+
11+
<div class="post-content" itemprop="articleBody">
12+
{{ content }}
13+
</div>
14+
15+
</article>

_posts/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)