veryfi 0.1.1 → 0.1.2
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/.github/workflows/test.yml +2 -0
- data/.rubocop.yml +5 -0
- data/Gemfile.lock +46 -31
- data/README.md +8 -258
- data/coverage/coverage-badge.png +0 -0
- data/docs/.gitignore +5 -0
- data/docs/404.html +25 -0
- data/docs/Gemfile +30 -0
- data/docs/Gemfile.lock +282 -0
- data/docs/_config.yml +50 -0
- data/docs/_includes/footer.html +35 -0
- data/docs/_includes/header.html +30 -0
- data/docs/index.markdown +273 -0
- data/lib/veryfi/request.rb +2 -2
- data/lib/veryfi/signature.rb +1 -1
- data/lib/veryfi/version.rb +1 -1
- data/veryfi.gemspec +4 -2
- metadata +43 -6
Binary file
|
data/docs/.gitignore
ADDED
data/docs/404.html
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
---
|
2
|
+
permalink: /404.html
|
3
|
+
layout: default
|
4
|
+
---
|
5
|
+
|
6
|
+
<style type="text/css" media="screen">
|
7
|
+
.container {
|
8
|
+
margin: 10px auto;
|
9
|
+
max-width: 600px;
|
10
|
+
text-align: center;
|
11
|
+
}
|
12
|
+
h1 {
|
13
|
+
margin: 30px 0;
|
14
|
+
font-size: 4em;
|
15
|
+
line-height: 1;
|
16
|
+
letter-spacing: -1px;
|
17
|
+
}
|
18
|
+
</style>
|
19
|
+
|
20
|
+
<div class="container">
|
21
|
+
<h1>404</h1>
|
22
|
+
|
23
|
+
<p><strong>Page not found :(</strong></p>
|
24
|
+
<p>The requested page could not be found.</p>
|
25
|
+
</div>
|
data/docs/Gemfile
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
source "https://rubygems.org"
|
2
|
+
# Hello! This is where you manage which Jekyll version is used to run.
|
3
|
+
# When you want to use a different version, change it below, save the
|
4
|
+
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
|
5
|
+
#
|
6
|
+
# bundle exec jekyll serve
|
7
|
+
#
|
8
|
+
# This will help ensure the proper Jekyll version is running.
|
9
|
+
# Happy Jekylling!
|
10
|
+
gem "jekyll", "3.9.0"
|
11
|
+
# This is the default theme for new Jekyll sites. You may change this to anything you like.
|
12
|
+
gem "minima", "~> 2.5"
|
13
|
+
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
|
14
|
+
# uncomment the line below. To upgrade, run `bundle update github-pages`.
|
15
|
+
gem "github-pages", "~> 219", group: :jekyll_plugins
|
16
|
+
# If you have any plugins, put them here!
|
17
|
+
# group :jekyll_plugins do
|
18
|
+
# gem "jekyll-feed", "~> 0.12"
|
19
|
+
# end
|
20
|
+
|
21
|
+
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
|
22
|
+
# and associated library.
|
23
|
+
platforms :mingw, :x64_mingw, :mswin, :jruby do
|
24
|
+
gem "tzinfo", "~> 1.2"
|
25
|
+
gem "tzinfo-data"
|
26
|
+
end
|
27
|
+
|
28
|
+
# Performance-booster for watching directories on Windows
|
29
|
+
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
|
30
|
+
|
data/docs/Gemfile.lock
ADDED
@@ -0,0 +1,282 @@
|
|
1
|
+
GEM
|
2
|
+
remote: https://rubygems.org/
|
3
|
+
specs:
|
4
|
+
activesupport (6.0.4.1)
|
5
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
6
|
+
i18n (>= 0.7, < 2)
|
7
|
+
minitest (~> 5.1)
|
8
|
+
tzinfo (~> 1.1)
|
9
|
+
zeitwerk (~> 2.2, >= 2.2.2)
|
10
|
+
addressable (2.8.0)
|
11
|
+
public_suffix (>= 2.0.2, < 5.0)
|
12
|
+
coffee-script (2.4.1)
|
13
|
+
coffee-script-source
|
14
|
+
execjs
|
15
|
+
coffee-script-source (1.11.1)
|
16
|
+
colorator (1.1.0)
|
17
|
+
commonmarker (0.17.13)
|
18
|
+
ruby-enum (~> 0.5)
|
19
|
+
concurrent-ruby (1.1.9)
|
20
|
+
dnsruby (1.61.7)
|
21
|
+
simpleidn (~> 0.1)
|
22
|
+
em-websocket (0.5.2)
|
23
|
+
eventmachine (>= 0.12.9)
|
24
|
+
http_parser.rb (~> 0.6.0)
|
25
|
+
ethon (0.14.0)
|
26
|
+
ffi (>= 1.15.0)
|
27
|
+
eventmachine (1.2.7)
|
28
|
+
execjs (2.8.1)
|
29
|
+
faraday (1.7.1)
|
30
|
+
faraday-em_http (~> 1.0)
|
31
|
+
faraday-em_synchrony (~> 1.0)
|
32
|
+
faraday-excon (~> 1.1)
|
33
|
+
faraday-httpclient (~> 1.0.1)
|
34
|
+
faraday-net_http (~> 1.0)
|
35
|
+
faraday-net_http_persistent (~> 1.1)
|
36
|
+
faraday-patron (~> 1.0)
|
37
|
+
faraday-rack (~> 1.0)
|
38
|
+
multipart-post (>= 1.2, < 3)
|
39
|
+
ruby2_keywords (>= 0.0.4)
|
40
|
+
faraday-em_http (1.0.0)
|
41
|
+
faraday-em_synchrony (1.0.0)
|
42
|
+
faraday-excon (1.1.0)
|
43
|
+
faraday-httpclient (1.0.1)
|
44
|
+
faraday-net_http (1.0.1)
|
45
|
+
faraday-net_http_persistent (1.2.0)
|
46
|
+
faraday-patron (1.0.0)
|
47
|
+
faraday-rack (1.0.0)
|
48
|
+
ffi (1.15.3)
|
49
|
+
forwardable-extended (2.6.0)
|
50
|
+
gemoji (3.0.1)
|
51
|
+
github-pages (219)
|
52
|
+
github-pages-health-check (= 1.17.7)
|
53
|
+
jekyll (= 3.9.0)
|
54
|
+
jekyll-avatar (= 0.7.0)
|
55
|
+
jekyll-coffeescript (= 1.1.1)
|
56
|
+
jekyll-commonmark-ghpages (= 0.1.6)
|
57
|
+
jekyll-default-layout (= 0.1.4)
|
58
|
+
jekyll-feed (= 0.15.1)
|
59
|
+
jekyll-gist (= 1.5.0)
|
60
|
+
jekyll-github-metadata (= 2.13.0)
|
61
|
+
jekyll-mentions (= 1.6.0)
|
62
|
+
jekyll-optional-front-matter (= 0.3.2)
|
63
|
+
jekyll-paginate (= 1.1.0)
|
64
|
+
jekyll-readme-index (= 0.3.0)
|
65
|
+
jekyll-redirect-from (= 0.16.0)
|
66
|
+
jekyll-relative-links (= 0.6.1)
|
67
|
+
jekyll-remote-theme (= 0.4.3)
|
68
|
+
jekyll-sass-converter (= 1.5.2)
|
69
|
+
jekyll-seo-tag (= 2.7.1)
|
70
|
+
jekyll-sitemap (= 1.4.0)
|
71
|
+
jekyll-swiss (= 1.0.0)
|
72
|
+
jekyll-theme-architect (= 0.2.0)
|
73
|
+
jekyll-theme-cayman (= 0.2.0)
|
74
|
+
jekyll-theme-dinky (= 0.2.0)
|
75
|
+
jekyll-theme-hacker (= 0.2.0)
|
76
|
+
jekyll-theme-leap-day (= 0.2.0)
|
77
|
+
jekyll-theme-merlot (= 0.2.0)
|
78
|
+
jekyll-theme-midnight (= 0.2.0)
|
79
|
+
jekyll-theme-minimal (= 0.2.0)
|
80
|
+
jekyll-theme-modernist (= 0.2.0)
|
81
|
+
jekyll-theme-primer (= 0.6.0)
|
82
|
+
jekyll-theme-slate (= 0.2.0)
|
83
|
+
jekyll-theme-tactile (= 0.2.0)
|
84
|
+
jekyll-theme-time-machine (= 0.2.0)
|
85
|
+
jekyll-titles-from-headings (= 0.5.3)
|
86
|
+
jemoji (= 0.12.0)
|
87
|
+
kramdown (= 2.3.1)
|
88
|
+
kramdown-parser-gfm (= 1.1.0)
|
89
|
+
liquid (= 4.0.3)
|
90
|
+
mercenary (~> 0.3)
|
91
|
+
minima (= 2.5.1)
|
92
|
+
nokogiri (>= 1.10.4, < 2.0)
|
93
|
+
rouge (= 3.26.0)
|
94
|
+
terminal-table (~> 1.4)
|
95
|
+
github-pages-health-check (1.17.7)
|
96
|
+
addressable (~> 2.3)
|
97
|
+
dnsruby (~> 1.60)
|
98
|
+
octokit (~> 4.0)
|
99
|
+
public_suffix (>= 3.0, < 5.0)
|
100
|
+
typhoeus (~> 1.3)
|
101
|
+
html-pipeline (2.14.0)
|
102
|
+
activesupport (>= 2)
|
103
|
+
nokogiri (>= 1.4)
|
104
|
+
http_parser.rb (0.6.0)
|
105
|
+
i18n (0.9.5)
|
106
|
+
concurrent-ruby (~> 1.0)
|
107
|
+
jekyll (3.9.0)
|
108
|
+
addressable (~> 2.4)
|
109
|
+
colorator (~> 1.0)
|
110
|
+
em-websocket (~> 0.5)
|
111
|
+
i18n (~> 0.7)
|
112
|
+
jekyll-sass-converter (~> 1.0)
|
113
|
+
jekyll-watch (~> 2.0)
|
114
|
+
kramdown (>= 1.17, < 3)
|
115
|
+
liquid (~> 4.0)
|
116
|
+
mercenary (~> 0.3.3)
|
117
|
+
pathutil (~> 0.9)
|
118
|
+
rouge (>= 1.7, < 4)
|
119
|
+
safe_yaml (~> 1.0)
|
120
|
+
jekyll-avatar (0.7.0)
|
121
|
+
jekyll (>= 3.0, < 5.0)
|
122
|
+
jekyll-coffeescript (1.1.1)
|
123
|
+
coffee-script (~> 2.2)
|
124
|
+
coffee-script-source (~> 1.11.1)
|
125
|
+
jekyll-commonmark (1.3.1)
|
126
|
+
commonmarker (~> 0.14)
|
127
|
+
jekyll (>= 3.7, < 5.0)
|
128
|
+
jekyll-commonmark-ghpages (0.1.6)
|
129
|
+
commonmarker (~> 0.17.6)
|
130
|
+
jekyll-commonmark (~> 1.2)
|
131
|
+
rouge (>= 2.0, < 4.0)
|
132
|
+
jekyll-default-layout (0.1.4)
|
133
|
+
jekyll (~> 3.0)
|
134
|
+
jekyll-feed (0.15.1)
|
135
|
+
jekyll (>= 3.7, < 5.0)
|
136
|
+
jekyll-gist (1.5.0)
|
137
|
+
octokit (~> 4.2)
|
138
|
+
jekyll-github-metadata (2.13.0)
|
139
|
+
jekyll (>= 3.4, < 5.0)
|
140
|
+
octokit (~> 4.0, != 4.4.0)
|
141
|
+
jekyll-mentions (1.6.0)
|
142
|
+
html-pipeline (~> 2.3)
|
143
|
+
jekyll (>= 3.7, < 5.0)
|
144
|
+
jekyll-optional-front-matter (0.3.2)
|
145
|
+
jekyll (>= 3.0, < 5.0)
|
146
|
+
jekyll-paginate (1.1.0)
|
147
|
+
jekyll-readme-index (0.3.0)
|
148
|
+
jekyll (>= 3.0, < 5.0)
|
149
|
+
jekyll-redirect-from (0.16.0)
|
150
|
+
jekyll (>= 3.3, < 5.0)
|
151
|
+
jekyll-relative-links (0.6.1)
|
152
|
+
jekyll (>= 3.3, < 5.0)
|
153
|
+
jekyll-remote-theme (0.4.3)
|
154
|
+
addressable (~> 2.0)
|
155
|
+
jekyll (>= 3.5, < 5.0)
|
156
|
+
jekyll-sass-converter (>= 1.0, <= 3.0.0, != 2.0.0)
|
157
|
+
rubyzip (>= 1.3.0, < 3.0)
|
158
|
+
jekyll-sass-converter (1.5.2)
|
159
|
+
sass (~> 3.4)
|
160
|
+
jekyll-seo-tag (2.7.1)
|
161
|
+
jekyll (>= 3.8, < 5.0)
|
162
|
+
jekyll-sitemap (1.4.0)
|
163
|
+
jekyll (>= 3.7, < 5.0)
|
164
|
+
jekyll-swiss (1.0.0)
|
165
|
+
jekyll-theme-architect (0.2.0)
|
166
|
+
jekyll (> 3.5, < 5.0)
|
167
|
+
jekyll-seo-tag (~> 2.0)
|
168
|
+
jekyll-theme-cayman (0.2.0)
|
169
|
+
jekyll (> 3.5, < 5.0)
|
170
|
+
jekyll-seo-tag (~> 2.0)
|
171
|
+
jekyll-theme-dinky (0.2.0)
|
172
|
+
jekyll (> 3.5, < 5.0)
|
173
|
+
jekyll-seo-tag (~> 2.0)
|
174
|
+
jekyll-theme-hacker (0.2.0)
|
175
|
+
jekyll (> 3.5, < 5.0)
|
176
|
+
jekyll-seo-tag (~> 2.0)
|
177
|
+
jekyll-theme-leap-day (0.2.0)
|
178
|
+
jekyll (> 3.5, < 5.0)
|
179
|
+
jekyll-seo-tag (~> 2.0)
|
180
|
+
jekyll-theme-merlot (0.2.0)
|
181
|
+
jekyll (> 3.5, < 5.0)
|
182
|
+
jekyll-seo-tag (~> 2.0)
|
183
|
+
jekyll-theme-midnight (0.2.0)
|
184
|
+
jekyll (> 3.5, < 5.0)
|
185
|
+
jekyll-seo-tag (~> 2.0)
|
186
|
+
jekyll-theme-minimal (0.2.0)
|
187
|
+
jekyll (> 3.5, < 5.0)
|
188
|
+
jekyll-seo-tag (~> 2.0)
|
189
|
+
jekyll-theme-modernist (0.2.0)
|
190
|
+
jekyll (> 3.5, < 5.0)
|
191
|
+
jekyll-seo-tag (~> 2.0)
|
192
|
+
jekyll-theme-primer (0.6.0)
|
193
|
+
jekyll (> 3.5, < 5.0)
|
194
|
+
jekyll-github-metadata (~> 2.9)
|
195
|
+
jekyll-seo-tag (~> 2.0)
|
196
|
+
jekyll-theme-slate (0.2.0)
|
197
|
+
jekyll (> 3.5, < 5.0)
|
198
|
+
jekyll-seo-tag (~> 2.0)
|
199
|
+
jekyll-theme-tactile (0.2.0)
|
200
|
+
jekyll (> 3.5, < 5.0)
|
201
|
+
jekyll-seo-tag (~> 2.0)
|
202
|
+
jekyll-theme-time-machine (0.2.0)
|
203
|
+
jekyll (> 3.5, < 5.0)
|
204
|
+
jekyll-seo-tag (~> 2.0)
|
205
|
+
jekyll-titles-from-headings (0.5.3)
|
206
|
+
jekyll (>= 3.3, < 5.0)
|
207
|
+
jekyll-watch (2.2.1)
|
208
|
+
listen (~> 3.0)
|
209
|
+
jemoji (0.12.0)
|
210
|
+
gemoji (~> 3.0)
|
211
|
+
html-pipeline (~> 2.2)
|
212
|
+
jekyll (>= 3.0, < 5.0)
|
213
|
+
kramdown (2.3.1)
|
214
|
+
rexml
|
215
|
+
kramdown-parser-gfm (1.1.0)
|
216
|
+
kramdown (~> 2.0)
|
217
|
+
liquid (4.0.3)
|
218
|
+
listen (3.7.0)
|
219
|
+
rb-fsevent (~> 0.10, >= 0.10.3)
|
220
|
+
rb-inotify (~> 0.9, >= 0.9.10)
|
221
|
+
mercenary (0.3.6)
|
222
|
+
minima (2.5.1)
|
223
|
+
jekyll (>= 3.5, < 5.0)
|
224
|
+
jekyll-feed (~> 0.9)
|
225
|
+
jekyll-seo-tag (~> 2.1)
|
226
|
+
minitest (5.14.4)
|
227
|
+
multipart-post (2.1.1)
|
228
|
+
nokogiri (1.12.4-x86_64-darwin)
|
229
|
+
racc (~> 1.4)
|
230
|
+
octokit (4.21.0)
|
231
|
+
faraday (>= 0.9)
|
232
|
+
sawyer (~> 0.8.0, >= 0.5.3)
|
233
|
+
pathutil (0.16.2)
|
234
|
+
forwardable-extended (~> 2.6)
|
235
|
+
public_suffix (4.0.6)
|
236
|
+
racc (1.5.2)
|
237
|
+
rb-fsevent (0.11.0)
|
238
|
+
rb-inotify (0.10.1)
|
239
|
+
ffi (~> 1.0)
|
240
|
+
rexml (3.2.5)
|
241
|
+
rouge (3.26.0)
|
242
|
+
ruby-enum (0.9.0)
|
243
|
+
i18n
|
244
|
+
ruby2_keywords (0.0.5)
|
245
|
+
rubyzip (2.3.2)
|
246
|
+
safe_yaml (1.0.5)
|
247
|
+
sass (3.7.4)
|
248
|
+
sass-listen (~> 4.0.0)
|
249
|
+
sass-listen (4.0.0)
|
250
|
+
rb-fsevent (~> 0.9, >= 0.9.4)
|
251
|
+
rb-inotify (~> 0.9, >= 0.9.7)
|
252
|
+
sawyer (0.8.2)
|
253
|
+
addressable (>= 2.3.5)
|
254
|
+
faraday (> 0.8, < 2.0)
|
255
|
+
simpleidn (0.2.1)
|
256
|
+
unf (~> 0.1.4)
|
257
|
+
terminal-table (1.8.0)
|
258
|
+
unicode-display_width (~> 1.1, >= 1.1.1)
|
259
|
+
thread_safe (0.3.6)
|
260
|
+
typhoeus (1.4.0)
|
261
|
+
ethon (>= 0.9.0)
|
262
|
+
tzinfo (1.2.9)
|
263
|
+
thread_safe (~> 0.1)
|
264
|
+
unf (0.1.4)
|
265
|
+
unf_ext
|
266
|
+
unf_ext (0.0.7.7)
|
267
|
+
unicode-display_width (1.7.0)
|
268
|
+
zeitwerk (2.4.2)
|
269
|
+
|
270
|
+
PLATFORMS
|
271
|
+
x86_64-darwin-19
|
272
|
+
|
273
|
+
DEPENDENCIES
|
274
|
+
github-pages (~> 219)
|
275
|
+
jekyll (= 3.9.0)
|
276
|
+
minima (~> 2.5)
|
277
|
+
tzinfo (~> 1.2)
|
278
|
+
tzinfo-data
|
279
|
+
wdm (~> 0.1.1)
|
280
|
+
|
281
|
+
BUNDLED WITH
|
282
|
+
2.2.26
|
data/docs/_config.yml
ADDED
@@ -0,0 +1,50 @@
|
|
1
|
+
# Welcome to Jekyll!
|
2
|
+
#
|
3
|
+
# This config file is meant for settings that affect your whole blog, values
|
4
|
+
# which you are expected to set up once and rarely edit after that. If you find
|
5
|
+
# yourself editing this file very often, consider using Jekyll's data files
|
6
|
+
# feature for the data you need to update frequently.
|
7
|
+
#
|
8
|
+
# For technical reasons, this file is *NOT* reloaded automatically when you use
|
9
|
+
# 'bundle exec jekyll serve'. If you change this file, please restart the server process.
|
10
|
+
#
|
11
|
+
# If you need help with YAML syntax, here are some quick references for you:
|
12
|
+
# https://learn-the-web.algonquindesign.ca/topics/markdown-yaml-cheat-sheet/#yaml
|
13
|
+
# https://learnxinyminutes.com/docs/yaml/
|
14
|
+
#
|
15
|
+
# Site settings
|
16
|
+
# These are used to personalize your new site. If you look in the HTML files,
|
17
|
+
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
|
18
|
+
# You can create any custom variable you would like, and they will be accessible
|
19
|
+
# in the templates via {{ site.myvariable }}.
|
20
|
+
|
21
|
+
title: Veryfi Ruby SDK
|
22
|
+
email: support@veryfi.com
|
23
|
+
description: >- # this means to ignore newlines until "baseurl:"
|
24
|
+
Veryfi is a Ruby gem for communicating with the Veryfi OCR API
|
25
|
+
baseurl: "/veryfi-ruby" # the subpath of your site, e.g. /blog
|
26
|
+
url: "https://skdev.info" # the base hostname & protocol for your site, e.g. http://example.com
|
27
|
+
github_username: veryfi
|
28
|
+
markdown: kramdown
|
29
|
+
# Build settings
|
30
|
+
theme: minima
|
31
|
+
|
32
|
+
# Exclude from processing.
|
33
|
+
# The following items will not be processed, by default.
|
34
|
+
# Any item listed under the `exclude:` key here will be automatically added to
|
35
|
+
# the internal "default list".
|
36
|
+
#
|
37
|
+
# Excluded items can be processed by explicitly listing the directories or
|
38
|
+
# their entries' file path in the `include:` list.
|
39
|
+
#
|
40
|
+
# exclude:
|
41
|
+
# - .sass-cache/
|
42
|
+
# - .jekyll-cache/
|
43
|
+
# - gemfiles/
|
44
|
+
# - Gemfile
|
45
|
+
# - Gemfile.lock
|
46
|
+
# - node_modules/
|
47
|
+
# - vendor/bundle/
|
48
|
+
# - vendor/cache/
|
49
|
+
# - vendor/gems/
|
50
|
+
# - vendor/ruby/
|
@@ -0,0 +1,35 @@
|
|
1
|
+
<footer class="site-footer h-card">
|
2
|
+
<data class="u-url" href="{{ "/" | relative_url }}"></data>
|
3
|
+
|
4
|
+
<div class="wrapper">
|
5
|
+
|
6
|
+
<div class="footer-col-wrapper">
|
7
|
+
<div class="footer-col footer-col-1">
|
8
|
+
<ul class="contact-list">
|
9
|
+
<li class="p-name">
|
10
|
+
{%- if site.author -%}
|
11
|
+
{{ site.author | escape }}
|
12
|
+
{%- else -%}
|
13
|
+
{{ site.title | escape }}
|
14
|
+
{%- endif -%}
|
15
|
+
</li>
|
16
|
+
{%- if site.email -%}
|
17
|
+
<li><a class="u-email" href="mailto:{{ site.email }}">{{ site.email }}</a></li>
|
18
|
+
{%- endif -%}
|
19
|
+
</ul>
|
20
|
+
</div>
|
21
|
+
|
22
|
+
<div class="footer-col footer-col-2">
|
23
|
+
{%- include social.html -%}
|
24
|
+
</div>
|
25
|
+
|
26
|
+
<div class="footer-col footer-col-3">
|
27
|
+
<p>
|
28
|
+
Veryfi is a Ruby gem for communicating with the <a href="https://veryfi.com/api/">Veryfi OCR API</a>
|
29
|
+
</p>
|
30
|
+
</div>
|
31
|
+
</div>
|
32
|
+
|
33
|
+
</div>
|
34
|
+
|
35
|
+
</footer>
|
@@ -0,0 +1,30 @@
|
|
1
|
+
<header class="site-header" role="banner">
|
2
|
+
|
3
|
+
<div class="wrapper">
|
4
|
+
{%- assign default_paths = site.pages | map: "path" -%}
|
5
|
+
{%- assign page_paths = site.header_pages | default: default_paths -%}
|
6
|
+
<a class="site-title" rel="author" href="{{ "https://github.com/slavakisel/veryfi-ruby" | relative_url }}">{{ site.title | escape }}</a>
|
7
|
+
|
8
|
+
{%- if page_paths -%}
|
9
|
+
<nav class="site-nav">
|
10
|
+
<input type="checkbox" id="nav-trigger" class="nav-trigger" />
|
11
|
+
<label for="nav-trigger">
|
12
|
+
<span class="menu-icon">
|
13
|
+
<svg viewBox="0 0 18 15" width="18px" height="15px">
|
14
|
+
<path d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.032C17.335,0,18,0.665,18,1.484L18,1.484z M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.032C17.335,6.031,18,6.696,18,7.516L18,7.516z M18,13.516C18,14.335,17.335,15,16.516,15H1.484 C0.665,15,0,14.335,0,13.516l0,0c0-0.82,0.665-1.483,1.484-1.483h15.032C17.335,12.031,18,12.695,18,13.516L18,13.516z"/>
|
15
|
+
</svg>
|
16
|
+
</span>
|
17
|
+
</label>
|
18
|
+
|
19
|
+
<div class="trigger">
|
20
|
+
{%- for path in page_paths -%}
|
21
|
+
{%- assign my_page = site.pages | where: "path", path | first -%}
|
22
|
+
{%- if my_page.title -%}
|
23
|
+
<a class="page-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
|
24
|
+
{%- endif -%}
|
25
|
+
{%- endfor -%}
|
26
|
+
</div>
|
27
|
+
</nav>
|
28
|
+
{%- endif -%}
|
29
|
+
</div>
|
30
|
+
</header>
|