security-onigiri 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/first_page.html +2 -2
- data/_includes/footer.html +11 -35
- data/_includes/head.html +2 -2
- data/_includes/header.html +34 -23
- data/_includes/hero.html +9 -0
- data/_includes/last_page.html +2 -2
- data/_includes/next_page.html +1 -3
- data/_includes/page.html +2 -2
- data/_includes/paginator.html +8 -7
- data/_includes/prev_page.html +1 -3
- data/_layouts/blog.html +44 -21
- data/_layouts/default.html +1 -1
- data/_layouts/page.html +3 -11
- data/_layouts/post.html +42 -20
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 69cb38c990e2021cf2f0eb0fecf9240d8e1147e0
|
4
|
+
data.tar.gz: e418828dd7c0681341ef4d6c1260af1e671e426b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39417c79d2b1c611a7140caa5b985c5cd016bc6909ccb407784deca1e7c988403cfb4bb6477dd53ebffc4b09067e0b5512f35d465fcd9de93c466cf41714648f
|
7
|
+
data.tar.gz: b2a00bdfcc2c1081c510b94aa360beb2bf78ccd1655cd634340d85c1c3a485f451aca23cf481c82e6f08ad49717868dc33b6d97d30a4880910b496681e69a218
|
data/_includes/first_page.html
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
<a href="{{ "/" | relative_url }}" class="
|
2
|
-
|
1
|
+
<a href="{{ "/" | relative_url }}" class="pagination-link">
|
2
|
+
1
|
3
3
|
</a>
|
data/_includes/footer.html
CHANGED
@@ -1,45 +1,21 @@
|
|
1
|
-
<footer
|
2
|
-
|
3
|
-
|
4
|
-
<div>
|
1
|
+
<footer class="footer">
|
2
|
+
<div class="container">
|
3
|
+
<div class="content">
|
5
4
|
Theme by
|
6
|
-
<a class="item" href="https://github.com/
|
7
|
-
<
|
8
|
-
|
5
|
+
<a class="item" href="https://github.com/security-onigiri/security-onigiri">
|
6
|
+
<span class="icon">
|
7
|
+
<i class="fa fa-github"></i>
|
8
|
+
</span>
|
9
|
+
security-onigiri
|
9
10
|
</a>
|
10
|
-
</div>
|
11
|
-
<div class="ui inverted divider"></div>
|
12
|
-
<div class="ui inverted horizontal divided link list">
|
13
|
-
{% if site.facebook %}
|
14
|
-
<a class="item" href="{{site.facebook}}">
|
15
|
-
<i class="facebook icon"></i>
|
16
|
-
Facebook
|
17
|
-
</a>
|
18
|
-
{% endif %}
|
19
11
|
{% if site.github %}
|
20
12
|
<a class="item" href="{{ site.github }}">
|
21
|
-
<
|
13
|
+
<span class="icon">
|
14
|
+
<i class="fa fa-github"></i>
|
15
|
+
</span>
|
22
16
|
Github
|
23
17
|
</a>
|
24
18
|
{% endif %}
|
25
|
-
{% if site.linkedin%}
|
26
|
-
<a class="item" href="{{ site.linkedin }}">
|
27
|
-
<i class="linkedin icon"></i>
|
28
|
-
Linkedin
|
29
|
-
</a>
|
30
|
-
{% endif %}
|
31
|
-
{% if site.stack_overflow %}
|
32
|
-
<a class="item" href="{{ site.stack_overflow }}">
|
33
|
-
<i class="stack overflow icon"></i>
|
34
|
-
Stack Overflow
|
35
|
-
</a>
|
36
|
-
{% endif %}
|
37
|
-
{% if site.twitter %}
|
38
|
-
<a class="item" href="{{ site.twitter }}">
|
39
|
-
<i class="twitter icon"></i>
|
40
|
-
Twitter
|
41
|
-
</a>
|
42
|
-
{% endif %}
|
43
19
|
</div>
|
44
20
|
</div>
|
45
21
|
</footer>
|
data/_includes/head.html
CHANGED
data/_includes/header.html
CHANGED
@@ -1,25 +1,36 @@
|
|
1
|
-
<header
|
2
|
-
<
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
1
|
+
<header>
|
2
|
+
<nav class="navbar is-dark">
|
3
|
+
<div class="navbar-brand">
|
4
|
+
<a class="navbar-item" href="{{ "/" | relative_url }}">
|
5
|
+
<img src="{% asset_path icon_avatar.jpg %}" alt="Security onigiri">
|
6
|
+
</a>
|
7
|
+
<div class="navbar-burger burger">
|
8
|
+
<span></span>
|
9
|
+
<span></span>
|
10
|
+
<span></span>
|
11
|
+
</div>
|
12
|
+
</div>
|
13
|
+
<div class="navbar-menu">
|
14
|
+
<div class="navbar-start">
|
15
|
+
{% for page in site.pages %}
|
16
|
+
{% if page.title %}
|
17
|
+
<a class="navbar-item" href="{{ page.url | relative_url }}">
|
18
|
+
<span class="icon">
|
19
|
+
<i class="fa fa-{{page.icon}}"></i>
|
20
|
+
</span>
|
21
|
+
{{ page.title }}
|
22
|
+
</a>
|
15
23
|
{% endif %}
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
24
|
+
{% endfor %}
|
25
|
+
</div>
|
26
|
+
<div class="navbar-end">
|
27
|
+
<a class="navbar-item" href="{{ "/feed.xml" | relative_url }}">
|
28
|
+
<span class="icon">
|
29
|
+
<i class="fa fa-rss"></i>
|
30
|
+
</span>
|
31
|
+
Subscribe
|
32
|
+
</a>
|
33
|
+
</div>
|
34
|
+
</div>
|
35
|
+
</nav>
|
25
36
|
</header>
|
data/_includes/hero.html
ADDED
data/_includes/last_page.html
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
<a href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', paginator.total_pages }}" class="
|
2
|
-
|
1
|
+
<a href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', paginator.total_pages }}" class="pagination-link">
|
2
|
+
{{site.paginator.total_page}}
|
3
3
|
</a>
|
data/_includes/next_page.html
CHANGED
data/_includes/page.html
CHANGED
@@ -7,9 +7,9 @@
|
|
7
7
|
{% else %}
|
8
8
|
{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page }}
|
9
9
|
{% endif %}
|
10
|
-
" class="
|
10
|
+
" class="pagination-link
|
11
11
|
{% if page == paginator.page %}
|
12
12
|
|
13
|
-
|
13
|
+
is-current
|
14
14
|
{% endif %}
|
15
15
|
">{{ page }}</a>
|
data/_includes/paginator.html
CHANGED
@@ -1,15 +1,16 @@
|
|
1
|
-
<nav class="
|
1
|
+
<nav class="pagination">
|
2
2
|
{% if paginator.previous_page %}
|
3
|
-
{% include first_page.html %}
|
4
3
|
{% include prev_page.html %}
|
5
4
|
{% endif %}
|
6
5
|
|
7
|
-
{% for page in (1..paginator.total_pages) %}
|
8
|
-
{% include page.html %}
|
9
|
-
{% endfor %}
|
10
|
-
|
11
6
|
{% if paginator.next_page %}
|
12
7
|
{% include next_page.html %}
|
13
|
-
{% include last_page.html %}
|
14
8
|
{% endif %}
|
9
|
+
<ul class="pagination-list">
|
10
|
+
{% for page in (1..paginator.total_pages) %}
|
11
|
+
<li>
|
12
|
+
{% include page.html %}
|
13
|
+
</li>
|
14
|
+
{% endfor %}
|
15
|
+
</ul>
|
15
16
|
</nav>
|
data/_includes/prev_page.html
CHANGED
data/_layouts/blog.html
CHANGED
@@ -1,30 +1,53 @@
|
|
1
1
|
---
|
2
|
-
layout:
|
2
|
+
layout: page
|
3
3
|
---
|
4
|
-
|
5
|
-
|
6
|
-
<
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
<
|
13
|
-
<
|
14
|
-
|
4
|
+
<div class="columns is-multiline is-desktop">
|
5
|
+
{% for post in paginator.posts %}
|
6
|
+
<div class="column is-half">
|
7
|
+
<div class="box">
|
8
|
+
<p class="title">
|
9
|
+
{{ post.title }}
|
10
|
+
</p>
|
11
|
+
<div class="content">
|
12
|
+
<p class="subtitle">
|
13
|
+
<span class="icon fa fa-link">
|
14
|
+
</span>
|
15
|
+
<a href="{{post.source-url}}">
|
16
|
+
{{post.source-url}}
|
15
17
|
</a>
|
16
|
-
|
17
|
-
|
18
|
+
</p>
|
19
|
+
<p class="subtitle">
|
20
|
+
Translated by {{ post.author }}
|
21
|
+
</p>
|
22
|
+
</div>
|
23
|
+
<div class="level">
|
24
|
+
<div class="level-left">
|
25
|
+
<div class="level-item">
|
26
|
+
<div class="tags">
|
27
|
+
{% for tag in post.tags %}
|
28
|
+
{% assign tag_page= site.pages | where: "name", "tags.html" | first %}
|
29
|
+
<a href="{{ tag_page.url | append: "#" | append: tag | relative_url }}" class="tag">
|
30
|
+
{{ tag }}
|
31
|
+
</a>
|
32
|
+
{% endfor %}
|
33
|
+
</div>
|
34
|
+
</div>
|
35
|
+
<div class="level-item">
|
36
|
+
<p>
|
37
|
+
{{ post.date | date: "%b %-d, %Y" }}
|
38
|
+
</p>
|
39
|
+
</div>
|
40
|
+
</div>
|
41
|
+
<div class="level-right">
|
42
|
+
<div class="level-item">
|
43
|
+
<a href="{{ post.url | relative_url }}" class="button is-success">Read more</a>
|
18
44
|
</div>
|
19
45
|
</div>
|
20
46
|
</div>
|
21
|
-
{% endfor %}
|
22
47
|
</div>
|
23
|
-
|
24
|
-
|
48
|
+
</div>
|
49
|
+
{% endfor %}
|
25
50
|
</div>
|
26
|
-
|
27
|
-
|
28
|
-
<div class="four wide column">
|
29
|
-
{% include sidebar.html %}
|
51
|
+
<div class="section">
|
52
|
+
{% include paginator.html %}
|
30
53
|
</div>
|
data/_layouts/default.html
CHANGED
data/_layouts/page.html
CHANGED
@@ -1,14 +1,6 @@
|
|
1
1
|
---
|
2
2
|
layout: default
|
3
3
|
---
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
<h1 class="post-title">{{ page.title | escape }}</h1>
|
8
|
-
</header>
|
9
|
-
<div class="post-content">
|
10
|
-
{{ content }}
|
11
|
-
</div>
|
12
|
-
</article>
|
13
|
-
{% include disqus_comments.html %}
|
14
|
-
</div>
|
4
|
+
{% include hero.html %}
|
5
|
+
{{ content }}
|
6
|
+
{% include disqus_comments.html %}
|
data/_layouts/post.html
CHANGED
@@ -1,27 +1,49 @@
|
|
1
1
|
---
|
2
2
|
layout: default
|
3
3
|
---
|
4
|
-
<div class="
|
5
|
-
<
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
4
|
+
<div class="container">
|
5
|
+
<div class="hero-body">
|
6
|
+
<div class="container">
|
7
|
+
<h1 class="title is-spaced">
|
8
|
+
{{ page.title }}
|
9
|
+
</h1>
|
10
|
+
<h2 class="subtitle">
|
11
|
+
<div class="content">
|
12
|
+
<span class="icon fa fa-link">
|
13
|
+
</span>
|
14
|
+
<a href="{{page.source-url}}">
|
15
|
+
{{page.source-url}}
|
16
|
+
</a>
|
17
|
+
</div>
|
18
|
+
<div class="level">
|
19
|
+
<div class="level-left">
|
20
|
+
<div class="level-item">
|
21
|
+
Translated by {{ page.author }}
|
22
|
+
</div>
|
23
|
+
<div class="level-item">
|
24
|
+
<div class="tags">
|
25
|
+
{% for tag in page.tags %}
|
26
|
+
{% assign tag_page= site.pages | where: "name", "tags.html" | first %}
|
27
|
+
<a href="{{ tag_page.url | append: "#" | append: tag | relative_url }}" class="tag">
|
28
|
+
{{ tag }}
|
29
|
+
</a>
|
30
|
+
{% endfor %}
|
31
|
+
</div>
|
32
|
+
</div>
|
33
|
+
</div>
|
34
|
+
<div class="level-right">
|
35
|
+
<div class="level-item">
|
36
|
+
{{ page.date | date: "%b %-d, %Y" }}
|
37
|
+
</div>
|
38
|
+
</div>
|
39
|
+
</div>
|
40
|
+
</h2>
|
41
|
+
</div>
|
20
42
|
</div>
|
21
|
-
|
43
|
+
<article>
|
44
|
+
<div class="content">
|
45
|
+
{{ content }}
|
46
|
+
</div>
|
22
47
|
</article>
|
23
48
|
{% include disqus_comments.html %}
|
24
49
|
</div>
|
25
|
-
<div class="four wide column">
|
26
|
-
{% include sidebar.html %}
|
27
|
-
</div>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: security-onigiri
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- bananaappletw
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-11-
|
11
|
+
date: 2017-11-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -138,6 +138,7 @@ files:
|
|
138
138
|
- _includes/google-analytics.html
|
139
139
|
- _includes/head.html
|
140
140
|
- _includes/header.html
|
141
|
+
- _includes/hero.html
|
141
142
|
- _includes/last_page.html
|
142
143
|
- _includes/next_page.html
|
143
144
|
- _includes/page.html
|