From ad1c48067157755e404f670055b773a7348d4442 Mon Sep 17 00:00:00 2001 From: evalquote Date: Sat, 19 Nov 2022 20:43:04 +0100 Subject: [PATCH 1/9] feat(repo): upgrade theme to latest jekyll --- .gitignore | 44 +---------- 404.html | 25 ++++++ Gemfile | 33 ++++++++ Gemfile.lock | 83 ++++++++++++++++++++ _config.yml | 69 +++++++++++----- _posts/2022-11-19-welcome-to-jekyll.markdown | 29 +++++++ about.markdown | 18 +++++ index.markdown | 6 ++ 8 files changed, 248 insertions(+), 59 deletions(-) create mode 100644 404.html create mode 100644 Gemfile create mode 100644 Gemfile.lock create mode 100644 _posts/2022-11-19-welcome-to-jekyll.markdown create mode 100644 about.markdown create mode 100644 index.markdown diff --git a/.gitignore b/.gitignore index 46d6e5cde3b..f40fbd8ba56 100644 --- a/.gitignore +++ b/.gitignore @@ -1,43 +1,5 @@ -# Ignore docs files -_gh_pages _site -.ruby-version +.sass-cache .jekyll-cache - -# Numerous always-ignore extensions -*.diff -*.err -*.orig -*.log -*.rej -*.swo -*.swp -*.zip -*.vi -*~ - -# OS or Editor folders -.DS_Store -._* -Thumbs.db -.cache -.project -.settings -.tmproj -*.esproj -nbproject -*.sublime-project -*.sublime-workspace -.idea - -# Komodo -*.komodoproject -.komodotools - -# grunt-html-validation -validation-status.json -validation-report.json - -# Folders to ignore -node_modules -bower_components +.jekyll-metadata +vendor diff --git a/404.html b/404.html new file mode 100644 index 00000000000..086a5c9ea98 --- /dev/null +++ b/404.html @@ -0,0 +1,25 @@ +--- +permalink: /404.html +layout: default +--- + + + +
+

404

+ +

Page not found :(

+

The requested page could not be found.

+
diff --git a/Gemfile b/Gemfile new file mode 100644 index 00000000000..1bccf29af2f --- /dev/null +++ b/Gemfile @@ -0,0 +1,33 @@ +source "https://rubygems.org" +# Hello! This is where you manage which Jekyll version is used to run. +# When you want to use a different version, change it below, save the +# file and run `bundle install`. Run Jekyll with `bundle exec`, like so: +# +# bundle exec jekyll serve +# +# This will help ensure the proper Jekyll version is running. +# Happy Jekylling! +gem "jekyll", "~> 4.3.1" +# This is the default theme for new Jekyll sites. You may change this to anything you like. +gem "minima", "~> 2.5" +# If you want to use GitHub Pages, remove the "gem "jekyll"" above and +# uncomment the line below. To upgrade, run `bundle update github-pages`. +# gem "github-pages", group: :jekyll_plugins +# If you have any plugins, put them here! +group :jekyll_plugins do + gem "jekyll-feed", "~> 0.12" +end + +# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem +# and associated library. +platforms :mingw, :x64_mingw, :mswin, :jruby do + gem "tzinfo", ">= 1", "< 3" + gem "tzinfo-data" +end + +# Performance-booster for watching directories on Windows +gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin] + +# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem +# do not have a Java counterpart. +gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby] diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 00000000000..74764d74773 --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,83 @@ +GEM + remote: https://rubygems.org/ + specs: + 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) + eventmachine (>= 0.12.9) + http_parser.rb (~> 0) + eventmachine (1.2.7) + ffi (1.15.5) + forwardable-extended (2.6.0) + http_parser.rb (0.8.0) + i18n (1.12.0) + concurrent-ruby (~> 1.0) + jekyll (4.3.1) + addressable (~> 2.4) + colorator (~> 1.0) + em-websocket (~> 0.5) + i18n (~> 1.0) + jekyll-sass-converter (>= 2.0, < 4.0) + jekyll-watch (~> 2.0) + kramdown (~> 2.3, >= 2.3.1) + kramdown-parser-gfm (~> 1.0) + liquid (~> 4.0) + mercenary (>= 0.3.6, < 0.5) + pathutil (~> 0.9) + rouge (>= 3.0, < 5.0) + safe_yaml (~> 1.0) + terminal-table (>= 1.8, < 4.0) + webrick (~> 1.7) + jekyll-feed (0.17.0) + jekyll (>= 3.7, < 5.0) + jekyll-sass-converter (2.2.0) + sassc (> 2.0.1, < 3.0) + jekyll-seo-tag (2.8.0) + jekyll (>= 3.8, < 5.0) + jekyll-watch (2.2.1) + listen (~> 3.0) + kramdown (2.4.0) + rexml + kramdown-parser-gfm (1.1.0) + kramdown (~> 2.0) + liquid (4.0.3) + listen (3.7.1) + rb-fsevent (~> 0.10, >= 0.10.3) + rb-inotify (~> 0.9, >= 0.9.10) + mercenary (0.4.0) + minima (2.5.1) + jekyll (>= 3.5, < 5.0) + jekyll-feed (~> 0.9) + jekyll-seo-tag (~> 2.1) + pathutil (0.16.2) + forwardable-extended (~> 2.6) + public_suffix (5.0.0) + rb-fsevent (0.11.2) + rb-inotify (0.10.1) + ffi (~> 1.0) + rexml (3.2.5) + rouge (4.0.0) + safe_yaml (1.0.5) + sassc (2.4.0) + ffi (~> 1.9) + terminal-table (3.0.2) + unicode-display_width (>= 1.1.1, < 3) + unicode-display_width (2.3.0) + webrick (1.7.0) + +PLATFORMS + arm64-darwin-22 + +DEPENDENCIES + http_parser.rb (~> 0.6.0) + jekyll (~> 4.3.1) + jekyll-feed (~> 0.12) + minima (~> 2.5) + tzinfo (>= 1, < 3) + tzinfo-data + wdm (~> 0.1.1) + +BUNDLED WITH + 2.3.26 diff --git a/_config.yml b/_config.yml index 45bc1ac8463..ef7ba7c1391 100644 --- a/_config.yml +++ b/_config.yml @@ -1,22 +1,55 @@ -# Setup -title: Lanyon -tagline: 'A Jekyll theme' -description: 'A reserved Jekyll theme that places the utmost gravity on content with a hidden drawer. Made by @mdo.' -url: http://lanyon.getpoole.com -baseurl: '' -paginate: 5 -permalink: pretty +# Welcome to Jekyll! +# +# This config file is meant for settings that affect your whole blog, values +# which you are expected to set up once and rarely edit after that. If you find +# yourself editing this file very often, consider using Jekyll's data files +# feature for the data you need to update frequently. +# +# For technical reasons, this file is *NOT* reloaded automatically when you use +# 'bundle exec jekyll serve'. If you change this file, please restart the server process. +# +# If you need help with YAML syntax, here are some quick references for you: +# https://learn-the-web.algonquindesign.ca/topics/markdown-yaml-cheat-sheet/#yaml +# https://learnxinyminutes.com/docs/yaml/ +# +# Site settings +# These are used to personalize your new site. If you look in the HTML files, +# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on. +# You can create any custom variable you would like, and they will be accessible +# in the templates via {{ site.myvariable }}. -# About/contact -author: - name: Mark Otto - url: https://twitter.com/mdo - email: markdotto@gmail.com +title: Your awesome title +email: your-email@example.com +description: >- # this means to ignore newlines until "baseurl:" + Write an awesome description for your new site here. You can edit this + line in _config.yml. It will appear in your document head meta (for + Google search results) and in your feed.xml site description. +baseurl: "" # the subpath of your site, e.g. /blog +url: "" # the base hostname & protocol for your site, e.g. http://example.com +twitter_username: jekyllrb +github_username: jekyll -# Gems +# Build settings +theme: minima plugins: - - jekyll-paginate + - jekyll-feed -# Custom vars -version: 1.1.0 -google_analytics_id: #UA-XXXX-Y +# Exclude from processing. +# The following items will not be processed, by default. +# Any item listed under the `exclude:` key here will be automatically added to +# the internal "default list". +# +# Excluded items can be processed by explicitly listing the directories or +# their entries' file path in the `include:` list. +# +# exclude: +# - .sass-cache/ +# - .jekyll-cache/ +# - gemfiles/ +# - Gemfile +# - Gemfile.lock +# - node_modules/ +# - vendor/bundle/ +# - vendor/cache/ +# - vendor/gems/ +# - vendor/ruby/ diff --git a/_posts/2022-11-19-welcome-to-jekyll.markdown b/_posts/2022-11-19-welcome-to-jekyll.markdown new file mode 100644 index 00000000000..0c1dbe9e5c0 --- /dev/null +++ b/_posts/2022-11-19-welcome-to-jekyll.markdown @@ -0,0 +1,29 @@ +--- +layout: post +title: "Welcome to Jekyll!" +date: 2022-11-19 20:42:42 +0100 +categories: jekyll update +--- +You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated. + +Jekyll requires blog post files to be named according to the following format: + +`YEAR-MONTH-DAY-title.MARKUP` + +Where `YEAR` is a four-digit number, `MONTH` and `DAY` are both two-digit numbers, and `MARKUP` is the file extension representing the format used in the file. After that, include the necessary front matter. Take a look at the source for this post to get an idea about how it works. + +Jekyll also offers powerful support for code snippets: + +{% highlight ruby %} +def print_hi(name) + puts "Hi, #{name}" +end +print_hi('Tom') +#=> prints 'Hi, Tom' to STDOUT. +{% endhighlight %} + +Check out the [Jekyll docs][jekyll-docs] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll’s GitHub repo][jekyll-gh]. If you have questions, you can ask them on [Jekyll Talk][jekyll-talk]. + +[jekyll-docs]: https://jekyllrb.com/docs/home +[jekyll-gh]: https://github.com/jekyll/jekyll +[jekyll-talk]: https://talk.jekyllrb.com/ diff --git a/about.markdown b/about.markdown new file mode 100644 index 00000000000..8b4e0b28c83 --- /dev/null +++ b/about.markdown @@ -0,0 +1,18 @@ +--- +layout: page +title: About +permalink: /about/ +--- + +This is the base Jekyll theme. You can find out more info about customizing your Jekyll theme, as well as basic Jekyll usage documentation at [jekyllrb.com](https://jekyllrb.com/) + +You can find the source code for Minima at GitHub: +[jekyll][jekyll-organization] / +[minima](https://github.com/jekyll/minima) + +You can find the source code for Jekyll at GitHub: +[jekyll][jekyll-organization] / +[jekyll](https://github.com/jekyll/jekyll) + + +[jekyll-organization]: https://github.com/jekyll diff --git a/index.markdown b/index.markdown new file mode 100644 index 00000000000..06715078416 --- /dev/null +++ b/index.markdown @@ -0,0 +1,6 @@ +--- +# Feel free to add content and custom Front Matter to this file. +# To modify the layout, see https://jekyllrb.com/docs/themes/#overriding-theme-defaults + +layout: home +--- From def82a75f87eb5dd1619a32e3bda7adcd85357a3 Mon Sep 17 00:00:00 2001 From: evalquote Date: Sat, 19 Nov 2022 21:05:35 +0100 Subject: [PATCH 2/9] fix(md): remove conflicting md vs. html files --- 404.md | 8 -------- about.md | 29 ----------------------------- index.markdown | 6 ------ 3 files changed, 43 deletions(-) delete mode 100644 404.md delete mode 100644 about.md delete mode 100644 index.markdown diff --git a/404.md b/404.md deleted file mode 100644 index d27f5915b48..00000000000 --- a/404.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -layout: default -title: "404: Page not found" -permalink: 404.html ---- - -# 404: Page not found -Sorry, we've misplaced that URL or it's pointing to something that doesn't exist. [Head back home]({{ site.url }}) to try finding it again. \ No newline at end of file diff --git a/about.md b/about.md deleted file mode 100644 index 9d12ee3c566..00000000000 --- a/about.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -layout: page -title: About ---- - -

- Hey there! This page is included as an example. Feel free to customize it for your own use upon downloading. Carry on! -

- -In the novel, *The Strange Case of Dr. Jeykll and Mr. Hyde*, Mr. Poole is Dr. Jekyll's virtuous and loyal butler. Similarly, Poole is an upstanding and effective butler that helps you build Jekyll themes. It's made by [@mdo](https://twitter.com/mdo). - -There are currently two themes built on Poole: - -* [Hyde](http://hyde.getpoole.com) -* [Lanyon](http://lanyon.getpoole.com) - -Learn more and contribute on [GitHub](https://github.com/poole). - -## Setup - -Some fun facts about the setup of this project include: - -* Built for [Jekyll](https://jekyllrb.com) -* Developed on GitHub and hosted for free on [GitHub Pages](https://pages.github.com) -* Coded with [Atom](https://atom.io) - -Have questions or suggestions? Feel free to [open an issue on GitHub](https://github.com/poole/issues/new) or [ask me on Twitter](https://twitter.com/mdo). - -Thanks for reading! diff --git a/index.markdown b/index.markdown deleted file mode 100644 index 06715078416..00000000000 --- a/index.markdown +++ /dev/null @@ -1,6 +0,0 @@ ---- -# Feel free to add content and custom Front Matter to this file. -# To modify the layout, see https://jekyllrb.com/docs/themes/#overriding-theme-defaults - -layout: home ---- From d392de5fd22ce2837b867c13ce33d92d5083a783 Mon Sep 17 00:00:00 2001 From: evalquote Date: Sat, 19 Nov 2022 21:07:25 +0100 Subject: [PATCH 3/9] chore(markdown): change .md to .markdown --- ...ll.md => 2020-04-01-whats-jekyll.markdown} | 0 ...md => 2020-04-02-example-content.markdown} | 0 ...=> 2020-04-03-introducing-lanyon.markdown} | 0 about.markdown | 29 +++++++++++++------ 4 files changed, 20 insertions(+), 9 deletions(-) rename _posts/{2020-04-01-whats-jekyll.md => 2020-04-01-whats-jekyll.markdown} (100%) rename _posts/{2020-04-02-example-content.md => 2020-04-02-example-content.markdown} (100%) rename _posts/{2020-04-03-introducing-lanyon.md => 2020-04-03-introducing-lanyon.markdown} (100%) diff --git a/_posts/2020-04-01-whats-jekyll.md b/_posts/2020-04-01-whats-jekyll.markdown similarity index 100% rename from _posts/2020-04-01-whats-jekyll.md rename to _posts/2020-04-01-whats-jekyll.markdown diff --git a/_posts/2020-04-02-example-content.md b/_posts/2020-04-02-example-content.markdown similarity index 100% rename from _posts/2020-04-02-example-content.md rename to _posts/2020-04-02-example-content.markdown diff --git a/_posts/2020-04-03-introducing-lanyon.md b/_posts/2020-04-03-introducing-lanyon.markdown similarity index 100% rename from _posts/2020-04-03-introducing-lanyon.md rename to _posts/2020-04-03-introducing-lanyon.markdown diff --git a/about.markdown b/about.markdown index 8b4e0b28c83..9d12ee3c566 100644 --- a/about.markdown +++ b/about.markdown @@ -1,18 +1,29 @@ --- layout: page title: About -permalink: /about/ --- -This is the base Jekyll theme. You can find out more info about customizing your Jekyll theme, as well as basic Jekyll usage documentation at [jekyllrb.com](https://jekyllrb.com/) +

+ Hey there! This page is included as an example. Feel free to customize it for your own use upon downloading. Carry on! +

-You can find the source code for Minima at GitHub: -[jekyll][jekyll-organization] / -[minima](https://github.com/jekyll/minima) +In the novel, *The Strange Case of Dr. Jeykll and Mr. Hyde*, Mr. Poole is Dr. Jekyll's virtuous and loyal butler. Similarly, Poole is an upstanding and effective butler that helps you build Jekyll themes. It's made by [@mdo](https://twitter.com/mdo). -You can find the source code for Jekyll at GitHub: -[jekyll][jekyll-organization] / -[jekyll](https://github.com/jekyll/jekyll) +There are currently two themes built on Poole: +* [Hyde](http://hyde.getpoole.com) +* [Lanyon](http://lanyon.getpoole.com) -[jekyll-organization]: https://github.com/jekyll +Learn more and contribute on [GitHub](https://github.com/poole). + +## Setup + +Some fun facts about the setup of this project include: + +* Built for [Jekyll](https://jekyllrb.com) +* Developed on GitHub and hosted for free on [GitHub Pages](https://pages.github.com) +* Coded with [Atom](https://atom.io) + +Have questions or suggestions? Feel free to [open an issue on GitHub](https://github.com/poole/issues/new) or [ask me on Twitter](https://twitter.com/mdo). + +Thanks for reading! From a9b4b2cdcddc99fd9169cf9a4dc713a23d31de9f Mon Sep 17 00:00:00 2001 From: evalquote Date: Sat, 19 Nov 2022 21:08:38 +0100 Subject: [PATCH 4/9] fix(pagination): update _config.yml and Gemfile for pagination --- Gemfile | 1 + Gemfile.lock | 2 ++ _config.yml | 29 +++++++++++++++++++++-------- 3 files changed, 24 insertions(+), 8 deletions(-) diff --git a/Gemfile b/Gemfile index 1bccf29af2f..07bdc7ca8e2 100644 --- a/Gemfile +++ b/Gemfile @@ -16,6 +16,7 @@ gem "minima", "~> 2.5" # If you have any plugins, put them here! group :jekyll_plugins do gem "jekyll-feed", "~> 0.12" + gem "jekyll-paginate", "~> 1.1" end # Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem diff --git a/Gemfile.lock b/Gemfile.lock index 74764d74773..753d418c252 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -32,6 +32,7 @@ GEM webrick (~> 1.7) jekyll-feed (0.17.0) jekyll (>= 3.7, < 5.0) + jekyll-paginate (1.1.0) jekyll-sass-converter (2.2.0) sassc (> 2.0.1, < 3.0) jekyll-seo-tag (2.8.0) @@ -74,6 +75,7 @@ DEPENDENCIES http_parser.rb (~> 0.6.0) jekyll (~> 4.3.1) jekyll-feed (~> 0.12) + jekyll-paginate (~> 1.1) minima (~> 2.5) tzinfo (>= 1, < 3) tzinfo-data diff --git a/_config.yml b/_config.yml index ef7ba7c1391..880db89264b 100644 --- a/_config.yml +++ b/_config.yml @@ -18,21 +18,34 @@ # You can create any custom variable you would like, and they will be accessible # in the templates via {{ site.myvariable }}. -title: Your awesome title -email: your-email@example.com +title: Lanyon +tagline: 'A Jekyll theme' description: >- # this means to ignore newlines until "baseurl:" - Write an awesome description for your new site here. You can edit this - line in _config.yml. It will appear in your document head meta (for - Google search results) and in your feed.xml site description. + 'A reserved Jekyll theme + that places the utmost gravity on content with a hidden drawer. Made by + @mdo.' baseurl: "" # the subpath of your site, e.g. /blog -url: "" # the base hostname & protocol for your site, e.g. http://example.com -twitter_username: jekyllrb -github_username: jekyll +url: "http://lanyon.getpoole.com" # the base hostname & protocol for your site, e.g. http://example.com +twitter_username: mdo +github_username: mdo +paginate: 5 +permalink: pretty + +# About/contact +author: + name: Mark Otto + url: https://twitter.com/mdo + email: markdotto@gmail.com # Build settings theme: minima plugins: - jekyll-feed + - jekyll-paginate + +# Custom vars +version: 1.1.0 +google_analytics_id: # UA-XXXX-Y # Exclude from processing. # The following items will not be processed, by default. From cfc69effde917073ae2be5783a1d5227f4ba2a7b Mon Sep 17 00:00:00 2001 From: evalquote Date: Sat, 19 Nov 2022 21:14:01 +0100 Subject: [PATCH 5/9] fix(_includes): remove dead links on sidebar --- _includes/sidebar.html | 2 -- 1 file changed, 2 deletions(-) diff --git a/_includes/sidebar.html b/_includes/sidebar.html index 762202aab7b..dde6a22f020 100644 --- a/_includes/sidebar.html +++ b/_includes/sidebar.html @@ -25,8 +25,6 @@ {% endif %} {% endfor %} - Download - GitHub project Currently v{{ site.version }} From 81949fa97c8d32c75adc3c1628390651aafe097f Mon Sep 17 00:00:00 2001 From: evalquote Date: Sat, 19 Nov 2022 21:21:32 +0100 Subject: [PATCH 6/9] chore(_posts): update markdown with latest writing --- _posts/2020-04-01-whats-jekyll.markdown | 28 +- _posts/2020-04-02-example-content.markdown | 245 +++++++++--------- _posts/2020-04-03-introducing-lanyon.markdown | 77 +++--- _posts/2022-11-19-welcome-to-jekyll.markdown | 29 --- 4 files changed, 185 insertions(+), 194 deletions(-) delete mode 100644 _posts/2022-11-19-welcome-to-jekyll.markdown diff --git a/_posts/2020-04-01-whats-jekyll.markdown b/_posts/2020-04-01-whats-jekyll.markdown index 515b87333ef..bb15e7f2cab 100644 --- a/_posts/2020-04-01-whats-jekyll.markdown +++ b/_posts/2020-04-01-whats-jekyll.markdown @@ -1,12 +1,30 @@ --- layout: post -title: What's Jekyll? +title: "Welcome to Jekyll!" +date: 2020-04-01 20:42:42 +0100 +categories: jekyll update --- -[Jekyll](https://jekyllrb.com) is a static site generator, an open-source tool for creating simple yet powerful websites of all shapes and sizes. From [the project's readme](https://github.com/mojombo/jekyll/blob/master/README.markdown): +You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated. - > Jekyll is a simple, blog aware, static site generator. It takes a template directory [...] and spits out a complete, static website suitable for serving with Apache or your favorite web server. This is also the engine behind GitHub Pages, which you can use to host your project’s page or blog right here from GitHub. +Jekyll requires blog post files to be named according to the following format: -It's an immensely useful tool and one we encourage you to use here with Lanyon. +`YEAR-MONTH-DAY-title.MARKUP` -Find out more by [visiting the project on GitHub](https://github.com/mojombo/jekyll). +Where `YEAR` is a four-digit number, `MONTH` and `DAY` are both two-digit numbers, and `MARKUP` is the file extension representing the format used in the file. After that, include the necessary front matter. Take a look at the source for this post to get an idea about how it works. + +Jekyll also offers powerful support for code snippets: + +{% highlight ruby %} +def print_hi(name) + puts "Hi, #{name}" +end +print_hi('Tom') +#=> prints 'Hi, Tom' to STDOUT. +{% endhighlight %} + +Check out the [Jekyll docs][jekyll-docs] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll’s GitHub repo][jekyll-gh]. If you have questions, you can ask them on [Jekyll Talk][jekyll-talk]. + +[jekyll-docs]: https://jekyllrb.com/docs/home +[jekyll-gh]: https://github.com/jekyll/jekyll +[jekyll-talk]: https://talk.jekyllrb.com/ diff --git a/_posts/2020-04-02-example-content.markdown b/_posts/2020-04-02-example-content.markdown index 81e474879a3..0a80def48bf 100644 --- a/_posts/2020-04-02-example-content.markdown +++ b/_posts/2020-04-02-example-content.markdown @@ -1,122 +1,123 @@ ---- -layout: post -title: Example content ---- - - -
- Howdy! This is an example blog post that shows several types of HTML content supported in this theme. -
- -Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. *Aenean eu leo quam.* Pellentesque ornare sem lacinia quam venenatis vestibulum. Sed posuere consectetur est at lobortis. Cras mattis consectetur purus sit amet fermentum. - -> Curabitur blandit tempus porttitor. Nullam quis risus eget urna mollis ornare vel eu leo. Nullam id dolor id nibh ultricies vehicula ut id elit. - -Etiam porta **sem malesuada magna** mollis euismod. Cras mattis consectetur purus sit amet fermentum. Aenean lacinia bibendum nulla sed consectetur. - -## Inline HTML elements - -HTML defines a long list of available inline tags, a complete list of which can be found on the [Mozilla Developer Network](https://developer.mozilla.org/en-US/docs/Web/HTML/Element). - -- **To bold text**, use ``. -- *To italicize text*, use ``. -- Abbreviations, like HTML should use ``, with an optional `title` attribute for the full phrase. -- Citations, like — Mark otto, should use ``. -- Deleted text should use `` and inserted text should use ``. -- Superscript text uses `` and subscript text uses ``. - -Most of these elements are styled by browsers with few modifications on our part. - -## Heading - -Vivamus sagittis lacus vel augue rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. - -### Code - -Cum sociis natoque penatibus et magnis dis `code element` montes, nascetur ridiculus mus. - -{% highlight js %} -// Example can be run directly in your JavaScript console - -// Create a function that takes two arguments and returns the sum of those arguments -var adder = new Function("a", "b", "return a + b"); - -// Call the function -adder(2, 6); -// > 8 -{% endhighlight %} - -Aenean lacinia bibendum nulla sed consectetur. Etiam porta sem malesuada magna mollis euismod. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa. - -### Lists - -Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Aenean lacinia bibendum nulla sed consectetur. Etiam porta sem malesuada magna mollis euismod. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. - -* Praesent commodo cursus magna, vel scelerisque nisl consectetur et. -* Donec id elit non mi porta gravida at eget metus. -* Nulla vitae elit libero, a pharetra augue. - -Donec ullamcorper nulla non metus auctor fringilla. Nulla vitae elit libero, a pharetra augue. - -1. Vestibulum id ligula porta felis euismod semper. -2. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. -3. Maecenas sed diam eget risus varius blandit sit amet non magna. - -Cras mattis consectetur purus sit amet fermentum. Sed posuere consectetur est at lobortis. - -
-
HyperText Markup Language (HTML)
-
The language used to describe and define the content of a Web page
- -
Cascading Style Sheets (CSS)
-
Used to describe the appearance of Web content
- -
JavaScript (JS)
-
The programming language used to build advanced Web sites and applications
-
- -Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Nullam quis risus eget urna mollis ornare vel eu leo. - -### Tables - -Aenean lacinia bibendum nulla sed consectetur. Lorem ipsum dolor sit amet, consectetur adipiscing elit. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameUpvotesDownvotes
Totals2123
Alice1011
Bob43
Charlie79
- -Nullam id dolor id nibh ultricies vehicula ut id elit. Sed posuere consectetur est at lobortis. Nullam quis risus eget urna mollis ornare vel eu leo. - ------ - -Want to see something else added? Open an issue. +--- +layout: post +date: 2020-04-02 20:42:42 +0100 +title: Example content +--- + + +
+ Howdy! This is an example blog post that shows several types of HTML content supported in this theme. +
+ +Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. *Aenean eu leo quam.* Pellentesque ornare sem lacinia quam venenatis vestibulum. Sed posuere consectetur est at lobortis. Cras mattis consectetur purus sit amet fermentum. + +> Curabitur blandit tempus porttitor. Nullam quis risus eget urna mollis ornare vel eu leo. Nullam id dolor id nibh ultricies vehicula ut id elit. + +Etiam porta **sem malesuada magna** mollis euismod. Cras mattis consectetur purus sit amet fermentum. Aenean lacinia bibendum nulla sed consectetur. + +## Inline HTML elements + +HTML defines a long list of available inline tags, a complete list of which can be found on the [Mozilla Developer Network](https://developer.mozilla.org/en-US/docs/Web/HTML/Element). + +- **To bold text**, use ``. +- *To italicize text*, use ``. +- Abbreviations, like HTML should use ``, with an optional `title` attribute for the full phrase. +- Citations, like — Mark otto, should use ``. +- Deleted text should use `` and inserted text should use ``. +- Superscript text uses `` and subscript text uses ``. + +Most of these elements are styled by browsers with few modifications on our part. + +## Heading + +Vivamus sagittis lacus vel augue rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. + +### Code + +Cum sociis natoque penatibus et magnis dis `code element` montes, nascetur ridiculus mus. + +{% highlight js %} +// Example can be run directly in your JavaScript console + +// Create a function that takes two arguments and returns the sum of those arguments +var adder = new Function("a", "b", "return a + b"); + +// Call the function +adder(2, 6); +// > 8 +{% endhighlight %} + +Aenean lacinia bibendum nulla sed consectetur. Etiam porta sem malesuada magna mollis euismod. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa. + +### Lists + +Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Aenean lacinia bibendum nulla sed consectetur. Etiam porta sem malesuada magna mollis euismod. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. + +* Praesent commodo cursus magna, vel scelerisque nisl consectetur et. +* Donec id elit non mi porta gravida at eget metus. +* Nulla vitae elit libero, a pharetra augue. + +Donec ullamcorper nulla non metus auctor fringilla. Nulla vitae elit libero, a pharetra augue. + +1. Vestibulum id ligula porta felis euismod semper. +2. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. +3. Maecenas sed diam eget risus varius blandit sit amet non magna. + +Cras mattis consectetur purus sit amet fermentum. Sed posuere consectetur est at lobortis. + +
+
HyperText Markup Language (HTML)
+
The language used to describe and define the content of a Web page
+ +
Cascading Style Sheets (CSS)
+
Used to describe the appearance of Web content
+ +
JavaScript (JS)
+
The programming language used to build advanced Web sites and applications
+
+ +Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Nullam quis risus eget urna mollis ornare vel eu leo. + +### Tables + +Aenean lacinia bibendum nulla sed consectetur. Lorem ipsum dolor sit amet, consectetur adipiscing elit. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameUpvotesDownvotes
Totals2123
Alice1011
Bob43
Charlie79
+ +Nullam id dolor id nibh ultricies vehicula ut id elit. Sed posuere consectetur est at lobortis. Nullam quis risus eget urna mollis ornare vel eu leo. + +----- + +Want to see something else added? Open an issue. diff --git a/_posts/2020-04-03-introducing-lanyon.markdown b/_posts/2020-04-03-introducing-lanyon.markdown index 13e7ce4854d..955edcfb81c 100644 --- a/_posts/2020-04-03-introducing-lanyon.markdown +++ b/_posts/2020-04-03-introducing-lanyon.markdown @@ -1,38 +1,39 @@ ---- -layout: post -title: Introducing Lanyon ---- - -Lanyon is an unassuming [Jekyll](http://jekyllrb.com) theme that places content first by tucking away navigation in a hidden drawer. It's based on [Poole](http://getpoole.com), the Jekyll butler. - -### Built on Poole - -Poole is the Jekyll Butler, serving as an upstanding and effective foundation for Jekyll themes by [@mdo](https://twitter.com/mdo). Poole, and every theme built on it (like Lanyon here) includes the following: - -* Complete Jekyll setup included (layouts, config, [404](/404), [RSS feed](/atom.xml), posts, and [example page](/about)) -* Mobile friendly design and development -* Easily scalable text and component sizing with `rem` units in the CSS -* Support for a wide gamut of HTML elements -* Related posts (time-based, because Jekyll) below each post -* Syntax highlighting, courtesy Pygments (the Python-based code snippet highlighter) - -### Lanyon features - -In addition to the features of Poole, Lanyon adds the following: - -* Toggleable sliding sidebar (built with only CSS) via **☰** link in top corner -* Sidebar includes support for textual modules and a dynamically generated navigation with active link support -* Two orientations for content and sidebar, default (left sidebar) and [reverse](https://github.com/poole/lanyon#reverse-layout) (right sidebar), available via `` classes -* [Eight optional color schemes](https://github.com/poole/lanyon#themes), available via `` classes - -[Head to the readme](https://github.com/poole/lanyon#readme) to learn more. - -### Browser support - -Lanyon is by preference a forward-thinking project. In addition to the latest versions of Chrome, Safari (mobile and desktop), and Firefox, it is only compatible with Internet Explorer 9 and above. - -### Download - -Lanyon is developed on and hosted with GitHub. Head to the GitHub repository for downloads, bug reports, and features requests. - -Thanks! +--- +layout: post +date: 2020-04-03 20:42:42 +0100 +title: Introducing Lanyon +--- + +Lanyon is an unassuming [Jekyll](http://jekyllrb.com) theme that places content first by tucking away navigation in a hidden drawer. It's based on [Poole](http://getpoole.com), the Jekyll butler. + +### Built on Poole + +Poole is the Jekyll Butler, serving as an upstanding and effective foundation for Jekyll themes by [@mdo](https://twitter.com/mdo). Poole, and every theme built on it (like Lanyon here) includes the following: + +* Complete Jekyll setup included (layouts, config, [404](/404), [RSS feed](/atom.xml), posts, and [example page](/about)) +* Mobile friendly design and development +* Easily scalable text and component sizing with `rem` units in the CSS +* Support for a wide gamut of HTML elements +* Related posts (time-based, because Jekyll) below each post +* Syntax highlighting, courtesy Pygments (the Python-based code snippet highlighter) + +### Lanyon features + +In addition to the features of Poole, Lanyon adds the following: + +* Toggleable sliding sidebar (built with only CSS) via **☰** link in top corner +* Sidebar includes support for textual modules and a dynamically generated navigation with active link support +* Two orientations for content and sidebar, default (left sidebar) and [reverse](https://github.com/poole/lanyon#reverse-layout) (right sidebar), available via `` classes +* [Eight optional color schemes](https://github.com/poole/lanyon#themes), available via `` classes + +[Head to the readme](https://github.com/poole/lanyon#readme) to learn more. + +### Browser support + +Lanyon is by preference a forward-thinking project. In addition to the latest versions of Chrome, Safari (mobile and desktop), and Firefox, it is only compatible with Internet Explorer 9 and above. + +### Download + +Lanyon is developed on and hosted with GitHub. Head to the GitHub repository for downloads, bug reports, and features requests. + +Thanks! diff --git a/_posts/2022-11-19-welcome-to-jekyll.markdown b/_posts/2022-11-19-welcome-to-jekyll.markdown deleted file mode 100644 index 0c1dbe9e5c0..00000000000 --- a/_posts/2022-11-19-welcome-to-jekyll.markdown +++ /dev/null @@ -1,29 +0,0 @@ ---- -layout: post -title: "Welcome to Jekyll!" -date: 2022-11-19 20:42:42 +0100 -categories: jekyll update ---- -You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated. - -Jekyll requires blog post files to be named according to the following format: - -`YEAR-MONTH-DAY-title.MARKUP` - -Where `YEAR` is a four-digit number, `MONTH` and `DAY` are both two-digit numbers, and `MARKUP` is the file extension representing the format used in the file. After that, include the necessary front matter. Take a look at the source for this post to get an idea about how it works. - -Jekyll also offers powerful support for code snippets: - -{% highlight ruby %} -def print_hi(name) - puts "Hi, #{name}" -end -print_hi('Tom') -#=> prints 'Hi, Tom' to STDOUT. -{% endhighlight %} - -Check out the [Jekyll docs][jekyll-docs] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll’s GitHub repo][jekyll-gh]. If you have questions, you can ask them on [Jekyll Talk][jekyll-talk]. - -[jekyll-docs]: https://jekyllrb.com/docs/home -[jekyll-gh]: https://github.com/jekyll/jekyll -[jekyll-talk]: https://talk.jekyllrb.com/ From cfedca68b55e5ba742585f15c152f08517ca60f3 Mon Sep 17 00:00:00 2001 From: evalquote Date: Sat, 19 Nov 2022 21:35:06 +0100 Subject: [PATCH 7/9] chore(_config.yml): adjust permalink and pagination --- _config.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/_config.yml b/_config.yml index 880db89264b..1efae34a84c 100644 --- a/_config.yml +++ b/_config.yml @@ -28,8 +28,10 @@ baseurl: "" # the subpath of your site, e.g. /blog url: "http://lanyon.getpoole.com" # the base hostname & protocol for your site, e.g. http://example.com twitter_username: mdo github_username: mdo -paginate: 5 +paginate: 1 +paginate_path: /page/:num permalink: pretty +permalink: /:title # About/contact author: From 628ab3d514b60f882040a8066c5fca4504e0b43a Mon Sep 17 00:00:00 2001 From: evalquote <108437472+evalquotegh@users.noreply.github.com> Date: Sat, 19 Nov 2022 22:06:08 +0100 Subject: [PATCH 8/9] chore(_config.yml): remove duplicate permalinks --- _config.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/_config.yml b/_config.yml index 1efae34a84c..e89a6612129 100644 --- a/_config.yml +++ b/_config.yml @@ -30,7 +30,6 @@ twitter_username: mdo github_username: mdo paginate: 1 paginate_path: /page/:num -permalink: pretty permalink: /:title # About/contact From 2564402556f3bdbd78604fe25da084619e4bd1f5 Mon Sep 17 00:00:00 2001 From: evalquote <108437472+evalquotegh@users.noreply.github.com> Date: Sun, 20 Nov 2022 09:45:39 +0100 Subject: [PATCH 9/9] chore(_config.yml): change title as permalink to slug --- _config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_config.yml b/_config.yml index e89a6612129..181b4cca37d 100644 --- a/_config.yml +++ b/_config.yml @@ -30,7 +30,7 @@ twitter_username: mdo github_username: mdo paginate: 1 paginate_path: /page/:num -permalink: /:title +permalink: /:slug # About/contact author: