frame9-jekyll-theme 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +39 -0
- data/_config.yml +85 -0
- data/_includes/banner.html +5 -0
- data/_includes/custom_head.html +0 -0
- data/_includes/fonts.html +4 -0
- data/_includes/footer.html +17 -0
- data/_includes/gallery.html +17 -0
- data/_includes/gallery_item.html +24 -0
- data/_includes/head.html +27 -0
- data/_includes/header.html +42 -0
- data/_includes/image.html +5 -0
- data/_includes/section.html +6 -0
- data/_includes/siblings.html +41 -0
- data/_layouts/default.html +7 -0
- data/_layouts/post.html +9 -0
- data/_layouts/root.html +31 -0
- data/_layouts/section.html +2 -0
- data/_sass/block/banner.sass +28 -0
- data/_sass/block/footer.sass +2 -0
- data/_sass/block/gallery.sass +14 -0
- data/_sass/block/img-wrap.sass +81 -0
- data/_sass/block/logo.sass +20 -0
- data/_sass/block/menu.sass +27 -0
- data/_sass/block/root-layout.sass +43 -0
- data/_sass/block/sibling-nav.sass +30 -0
- data/_sass/composition/action.sass +35 -0
- data/_sass/composition/code.scss +20 -0
- data/_sass/composition/normalize.sass +12 -0
- data/_sass/composition/size.sass +5 -0
- data/_sass/composition/table.sass +13 -0
- data/_sass/composition/text.sass +6 -0
- data/_sass/composition/theme.sass +8 -0
- data/_sass/exception/img-wrap.sass +34 -0
- data/_sass/frame9-jekyll-theme.sass +43 -0
- data/_sass/gorko-config.scss +79 -0
- data/_sass/theme/colors.scss +108 -0
- data/_sass/theme/font.scss +32 -0
- data/_sass/theme/monokai.scss +70 -0
- data/_sass/utility/bleed.sass +10 -0
- data/_sass/utility/box.sass +32 -0
- data/_sass/utility/columns.sass +3 -0
- data/_sass/utility/shadow.sass +13 -0
- data/assets/404.html +25 -0
- data/assets/css/style.sass +7 -0
- data/assets/img/avatar.png +0 -0
- data/assets/js/main.js +5 -0
- data/assets/js/openGallery.js +50 -0
- data/package.json +22 -0
- metadata +180 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: b764b742e20344094da97cbf47e78d534d9f0010ba2435b1b83dfc4dec2f327d
|
4
|
+
data.tar.gz: b244b7a6854cd14c2040a11bdb014b8c0b5f51b3594eb1bf40e2392fa2921fcc
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: d965e6aa8950311c10da924b2479f9bed3868f558459b2abfee92af36242883d8972c520defe9bf00c8174685805f0cfb31b52f25d233630e962def0a11c4c48
|
7
|
+
data.tar.gz: 05c6d54c9107cdffe40e25e554ed7ae41368f6af4a9bc865daf5084dabc71795a8d774057650b1058b37cc19dfbfb4480041eb10c776ea36dcb667d94a61f48c
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2021 opsaaaaa
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
# Frame9::Jekyll::Theme
|
2
|
+
|
3
|
+
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/frame9/jekyll/theme`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
|
+
|
5
|
+
TODO: Delete this and the text above, and describe your gem
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
Add this line to your application's Gemfile:
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem 'frame9-jekyll-theme'
|
13
|
+
```
|
14
|
+
|
15
|
+
And then execute:
|
16
|
+
|
17
|
+
$ bundle install
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
|
21
|
+
$ gem install frame9-jekyll-theme
|
22
|
+
|
23
|
+
## Usage
|
24
|
+
|
25
|
+
TODO: Write usage instructions here
|
26
|
+
|
27
|
+
## Development
|
28
|
+
|
29
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
30
|
+
|
31
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
32
|
+
|
33
|
+
## Contributing
|
34
|
+
|
35
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/frame9-jekyll-theme.
|
36
|
+
|
37
|
+
## License
|
38
|
+
|
39
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
data/_config.yml
ADDED
@@ -0,0 +1,85 @@
|
|
1
|
+
title: Frame 9!
|
2
|
+
email: your-email@example.com
|
3
|
+
description: >-
|
4
|
+
A simple multipurpose 9 frame gallery theme for jekyll
|
5
|
+
tagline: >-
|
6
|
+
The 9 frame gallery theme for jekyll
|
7
|
+
baseurl: ""
|
8
|
+
url: "frame9.codekarma.com"
|
9
|
+
|
10
|
+
twitter:
|
11
|
+
username: codekarmadev
|
12
|
+
card: summary
|
13
|
+
|
14
|
+
twitter_username: codekarmadev
|
15
|
+
github_username: CodeKarmaDev
|
16
|
+
|
17
|
+
theme: frame9-jekyll-theme
|
18
|
+
|
19
|
+
frame9:
|
20
|
+
show_current_tab: false
|
21
|
+
avatar: 'assets/img/avatar.png'
|
22
|
+
footer_links:
|
23
|
+
- title: Github
|
24
|
+
url: 'https://github.com/CodeKarmaDev/frame9-jekyll-theme'
|
25
|
+
|
26
|
+
|
27
|
+
plugins:
|
28
|
+
- jekyll-feed
|
29
|
+
- jekyll-seo-tag
|
30
|
+
|
31
|
+
|
32
|
+
sass:
|
33
|
+
load_paths:
|
34
|
+
- _sass
|
35
|
+
- node_modules
|
36
|
+
style: compressed
|
37
|
+
|
38
|
+
|
39
|
+
collections:
|
40
|
+
sections:
|
41
|
+
output: false
|
42
|
+
tabs:
|
43
|
+
sort_by: order
|
44
|
+
output: true
|
45
|
+
permalink: /:name/
|
46
|
+
|
47
|
+
defaults:
|
48
|
+
- scope:
|
49
|
+
path: ''
|
50
|
+
type: section
|
51
|
+
values:
|
52
|
+
layout: section
|
53
|
+
|
54
|
+
- scope:
|
55
|
+
path: ''
|
56
|
+
type: posts
|
57
|
+
values:
|
58
|
+
layout: post
|
59
|
+
show_sibling_nav: true
|
60
|
+
|
61
|
+
- scope:
|
62
|
+
path: ''
|
63
|
+
type: tabs
|
64
|
+
values:
|
65
|
+
layout: default
|
66
|
+
|
67
|
+
|
68
|
+
exclude:
|
69
|
+
- graphics
|
70
|
+
- .gitignore
|
71
|
+
- .sass-cache/
|
72
|
+
- .jekyll-cache/
|
73
|
+
- gemfiles/
|
74
|
+
- Gemfile
|
75
|
+
- Gemfile.lock
|
76
|
+
- node_modules/
|
77
|
+
- vendor/bundle/
|
78
|
+
- vendor/cache/
|
79
|
+
- vendor/gems/
|
80
|
+
- vendor/ruby/
|
81
|
+
- package-lock.json
|
82
|
+
- package.json
|
83
|
+
- frame9-jekyll-theme.gemspec
|
84
|
+
- lib
|
85
|
+
|
File without changes
|
@@ -0,0 +1,4 @@
|
|
1
|
+
|
2
|
+
<link rel="preconnect" href="https://fonts.googleapis.com">
|
3
|
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
4
|
+
<link href="https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Poppins:ital,wght@0,100;0,300;0,400;0,700;1,400&display=swap" rel="stylesheet">
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<footer class="l-footer footer">
|
2
|
+
<div class="columns">
|
3
|
+
<ul>
|
4
|
+
{% for link_ in site.frame9.footer_links %}
|
5
|
+
<li>
|
6
|
+
<a
|
7
|
+
target="_blank"
|
8
|
+
href="{{ link_.url }}"
|
9
|
+
>{{ link_.title }}
|
10
|
+
|
11
|
+
</a>
|
12
|
+
</li>
|
13
|
+
{% endfor %}
|
14
|
+
</div>
|
15
|
+
|
16
|
+
</ul>
|
17
|
+
</footer>
|
@@ -0,0 +1,17 @@
|
|
1
|
+
{% assign limit = include.limit %}
|
2
|
+
|
3
|
+
{% unless limit %}
|
4
|
+
{% assign limit = 9 %}
|
5
|
+
{% endunless %}
|
6
|
+
|
7
|
+
|
8
|
+
<div class="gallery bleed">
|
9
|
+
|
10
|
+
{% for _item in include.items limit: limit %}
|
11
|
+
|
12
|
+
{% include gallery_item.html item=_item openable=include.openable viewer=include.viewer class=include.class %}
|
13
|
+
|
14
|
+
{% endfor %}
|
15
|
+
|
16
|
+
</div>
|
17
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
<div
|
2
|
+
{% if include.viewer %}viewer {% endif %}
|
3
|
+
{% if include.openable %}openable {% endif %}
|
4
|
+
class="img-wrap fill-gallery box-shadow-sm {{ include.class }}">
|
5
|
+
|
6
|
+
{% include image.html alt=include.item.alt src=include.item.image %}
|
7
|
+
|
8
|
+
{% if include.openable %}
|
9
|
+
<a
|
10
|
+
href="{{ include.item.url | relative_url }}"
|
11
|
+
class="scribe-white"
|
12
|
+
>
|
13
|
+
<div>
|
14
|
+
{% if include.item.summery %}
|
15
|
+
{{ include.item.summery | markdownify }}
|
16
|
+
{% else %}
|
17
|
+
<h3>{{ include.item.title }}</h3>
|
18
|
+
{{ include.item.excerpt }}
|
19
|
+
{% endif %}
|
20
|
+
</div>
|
21
|
+
</a>
|
22
|
+
{% endif %}
|
23
|
+
|
24
|
+
</div>
|
data/_includes/head.html
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
<meta
|
2
|
+
name="viewport"
|
3
|
+
content="width=device-width, initial-scale=1"
|
4
|
+
/>
|
5
|
+
|
6
|
+
<meta
|
7
|
+
http-equiv="Content-Type"
|
8
|
+
content="text/html; charset=UTF-8"
|
9
|
+
/>
|
10
|
+
|
11
|
+
<link
|
12
|
+
rel="stylesheet"
|
13
|
+
href={{ "/assets/css/style.css" | relative_url }}
|
14
|
+
/>
|
15
|
+
|
16
|
+
<script
|
17
|
+
type="module"
|
18
|
+
src="{{ '/assets/js/main.js' | relative_url }}"
|
19
|
+
></script>
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
{% seo %}
|
24
|
+
|
25
|
+
{% include custom_head.html %}
|
26
|
+
{% include fonts.html %}
|
27
|
+
|
@@ -0,0 +1,42 @@
|
|
1
|
+
|
2
|
+
<header class="l-header">
|
3
|
+
<div class='l-logo'>
|
4
|
+
<a
|
5
|
+
class="logo"
|
6
|
+
href="/">
|
7
|
+
<img
|
8
|
+
class="drop-shadow"
|
9
|
+
src="{{ site.frame9.avatar | relative_url }}"
|
10
|
+
alt="{{ site.title }}"
|
11
|
+
>
|
12
|
+
</a>
|
13
|
+
</div>
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
<nav class="menu text-shadow">
|
18
|
+
{% for tab in site.tabs %}
|
19
|
+
{% assign show_tab = site.frame9.show_current_tab %}
|
20
|
+
{% if show_tab == false %}
|
21
|
+
{% if page.url == tab.url %}
|
22
|
+
{% assign show_tab = false %}
|
23
|
+
{% else %}
|
24
|
+
{% assign show_tab = true %}
|
25
|
+
{% endif %}
|
26
|
+
{% endif %}
|
27
|
+
|
28
|
+
{% if show_tab %}
|
29
|
+
<a
|
30
|
+
{% if page.url == tab.url %}active{% endif %}
|
31
|
+
class="h2 scribe-invert"
|
32
|
+
href="{{ tab.url }}"
|
33
|
+
>{{ tab.title }}
|
34
|
+
</a>
|
35
|
+
{%endif%}
|
36
|
+
|
37
|
+
{% endfor %}
|
38
|
+
</nav>
|
39
|
+
|
40
|
+
|
41
|
+
</header>
|
42
|
+
|
@@ -0,0 +1,41 @@
|
|
1
|
+
|
2
|
+
{% if page.show_sibling_nav %}
|
3
|
+
<nav class="sibling-nav hbox ">
|
4
|
+
|
5
|
+
|
6
|
+
{% if page.previous %}
|
7
|
+
<div class="previous">
|
8
|
+
<a
|
9
|
+
class="sibling-btn"
|
10
|
+
href="{{ page.previous.url }}"
|
11
|
+
>
|
12
|
+
<label>
|
13
|
+
Previous:
|
14
|
+
</label>
|
15
|
+
<strong>
|
16
|
+
{{ page.previous.title }}
|
17
|
+
</strong>
|
18
|
+
</a>
|
19
|
+
</div>
|
20
|
+
{% endif %}
|
21
|
+
|
22
|
+
{% if page.next %}
|
23
|
+
<div class="next">
|
24
|
+
|
25
|
+
<a
|
26
|
+
class="sibling-btn"
|
27
|
+
href="{{ page.next.url }}"
|
28
|
+
>
|
29
|
+
<label>
|
30
|
+
Next:
|
31
|
+
</label>
|
32
|
+
<strong>
|
33
|
+
{{ page.next.title }}
|
34
|
+
</strong>
|
35
|
+
</a>
|
36
|
+
</div>
|
37
|
+
|
38
|
+
{% endif %}
|
39
|
+
|
40
|
+
</nav>
|
41
|
+
{% endif %}
|
data/_layouts/post.html
ADDED
data/_layouts/root.html
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
<!DOCTYPE html>
|
4
|
+
|
5
|
+
<html>
|
6
|
+
<head>
|
7
|
+
{% include head.html %}
|
8
|
+
</head>
|
9
|
+
|
10
|
+
<body class='root-layout fill-main-b scribe-main'>
|
11
|
+
|
12
|
+
{% include banner.html %}
|
13
|
+
|
14
|
+
{% include header.html %}
|
15
|
+
|
16
|
+
<main class="l-content l-main fill-main box-shadow">
|
17
|
+
{{ content }}
|
18
|
+
</main>
|
19
|
+
|
20
|
+
{% for section_title in page.sub_sections %}
|
21
|
+
<div class="l-content fill-main box-shadow">
|
22
|
+
<div class="box">
|
23
|
+
{% assign section_page = site.sections | find: 'title', section_title %}
|
24
|
+
{{ section_page.output }}
|
25
|
+
</div>
|
26
|
+
</div>
|
27
|
+
{% endfor %}
|
28
|
+
|
29
|
+
{% include footer.html %}
|
30
|
+
</body>
|
31
|
+
</html>
|
@@ -0,0 +1,28 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
.banner
|
4
|
+
|
5
|
+
height: 100vh
|
6
|
+
@include media-query('md')
|
7
|
+
height: 80vh
|
8
|
+
|
9
|
+
overflow: hidden
|
10
|
+
|
11
|
+
background-image: url(#{$banner-url})
|
12
|
+
background-size: cover
|
13
|
+
background-repeat: no-repeat
|
14
|
+
background-position: center center
|
15
|
+
|
16
|
+
.banner
|
17
|
+
z-index: -1
|
18
|
+
position: relative
|
19
|
+
|
20
|
+
.banner::after
|
21
|
+
position: absolute
|
22
|
+
top: 0
|
23
|
+
left: 0
|
24
|
+
width: 100%
|
25
|
+
height: 100%
|
26
|
+
content: ''
|
27
|
+
z-index: 0
|
28
|
+
background-color: var(--fill-overlay)
|