• 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 the rel="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 your plugins in _config.yml.
      • Blog series support. Define a series_slug header in a series index post, add series headers referring to the slug to series posts
      • Tags:
        • category_link creates a link to the page of the given category
        • video inserts a HTML5 video player for the given file
        • vimeo inserts a Vimeo player for the given URL
      • Filters:
        • filesize returns the size in bytes of the given file
        • mastodon_url returns the Mastodon profile url of the given handle, e.g. @islandsvinur@mastodon.nl turns into https://mastodon.nl/@islandsvinur
        • normalize_whitespace replaces all repeated whitespace into a single space
        • songlink creates a Songlink embed based on its Songlink
    • 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
    Read more
  • 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 for taglinks and categorylinks filters
    Read more
  • 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
    
    Read more
  • 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
    Read more
  • 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.

    Single tree in a snowy landscape 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

    Single tree in a snowy landscape
    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

    Willemswerf in Rotterdam
    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}
    
    Read more
  • 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.

    Read more