jekyll-theme-ricky 0.1.0 → 0.1.1
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 +4 -4
- data/_layouts/compress.html +1 -0
- data/_layouts/default.html +52 -1
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ae6878121da445c81e6c469f9ec3eb38977126a4
|
|
4
|
+
data.tar.gz: b4b053c3e011eb8a01782afbb2c9dfb6d990c1ee
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b461901636e045bbe6a114a5ca6a25e39093544a948d95528fbb82d7a739c82526f6a266e6094ea0691b601e024757f8507d17b0edd181f7648718448faad89a
|
|
7
|
+
data.tar.gz: 7e68cf072286845be5764ec02c31f595c0c157445f8775317aa9940ef64df25b73a4097a0cdb48416a12e95fd97a3f084723849396f435f141a91ffbf27ac194
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{% if site.compress_html.ignore.envs contains jekyll.environment %}{{ content }}{% else %}{% capture _content %}{{ content }}{% endcapture %}{% assign _profile = site.compress_html.profile %}{% if site.compress_html.endings == "all" %}{% assign _endings = "html head body li dt dd p rt rp optgroup option colgroup caption thead tbody tfoot tr td th" | split: " " %}{% else %}{% assign _endings = site.compress_html.endings %}{% endif %}{% for _element in _endings %}{% capture _end %}</{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _end %}{% endfor %}{% if _profile and _endings %}{% assign _profile_endings = _content | size | plus: 1 %}{% endif %}{% assign _pre_befores = _content | split: "<pre" %}{% assign _content = "" %}{% for _pre_before in _pre_befores %}{% assign _pres = _pre_before | split: "</pre>" %}{% case _pres.size %}{% when 2 %}{% capture _content %}{{ _content }}<pre{{ _pres.first }}</pre>{{ _pres.last | split: " " | join: " " }}{% endcapture %}{% when 1 %}{% capture _content %}{{ _content }}{{ _pres.last | split: " " | join: " " }}{% endcapture %}{% endcase %}{% endfor %}{% if _profile %}{% assign _profile_collapse = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.comments == "all" %}{% assign _comments = "<!-- -->" | split: " " %}{% else %}{% assign _comments = site.compress_html.comments %}{% endif %}{% if _comments.size == 2 %}{% assign _comment_befores = _content | split: _comments.first %}{% for _comment_before in _comment_befores %}{% assign _comment_content = _comment_before | split: _comments.last | first %}{% if _comment_content %}{% capture _comment %}{{ _comments.first }}{{ _comment_content }}{{ _comments.last }}{% endcapture %}{% assign _content = _content | remove: _comment %}{% endif %}{% endfor %}{% if _profile %}{% assign _profile_comments = _content | size | plus: 1 %}{% endif %}{% endif %}{% if site.compress_html.clippings == "all" %}{% assign _clippings = "html head title base link meta style body article section nav aside h1 h2 h3 h4 h5 h6 hgroup header footer address p hr blockquote ol ul li dl dt dd figure figcaption main div table caption colgroup col tbody thead tfoot tr td th" | split: " " %}{% else %}{% assign _clippings = site.compress_html.clippings %}{% endif %}{% for _element in _clippings %}{% assign _edges = " <e;<e; </e>;</e>;</e> ;</e>" | replace: "e", _element | split: ";" %}{% assign _content = _content | replace: _edges[0], _edges[1] | replace: _edges[2], _edges[3] | replace: _edges[4], _edges[5] %}{% endfor %}{% if _profile and _clippings %}{% assign _profile_clippings = _content | size | plus: 1 %}{% endif %}{{ _content }}{% if _profile %} <table id="compress_html_profile_{{ site.time | date: "%Y%m%d" }}" class="compress_html_profile"> <thead> <tr> <td>Step <td>Bytes <tbody> <tr> <td>raw <td>{{ content | size }}{% if _profile_endings %} <tr> <td>endings <td>{{ _profile_endings }}{% endif %}{% if _profile_collapse %} <tr> <td>collapse <td>{{ _profile_collapse }}{% endif %}{% if _profile_comments %} <tr> <td>comments <td>{{ _profile_comments }}{% endif %}{% if _profile_clippings %} <tr> <td>clippings <td>{{ _profile_clippings }}{% endif %} </table>{% endif %}{% endif %}
|
data/_layouts/default.html
CHANGED
|
@@ -1 +1,52 @@
|
|
|
1
|
-
|
|
1
|
+
---
|
|
2
|
+
layout: compress
|
|
3
|
+
---
|
|
4
|
+
<!DOCTYPE html>
|
|
5
|
+
<html lang="en" class="no-js">
|
|
6
|
+
<head>
|
|
7
|
+
<meta charset="UTF-8"/>
|
|
8
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
9
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
10
|
+
<title>{{ site.title }}</title>
|
|
11
|
+
<meta name="description" content="{{ site.description }}"/>
|
|
12
|
+
<meta name="keywords" content="{{ site.keywords }}"/>
|
|
13
|
+
<meta name="author" content="{{ site.author }}"/>
|
|
14
|
+
<link rel="shortcut icon" href="img/favicon.ico">
|
|
15
|
+
<link rel="stylesheet" type="text/css" href="css/normalize.css"/>
|
|
16
|
+
<link rel="stylesheet" type="text/css" href="fonts/font-awesome/css/font-awesome.css"/>
|
|
17
|
+
<link rel="stylesheet" type="text/css" href="css/modern-blog.css"/>
|
|
18
|
+
<!--[if IE]>
|
|
19
|
+
<script type="text/javascript" src="js/vendors/html5.min.js"></script>
|
|
20
|
+
<![endif]-->
|
|
21
|
+
<script>
|
|
22
|
+
if (navigator.userAgent.toLowerCase().indexOf('firefox') > -1) {
|
|
23
|
+
var root = document.getElementsByTagName('html')[0];
|
|
24
|
+
root.setAttribute('class', 'ff');
|
|
25
|
+
}
|
|
26
|
+
</script>
|
|
27
|
+
</head>
|
|
28
|
+
<body class="body">
|
|
29
|
+
<div class="container">
|
|
30
|
+
<header class="header">
|
|
31
|
+
<h1>Modern Blog<span>A Clean, Fresh Minimal Look.</span></h1>
|
|
32
|
+
<nav class="links">
|
|
33
|
+
<a href="#"><i class="fa fa-twitter-square fa-3x"></i></a>
|
|
34
|
+
<a href="#"><i class="fa fa-instagram fa-3x"></i></a>
|
|
35
|
+
<a href="#"><i class="fa fa-facebook-square fa-3x"></i></a>
|
|
36
|
+
<a href="#"><i class="fa fa-tumblr-square fa-3x"></i></a>
|
|
37
|
+
</nav>
|
|
38
|
+
</header>
|
|
39
|
+
<div class="content">
|
|
40
|
+
{{ content }}
|
|
41
|
+
</div>
|
|
42
|
+
<!-- /container -->
|
|
43
|
+
</div>
|
|
44
|
+
<!-- JS -->
|
|
45
|
+
<script src="js/vendors/trianglify.min.js"></script>
|
|
46
|
+
<script src="js/vendors/TweenMax.min.js"></script>
|
|
47
|
+
<script src="js/vendors/ScrollToPlugin.min.js"></script>
|
|
48
|
+
<script src="js/vendors/cash.min.js"></script>
|
|
49
|
+
<script src="js/card-modern-blog.js"></script>
|
|
50
|
+
<script src="js/modern-blog.js"></script>
|
|
51
|
+
</body>
|
|
52
|
+
</html>
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll-theme-ricky
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ricky Tran
|
|
@@ -61,6 +61,7 @@ extra_rdoc_files: []
|
|
|
61
61
|
files:
|
|
62
62
|
- LICENSE.txt
|
|
63
63
|
- README.md
|
|
64
|
+
- _layouts/compress.html
|
|
64
65
|
- _layouts/default.html
|
|
65
66
|
- assets/css/modern-blog.css
|
|
66
67
|
- assets/css/normalize.css
|