diff --git a/Gemfile b/Gemfile index 9d37be51469d6ede57cfb31343364c4ae2ef1b55..36676fc415eee9ed6505bbadd851107039e57774 100644 --- a/Gemfile +++ b/Gemfile @@ -1,6 +1,7 @@ source "https://rubygems.org" -gem "jekyll", "~> 4.0" +gem "jekyll" +gem "liquid-c" group :jekyll_plugins do gem "jekyll-random" diff --git a/pages/_docs/divider.md b/pages/_docs/divider.md index 32e14899c38cdbcfacf07028a61bbc68faf081ad..d50a9a4bf0cffd2c07bc0269a402aa372936e2e3 100644 --- a/pages/_docs/divider.md +++ b/pages/_docs/divider.md @@ -10,7 +10,15 @@ done: true

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ab consequatur maxime quia reprehenderit tempore?

-
OR
+
Left divider
+

+ Dicta error hic illo iure necessitatibus nihil officiis omnis perferendis, praesentium repellendus rerum, saepe sed, sit! +

+
Centered divider
+

+ Dicta error hic illo iure necessitatibus nihil officiis omnis perferendis, praesentium repellendus rerum, saepe sed, sit! +

+
Right divider

Dicta error hic illo iure necessitatibus nihil officiis omnis perferendis, praesentium repellendus rerum, saepe sed, sit!

diff --git a/pages/_includes/layout/css.html b/pages/_includes/layout/css.html index 5ab11da6a02fdd5ad8f68343044b421fbdcdd756..7e25e89282c8ee2472c5258327d86164b1964fb9 100644 --- a/pages/_includes/layout/css.html +++ b/pages/_includes/layout/css.html @@ -1,8 +1,8 @@ {% if site.data.libs %} - -{% for lib in site.data.libs.css %} - -{% endfor %} + + {% for lib in site.data.libs.css %} + + {% endfor %} {% endif %} diff --git a/pages/_includes/layout/customize.html b/pages/_includes/layout/customize.html index 4c80b8f5af7d46a1fc74c33e4d9aa2a501824c95..598863aa2f33a1af4255ea686da614a50f37509e 100644 --- a/pages/_includes/layout/customize.html +++ b/pages/_includes/layout/customize.html @@ -1,35 +1,35 @@
- {% include ui/input-selectgroup.html name="color-scheme" values="light,dark" type="radio" class="w-100p" %} + {% include_cached ui/input-selectgroup.html name="color-scheme" values="light,dark" type="radio" class="w-100p" %}
- {% include ui/input-selectgroup.html name="nav-position" values="top,side" type="radio" class="w-100p" %} + {% include_cached ui/input-selectgroup.html name="nav-position" values="top,side" type="radio" class="w-100p" %}
- {% include ui/input-selectgroup.html name="header-color" values="light,dark" type="radio" class="w-100p" %} + {% include_cached ui/input-selectgroup.html name="header-color" values="light,dark" type="radio" class="w-100p" %}
- +
- {% include ui/input-selectgroup.html name="sidebar-position" values="left,right" type="radio" class="w-100p" %} + {% include_cached ui/input-selectgroup.html name="sidebar-position" values="left,right" type="radio" class="w-100p" %}
- {% include ui/input-selectgroup.html name="sidebar-size" values="default,folded" type="radio" class="w-100p" %} + {% include_cached ui/input-selectgroup.html name="sidebar-size" values="default,folded" type="radio" class="w-100p" %}
- {% include ui/input-selectgroup.html name="sidebar-color" values="light,dark" type="radio" class="w-100p" %} + {% include_cached ui/input-selectgroup.html name="sidebar-color" values="light,dark" type="radio" class="w-100p" %}
- {% include ui/input-selectgroup.html name="sidebar-fixed" values="fixed,default" type="radio" class="w-100p" %} + {% include_cached ui/input-selectgroup.html name="sidebar-fixed" values="fixed,default" type="radio" class="w-100p" %}
diff --git a/pages/_includes/layout/homepage.html b/pages/_includes/layout/homepage.html index 36980b2ba015bb8a800ee2f7f1ca4ab829ebd5e2..64d3e084bb7c62fd0ee10e5c6b3ff3fb43a4dc21 100644 --- a/pages/_includes/layout/homepage.html +++ b/pages/_includes/layout/homepage.html @@ -51,12 +51,6 @@ - {% comment %} -
- {% include cards/order-statistics.html %} -
- {% endcomment %} -
{% include cards/small-stats.html color="blue" icon="dollar-sign" count="132" subtitle="Sales" description="12 waiting payments" %}
diff --git a/pages/_includes/layout/js-capture.html b/pages/_includes/layout/js-capture.html new file mode 100644 index 0000000000000000000000000000000000000000..d9e388d2ff018ddc22d4ae909257d6fc6cc6707f --- /dev/null +++ b/pages/_includes/layout/js-capture.html @@ -0,0 +1,3 @@ +{% removeemptylines %} +{{ site.capture_global.scripts }} +{% endremoveemptylines %} diff --git a/pages/_includes/layout/js.html b/pages/_includes/layout/js.html index d94a69d2361a4971b2930bf803cf219a0bc10d92..c228f044d4ba1c93533d371cf38ba4599fb5f9a8 100644 --- a/pages/_includes/layout/js.html +++ b/pages/_includes/layout/js.html @@ -16,7 +16,3 @@ - -{% removeemptylines %} -{{ site.capture_global.scripts }} -{% endremoveemptylines %} diff --git a/pages/_includes/layout/modals.html b/pages/_includes/layout/modals.html index 6ead7fe03484055562f3f57875672555ef5e4f15..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 --- a/pages/_includes/layout/modals.html +++ b/pages/_includes/layout/modals.html @@ -1,13 +0,0 @@ - diff --git a/pages/_includes/layout/og.html b/pages/_includes/layout/og.html index 3b5e82d87c5a0c33cbbb37650ca233b89b488adc..a5353be8029f75716d7eae51d839eee9424c1298 100644 --- a/pages/_includes/layout/og.html +++ b/pages/_includes/layout/og.html @@ -1,4 +1,4 @@ -{% if layout.og-component %} +{% if include.show %} diff --git a/pages/_includes/parts/input-selectgroups.html b/pages/_includes/parts/input-selectgroups.html index ece3a2c3d8599a34610102806112299b8891a01a..f2a87aa1c93007a5960d4c594f5c1f53dd87ca2a 100644 --- a/pages/_includes/parts/input-selectgroups.html +++ b/pages/_includes/parts/input-selectgroups.html @@ -1,18 +1,18 @@
- {% include ui/input-selectgroup.html values="Unregistered,Priority Mail,Express Mail" class="selectgroup-vertical" type="radio" name="shipping-method" %} + {% include_cached ui/input-selectgroup.html values="Unregistered,Priority Mail,Express Mail" class="selectgroup-vertical" type="radio" name="shipping-method" %}
- {% include ui/input-selectgroup.html values="i:smartphone,i:tablet,i:monitor,i:x" class="w-100" type="radio" name="device" %} + {% include_cached ui/input-selectgroup.html values="i:smartphone,i:tablet,i:monitor,i:x" class="w-100" type="radio" name="device" %}
- {% include ui/input-selectgroup.html values="i:sun,i:moon,i:cloud-rain,i:cloud,Other" class="selectgroup-pills" %} + {% include_cached ui/input-selectgroup.html values="i:sun,i:moon,i:cloud-rain,i:cloud,Other" class="selectgroup-pills" %}
- {% include ui/input-selectgroup.html values="HTML,CSS,PHP,JavaScript" class="selectgroup-pills selectgroup-separated" %} + {% include_cached ui/input-selectgroup.html values="HTML,CSS,PHP,JavaScript" class="selectgroup-pills selectgroup-separated" %}
diff --git a/pages/_includes/ui/chart.html b/pages/_includes/ui/chart.html index 6c83a3b8109849d03ac2e48edcb8e7fc16bb2736..34c4165b0983a0172b67745bb1382281cbc48719 100644 --- a/pages/_includes/ui/chart.html +++ b/pages/_includes/ui/chart.html @@ -132,8 +132,6 @@ document.addEventListener("DOMContentLoaded", function(event) { }, {% endif %} })).render(); - - console.log('chartEl.offsetHeight', chartEl.offsetHeight); }); {% endcapture_global %} diff --git a/pages/_layouts/base.html b/pages/_layouts/base.html index 2897358d43c78fc1593ecae26cc7bbc88b901e19..5a1dc9e87256d82f282d1933ba37fc2786a43e0d 100644 --- a/pages/_layouts/base.html +++ b/pages/_layouts/base.html @@ -26,9 +26,9 @@ {% endif %} - {% include layout/og.html %} + {% include_cached layout/og.html show=layout.og-component %} - {% include layout/css.html %} + {% include_cached layout/css.html %} @@ -36,14 +36,15 @@ {{ content}} +{% include_cached layout/js.html %} +{% include layout/js-capture.html %} + {% if site.debug %} {% if jekyll.environment == 'development' %} -{% include layout/debug.html %} +{% include_cached layout/debug.html %} {% endif %} {% endif %} -{% include layout/js.html %} - diff --git a/pages/_layouts/default.html b/pages/_layouts/default.html index d53f124c8e29d9faf0ece113114e332567cc802f..a779a68f5ad51504d6548eb091252df3224ce06d 100644 --- a/pages/_layouts/default.html +++ b/pages/_layouts/default.html @@ -16,5 +16,3 @@ layout: base - -{% include layout/modals.html %} diff --git a/pages/_layouts/docs.html b/pages/_layouts/docs.html index 333520a6ed63eb55a1cb06f21e34f6846a526e92..7743c6cfbd0df06b31cbc9cbfc1cc35048039e62 100644 --- a/pages/_layouts/docs.html +++ b/pages/_layouts/docs.html @@ -23,7 +23,7 @@ page-title: Documentation
-
+

{{ page.title }}{% if page.done %} {% include_cached ui/icon.html icon="check" color="green" %}{% endif %}

diff --git a/pages/calendars.html b/pages/calendars.html deleted file mode 100644 index cd108176b67c129b0d00a7155e7baba5cd68027a..0000000000000000000000000000000000000000 --- a/pages/calendars.html +++ /dev/null @@ -1,19 +0,0 @@ ---- ---- - -
-
-
-
- {% include parts/calendar.html class="border-0" %} -
-
-
-
-
-
- {% include parts/calendar.html class="border-0" %} -
-
-
-
diff --git a/pages/charts-heatmap.html b/pages/charts-heatmap.html index 7983b4c69b50093f40f189f4fe66de5062c1a643..28baa16b54fba5521075b978bb547cec18924839 100644 --- a/pages/charts-heatmap.html +++ b/pages/charts-heatmap.html @@ -17,9 +17,4 @@ done: true
{% include cards/charts/heatmap.html id="heatmap-colors" title="Heatmap - Color range" scale=true %}
- {% comment %} -
- {% include cards/charts/heatmap.html id="heatmap-range" title="Github style" color="#196127" count=30 %} -
- {% endcomment %}
diff --git a/pages/icons.html b/pages/icons.html index 335e69d1f7d5ba07c3849614766d6815312a4968..ec9c33b683a7a38ec12c8a1d2cccdf50f967b604 100644 --- a/pages/icons.html +++ b/pages/icons.html @@ -2,13 +2,12 @@ title: Icons --- - -
-
- {% include cards/icons.html title="Feather icons" group="fe" %} -
-
- {% include cards/icons.html title="Brand icons" group="brand" %} -
-
+
+
+ {% include_cached cards/icons.html title="Feather icons" group="fe" %} +
+
+ {% include_cached cards/icons.html title="Brand icons" group="brand" %} +
+
diff --git a/pages/markdown.html b/pages/markdown.html deleted file mode 100644 index 7a1fe55d77f68e9a33ca5c24103fda9ef8c65d02..0000000000000000000000000000000000000000 --- a/pages/markdown.html +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: Markdown ---- - -
-
-
- -
-
- -

It's a hug, Michael. I'm hugging you.

-

Get me a vodka rocks. And a piece of toast. Say goodbye to these, because it's the last time! Guy's a pro. Michael! Across from where?

-

No… but I'd like to be asked! It's called 'taking advantage. ' It's what gets you ahead in life. Not tricks, Michael, illusions. Army had half a day.

-

Not tricks, Michael, illusions.

-

Well, what do you expect, mother? Say goodbye to these, because it's the last time! I don't understand the question, and I won't respond to it. No, I did not kill Kitty. However, I am going to oblige and answer the nice officer's questions because I am an honest man with no secrets to hide.

-
    -
  1. I'm afraid I just blue myself.
  2. It's called 'taking advantage.' It's what gets you ahead in life.
  3. I don't understand the question, and I won't respond to it.
  4. -
- -

Across from where?

-

I don't criticize you! And if you're worried about criticism, sometimes a diet is the best defense. Did you enjoy your meal, Mom? You drank it fast enough. Did you enjoy your meal, Mom? You drank it fast enough.

-
    -
  • No! I was ashamed to be SEEN with you. I like being with you.
  • What's Spanish for "I know you speak English?"
  • No! I was ashamed to be SEEN with you. I like being with you.
  • -
- -

Steve Holt! Guy's a pro. I don't understand the question, and I won't respond to it. There's so many poorly chosen words in that sentence.

-

Oh, you're gonna be in a coma, all right. Bad news. Andy Griffith turned us down. He didn't like his trailer. It's called 'taking advantage.' It's what gets you ahead in life. That's why you always leave a note!

- -

That's what it said on 'Ask Jeeves.' Guy's a pro.

-

There's so many poorly chosen words in that sentence. There's only one man I've ever called a coward, and that's Brian Doyle Murray. No, what I'm calling you is a television actor.

-

Whoa, this guy's straight? Say goodbye to these, because it's the last time! That's why you always leave a note! There's only one man I've ever called a coward, and that's Brian Doyle Murray. No, what I'm calling you is a television actor.

-

Say goodbye to these, because it's the last time! I'm afraid I just blue myself. Steve Holt! We just call it a sausage. We just call it a sausage. Steve Holt!

-

Not tricks, Michael, illusions. Guy's a pro. No! I was ashamed to be SEEN with you. I like being with you. Really? Did nothing cancel? We just call it a sausage.

-

Now, when you do this without getting punched in the chest, you'll have more fun. Guy's a pro. That's what it said on 'Ask Jeeves.' I don't understand the question, and I won't respond to it. Whoa, this guy's straight?

-

As you may or may not know, Lindsay and I have hit a bit of a rough patch. He'll want to use your yacht, and I don't want this thing smelling like fish. No… but I'd like to be asked! Did you enjoy your meal, Mom? You drank it fast enough.

-

We just call it a sausage. I care deeply for nature. It's a hug, Michael. I'm hugging you. Well, what do you expect, mother?

-

I don't understand the question, and I won't respond to it. Well, what do you expect, mother? Marry me. No, I did not kill Kitty. However, I am going to oblige and answer the nice officer's questions because I am an honest man with no secrets to hide.

-

He'll want to use your yacht, and I don't want this thing smelling like fish. I'm half machine. I'm a monster. But I bought a yearbook ad from you, doesn't that mean anything anymore? That's what it said on 'Ask Jeeves.'

-
-
- -
-
-
diff --git a/pages/text.html b/pages/text.html deleted file mode 100644 index 7366c2091174a9146b60939507cee8264982cf85..0000000000000000000000000000000000000000 --- a/pages/text.html +++ /dev/null @@ -1,44 +0,0 @@ ---- ---- - - -
-
-
-

Lorem ipsum dolor sit amet

-

- Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dignissimos dolor incidunt nisi optio provident quod recusandae repellendus repudiandae tenetur. Cupiditate dignissimos esse expedita fugiat impedit modi nostrum omnis quaerat quo. - {% include_cached ui/button.html color="blue" size="sm" %} - Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dignissimos dolor incidunt nisi optio provident quod recusandae repellendus repudiandae tenetur. Cupiditate dignissimos esse expedita fugiat impedit modi nostrum omnis quaerat quo. -

- -

Lorem ipsum dolor sit amet

-

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dignissimos dolor incidunt nisi optio provident quod recusandae repellendus repudiandae tenetur. Cupiditate dignissimos esse expedita fugiat impedit modi nostrum omnis quaerat quo.

- -

Lorem ipsum dolor sit amet

-

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dignissimos dolor incidunt nisi optio provident quod recusandae repellendus repudiandae tenetur. Cupiditate dignissimos esse expedita fugiat impedit modi nostrum omnis quaerat quo.

- -

Lorem ipsum dolor sit amet

-

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dignissimos dolor incidunt nisi optio provident quod recusandae repellendus repudiandae tenetur. Cupiditate dignissimos esse expedita fugiat impedit modi nostrum omnis quaerat quo.

- -
Lorem ipsum dolor sit amet
-

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dignissimos dolor incidunt nisi optio provident quod recusandae repellendus repudiandae tenetur. Cupiditate dignissimos esse expedita fugiat impedit modi nostrum omnis quaerat quo.

-
-
- {% include_cached ui/button.html color="blue" %} - {% include_cached ui/button.html color="danger" %} - {% include_cached ui/button.html color="green" %} -
-
- - {% include_cached ui/button.html color="blue" %} - - - {% include_cached ui/button.html color="blue" size="sm" %} - - - {% include_cached ui/button.html color="blue" size="lg" %} -
- -
-
diff --git a/pages/users.html b/pages/users.html index a3fc50bf5fcb63094fc17435613bf5f506ba1602..484b06cec222ac5175d376160d494b9e61577c9d 100644 --- a/pages/users.html +++ b/pages/users.html @@ -23,13 +23,6 @@ menu: users

{{ person.full_name }}

{{ person.job_title }}
- {% comment %} -
- - {% include_cached ui/button.html color="twitter" icon="brand/twitter" icon-only=true outline=true %} - {% include_cached ui/button.html color="facebook" icon="brand/facebook" icon-only=true outline=true %} -
- {% endcomment %} {% if online_counter > 7 %}
diff --git a/scss/ui/typo/_hr.scss b/scss/ui/typo/_hr.scss index b39483643e109b9b097d1c1506b5b6eff2509efa..b3a4b4aec739155d5a6c3b6a46fe37b89d2720f9 100644 --- a/scss/ui/typo/_hr.scss +++ b/scss/ui/typo/_hr.scss @@ -13,7 +13,7 @@ Hr text display: flex; align-items: center; margin: $hr-margin-y 0; - font-size: $h6-font-size; + @include subheader; &::after, &::before { @@ -23,8 +23,13 @@ Hr text opacity: $hr-opacity; } + &::before { + margin-right: .5rem; + } + &::after { content: ""; + margin-left: .5rem; } > *:first-child {