jekyll-lenciel-theme 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/_layouts/default.html +14 -1
- data/_layouts/page.html +38 -1
- data/_layouts/post.html +39 -1
- 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: d7a6287d07fe2b46afd8aad6d84f42c41bd53cd0
|
4
|
+
data.tar.gz: 4e730ca3b0a25eb6c54a849c9b0651262245887d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6db4aa271d1cf80a3789308b18fae6e08f2fdd83c4c0fc2411e58f100ef26a941537f9d40216ab8aa97ccc04d2b4293a2581365c0ed0d0c9c931b30f565ad15
|
7
|
+
data.tar.gz: 894471988fa0f0838488f07727842c7d2d5b50defb78abc5bfce488bce7c495e4e559037f5b732b73bad6ed51c750d63df85ca0ab0b95d4783df6d08c5b9b670
|
data/README.md
CHANGED
@@ -42,6 +42,8 @@ Your theme is setup just like a normal Jekyll site! To test your theme, run `bun
|
|
42
42
|
|
43
43
|
When your theme is released, only the files in `_layouts`, `_includes`, and `_sass` tracked with Git will be released.
|
44
44
|
|
45
|
+
`gem build jekyll-lenciel-theme.gemspec`
|
46
|
+
`gem push jekyll-lenciel-theme-*.gem`
|
45
47
|
## License
|
46
48
|
|
47
49
|
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
data/_layouts/default.html
CHANGED
@@ -1 +1,14 @@
|
|
1
|
-
{{
|
1
|
+
{% capture root_url %}{{ site.root | strip_slash }}{% endcapture %}
|
2
|
+
{% include head.html %}
|
3
|
+
<body {% if page.body_id %} id="{{ page.body_id }}" {% endif %} {% if page.sidebar == false %} class="no-sidebar" {% endif %} {% if page.sidebar == 'collapse' or site.sidebar == 'collapse' %} class="collapse-sidebar sidebar-footer" {% endif %}>
|
4
|
+
<header role="banner">{% include header.html %}</header>
|
5
|
+
<nav role="navigation">{% include navigation.html %}</nav>
|
6
|
+
<div id="main">
|
7
|
+
<div id="content">
|
8
|
+
{{ content | expand_urls: root_url }}
|
9
|
+
</div>
|
10
|
+
</div>
|
11
|
+
<footer role="contentinfo">{% include footer.html %}</footer>
|
12
|
+
{% include after_footer.html %}
|
13
|
+
</body>
|
14
|
+
</html>
|
data/_layouts/page.html
CHANGED
@@ -2,4 +2,41 @@
|
|
2
2
|
layout: default
|
3
3
|
---
|
4
4
|
|
5
|
-
|
5
|
+
<div>
|
6
|
+
<article role="article">
|
7
|
+
{% if page.title %}
|
8
|
+
<header>
|
9
|
+
<h1 class="entry-title">{% if site.titlecase %}{{ page.title | titlecase }}{% else %}{{ page.title }}{% endif %}</h1>
|
10
|
+
{% if page.date %}<p class="meta">{% include post/date.html %}{{ time }}</p>{% endif %}
|
11
|
+
</header>
|
12
|
+
{% endif %}
|
13
|
+
{{ content }}
|
14
|
+
{% unless page.footer == false %}
|
15
|
+
<footer>
|
16
|
+
{% if page.date or page.author %}<p class="meta">
|
17
|
+
{% if page.author %}{% include post/author.html %}{% endif %}
|
18
|
+
{% include post/date.html %}{% if updated %}{{ updated }}{% else %}{{ time }}{% endif %}
|
19
|
+
{% if page.categories %}{% include post/categories.html %}{% endif %}
|
20
|
+
</p>{% endif %}
|
21
|
+
{% unless page.sharing == false %}
|
22
|
+
{% include post/sharing.html %}
|
23
|
+
{% endunless %}
|
24
|
+
</footer>
|
25
|
+
{% endunless %}
|
26
|
+
</article>
|
27
|
+
{% if site.disqus_short_name and page.comments == true %}
|
28
|
+
<section>
|
29
|
+
<h1>Comments</h1>
|
30
|
+
<div id="disqus_thread" aria-live="polite">{% include post/disqus_thread.html %}</div>
|
31
|
+
</section>
|
32
|
+
{% endif %}
|
33
|
+
</div>
|
34
|
+
{% unless page.sidebar == false %}
|
35
|
+
<aside class="sidebar">
|
36
|
+
{% if site.page_asides.size %}
|
37
|
+
{% include_array page_asides %}
|
38
|
+
{% else %}
|
39
|
+
{% include_array default_asides %}
|
40
|
+
{% endif %}
|
41
|
+
</aside>
|
42
|
+
{% endunless %}
|
data/_layouts/post.html
CHANGED
@@ -1,5 +1,43 @@
|
|
1
1
|
---
|
2
2
|
layout: default
|
3
|
+
single: true
|
3
4
|
---
|
4
5
|
|
5
|
-
|
6
|
+
<div>
|
7
|
+
<article class="hentry" role="article">
|
8
|
+
{% include article.html %}
|
9
|
+
<footer>
|
10
|
+
<p class="meta">
|
11
|
+
{% include post/author.html %}
|
12
|
+
{% include post/date.html %}{{ time }}{% if updated %} {{ updated }}{% endif %}
|
13
|
+
{% include post/categories.html %}
|
14
|
+
</p>
|
15
|
+
{% unless page.sharing == false %}
|
16
|
+
{% include post/sharing.html %}
|
17
|
+
{% endunless %}
|
18
|
+
<p class="meta">
|
19
|
+
{% if page.previous.url %}
|
20
|
+
<a class="basic-alignment left" href="{{page.previous.url}}" title="Previous Post: {{page.previous.title}}">« {{page.previous.title}}</a>
|
21
|
+
{% endif %}
|
22
|
+
{% if page.next.url %}
|
23
|
+
<a class="basic-alignment right" href="{{page.next.url}}" title="Next Post: {{page.next.title}}">{{page.next.title}} »</a>
|
24
|
+
{% endif %}
|
25
|
+
</p>
|
26
|
+
</footer>
|
27
|
+
</article>
|
28
|
+
{% if site.disqus_short_name and page.comments == true %}
|
29
|
+
<section>
|
30
|
+
<h1>Comments</h1>
|
31
|
+
<div id="disqus_thread" aria-live="polite">{% include post/disqus_thread.html %}</div>
|
32
|
+
</section>
|
33
|
+
{% endif %}
|
34
|
+
</div>
|
35
|
+
{% unless page.sidebar == false %}
|
36
|
+
<aside class="sidebar">
|
37
|
+
{% if site.post_asides.size %}
|
38
|
+
{% include_array post_asides %}
|
39
|
+
{% else %}
|
40
|
+
{% include_array default_asides %}
|
41
|
+
{% endif %}
|
42
|
+
</aside>
|
43
|
+
{% endunless %}
|