diff --git a/_config.yml b/_config.yml index d29d35c..b8a7074 100644 --- a/_config.yml +++ b/_config.yml @@ -15,6 +15,7 @@ lang: en # Matomo Tracking # matomo_url: "://track.tld" # matomo_siteId: 1 +# google_analytics: "G-XXXXXXXXXX" # Contact Me About This Page page_contact: false diff --git a/_includes/head.html b/_includes/head.html index ed8f5b1..bf0d92b 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -4,7 +4,7 @@ {%- seo -%} {%- feed_meta -%} -{%- if jekyll.environment == 'production' and site.google_analytics -%} +{%- if site.google_analytics -%} {%- include google-analytics.html -%} {%- endif -%} diff --git a/_sass/libs/_breakpoints.scss b/_sass/libs/_breakpoints.scss index c5301d8..8069262 100644 --- a/_sass/libs/_breakpoints.scss +++ b/_sass/libs/_breakpoints.scss @@ -4,7 +4,7 @@ /// Breakpoints. /// @var {list} - $breakpoints: () !global; + //$breakpoints: () !global; // Mixins. @@ -41,7 +41,7 @@ } // Less than or equal. - @elseif (str-slice($query, 0, 2) == '<=') { + @else if (str-slice($query, 0, 2) == '<=') { $op: 'lte'; $breakpoint: str-slice($query, 3); @@ -49,7 +49,7 @@ } // Greater than. - @elseif (str-slice($query, 0, 1) == '>') { + @else if (str-slice($query, 0, 1) == '>') { $op: 'gt'; $breakpoint: str-slice($query, 2); @@ -57,7 +57,7 @@ } // Less than. - @elseif (str-slice($query, 0, 1) == '<') { + @else if (str-slice($query, 0, 1) == '<') { $op: 'lt'; $breakpoint: str-slice($query, 2); @@ -65,7 +65,7 @@ } // Not. - @elseif (str-slice($query, 0, 1) == '!') { + @else if (str-slice($query, 0, 1) == '!') { $op: 'not'; $breakpoint: str-slice($query, 2); @@ -100,22 +100,22 @@ } // Less than or equal (<= y) - @elseif ($op == 'lte') { + @else if ($op == 'lte') { $media: 'screen and (max-width: ' + $y + ')'; } // Greater than (> y) - @elseif ($op == 'gt') { + @else if ($op == 'gt') { $media: 'screen and (min-width: ' + ($y + 1) + ')'; } // Less than (< 0 / invalid) - @elseif ($op == 'lt') { + @else if ($op == 'lt') { $media: 'screen and (max-width: -1px)'; } // Not (> y) - @elseif ($op == 'not') { + @else if ($op == 'not') { $media: 'screen and (min-width: ' + ($y + 1) + ')'; } @@ -135,22 +135,22 @@ } // Less than or equal (<= inf / anything) - @elseif ($op == 'lte') { + @else if ($op == 'lte') { $media: 'screen'; } // Greater than (> inf / invalid) - @elseif ($op == 'gt') { + @else if ($op == 'gt') { $media: 'screen and (max-width: -1px)'; } // Less than (< x) - @elseif ($op == 'lt') { + @else if ($op == 'lt') { $media: 'screen and (max-width: ' + ($x - 1) + ')'; } // Not (< x) - @elseif ($op == 'not') { + @else if ($op == 'not') { $media: 'screen and (max-width: ' + ($x - 1) + ')'; } @@ -170,22 +170,22 @@ } // Less than or equal (<= y) - @elseif ($op == 'lte') { + @else if ($op == 'lte') { $media: 'screen and (max-width: ' + $y + ')'; } // Greater than (> y) - @elseif ($op == 'gt') { + @else if ($op == 'gt') { $media: 'screen and (min-width: ' + ($y + 1) + ')'; } // Less than (< x) - @elseif ($op == 'lt') { + @else if ($op == 'lt') { $media: 'screen and (max-width: ' + ($x - 1) + ')'; } // Not (< x and > y) - @elseif ($op == 'not') { + @else if ($op == 'not') { $media: 'screen and (max-width: ' + ($x - 1) + '), screen and (min-width: ' + ($y + 1) + ')'; } @@ -220,4 +220,4 @@ @content; } - } \ No newline at end of file + } diff --git a/_sass/libs/_html-grid.scss b/_sass/libs/_html-grid.scss index 7438a8c..a97107c 100644 --- a/_sass/libs/_html-grid.scss +++ b/_sass/libs/_html-grid.scss @@ -10,7 +10,7 @@ // Initialize. $cols: 12; $multipliers: 0, 0.25, 0.5, 1, 1.50, 2.00; - $unit: 100% / $cols; + $unit: calc(100% / $cols); // Suffixes. $suffixes: null; @@ -146,4 +146,4 @@ } - } \ No newline at end of file + } diff --git a/_sass/libs/_vendor.scss b/_sass/libs/_vendor.scss index 6599a3f..92caaca 100644 --- a/_sass/libs/_vendor.scss +++ b/_sass/libs/_vendor.scss @@ -362,7 +362,7 @@ } // Expand just the value? - @elseif $expandValue { + @else if $expandValue { @each $vendor in $vendor-prefixes { #{$property}: #{str-replace-all($value, '-prefix-', $vendor)}; } @@ -373,4 +373,4 @@ #{$property}: #{$value}; } - } \ No newline at end of file + }