Skip to content

Commit ae65cb9

Browse files
committed
Create skeleton and add screenshots
1 parent fa02bb3 commit ae65cb9

31 files changed

+1155
-25
lines changed

Gemfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ source "https://rubygems.org"
99
# This will help ensure the proper Jekyll version is running.
1010
# Happy Jekylling!
1111
gem "jekyll", "3.5.1"
12-
13-
# This is the default theme for new Jekyll sites. You may change this to anything you like.
14-
gem "minima", "~> 2.0"
12+
gem "jekyll-gist"
1513

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

Gemfile.lock

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ GEM
44
addressable (2.5.1)
55
public_suffix (~> 2.0, >= 2.0.2)
66
colorator (1.1.0)
7+
faraday (0.12.2)
8+
multipart-post (>= 1.2, < 3)
79
ffi (1.9.18)
810
forwardable-extended (2.6.0)
911
jekyll (3.5.1)
@@ -19,6 +21,8 @@ GEM
1921
safe_yaml (~> 1.0)
2022
jekyll-feed (0.9.2)
2123
jekyll (~> 3.3)
24+
jekyll-gist (1.4.1)
25+
octokit (~> 4.2)
2226
jekyll-sass-converter (1.5.0)
2327
sass (~> 3.4)
2428
jekyll-watch (1.5.0)
@@ -29,8 +33,9 @@ GEM
2933
rb-fsevent (~> 0.9, >= 0.9.4)
3034
rb-inotify (~> 0.9, >= 0.9.7)
3135
mercenary (0.3.6)
32-
minima (2.1.1)
33-
jekyll (~> 3.3)
36+
multipart-post (2.0.0)
37+
octokit (4.7.0)
38+
sawyer (~> 0.8.0, >= 0.5.3)
3439
pathutil (0.14.0)
3540
forwardable-extended (~> 2.6)
3641
public_suffix (2.0.5)
@@ -44,14 +49,17 @@ GEM
4449
sass-listen (4.0.0)
4550
rb-fsevent (~> 0.9, >= 0.9.4)
4651
rb-inotify (~> 0.9, >= 0.9.7)
52+
sawyer (0.8.1)
53+
addressable (>= 2.3.5, < 2.6)
54+
faraday (~> 0.8, < 1.0)
4755

4856
PLATFORMS
4957
ruby
5058

5159
DEPENDENCIES
5260
jekyll (= 3.5.1)
5361
jekyll-feed (~> 0.6)
54-
minima (~> 2.0)
62+
jekyll-gist
5563
tzinfo-data
5664

5765
BUNDLED WITH

_config.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,14 @@ github_username: jekyll
2626

2727
# Build settings
2828
markdown: kramdown
29-
theme: minima
3029
plugins:
3130
- jekyll-feed
3231

32+
O: "{{"
33+
C: "}}"
34+
35+
plugins:
36+
- jekyll-gist
3337
# Exclude from processing.
3438
# The following items will not be processed, by default. Create a custom list
3539
# to override the default setting.

_includes/disqus_comments.html

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{% if page.comments != false and jekyll.environment == "production" %}
2+
3+
<div id="disqus_thread"></div>
4+
<script>
5+
var disqus_config = function () {
6+
this.page.url = '{{ page.url | absolute_url }}';
7+
this.page.identifier = '{{ page.url | absolute_url }}';
8+
};
9+
10+
(function() {
11+
var d = document, s = d.createElement('script');
12+
13+
s.src = 'https://{{ site.disqus.shortname }}.disqus.com/embed.js';
14+
15+
s.setAttribute('data-timestamp', +new Date());
16+
(d.head || d.body).appendChild(s);
17+
})();
18+
</script>
19+
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
20+
{% endif %}

_includes/footer.html

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
<div class="ui inverted vertical segment">
2+
<div class="ui center aligned container">
3+
<div class="ui stackable inverted divided grid">
4+
<div class="three wide column">
5+
<h4 class="ui inverted header">Community</h4>
6+
<div class="ui inverted link list">
7+
<a href="#" class="item">Help Translate</a>
8+
<a href="#" class="item">Contribute</a>
9+
<a href="https://github.com/datamoth/datamoth/issues" class="item">Submit an Issue</a>
10+
<a href="http://telegram.me/datamot" class="item">Join in Telegram</a>
11+
</div>
12+
</div>
13+
<div class="five wide column">
14+
<h4 class="ui inverted header">Datamot is powered by</h4>
15+
<div class="ui stackable inverted grid">
16+
<div class="five wide column">
17+
<div class="ui inverted link list">
18+
<a href="https://www.scala-lang.org/" class="item">Scala</a>
19+
<a href="https://hadoop.apache.org/" class="item">Hadoop</a>
20+
<a href="https://oozie.apache.org/" class="item">Oozie</a>
21+
<a href="https://github.com/spullara/mustache.java" class="item">Mustache</a>
22+
</div>
23+
</div>
24+
<div class="five wide column">
25+
<div class="ui inverted link list">
26+
<a href="http://akka.io" class="item">Akka</a>
27+
<a href="https://facebook.github.io/react/" class="item">React</a>
28+
<a href="https://jekyllrb.com/" class="item">Jekyll</a>
29+
<a href="https://semantic-ui.com" class="item">Semantic-UI</a>
30+
</div>
31+
</div>
32+
<div class="six wide column">
33+
<div class="ui inverted link list">
34+
<a href="https://git-scm.com" class="item">Git</a>
35+
<a href="https://github.com" class="item">GitHub</a>
36+
<a href="https://travis-ci.org/" class="item">Travis-CI</a>
37+
<a href="https://wikipedia.org/wiki/Linux" class="item">Linux</a>
38+
</div>
39+
</div>
40+
</div>
41+
</div>
42+
<div class="eight wide column">
43+
<h4 class="ui inverted header">Help preserve this project</h4>
44+
<p>Help us develop</p>
45+
<button type="submit" class="ui large teal button">Donate Today</button>
46+
</div>
47+
</div>
48+
<div class="ui inverted section divider"></div>
49+
<img src="/assets/datamotik.svg" class="ui centered small image">
50+
<div class="ui horizontal inverted small divided link list">
51+
<a class="item">Free & Open Source (Apache License)</a>
52+
</div>
53+
</div>
54+
</div>

_includes/google-analytics.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<script>
2+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
3+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
4+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
5+
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
6+
7+
ga('create', '{{ site.google_analytics }}', 'auto');
8+
ga('send', 'pageview');
9+
10+
</script>
11+

_includes/head.html

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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="{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncate: 160 | escape }}">
8+
9+
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
10+
<script src="//cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.11/semantic.min.js"></script>
11+
12+
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.11/semantic.min.css"></link>
13+
<link rel="stylesheet" href="https://afeld.github.io/emoji-css/emoji.css" />
14+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" />
15+
16+
<link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
17+
<link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
18+
<link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | relative_url }}">
19+
20+
{% if jekyll.environment == 'production' and site.google_analytics %}
21+
{% include google-analytics.html %}
22+
{% endif %}
23+
</head>

_includes/header.html

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<div class="ui fixed inverted secondary menu">
2+
{% assign default_paths = site.pages | map: "path" %}
3+
{% assign page_paths = site.header_pages | default: default_paths %}
4+
<div class="ui container inverted">
5+
<a class="header item" href="/">
6+
<img class="ui mini image" src="/assets/datamotlogolight.svg" />
7+
Datamot
8+
</a>
9+
<a class="item" href="/docs/">Docs</a>
10+
<a class="item" href="/tutor/">Tutorial</a>
11+
<a class="item" href="/install/">Installation</a>
12+
<a class="item" href="/community/">Community</a>
13+
<a class="item" href="/blog/">Blog</a>
14+
<div class="right menu">
15+
<a class="item" href="https://github.com/datamoth/datamoth/">GitHub</a>
16+
<a class="item">v0.0.1</a>
17+
</div>
18+
</div>
19+
</div>

_includes/icon-github.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<a href="https://github.com/{{ include.username }}"><span class="icon icon--github">{% include icon-github.svg %}</span><span class="username">{{ include.username }}</span></a>

_includes/icon-github.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)