Skip to content

Releases: peterdesmet/petridish

petridish 3.1

12 Jan 17:24
Compare
Choose a tag to compare

Want to use Petridish? See the demo website.

Homepage

  • Breaking! The Twitter feed (tweets_on_home: true) is no longer supported. This functionality no longer worked with the change from Twitter to X.
  • With the removal of the Twitter feed, the home layout is now based on the default rather than base layout. This enables the use of page settings like toc: true for a table of content (#87). If you created your own home.html it will not be affected.

Socials

  • The logo for Twitter has been changed to X (#89). The variable name and URL are still twitter, so you don't need to update any settings.
  • You can now link to Bluesky in the footer and for team members. The order has changed to Bluesky, Mastodon, Twitter.
  • You can now link to LinkedIn in the footer and for team members.

Dependencies

  • Font Awesome was upgraded from 5.15.4 to 6.7.2. HTML classes were updated (e.g. fab fa-github to fa-brands fa-github) even though old class names seem to be still supported.
  • Academicons was removed: all icons are included in the newest version of Font Awesome. The logo of Google Scholar has been updated.
  • Bootstrap was upgraded from 5.1.3 to 5.3.3.
  • jquery was upgraded from 3.6.0 to 3.7.1.
  • popperjs was upgraded from 2.11.2 to 2.11.8.

Miscellaneous

  • When printing a page, the navbar, header image and footer are excluded (class `.d-print-none).
  • A CITATION.cff was added for easier citation (#102).

Full changelog: 3.0...3.1

petridish 3.0

27 Apr 13:07
Compare
Choose a tag to compare

Blog posts

  • Breaking! Posts now use tags instead of categories. Use tags: [tag 1, tag 2] in post front matter.
  • You can credit the creator of background images by using background.by: name, background.href: url (attribution link) and background.img: path/url to image. The attribution will appear on the bottom right corner. The original background: path/url to image will continue to work.
  • Disqus comments can now be configured.

Top navigation

  • Sites with a lot of content can now assign a custom navigation for certain sections.
  • It is no longer required to define the title (text) of pages in the navigation. By using href only, the text will be assigned based on the page title at that link. You can still use text to overwrite a title (e.g. a shorter one better fit for the navigation).

Footer

  • Breaking! Social links are now grouped into social in _config.yml. The old email, github_username and twitter_username will continue to work in this version, but might be removed in future versions.
  • social.github can either be a github_username or a github_username/repository
  • You can now include links to Facebook and Mastodon. The Mastodon link will support site verification (see your Mastodon profile settings).
  • When archive_permalink is enabled, the footer will include an RSS icon.
  • A new option github_edit: true / branch name enables an Edit this page link in the footer.

Team page

  • You can now create multiple team pages.
  • googlescholar and mastodon socials can now be defined for team members.

Metadata

  • Breaking! site.description (in _config.yml) is no longer used in <head> metadata. Instead, the page/post description is used.
  • <head> now includes page.author if defined
  • <head> now includes Open Graph Protocol metadata, i.e. og:url, og:type, og:title, og:description and og:image. This results in better preview when linking a page/post on Mastodon, Twitter, etc.
  • The site logo and background images now have an alt attribute.

Style

  • The title (h1) and description (lead) in the header are now slightly smaller for better readability on small screens.
  • Navigation dropdowns are now aligned to the right to avoid them being cut off.
  • Tables are now wrapped in a div with table-responsive avoiding them to break out their parent container.
  • Breaking! Some of your custom _layouts might be affected.
  • Long table of contents can now be scrolled.

Full changelog: 2.0...3.0

petridish 2.0

03 May 12:53
Compare
Choose a tag to compare
  • Updates Bootstrap to v5.
    • New layout for tables is likely the most visible change.
    • Petridish keeps underline reserved for hoovered links.
    • If you use Bootstrap CSS classes in your content, note that some have been renamed. Most notably float-left/float-right to float-start/float-end (but an alias in Petridish will make sure those continue to work) and badge colours now use e.g. bg-secondary rather than badge-secondary.
  • Updates Font Awesome to v5.
    • If you use Font Awesome CSS classes in your content, you will have to update fa to fas (solid icon), far (regular outline icon) or fab (brand icon). E.g. fa fa-github to fab fa-github
  • You can now use a sans-serif font for content (font_serif: false in _config.yml).
  • You can now enable Disqus comments for posts (comments: true in post frontmatter).
  • You can now enable a table of content for pages or posts (toc: true in page frontmatter).
  • Documentation is divided in Installation, Configuration and Markdown.
  • Favicon now works for sites on a subdomain.

petridish 1.1

11 Feb 11:03
ab9d808
Compare
Choose a tag to compare

Fix some issues: 1.0...1.1

petridish 1.0

15 Jul 12:56
Compare
Choose a tag to compare

First version that I'm happy to use for production. 🧫