├── Gemfile ├── preview.gif ├── previewDark.gif ├── previewButtons.png ├── previewResponsive.gif ├── _layouts ├── page.html ├── default.html ├── home.html ├── category.html └── post.html ├── assets ├── fonts │ ├── Roboto-Bold.ttf │ ├── Roboto-Bold.woff │ ├── Roboto-Bold.woff2 │ ├── Roboto-Regular.ttf │ ├── Roboto-Regular.woff │ ├── Roboto-Regular.woff2 │ ├── RobotoMono-Bold.ttf │ ├── RobotoMono-Bold.woff │ ├── RobotoSlab-Bold.ttf │ ├── RobotoSlab-Bold.woff │ ├── RobotoMono-Bold.woff2 │ ├── RobotoMono-Regular.ttf │ ├── RobotoSlab-Bold.woff2 │ ├── RobotoSlab-Regular.ttf │ ├── RobotoMono-Regular.woff │ ├── RobotoMono-Regular.woff2 │ ├── RobotoSlab-Regular.woff │ ├── RobotoSlab-Regular.woff2 │ └── fonts.css ├── img │ └── icons │ │ ├── arrow_left.svg │ │ ├── arrow_right.svg │ │ └── simplex_logo.svg ├── js │ ├── tools.js │ ├── lity.min.css │ ├── lity.min.js │ └── jquery.slim.min.js └── style.scss ├── _sass ├── _index.scss ├── _page.scss ├── _footer.scss ├── _mixins.scss ├── _global.scss ├── _post.scss ├── _feed.scss ├── _header.scss └── _variables.scss ├── .gitignore ├── _includes ├── scripts.html ├── footer.html ├── header.html ├── nav.html ├── head.html └── snippet.html ├── _config.yml ├── jekyll-theme-simplex.gemspec ├── _plugins └── button.rb ├── LICENSE.txt └── README.md /Gemfile: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | source "https://rubygems.org" 4 | gemspec 5 | -------------------------------------------------------------------------------- /preview.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreondra/jekyll-theme-simplex/HEAD/preview.gif -------------------------------------------------------------------------------- /previewDark.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreondra/jekyll-theme-simplex/HEAD/previewDark.gif -------------------------------------------------------------------------------- /previewButtons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreondra/jekyll-theme-simplex/HEAD/previewButtons.png -------------------------------------------------------------------------------- /previewResponsive.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreondra/jekyll-theme-simplex/HEAD/previewResponsive.gif -------------------------------------------------------------------------------- /_layouts/page.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | --- 4 | 5 |
6 | {{ content }} 7 |
8 | -------------------------------------------------------------------------------- /assets/fonts/Roboto-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreondra/jekyll-theme-simplex/HEAD/assets/fonts/Roboto-Bold.ttf -------------------------------------------------------------------------------- /assets/fonts/Roboto-Bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreondra/jekyll-theme-simplex/HEAD/assets/fonts/Roboto-Bold.woff -------------------------------------------------------------------------------- /assets/fonts/Roboto-Bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreondra/jekyll-theme-simplex/HEAD/assets/fonts/Roboto-Bold.woff2 -------------------------------------------------------------------------------- /assets/fonts/Roboto-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreondra/jekyll-theme-simplex/HEAD/assets/fonts/Roboto-Regular.ttf -------------------------------------------------------------------------------- /assets/fonts/Roboto-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreondra/jekyll-theme-simplex/HEAD/assets/fonts/Roboto-Regular.woff -------------------------------------------------------------------------------- /assets/fonts/Roboto-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreondra/jekyll-theme-simplex/HEAD/assets/fonts/Roboto-Regular.woff2 -------------------------------------------------------------------------------- /assets/fonts/RobotoMono-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreondra/jekyll-theme-simplex/HEAD/assets/fonts/RobotoMono-Bold.ttf -------------------------------------------------------------------------------- /assets/fonts/RobotoMono-Bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreondra/jekyll-theme-simplex/HEAD/assets/fonts/RobotoMono-Bold.woff -------------------------------------------------------------------------------- /assets/fonts/RobotoSlab-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreondra/jekyll-theme-simplex/HEAD/assets/fonts/RobotoSlab-Bold.ttf -------------------------------------------------------------------------------- /assets/fonts/RobotoSlab-Bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreondra/jekyll-theme-simplex/HEAD/assets/fonts/RobotoSlab-Bold.woff -------------------------------------------------------------------------------- /assets/fonts/RobotoMono-Bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreondra/jekyll-theme-simplex/HEAD/assets/fonts/RobotoMono-Bold.woff2 -------------------------------------------------------------------------------- /assets/fonts/RobotoMono-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreondra/jekyll-theme-simplex/HEAD/assets/fonts/RobotoMono-Regular.ttf -------------------------------------------------------------------------------- /assets/fonts/RobotoSlab-Bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreondra/jekyll-theme-simplex/HEAD/assets/fonts/RobotoSlab-Bold.woff2 -------------------------------------------------------------------------------- /assets/fonts/RobotoSlab-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreondra/jekyll-theme-simplex/HEAD/assets/fonts/RobotoSlab-Regular.ttf -------------------------------------------------------------------------------- /assets/fonts/RobotoMono-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreondra/jekyll-theme-simplex/HEAD/assets/fonts/RobotoMono-Regular.woff -------------------------------------------------------------------------------- /assets/fonts/RobotoMono-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreondra/jekyll-theme-simplex/HEAD/assets/fonts/RobotoMono-Regular.woff2 -------------------------------------------------------------------------------- /assets/fonts/RobotoSlab-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreondra/jekyll-theme-simplex/HEAD/assets/fonts/RobotoSlab-Regular.woff -------------------------------------------------------------------------------- /assets/fonts/RobotoSlab-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andreondra/jekyll-theme-simplex/HEAD/assets/fonts/RobotoSlab-Regular.woff2 -------------------------------------------------------------------------------- /_sass/_index.scss: -------------------------------------------------------------------------------- 1 | // ============================= 2 | // index.scss 3 | // ============================= 4 | // Used for page index. 5 | 6 | .index{ 7 | 8 | } -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.gem 2 | .bundle 3 | .jekyll-cache 4 | .sass-cache 5 | _site 6 | Gemfile.lock 7 | _posts 8 | _authors 9 | _category 10 | _data 11 | *.md 12 | assets/img/authors 13 | assets/posts -------------------------------------------------------------------------------- /assets/img/icons/arrow_left.svg: -------------------------------------------------------------------------------- 1 | ionicons-v5-b -------------------------------------------------------------------------------- /assets/img/icons/arrow_right.svg: -------------------------------------------------------------------------------- 1 | ionicons-v5-b -------------------------------------------------------------------------------- /_includes/scripts.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /_layouts/default.html: -------------------------------------------------------------------------------- 1 | --- 2 | 3 | --- 4 | 5 | 6 | 7 | 8 | {% include head.html %} 9 | 10 | 11 | 12 | {% include header.html %} 13 | 14 | {{content}} 15 | 16 | {% include footer.html %} 17 | 18 | {% include scripts.html %} 19 | 20 | -------------------------------------------------------------------------------- /assets/js/tools.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function(){ 2 | 3 | $('.button-submenu').on('click', function(event){ 4 | if(event.target === this){ 5 | $(event.target).parent().parent().toggleClass('open'); 6 | $(event.target).toggleClass('open'); 7 | } 8 | }); 9 | 10 | $('#menuToggle').on('click', function(event){ 11 | $('.menu').toggleClass('open'); 12 | $(event.target).toggleClass('open'); 13 | }); 14 | }); -------------------------------------------------------------------------------- /_layouts/home.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | --- 4 | 5 |
6 |
7 |

{{ site.title }}

8 |

{{ site.description }}

9 |
10 | 11 | {% for post in site.posts %} 12 |
13 | {% include snippet.html post=post %} 14 |
15 | {% endfor %} 16 |
17 | -------------------------------------------------------------------------------- /_sass/_page.scss: -------------------------------------------------------------------------------- 1 | // ============================= 2 | // global.scss 3 | // ============================= 4 | // Used for single page styles. 5 | 6 | .page{ 7 | 8 | color: var(--c-pageText); 9 | justify-self: center; 10 | margin: 0 2rem; 11 | max-width: 1000px; 12 | @include flexbox{ 13 | flex-direction: column; 14 | justify-content: flex-start; 15 | align-items: center; 16 | } 17 | 18 | img{ 19 | max-width: 100%; 20 | } 21 | } -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- 1 | title: the Simplex theme 2 | logo_img: /assets/img/icons/golasblog_logo.svg 3 | favicon: /assets/favicon.ico 4 | description: description 5 | global_tags: jekyll theme simplex golasblog responsive html5 6 | copyright: © Golasowski 2021 7 | 8 | sass: 9 | style: compressed 10 | 11 | collections: 12 | category: 13 | output: true 14 | authors: 15 | output: false 16 | 17 | defaults: 18 | - 19 | scope: 20 | path: "" 21 | type: category 22 | values: 23 | layout: "category" -------------------------------------------------------------------------------- /_includes/footer.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /_includes/header.html: -------------------------------------------------------------------------------- 1 |
2 | 12 | 17 | 20 |
-------------------------------------------------------------------------------- /jekyll-theme-simplex.gemspec: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | Gem::Specification.new do |spec| 4 | spec.name = "jekyll-theme-simplex" 5 | spec.version = "0.9.8.15" 6 | spec.authors = ["Ondrej Golasowski"] 7 | spec.email = ["golasowski.o@gmail.com"] 8 | 9 | spec.summary = "An original theme for golasblog project." 10 | spec.homepage = "https://github.com/andreondra/jekyll-theme-simplex" 11 | spec.license = "MIT" 12 | 13 | spec.files = `git ls-files -z`.split("\x0").select { |f| f.match(%r!^(assets|_layouts|_includes|_sass|LICENSE|README)!i) } 14 | 15 | spec.add_runtime_dependency "jekyll", "~> 4.0" 16 | 17 | spec.add_development_dependency "bundler", "~> 2.0" 18 | spec.add_development_dependency "rake", "~> 12.0" 19 | end 20 | -------------------------------------------------------------------------------- /_plugins/button.rb: -------------------------------------------------------------------------------- 1 | module Jekyll 2 | class ButtonTagBlock < Liquid::Block 3 | 4 | def initialize(tag_name, text, tokens) 5 | super 6 | @input = text 7 | end 8 | 9 | def render(context) 10 | 11 | input_split = split_params(@input) 12 | theme = input_split[0].strip 13 | link = input_split[1].strip 14 | icon = input_split[2].strip 15 | 16 | text = super 17 | "
#{text}
" 18 | end 19 | 20 | def split_params(params) 21 | params.split("|") 22 | end 23 | end 24 | end 25 | 26 | Liquid::Template.register_tag('button', Jekyll::ButtonTagBlock) -------------------------------------------------------------------------------- /_layouts/category.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | --- 4 | 5 |
6 |
7 | {% if page.title != nil %} 8 |

{{ page.title }}

9 | {% endif %} 10 | {% if page.description != nil %} 11 |

{{ page.description }}

12 | {% endif %} 13 |
14 | 15 | {% for post in site.posts %} 16 |
17 | {% for category in post.category %} 18 | {% if page.category contains category %} 19 | {% include snippet.html post=post %} 20 | {% break %} 21 | {% endif %} 22 | {% endfor %} 23 |
24 | {% endfor %} 25 |
-------------------------------------------------------------------------------- /assets/style.scss: -------------------------------------------------------------------------------- 1 | --- 2 | --- 3 | 4 | // ============================= 5 | // main.scss 6 | // ============================= 7 | // Used to include all the partials. 8 | 9 | // Do not change the order of the imports behind this comment. 10 | 11 | // GLOBAL VARIABLES 12 | @import "_variables.scss"; 13 | 14 | // LIQUID CALCULATIONS 15 | {% for items in site.data.nav %} 16 | $s-menuWidth: calc({{ forloop.length }} * (#{$s-menuItemWidth} + #{$s-menuItemPadding} * 2)); 17 | {% endfor %} 18 | 19 | // OTHER IMPORTS 20 | @import "_mixins.scss"; 21 | @import "_global.scss"; 22 | 23 | // Do not change the order of the imports above this comment. 24 | 25 | @import "_header.scss"; 26 | @import "_footer.scss"; 27 | @import "_feed.scss"; 28 | @import "_index.scss"; 29 | @import "_post.scss"; 30 | @import "_page.scss"; 31 | 32 | -------------------------------------------------------------------------------- /_includes/nav.html: -------------------------------------------------------------------------------- 1 | {% if include.embedded != nil %} 2 |