alpha-one 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -5
- data/_includes/header.html +16 -13
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d4ee66b9a359b2d88ef961a8bd27b565bceeb43d
|
4
|
+
data.tar.gz: 0b44dd6af17d6b798cc1a11a98d5f9a907cdf945
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7bec059547cb48560340442d05f1d7179216a1df43528afe78c3bd3e642b67256b1ee3c7be04ec17204757d3da5be68be367e7a6f6e38ce873b2860b60d831d6
|
7
|
+
data.tar.gz: 07eeae38be2913ff5160302601cd128f5cac0764408cde6d9896716568df3bfb14732b7066a0e408c3ef158d07f09cb475a8bedf525aa677c102c59b241da7cd
|
data/README.md
CHANGED
@@ -25,7 +25,7 @@ Add this line to your Jekyll site's Gemfile:
|
|
25
25
|
gem "alpha-one"
|
26
26
|
```
|
27
27
|
|
28
|
-
And add this line to your Jekyll site:
|
28
|
+
And add this line to your Jekyll site (_config.yml):
|
29
29
|
|
30
30
|
```yaml
|
31
31
|
theme: alpha-one
|
@@ -42,13 +42,16 @@ Or install it yourself as:
|
|
42
42
|
|
43
43
|
## Configuration
|
44
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 (
|
45
|
+
The following variable can/must 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 (optional): some text shown at the bottom of the footer
|
49
|
+
- header_link_1_label, header_link_1_href (both optional): used to add links in the header bar
|
49
50
|
- twitter_username
|
50
51
|
- github_username
|
51
52
|
- linkedin_username
|
53
|
+
- baseurl (optional): path to the root of your website; useful if it is hosted on a subpath
|
54
|
+
|
52
55
|
|
53
56
|
## A note on table
|
54
57
|
|
data/_includes/header.html
CHANGED
@@ -17,13 +17,15 @@
|
|
17
17
|
<link rel="stylesheet" href='https://fonts.googleapis.com/css?family=Slabo+27px|Titillium+Web|Work+Sans:200,400'>
|
18
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
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" |
|
20
|
+
<link rel="stylesheet" href="{{ "alpha-one.css" | relative_url }}">
|
21
21
|
|
22
22
|
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
23
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
24
|
|
25
|
-
<link rel="canonical" href="{{ page.url |
|
26
|
-
|
25
|
+
<link rel="canonical" href="{{ page.url | absolute_url }}">
|
26
|
+
{% comment %}
|
27
|
+
<link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | absolute_url }}">
|
28
|
+
{% endcomment %}
|
27
29
|
</head>
|
28
30
|
|
29
31
|
<body>
|
@@ -36,19 +38,20 @@
|
|
36
38
|
<span class="icon-bar"></span>
|
37
39
|
<span class="icon-bar"></span>
|
38
40
|
</button>
|
39
|
-
<a class="navbar-brand" href="{{ site.baseurl }}" >{{ site.title }}</a>
|
41
|
+
<a class="navbar-brand" href="{{ site.baseurl }}/" >{{ site.title }}</a>
|
40
42
|
</div>
|
41
43
|
<div class="collapse navbar-collapse" id="navbar-collapse-1">
|
42
44
|
<ul class="nav navbar-nav navbar-right">
|
43
|
-
|
44
|
-
<
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
45
|
+
{% if site.header_link_1_label.size > 0 %}
|
46
|
+
<li>
|
47
|
+
<a href="{{ site.header_link_1_href | relative_url }}"> {{ site.header_link_1_label }} </a>
|
48
|
+
</li>
|
49
|
+
{% endif %}
|
50
|
+
{% if site.header_link_2_label.size > 0 %}
|
51
|
+
<li>
|
52
|
+
<a href="{{ site.header_link_2_href | relative_url }}"> {{ site.header_link_2_label }} </a>
|
53
|
+
</li>
|
54
|
+
{% endif %}
|
52
55
|
{% comment %}
|
53
56
|
{% if site.linkedin_username.size > 0 %}
|
54
57
|
<li>
|