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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d3379c2a80a0528e1cceee860cf8f2385b654799
4
- data.tar.gz: b60c05e4a8c39dc8a1202dcf33f7f648edec8533
3
+ metadata.gz: 69cb38c990e2021cf2f0eb0fecf9240d8e1147e0
4
+ data.tar.gz: e418828dd7c0681341ef4d6c1260af1e671e426b
5
5
  SHA512:
6
- metadata.gz: 5d5b992ce4afa0add76ac53d2d2adb69ad3c1ba448547ab1aaee3a36bb78a5fb21a5204b2ea3df2de037e763601dfafdca2eaeca325d8df78753f202ae845401
7
- data.tar.gz: '097eff7fc6cfc7dbfc6a98ff1f5bfc9fdd7f48a86fb53dff15244b3794bde02dc7a4b700619a721c2e2cd8d476caeb0f6c4572e5dae3cf43d3da93bbf78cf0db'
6
+ metadata.gz: 39417c79d2b1c611a7140caa5b985c5cd016bc6909ccb407784deca1e7c988403cfb4bb6477dd53ebffc4b09067e0b5512f35d465fcd9de93c466cf41714648f
7
+ data.tar.gz: b2a00bdfcc2c1081c510b94aa360beb2bf78ccd1655cd634340d85c1c3a485f451aca23cf481c82e6f08ad49717868dc33b6d97d30a4880910b496681e69a218
@@ -1,3 +1,3 @@
1
- <a href="{{ "/" | relative_url }}" class="item">
2
- <i class="fast backward icon"></i>
1
+ <a href="{{ "/" | relative_url }}" class="pagination-link">
2
+ 1
3
3
  </a>
@@ -1,45 +1,21 @@
1
- <footer id="footer" class="ui inverted segment">
2
-
3
- <div class="ui center aligned container">
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/bananaappletw/simplicity/">
7
- <i class="github icon"></i>
8
- simplicity
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
- <i class="github icon"></i>
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>
@@ -12,6 +12,6 @@
12
12
  {% if jekyll.environment == 'production' and site.google_analytics %}
13
13
  {% include google-analytics.html %}
14
14
  {% endif %}
15
- {% css simplicity %}
16
- {% js simplicity %}
15
+ {% css security-onigiri %}
16
+ {% js security-onigiri %}
17
17
  </head>
@@ -1,25 +1,36 @@
1
- <header id="header" class="ui stackable inverted menu">
2
- <div class="left menu">
3
- {% assign default_paths = site.pages | map: "path" %}
4
- {% assign page_paths = site.header_pages | default: default_paths %}
5
- <a class="item ui image" href="{{ "/" | relative_url }}">
6
- </a>
7
- {% if page_paths %}
8
- {% for path in page_paths %}
9
- {% assign my_page = site.pages | where: "path", path | first %}
10
- {% if my_page.title %}
11
- <a class="item" href="{{ my_page.url | relative_url }}">
12
- <i class="{{my_page.icon}} icon"></i>
13
- {{ my_page.title | escape }}
14
- </a>
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
- {% endfor %}
17
- {% endif %}
18
- </div>
19
- <div class="right menu">
20
- <a class="item" href="{{ "/feed.xml" | relative_url }}">
21
- <i class="rss icon"></i>
22
- Subscribe
23
- </a>
24
- </div>
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>
@@ -0,0 +1,9 @@
1
+ <section class="hero">
2
+ <div class="hero-body">
3
+ <div class="container">
4
+ <h1 class="title">
5
+ {{ page.title }}
6
+ </h1>
7
+ </div>
8
+ </div>
9
+ </section>
@@ -1,3 +1,3 @@
1
- <a href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', paginator.total_pages }}" class="item">
2
- <i class="fast forward icon"></i>
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>
@@ -1,3 +1 @@
1
- <a href="{{ paginator.next_page_path }}" class="item">
2
- <i class="right arrow icon"></i>
3
- </a>
1
+ <a href="{{ paginator.next_page_path }}" class="pagination-next">Next page</a>
@@ -7,9 +7,9 @@
7
7
  {% else %}
8
8
  {{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page }}
9
9
  {% endif %}
10
- " class="item
10
+ " class="pagination-link
11
11
  {% if page == paginator.page %}
12
12
 
13
- active
13
+ is-current
14
14
  {% endif %}
15
15
  ">{{ page }}</a>
@@ -1,15 +1,16 @@
1
- <nav class="ui pagination menu">
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>
@@ -1,3 +1 @@
1
- <a href="{{ paginator.previous_page_path }}" class="item">
2
- <i class="left arrow icon"></i>
3
- </a>
1
+ <a href="{{ paginator.previous_page_path }}" class="pagination-previous">Previous</a>
@@ -1,30 +1,53 @@
1
1
  ---
2
- layout: default
2
+ layout: page
3
3
  ---
4
-
5
- <div class="ten wide column">
6
- <article class="ui green raised segment">
7
- <h1 class="header">Posts</h1>
8
- <div class="ui items">
9
- {% for post in paginator.posts %}
10
- <div class="item">
11
- {% assign date_format = site.minima.date_format | default: "%b %-d, %Y" %}
12
- <div class="content">
13
- <a class="header" href="{{ post.url | relative_url }}">
14
- {{ post.title | escape }}
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
- <div class="meta">
17
- {{ post.date | date: date_format }}
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
- {% include paginator.html %}
24
- </article>
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>
@@ -3,7 +3,7 @@
3
3
  {% include head.html %}
4
4
  <body>
5
5
  {% include header.html %}
6
- <main class="ui centered stackable grid">
6
+ <main class="section">
7
7
  {{ content }}
8
8
  </main>
9
9
  {% include footer.html %}
@@ -1,14 +1,6 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
- <div class="fourteen wide column">
5
- <article class="ui green raised segment">
6
- <header>
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 %}
@@ -1,27 +1,49 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
- <div class="ten wide column">
5
- <article class="ui green raised segment">
6
- <header>
7
- <h1 class="header">{{ page.title | escape }}</h1>
8
- <p>
9
- <time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
10
- {% assign date_format = site.minima.date_format | default: "%b %-d, %Y" %}
11
- {{ page.date | date: date_format }}
12
- </time>
13
- {% if page.author %}
14
- <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">{{ page.author }}</span></span>
15
- {% endif %}</p>
16
- </header>
17
-
18
- <div class="ui text">
19
- {{ content }}
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.1
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-03 00:00:00.000000000 Z
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