alpha-one 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d4ee66b9a359b2d88ef961a8bd27b565bceeb43d
4
- data.tar.gz: 0b44dd6af17d6b798cc1a11a98d5f9a907cdf945
3
+ metadata.gz: 379be6b0f23bdf21a2171e20e4c0cdd9f3ebf96a
4
+ data.tar.gz: ae7bd5cba33e55b3f09ac9c18126aac30f60dae1
5
5
  SHA512:
6
- metadata.gz: 7bec059547cb48560340442d05f1d7179216a1df43528afe78c3bd3e642b67256b1ee3c7be04ec17204757d3da5be68be367e7a6f6e38ce873b2860b60d831d6
7
- data.tar.gz: 07eeae38be2913ff5160302601cd128f5cac0764408cde6d9896716568df3bfb14732b7066a0e408c3ef158d07f09cb475a8bedf525aa677c102c59b241da7cd
6
+ metadata.gz: c4a3cd2c9646c9264aa7bddf3404338cabf9aaa4a3dab7521cce0b123491148921db6557596b081f7a645ddb98036a8a45ed01376738b067d020548f51083f3a
7
+ data.tar.gz: f2e8c1fb95e2a8557030b4532b10e6ad5a72acca6dbb5349d8835ce9d268f1fdea1798f3d64260b9d17ce553d4955f5dcc0663f253cd420c7ec0b1a631c10ba6
data/README.md CHANGED
@@ -51,6 +51,7 @@ The following variable can/must be set in _config.yml
51
51
  - github_username
52
52
  - linkedin_username
53
53
  - baseurl (optional): path to the root of your website; useful if it is hosted on a subpath
54
+ - png_favicon: name of the png file to be used as favicon; must reside bellow $baseurl
54
55
 
55
56
 
56
57
  ## A note on table
@@ -1,16 +1,16 @@
1
- <div style="margin:80px" ></div>
2
-
3
- <div class="page-footer">
1
+ <footer>
2
+ <div class="container">
4
3
  <div class="row">
5
4
  <div class="col-md-1" ></div>
6
- <div class="col-md-7" >
5
+ <div class="col-md-8" >
7
6
  <b>{{ site.title }}</b>
8
7
  <p>{{ site.motto }}</p>
8
+ <p>&nbsp;</p>
9
9
  {% if site.footer.size > 0 %}
10
10
  <small>{{ site.footer }}</small>
11
11
  {% endif %}
12
12
  </div>
13
- <div class="col-md-4">
13
+ <div class="col-md-3">
14
14
  <b>Links</b>
15
15
  <ul class="list-unstyled">
16
16
  {% if site.github_username.size > 0 %}
@@ -26,6 +26,6 @@
26
26
  </div>
27
27
  </div>
28
28
  </div>
29
- </div>
29
+ </footer>
30
30
  </body>
31
31
  </html>
@@ -11,10 +11,13 @@
11
11
  {{ site.title }}
12
12
  {% endif %}
13
13
  </title>
14
- <meta name="description" content="Pierre Roudier's personnal website">
14
+ {% if site.description.size > 0 %}
15
+ <meta name="description" content="{{ site.description }}">
16
+ {% endif %}
15
17
  <meta name="viewport" content="width=device-width, initial-scale=1">
16
18
 
17
- <link rel="stylesheet" href='https://fonts.googleapis.com/css?family=Slabo+27px|Titillium+Web|Work+Sans:200,400'>
19
+ <!-- JS and CSS are fetch now to prevent FOUC -->
20
+ <link rel="stylesheet" href='https://fonts.googleapis.com/css?family=Merriweather|Titillium+Web'>
18
21
  <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
22
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
20
23
  <link rel="stylesheet" href="{{ "alpha-one.css" | relative_url }}">
@@ -22,6 +25,9 @@
22
25
  <script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
23
26
  <script type="text/javascript" src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
24
27
 
28
+ {% if site.png_icon.size > 0 %}
29
+ <link rel="icon" type="image/png" href="{{ site.png_icon | absolute_url }}">
30
+ {% endif %}
25
31
  <link rel="canonical" href="{{ page.url | absolute_url }}">
26
32
  {% comment %}
27
33
  <link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | absolute_url }}">
@@ -30,7 +36,7 @@
30
36
 
31
37
  <body>
32
38
  <nav class="navbar navbar-default">
33
- <div class="container-fluid">
39
+ <!-- <div class="container"> -->
34
40
  <div class="navbar-header">
35
41
  <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse-1">
36
42
  <span class="sr-only">Toggle navigation</span>
@@ -77,7 +83,5 @@
77
83
  {% endcomment %}
78
84
  </ul>
79
85
  </div>
80
- </div>
81
- </nav>
82
-
83
- <div class="container">
86
+ <!-- </div> -->
87
+ </nav>
@@ -1,5 +1,9 @@
1
1
  {% include header.html %}
2
2
 
3
- {{ content | markdownify }}
3
+ <article>
4
+ <div class="container">
5
+ {{ content | markdownify }}
6
+ </div>
7
+ </article>
4
8
 
5
9
  {% include footer.html %}
data/_layouts/post.html CHANGED
@@ -1,23 +1,26 @@
1
1
  {% include header.html %}
2
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>
3
+ <article>
4
+ <div class="container">
5
+ <div class="page-header text-center">
6
+ <h1>{{ page.title }}</h1>
7
+ <p class="text-center subtitle">
8
+ <strong>Published: </strong> {{ page.date | date: "%b %-d, %Y" }}
9
+ {% if page.tags.size > 0 %}
10
+ <strong>· Tags: </strong>
11
+ {% for tag in page.tags %}
12
+ {{ tag }}
13
+ {% endfor %}
14
+ {% endif %}
15
+ </p>
16
+ </div>
15
17
 
18
+ <div style="padding:30px" ></div>
16
19
 
17
- <div style="margin:40px" ></div>
18
-
19
- <div class="content">
20
- {{ content | markdownify}}
21
- </div>
20
+ <div class="content">
21
+ {{ content | markdownify}}
22
+ </div>
23
+ </div>
24
+ </article>
22
25
 
23
26
  {% include footer.html %}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alpha-one
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pierre ROUDIER
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-11-03 00:00:00.000000000 Z
11
+ date: 2016-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll