-
Release 0.7.1
Version 0.7.1 of jekyll-theme-switch has been released!
Add the gem to your
Gemfile
:gem 'jekyll-theme-switch'
Run
bundle install
, then set the theme in your_config.yml
:theme: jekyll-theme-switch
Release Notes
Added
- Added Mastodon profile link. Configure
mastodon_profile
with your handle, e.g.@islandsvinur@mastodon.nl
. Adds therel="me"
attribute, so your blog will get a green check mark on your Mastodon profile! - Added plugins to theme gem, now they actually work when you use the theme. Add
jekyll-theme-switch
to yourplugins
in_config.yml
.- Blog series support. Define a
series_slug
header in a series index post, addseries
headers referring to the slug to series posts - Tags:
category_link
creates a link to the page of the given categoryvideo
inserts a HTML5 video player for the given filevimeo
inserts a Vimeo player for the given URL
- Filters:
filesize
returns the size in bytes of the given filemastodon_url
returns the Mastodon profile url of the given handle, e.g.@islandsvinur@mastodon.nl
turns into https://mastodon.nl/@islandsvinurnormalize_whitespace
replaces all repeated whitespace into a single spacesonglink
creates a Songlink embed based on its Songlink
- Blog series support. Define a
- Added the date a post was modified to the post’s header, based on the
modified_date
field of the post - Added the ability to change the
<channel>
element of the RSS feed, by overriding the_includes/rss/channel.html
file - Added the configuration option
site_repository_base_url
which is used to construct an ‘Edit this page’ footer text - Added the ability to translate certain strings, by overriding the
_data/i18n.yaml
file - Added overridable post navigation in
_includes/post_nav.html
- Added full post contents in index, with shadow to hide the overflow
Changed
- Changed the homepage to a responsive Material Design card list
- Moved the
<head>
tag from_includes/head.html
to_layouts/default.html
, so uses can easily extend the head section - Changed tag and category index templates use the same template (overridable through
_includes/post_list.html
and_includes/post_item.html
) as the home page - Changed the homepage back to a normal Material Design card list
Fixed
- Fixed background of posts in dark mode
- Fixed an off-by-one error in printing month names
- Removed
assets/image
from gemspec, shrinking the gem from 8 MB to 22 kB
- Added Mastodon profile link. Configure
-
Release 0.6.0
Version 0.6.0 of jekyll-theme-switch has been released!
Add the gem to your
Gemfile
:gem 'jekyll-theme-switch'
Run
bundle install
, then set the theme in your_config.yml
:theme: jekyll-theme-switch
Release Notes
Added
- Added styles for image layouts
- Added styles for embed containers (YouTube, Vimeo, iframe etc.)
Changed
- Changed lead image background image to radial-gradient instead of linear-gradient
Fixed
- Use
Jekyll::Utils.slugify
fortaglinks
andcategorylinks
filters
-
New Jekyll theme!
This is the demo page of a new Jekyll theme.
You probably don’t want to, but if you really must use it, this is how.
Add the gem to your
Gemfile
:gem 'jekyll-theme-switch', ref: 'v0.7.0'
Run
bundle install
, then set the theme in your_config.yml
:theme: jekyll-theme-switch
-
Sed eu congue risus
Sed eu congue risus. Maecenas et efficitur odio, vel condimentum massa. Donec placerat eget turpis consequat tincidunt. Fusce condimentum vel tellus fermentum varius. Morbi at elementum nisi. Maecenas eros eros, ullamcorper vel commodo ut, consequat at enim. Nulla non tortor in orci tempor finibus.
Table Head 1 a 2 b 3 c -
Vestibulum et neque mattis, sollicitudin elit id, tincidunt elit
Vestibulum et neque mattis, sollicitudin elit id, tincidunt elit. Sed accumsan massa ac quam vehicula, eget porttitor dui blandit. Fusce auctor rhoncus ultricies. Cras suscipit, augue sed tempus pellentesque, odio est fringilla ante, id lacinia est dolor vitae nulla.
Donec id magna velit. Phasellus pellentesque odio sed turpis pulvinar pretium.
Sed ornare nunc eros, eu sodales mauris gravida vel.Praesent vel fringilla dui. Etiam semper nisl ut lacus viverra molestie. Nulla eget pharetra nulla. Donec a tempor turpis, id lacinia quam. Integer sed massa nec ante congue lobortis sed eget enim. Fusce semper ut nunc in commodo. Fusce tortor sem, efficitur a fringilla eget, hendrerit a arcu. Vivamus ut rhoncus urna, sed consequat felis.
![Single tree in a snowy landscape]({% link assets/image/fabian-betto-d3npqyXkaGI-unsplash.jpg %}){: .left width="200px"}
75% width, centered
Photo by Fabian Betto![Single tree in a snowy landscape]({% link assets/image/fabian-betto-d3npqyXkaGI-unsplash.jpg %}){: .width-75} _Photo by [Fabian Betto](https://unsplash.com/@fabianbetto)_ {: .center}
50% width, centered
Photo by Arnaud Jaegers![Willemswerf in Rotterdam]({% link assets/image/arnaud-jaegers-OkXIepDkNBE-unsplash.jpg %}){: .width-50} _Photo by [Arnaud Jaegers](https://unsplash.com/@ajaegers)_ {: .center}
-
Nulla ut lacus nec massa condimentum ornare in nec ante
Nulla ut lacus nec massa condimentum ornare in nec ante. Mauris luctus, elit id ultrices interdum, sem justo vehicula neque, vitae iaculis justo lorem a purus. Pellentesque vitae diam quam. Mauris pretium augue eget semper eleifend. Curabitur aliquam consequat augue nec blandit. Donec non egestas elit, at tempus nunc. Proin sagittis ornare lobortis. Suspendisse interdum dignissim eros. In sed aliquam massa, ut rhoncus ex. Praesent efficitur leo lectus, eu tempus arcu facilisis a. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Maecenas vulputate sem tellus, viverra venenatis tellus mattis sit amet. Sed ut sapien nec sapien vehicula eleifend in a odio. Quisque vel semper leo, in varius orci. Maecenas ligula quam, pretium ut erat ut, ultricies interdum odio. Etiam dignissim nisl vel ante auctor, sit amet eleifend diam mattis.
Page 1 of 3
Next keyboard_arrow_right