diff --git a/Gemfile b/Gemfile index 4fa45c132d5020ff7b6cb5983b34175e9b038add..6d78e3d0909fb780bdd4a9ed59393349d57c3394 100644 --- a/Gemfile +++ b/Gemfile @@ -4,10 +4,14 @@ source "https://rubygems.org" git_source(:github) {|repo_name| "https://github.com/#{repo_name}" } -gem "jekyll", ">= 3.8.6" -gem "jekyll-random", "~> 0.0.3" -gem "jekyll-tidy" -gem "jekyll-timeago" -gem 'jekyll-redirect-from' -gem 'jekyll-include-cache' +gem "jekyll", "~> 4.0" + +group :jekyll_plugins do + gem "jekyll-random" + gem "jekyll-tidy" + gem "jekyll-timeago" + gem 'jekyll-redirect-from' + gem 'jekyll-include-cache' +end + gem 'wdm', '>= 0.1.1' if Gem.win_platform? diff --git a/_config.yml b/_config.yml index 529fdaf81bba7d1b713e11aa0df57812772b894d..f0094ccba57fe6efa76e3552ce1c751ec67b2cf9 100644 --- a/_config.yml +++ b/_config.yml @@ -1,11 +1,12 @@ source: pages destination: tmp -title: Tabler Admin Template +version: 1.0-alpha +title: Tabler description: Premium and Open Source dashboard template with responsive and high quality UI. github_url: https://github.com/tabler/tabler -debug: false +debug: true plugins: - jekyll-random @@ -14,6 +15,9 @@ plugins: - jekyll-redirect-from - jekyll-include-cache +exclude: +- .jekyll-cache + keep_files: - css/ui-kit.css - css/dark.css @@ -130,6 +134,8 @@ button_variants: title: Warning - name: danger title: Danger + - name: dark + title: Dark socials: - name: facebook diff --git a/pages/_data/menu.yml b/pages/_data/menu.yml index caf702b87c508f2db891dcc756cdad6f9189d854..04b8ef708e76bb20e30a64fde834853ed4cbeb9b 100644 --- a/pages/_data/menu.yml +++ b/pages/_data/menu.yml @@ -13,6 +13,12 @@ cards: title: Cards icon: file +theme: + title: Theme + icon: edit-3 + pages: + + charts: url: charts.html title: Charts diff --git a/pages/_data/people.json b/pages/_data/people.json index 81bbd8a79a18c578fbdd93175fe5bf2b2d1ac1d4..4412983062137027ac7533efb5baa75daae1d33b 100644 --- a/pages/_data/people.json +++ b/pages/_data/people.json @@ -1,6 +1,6 @@ [ { - "id": 1, + "id": "1", "first_name": "Paweł", "last_name": "Kuna", "full_name": "Paweł Kuna", @@ -26,7 +26,7 @@ "photo": "img/avatars/000m.jpg" }, { - "id": 2, + "id": "2", "first_name": "Jeffie", "last_name": "Lewzey", "full_name": "Jeffie Lewzey", diff --git a/pages/_docs/buttons.md b/pages/_docs/buttons.md index 3021345d1161819c533f8d23f93e388985bd66e3..5485e79c562a01b319792d98598502190c82fa08 100644 --- a/pages/_docs/buttons.md +++ b/pages/_docs/buttons.md @@ -33,7 +33,7 @@ Use any of the available button classes to quickly create a styled button . We p Make buttons look inactive by adding the disabled boolean attribute to any `.btn` element. ``s don’t support the disabled attribute, so you must add the `.disabled` class to make it visually appear disabled. {% example html wrapper=btn-list %} {% for button in site.button_variants %} -{% include ui/button.html color=button.name text=button.title disabled="true" %} +{% include_cached ui/button.html color=button.name text=button.title disabled="true" %} {% endfor %} {% endexample %} @@ -55,7 +55,7 @@ Add `.btn-square` to button to remove border-radius. {% example html wrapper=btn-list %} {% for button in site.button_variants %} -{% include ui/button.html text=button.title color=button.name square=true %} +{% include_cached ui/button.html text=button.title color=button.name square=true %} {% endfor %} {% endexample %} @@ -65,7 +65,7 @@ Add `.btn-pill` class to any button to make them more rounded. {% example html wrapper=btn-list %} {% for button in site.button_variants %} -{% include ui/button.html text=button.title color=button.name pill=true %} +{% include_cached ui/button.html text=button.title color=button.name pill=true %} {% endfor %} {% endexample %} @@ -75,7 +75,7 @@ In need of a button, but not the hefty background colors they bring? Replace the {% example html wrapper=btn-list %} {% for button in site.button_variants %} -{% include ui/button.html text=button.title color=button.name outline=true %} +{% include_cached ui/button.html text=button.title color=button.name outline=true %} {% endfor %} {% endexample %} @@ -83,7 +83,7 @@ In need of a button, but not the hefty background colors they bring? Replace the {% example html %} {% for button in site.button_variants %} - {% include ui/button.html text="Button" label="star" color=button.name class="mr-2" %} + {% include_cached ui/button.html text="Button" label="star" color=button.name class="mr-2" %} {% endfor %} {% endexample %} @@ -127,7 +127,7 @@ A button can be formatted to link to a social website {% example html wrapper=btn-list %} {% for button in site.socials %} -{% include ui/button.html color=button.name icon=button.icon text=button.title %} +{% include_cached ui/button.html color=button.name icon=button.icon text=button.title %} {% endfor %} {% endexample %} @@ -135,7 +135,7 @@ You can use only icons. {% example html wrapper=btn-list %} {% for button in site.socials %} -{% include ui/button.html color=button.name icon=button.icon %} +{% include_cached ui/button.html color=button.name icon=button.icon %} {% endfor %} {% endexample %} @@ -196,11 +196,11 @@ Add `.btn-loading` to use a loading state on a button. The width of the button d Since the loading spinner is implemented using the `:after` pseudo-element, it is not supported by the `` element. {% example html wrapper=btn-list %} -{% include ui/button.html spinner=true text="Button" color="primary" %} -{% include ui/button.html spinner=true text="Button" color="danger" %} -{% include ui/button.html spinner=true text="Button" color="warning" %} -{% include ui/button.html spinner=true color="success" %} -{% include ui/button.html spinner=true color="secondary" %} +{% include_cached ui/button.html spinner=true text="Button" color="primary" %} +{% include_cached ui/button.html spinner=true text="Button" color="danger" %} +{% include_cached ui/button.html spinner=true text="Button" color="warning" %} +{% include_cached ui/button.html spinner=true color="success" %} +{% include_cached ui/button.html spinner=true color="secondary" %} {% endexample %} ### List of buttons diff --git a/pages/_docs/form-elements.md b/pages/_docs/form-elements.md index 8895561ac1cc0de2b4ab1b6bbfbca17ecf82be1a..a9711534f4f9b68feba9d5ce331f188ea0a65d82 100644 --- a/pages/_docs/form-elements.md +++ b/pages/_docs/form-elements.md @@ -197,7 +197,7 @@ title: Form Elements - + {% endexample %} diff --git a/pages/_docs/spinners.md b/pages/_docs/spinners.md index a68644bcdbf7a8cfca0efc637f7cd542e92d87c7..31b1a823a34b1ac7b9af3af93c3a043098c95597 100644 --- a/pages/_docs/spinners.md +++ b/pages/_docs/spinners.md @@ -43,9 +43,9 @@ done: true ### Buttons {% example html wrapper=btn-list %} -{% include ui/button.html spinner=true text="Button" color="primary" %} -{% include ui/button.html spinner=true text="Button" color="danger" %} -{% include ui/button.html spinner=true text="Button" color="warning" %} -{% include ui/button.html spinner=true color="success" %} -{% include ui/button.html spinner=true color="secondary" %} +{% include_cached ui/button.html spinner=true text="Button" color="primary" %} +{% include_cached ui/button.html spinner=true text="Button" color="danger" %} +{% include_cached ui/button.html spinner=true text="Button" color="warning" %} +{% include_cached ui/button.html spinner=true color="success" %} +{% include_cached ui/button.html spinner=true color="secondary" %} {% endexample %} diff --git a/pages/_includes/cards/blog-single.html b/pages/_includes/cards/blog-single.html index 77e3d37c9b7bc9cd9a1b46151b5ddf1edcc5736b..a30074a87bff9fdd60ace3368b00e7d0fd069aee 100644 --- a/pages/_includes/cards/blog-single.html +++ b/pages/_includes/cards/blog-single.html @@ -18,7 +18,7 @@ diff --git a/pages/_includes/cards/comments.html b/pages/_includes/cards/comments.html index 9cc58e79c62c56b2789b4d460d0dfa3f1b2c1ae5..5b0304875a346c2d4aa142abbee477b8518c2ba0 100644 --- a/pages/_includes/cards/comments.html +++ b/pages/_includes/cards/comments.html @@ -21,9 +21,9 @@