alpha-one 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6fed636f89074c149292ff5825597777fed408e8
4
- data.tar.gz: 224137e03e74b4469916206a7749a7fbc0f3746b
3
+ metadata.gz: f6b065819f532a35543780cc0fbd702395ae8e8a
4
+ data.tar.gz: 4b7c1f8fa5d640114cb75521eff28552d7ba3b50
5
5
  SHA512:
6
- metadata.gz: 0e658449ed19bd052e38830a92c080a98d36e2bb66ef4ab68d096f98cc90cb36ceb31a09b5769a3dea70906d63d3524421ba6011fd0731154c96d29d45f06e4e
7
- data.tar.gz: c6a989778a272323b62076810c2598f461d7d4930ff8bb974a9f11dd392f149300e6788ed125059e2df791246e85c2e80326f28f66dd27a768becb7d5cd8f711
6
+ metadata.gz: 867ce6d49ecc8bafa0cada6a7bc85d85edeec402c18c31e5602df1044e68a218db1adc66bc8e21bfb05c6585eea58bdddd710a91051a2fbed7596242c1ce8ab0
7
+ data.tar.gz: 2222afb806d47b9729a5418d7c71e7c8696952520ff70c84158dd0613ebc4cc43acc620d251ffd080450b8736ed5f8597447cafc8205c9a5850fbedda0d70b69
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 Pierre ROUDIER
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,66 @@
1
+ # Alpha-One
2
+
3
+ A Jekyl theme based on Bootstrap.
4
+
5
+ ## Features
6
+
7
+ - Resposive layout
8
+ - Syntax highlighting
9
+ - Social links (IN PROGRESS)
10
+
11
+ TODO:
12
+ - Tags listing page
13
+ - Categories listing page
14
+ - Google Analytics integration
15
+
16
+ ### Layouts
17
+
18
+ Alpha-One offers a default layout and a post layout. The page layout is a redirection to the default layout.
19
+
20
+ ## Installation
21
+
22
+ Add this line to your Jekyll site's Gemfile:
23
+
24
+ ```ruby
25
+ gem "alpha-one"
26
+ ```
27
+
28
+ And add this line to your Jekyll site:
29
+
30
+ ```yaml
31
+ theme: alpha-one
32
+ ```
33
+
34
+ And then execute:
35
+
36
+ $ bundle
37
+
38
+ Or install it yourself as:
39
+
40
+ $ gem install alpha-one
41
+
42
+
43
+ ## Configuration
44
+
45
+ The following variable can be set in _config.yml
46
+ - title: text shown in the navbar and the footer.
47
+ - motto: a maxim shown in the footer, under the title.
48
+ - footer (optinal): some text shown at the bottom of the footer
49
+ - twitter_username
50
+ - github_username
51
+ - linkedin_username
52
+
53
+ ## A note on table
54
+
55
+ To prettify your tables, use kramdown and add
56
+ `{: class="table table-striped"}`
57
+ right bellow the table in the markdown file
58
+
59
+ ## Contributing
60
+
61
+ Bug reports and pull requests are welcome on [GitHub](https://github.com/proudier/alpha-one).
62
+
63
+ ## License
64
+
65
+ The theme is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
66
+
@@ -0,0 +1,31 @@
1
+ <div style="margin:80px" ></div>
2
+
3
+ <div class="page-footer">
4
+ <div class="row">
5
+ <div class="col-md-1" ></div>
6
+ <div class="col-md-7" >
7
+ <b>{{ site.title }}</b>
8
+ <p>{{ site.motto }}</p>
9
+ {% if site.footer.size > 0 %}
10
+ <small>{{ site.footer }}</small>
11
+ {% endif %}
12
+ </div>
13
+ <div class="col-md-4">
14
+ <b>Links</b>
15
+ <ul class="list-unstyled">
16
+ {% if site.github_username.size > 0 %}
17
+ <li><a class="grey-text text-lighten-3" href="https://github.com/{{site.github_username}}/">GitHub <i class="fa fa-github"></i></a></li>
18
+ {% endif %}
19
+ {% if site.linkedin_username.size > 0 %}
20
+ <li><a class="grey-text text-lighten-3" href="https://www.linkedin.com/in/{{site.linkedin_username}}">LinkedIn <i class="fa fa-linkedin"></i></a></li>
21
+ {% endif %}
22
+ {% if site.twitter_username.size > 0 %}
23
+ <li><a class="grey-text text-lighten-3" href="https://twitter.com/{{site.twitter_username}}">Twitter <i class="fa fa-twitter"></i></a></li>
24
+ {% endif %}
25
+ </ul>
26
+ </div>
27
+ </div>
28
+ </div>
29
+ </div>
30
+ </body>
31
+ </html>
@@ -0,0 +1,80 @@
1
+ <!doctype html>
2
+
3
+ <html lang="{{ page.lang | default: site.lang | default: "en" }}">
4
+
5
+ <head>
6
+ <meta charset="utf-8">
7
+ <title>
8
+ {% if page.title.size > 0 %}
9
+ {{ page.title }}
10
+ {% else %}
11
+ {{ site.title }}
12
+ {% endif %}
13
+ </title>
14
+ <meta name="description" content="Pierre Roudier's personnal website">
15
+ <meta name="viewport" content="width=device-width, initial-scale=1">
16
+
17
+ <link rel="stylesheet" href='https://fonts.googleapis.com/css?family=Slabo+27px|Titillium+Web|Work+Sans:200,400'>
18
+ <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" crossorigin="anonymous">
19
+ <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
20
+ <link rel="stylesheet" href="{{ "alpha-one.css" | prepend: site.baseurl }}">
21
+
22
+ <script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
23
+ <script type="text/javascript" src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
24
+
25
+ <link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
26
+ <!-- <link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}"> -->
27
+ </head>
28
+
29
+ <body>
30
+ <nav class="navbar navbar-default">
31
+ <div class="container-fluid">
32
+ <div class="navbar-header">
33
+ <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse-1">
34
+ <span class="sr-only">Toggle navigation</span>
35
+ <span class="icon-bar"></span>
36
+ <span class="icon-bar"></span>
37
+ <span class="icon-bar"></span>
38
+ </button>
39
+ <a class="navbar-brand" href="{{ site.baseurl }}" >{{ site.title }}</a>
40
+ </div>
41
+ <div class="collapse navbar-collapse" id="navbar-collapse-1">
42
+ <ul class="nav navbar-nav navbar-right">
43
+ <li>
44
+ <a href="{{ "posts.html" | prepend: site.baseurl }}" >Posts</a>
45
+ </li>
46
+ <li>
47
+ <a href="">Projects</a>
48
+ </li>
49
+ <li>
50
+ <a href="">About Me</a>
51
+ </li>
52
+ {% comment %}
53
+ {% if site.linkedin_username.size > 0 %}
54
+ <li>
55
+ <a href="https://www.linkedin.com/in/{{site.linkedin_username}}" target="_blank">
56
+ <i class="fa fa-linkedin-square"></i>
57
+ </a>
58
+ </li>
59
+ {% endif %}
60
+ {% if site.github_username.size > 0 %}
61
+ <li>
62
+ <a href="https://github.com/{{site.github_username}}/" target="_blank">
63
+ <i class="fa fa-github-square"></i>
64
+ </a>
65
+ </li>
66
+ {% endif %}
67
+ {% if site.twitter_username.size > 0 %}
68
+ <li>
69
+ <a href="https://twitter.com/{{site.twitter_username}}" target="_blank">
70
+ <i class="fa fa-twitter-square"></i>
71
+ </a>
72
+ </li>
73
+ {% endif %}
74
+ {% endcomment %}
75
+ </ul>
76
+ </div>
77
+ </div>
78
+ </nav>
79
+
80
+ <div class="container">
@@ -0,0 +1,5 @@
1
+ {% include header.html %}
2
+
3
+ {{ content | markdownify }}
4
+
5
+ {% include footer.html %}
@@ -0,0 +1,5 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {{ content }}
@@ -0,0 +1,23 @@
1
+ {% include header.html %}
2
+
3
+ <div class="page-header text-center">
4
+ <h1>{{ page.title }}</h1>
5
+ <p class="text-center">
6
+ <strong>Published: </strong> {{ page.date | date: "%b %-d, %Y" }}
7
+ {% if page.tags.size > 0 %}
8
+ <strong>· Tags: </strong>
9
+ {% for tag in page.tags %}
10
+ {{ tag }}
11
+ {% endfor %}
12
+ {% endif %}
13
+ </p>
14
+ </div>
15
+
16
+
17
+ <div style="margin:40px" ></div>
18
+
19
+ <div class="content">
20
+ {{ content | markdownify}}
21
+ </div>
22
+
23
+ {% include footer.html %}
metadata CHANGED
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alpha-one
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pierre ROUDIER
8
8
  autorequire:
9
- bindir: bin
9
+ bindir: exe
10
10
  cert_chain: []
11
11
  date: 2016-11-03 00:00:00.000000000 Z
12
12
  dependencies:
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '3.2'
20
- type: :development
19
+ version: '3.3'
20
+ type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '3.2'
26
+ version: '3.3'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -58,7 +58,14 @@ email:
58
58
  executables: []
59
59
  extensions: []
60
60
  extra_rdoc_files: []
61
- files: []
61
+ files:
62
+ - LICENSE.txt
63
+ - README.md
64
+ - _includes/footer.html
65
+ - _includes/header.html
66
+ - _layouts/default.html
67
+ - _layouts/page.html
68
+ - _layouts/post.html
62
69
  homepage: https://github.com/proudier/alpha-one
63
70
  licenses:
64
71
  - MIT