devlopr 0.1.9 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -1
- data/_layouts/blog.html +3 -3
- data/_layouts/post.html +19 -19
- 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: ce530c662ff7a475e9b628e5f7713d6b22a75a08
|
4
|
+
data.tar.gz: a8070a03a6b78c47dd86755c5adb40ed40cb7fc3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ed33441feea34ca41e2ad464f19acccffeffb2fe289e5ae2003918b86683925e4072a8c017444c7fb82a353019bf55a39d72a72d6b40ee6b7771921a4d352d7
|
7
|
+
data.tar.gz: e568dceb3c1136a6ea5ef8a2ec729638567f775b745faf9e5ffe193aba9f7cda41423f3fd252844327ef9a9a98ea4a174d8e597b3b8f736575c86c84e6ecae27
|
data/README.md
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
# devlopr
|
2
2
|
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/devlopr.svg)](https://badge.fury.io/rb/devlopr)
|
4
|
+
|
3
5
|
Welcome to your new Jekyll theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes`, your sass files in `_sass` and any other assets in `assets`.
|
4
6
|
|
5
7
|
To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
|
@@ -66,5 +68,6 @@ Create a new file blog.md file with following content
|
|
66
68
|
```
|
67
69
|
---
|
68
70
|
layout: blog
|
69
|
-
title: Blog
|
71
|
+
title: Blog
|
72
|
+
permalink: \blog\
|
70
73
|
```
|
data/_layouts/blog.html
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
---
|
2
|
-
layout: default
|
2
|
+
layout: default
|
3
3
|
---
|
4
4
|
|
5
|
-
<div class="row">
|
5
|
+
<div class="row">
|
6
6
|
|
7
7
|
<div class="col-lg-8">
|
8
8
|
<ul>
|
@@ -10,7 +10,7 @@ layout: default
|
|
10
10
|
<div class="card blog-post">
|
11
11
|
<img class="card-img-top" src="{{site.url}}/assets/img/{{ post.thumbnail }}" alt="{{ post.title }}">
|
12
12
|
<div class="card-body center">
|
13
|
-
<img src="{{site.url}}/assets/img/{{ author_logo }}" class="author-profile-img">
|
13
|
+
<img src="{{site.url}}/assets/img/{{ site.author_logo }}" class="author-profile-img">
|
14
14
|
<h4 class="card-title">{{ post.title }}</h4>
|
15
15
|
|
16
16
|
<h6 class="card-subtitle mb-2 text-muted">{{ post.date | date: "%b %-d, %Y" }}</h6>
|
data/_layouts/post.html
CHANGED
@@ -25,7 +25,7 @@ layout: default
|
|
25
25
|
<!-- <h1 class="post-title" itemprop="name headline">{{ page.title }}</h1> -->
|
26
26
|
<h4 class="post-meta">{{ page.summary }}</h4>
|
27
27
|
<p class="post-summary">Posted by : {% if page.author %}
|
28
|
-
<img src="
|
28
|
+
<img src="{{site.url}}/assets/img/{{ site.author_logo }}" class="author-profile-img">
|
29
29
|
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
|
30
30
|
<span itemprop="name">{{ page.author }}</span>
|
31
31
|
</span>{% endif %} at
|
@@ -46,7 +46,7 @@ layout: default
|
|
46
46
|
</div>
|
47
47
|
|
48
48
|
<div class="card-body" itemprop="articleBody">
|
49
|
-
{{ content }} {%- include share.html -%}
|
49
|
+
<img class="card-img-top" src="{{site.url}}/assets/img/{{ post.thumbnail }}" alt="{{ post.title }}"> {{ content }} {%- include share.html -%}
|
50
50
|
</div>
|
51
51
|
|
52
52
|
<div id="disqus_thread"></div>
|
@@ -97,22 +97,22 @@ layout: default
|
|
97
97
|
<!-- End of Sidebar -->
|
98
98
|
|
99
99
|
</div>
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
100
|
+
|
101
|
+
<script>
|
102
|
+
var disqus_config = function () {
|
103
|
+
this.page.url = "{{ site.url }}{{ page.url }}"; // Replace PAGE_URL with your page's canonical URL variable
|
104
|
+
this.page.identifier = "{{ page.id }}"; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
|
105
|
+
};
|
106
|
+
|
107
|
+
|
108
|
+
(function () { // DON'T EDIT BELOW THIS LINE
|
109
|
+
var d = document,
|
110
|
+
s = d.createElement('script');
|
111
|
+
s.src = 'https://{{ site.disqus_shortname }}.disqus.com/embed.js';
|
112
|
+
s.setAttribute('data-timestamp', +new Date());
|
113
|
+
(d.head || d.body).appendChild(s);
|
114
|
+
})();
|
115
115
|
</script>
|
116
116
|
<noscript>Please enable JavaScript to view the
|
117
|
-
|
118
|
-
</noscript>
|
117
|
+
<a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a>
|
118
|
+
</noscript>
|