diff --git a/Gemfile b/Gemfile index d15118d..bca615e 100644 --- a/Gemfile +++ b/Gemfile @@ -7,3 +7,7 @@ gem "jekyll-seo-tag" gem 'jekyll-target-blank' gem 'wdm', '>= 0.1.0' if Gem.win_platform? gem "webrick", "~> 1.7" + +gem "tzinfo", "~> 2.0" + +gem "tzinfo-data", "~> 1.2022" diff --git a/Gemfile.lock b/Gemfile.lock index 95f3c9c..f07f2d3 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,8 +1,8 @@ GEM remote: https://rubygems.org/ specs: - addressable (2.8.0) - public_suffix (>= 2.0.2, < 5.0) + addressable (2.8.1) + public_suffix (>= 2.0.2, < 6.0) colorator (1.1.0) concurrent-ruby (1.1.10) em-websocket (0.5.3) @@ -10,50 +10,32 @@ GEM http_parser.rb (~> 0) eventmachine (1.2.7) eventmachine (1.2.7-x64-mingw32) - faraday (1.10.0) - faraday-em_http (~> 1.0) - faraday-em_synchrony (~> 1.0) - faraday-excon (~> 1.1) - faraday-httpclient (~> 1.0) - faraday-multipart (~> 1.0) - faraday-net_http (~> 1.0) - faraday-net_http_persistent (~> 1.0) - faraday-patron (~> 1.0) - faraday-rack (~> 1.0) - faraday-retry (~> 1.0) + faraday (2.6.0) + faraday-net_http (>= 2.0, < 3.1) ruby2_keywords (>= 0.0.4) - faraday-em_http (1.0.0) - faraday-em_synchrony (1.0.0) - faraday-excon (1.1.0) - faraday-httpclient (1.0.1) - faraday-multipart (1.0.3) - multipart-post (>= 1.2, < 3) - faraday-net_http (1.0.1) - faraday-net_http_persistent (1.2.0) - faraday-patron (1.0.0) - faraday-rack (1.0.0) - faraday-retry (1.0.3) + faraday-net_http (3.0.2) ffi (1.15.5) ffi (1.15.5-x64-mingw32) forwardable-extended (2.6.0) http_parser.rb (0.8.0) - i18n (1.10.0) + i18n (1.12.0) concurrent-ruby (~> 1.0) - jekyll (4.2.2) + jekyll (4.3.1) addressable (~> 2.4) colorator (~> 1.0) em-websocket (~> 0.5) i18n (~> 1.0) - jekyll-sass-converter (~> 2.0) + jekyll-sass-converter (>= 2.0, < 4.0) jekyll-watch (~> 2.0) - kramdown (~> 2.3) + kramdown (~> 2.3, >= 2.3.1) kramdown-parser-gfm (~> 1.0) liquid (~> 4.0) - mercenary (~> 0.4.0) + mercenary (>= 0.3.6, < 0.5) pathutil (~> 0.9) - rouge (~> 3.0) + rouge (>= 3.0, < 5.0) safe_yaml (~> 1.0) - terminal-table (~> 2.0) + terminal-table (>= 1.8, < 4.0) + webrick (~> 1.7) jekyll-gist (1.5.0) octokit (~> 4.2) jekyll-paginate (1.1.0) @@ -66,7 +48,7 @@ GEM nokogiri (~> 1.10) jekyll-watch (2.2.1) listen (~> 3.0) - kramdown (2.3.2) + kramdown (2.4.0) rexml kramdown-parser-gfm (1.1.0) kramdown (~> 2.0) @@ -76,36 +58,38 @@ GEM rb-inotify (~> 0.9, >= 0.9.10) mercenary (0.4.0) mini_portile2 (2.8.0) - multipart-post (2.1.1) nokogiri (1.13.9) mini_portile2 (~> 2.8.0) racc (~> 1.4) - nokogiri (1.13.9-x64-mingw32) - racc (~> 1.4) - octokit (4.22.0) - faraday (>= 0.9) - sawyer (~> 0.8.0, >= 0.5.3) + octokit (4.25.1) + faraday (>= 1, < 3) + sawyer (~> 0.9) pathutil (0.16.2) forwardable-extended (~> 2.6) - public_suffix (4.0.7) + public_suffix (5.0.0) racc (1.6.0) - rb-fsevent (0.11.1) + rb-fsevent (0.11.2) rb-inotify (0.10.1) ffi (~> 1.0) rexml (3.2.5) - rouge (3.28.0) + rouge (4.0.0) ruby2_keywords (0.0.5) safe_yaml (1.0.5) sassc (2.4.0) ffi (~> 1.9) sassc (2.4.0-x64-mingw32) ffi (~> 1.9) - sawyer (0.8.2) + sawyer (0.9.2) addressable (>= 2.3.5) - faraday (> 0.8, < 2.0) - terminal-table (2.0.0) - unicode-display_width (~> 1.1, >= 1.1.1) - unicode-display_width (1.8.0) + faraday (>= 0.17.3, < 3) + terminal-table (3.0.2) + unicode-display_width (>= 1.1.1, < 3) + tzinfo (2.0.5) + concurrent-ruby (~> 1.0) + tzinfo-data (1.2022.6) + tzinfo (>= 1.0.0) + unicode-display_width (2.3.0) + wdm (0.1.1) webrick (1.7.0) PLATFORMS @@ -118,7 +102,10 @@ DEPENDENCIES jekyll-paginate jekyll-seo-tag jekyll-target-blank + tzinfo (~> 2.0) + tzinfo-data (~> 1.2022) + wdm (>= 0.1.0) webrick (~> 1.7) BUNDLED WITH - 2.3.10 + 2.3.7 diff --git a/_layouts/default.html b/_layouts/default.html index 9e12a7f..e0d58e4 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -16,7 +16,7 @@ - + {% if page.title == "Home" %} diff --git a/_posts/1988-02-19-what-is-jekyll.md b/_posts/1988-02-19-what-is-jekyll.md index 94a5a80..24f7577 100644 --- a/_posts/1988-02-19-what-is-jekyll.md +++ b/_posts/1988-02-19-what-is-jekyll.md @@ -3,7 +3,7 @@ layout: post title: "What is Jekyll?" date: 1988-02-19 categories: [Links] -tags: [jekyll, ruby, development, design, web3] +tags: [jekyll, life] link: https://github.com/jekyll/jekyll/blob/master/README.markdown --- diff --git a/_posts/2022-04-12-v1-5-5.md b/_posts/2022-04-12-v1-5-5.md deleted file mode 100644 index e4c284a..0000000 --- a/_posts/2022-04-12-v1-5-5.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -layout: post -title: "v1.5.5 Now Available" -date: 2022-04-12 -categories: [Announcements] -tags: [jekyll, development, news, life] -author: author_name -link: https://github.com/victorwynne/quattle/releases/tag/v1.5.5-RC ---- - -## <small>Download</small> -[GitHub](https://github.com/victorwynne/quattle/releases) or [RubyGems](https://rubygems.org/gems/quattle)<br> - -## <small>Changelog</small> - -Nokogiri published a critical security [update today](https://nokogiri.org/CHANGELOG.html) to address a regular expression denial-of-service vulnerability. - -**Updated Gems:** `nokogiri` to 1.13.4 and `public_suffix` to 4.0.7 diff --git a/_posts/2022-11-13-v1-6-0.md b/_posts/2022-11-13-v1-6-0.md new file mode 100644 index 0000000..70c835a --- /dev/null +++ b/_posts/2022-11-13-v1-6-0.md @@ -0,0 +1,23 @@ +--- +layout: post +title: "v1.6.0 Now Available" +date: 2022-11-13 +categories: [Announcements] +tags: [development, news] +link: https://github.com/victorwynne/quattle/releases/tag/v1.6.0-RC +--- + +<p class="notice"> + <small> +This release ensures compatibility with Jekyll <a href="https://github.com/jekyll/jekyll/releases/tag/v4.3.1">v4.3.1</a> + </small> +</p> + +## <small>Download</small> +[GitHub](https://github.com/victorwynne/quattle/releases) or [RubyGems](https://rubygems.org/gems/quattle)<br> + +## <small>Changelog</small> + +**New:** SCSS for styling social media posts. See an example in the [style guide](https://quattle.victorwynne.com/styles). + +**New:** Support for [TZInfo](https://github.com/tzinfo/tzinfo) - Ruby Timezone Library. It is no longer necessary to add time zone offsets to the date front matter. diff --git a/_sass/_tweet.scss b/_sass/_tweet.scss new file mode 100644 index 0000000..54d3b94 --- /dev/null +++ b/_sass/_tweet.scss @@ -0,0 +1,17 @@ +.tweet { + display: inline-block; + vertical-align: middle; + font-weight: 300; + margin-bottom: 15px; + padding: 20px 40px; + color: $text; + background-color: #242424; + border: .1rem solid #626162; + border-radius: 40px; + + @media (prefers-color-scheme: light) { + color: $light-scheme-text; + background-color: #f9f9f9; + border: .1rem solid #acabaa; + } +} diff --git a/about.md b/about.md index 85f4a72..8fec128 100644 --- a/about.md +++ b/about.md @@ -4,7 +4,7 @@ permalink: /about/ title: About --- -Quattle is a modern and customizable theme for the static site generator Jekyll. +Quattle is a modern, responsive and customizable theme for the static site generator Jekyll. It includes a number of features that are useful to writers and software developers. ## <small>Demo</small> You're looking at it right now. 🤓 @@ -15,19 +15,23 @@ You're looking at it right now. 🤓 ## <small>Features</small> Fully responsive with an emphasis on mobile friendly design, typography and interaction -HTML, SASS, XML, supporting assets and config files are included for the theme's design and functionality +HTML, SASS, XML, supporting assets and config files for integration with Jekyll -CSS media feature `prefers-color-scheme` to detect if the visitor has requested a light or dark color mode +[Starlight](https://github.com/victorwynne/starlight), a [Rouge](https://github.com/rouge-ruby/rouge) and [Pygments](https://github.com/pygments/pygments) compatible SCSS syntax highlighter for code blocks -`$variables` based color schemes for light and dark mode, syntax highlighting for code blocks and styling of elements +Manifest.json to function as a [PWA](https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps) + +`$variables` based colors + +CSS media feature `prefers-color-scheme` to detect if the visitor’s device has requested a light or dark mode HTML/CSS compression (minification) -Valid RSS 2.0 syndicated feed +RSS 2.0 syndicated feed GDPR valid and compliant cookie consent banner -404, site map, navigation, archive, category, tag, about, style and privacy pages +404, index, site map, archive, category, tag, about, style and privacy pages Archive displays a tag cloud and number of posts per month, year, category, tag @@ -37,14 +41,15 @@ Smart quotes across all content with the `{ | smartify }` liquid filter Rich preview links when shared via iMessage and social media services -A wide variety of HTML elements commonly used in Markdown writing are styled (mark, source references, blockquotes, headers, tables, boxes/buttons, figure captions, code blocks, footnotes) +A wide variety of HTML elements commonly used in Markdown writing are styled (mark, source references, blockquotes, headers, tables, boxes/buttons, figure captions, inline code, code blocks, tweets, footnotes) Additional supported and styled front matter: * Author attribution * Last modified date -* Permalinks for linked list style posts that have an external source reference +* Linked list style posts that have an external source reference ## <small>License</small> Quattle is free software distributed under a [MIT license](https://github.com/victorwynne/quattle/blob/main/LICENSE). +<br><br> diff --git a/quattle-1.5.5.gem b/quattle-1.5.5.gem deleted file mode 100644 index b3dcd4f..0000000 Binary files a/quattle-1.5.5.gem and /dev/null differ diff --git a/quattle-1.6.0.gem b/quattle-1.6.0.gem new file mode 100644 index 0000000..20b3f45 Binary files /dev/null and b/quattle-1.6.0.gem differ diff --git a/quattle.gemspec b/quattle.gemspec index b4d84ab..1e88a5f 100644 --- a/quattle.gemspec +++ b/quattle.gemspec @@ -2,7 +2,7 @@ Gem::Specification.new do |spec| spec.name = "quattle" - spec.version = "1.5.5" + spec.version = "1.6.0" spec.authors = ["Victor Wynne"] spec.email = ["hello@victorwynne.com"] @@ -13,7 +13,7 @@ Gem::Specification.new do |spec| spec.files = `git ls-files -z`.split("\x0").select do |f| f.match(%r{^(_(assets|includes|layouts|sass)/|(LICENSE|README)((\.(yml|xml|json|html|scss|txt|md|markdown)|$)))}i) end spec.required_ruby_version = '>= 2.7.0' - spec.add_runtime_dependency "jekyll", "~> 4.2" + spec.add_runtime_dependency "jekyll", "~> 4.3" spec.add_development_dependency "bundler", "~> 2.3" spec.add_development_dependency "rake", "~> 13.0" end diff --git a/styles.md b/styles.md index c4a3e1a..e8bae96 100644 --- a/styles.md +++ b/styles.md @@ -1,10 +1,11 @@ --- layout: page +permalink: /styles/ title: Styles --- <p class="notice"> - <small>The style guide serves to document the design of various elements used in the theme.</small> + <small>The style guide serves to document the design of various elements used on this website.</small> </p> ### This is a Header @@ -48,11 +49,11 @@ Subscript: H<sub>2</sub>O and Superscript: X<sup>2</sup> <br> -Here are the buttons whose class names and colors can be easily customized: - -<p><center> -<span class="added">added</span> <span class="removed">removed</span> <span class="improved">improved</span> <span class="fixed">fixed</span> <span class="soon">coming soon</span> -</center></p> +<p class="tweet"> + <small><b>Tim Cook</b></small> <small><a href="https://twitter.com/tim_cook/status/1497013501193195533?cxt=HHwWmsCsqaH2usYpAAAA">@tim_cook</a></small><br> + <small>Marking Steve’s birthday never gets any easier. In these challenging times, I’m remembering his call for us to use our time wisely, to pursue excellence, and to leave the world better than we found it. Today would have been his 67th birthday.</small><br> + <small>12:08 PM • Feb 24, 2022</small> +</p> <br> diff --git a/styles.scss b/styles.scss index fef1d6e..1af82f9 100644 --- a/styles.scss +++ b/styles.scss @@ -14,3 +14,4 @@ @import "pagination"; @import "message"; @import "buttons"; +@import "tweet"