Cecil 7.45.0 released
Features
Get dimensions of a video asset
{% set asset = asset('video.mp4') %}
Dimensions: {{ asset.video.width }} x {{ asset.video.height }}
Miscs
- Dependencies updated
= 21) ? true : false" class="md:scroll-pt-[60px] scroll-pt-[43px]" lang=en x-data="{'darkMode': false, scrolledFromTop: false}" x-init="darkMode = JSON.parse(localStorage.getItem('darkMode')) || (!('darkMode' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches); $watch('darkMode', value => localStorage.setItem('darkMode', JSON.stringify(value)))">
{% set asset = asset('video.mp4') %}
Dimensions: {{ asset.video.width }} x {{ asset.video.height }}
Disable default metatag image.
New dump function.
i18n for taxonomy.
Processing time and consumed memory.
Changes ID of localized pages.
New variable page.paginator.links.path
.
New taxonomy template lookup rule.
New asset filter and functions for images.
LQIP filter.
Support of image CDN.
decoding="async"
added to images.
EXIF and audio data.
Add base page URL to TOC anchor.
JSON Feed output format.
Feeds links available from pages in a section.
Remove cache files by regular expression.
Create caption for images and embed links having a title.
Custom responsive image sizes
.
Turn a link into a video or audio element.
New option to add default class to body images.
Support of embed GitHub Gist link.
Local fallback for remote images.
New variable to override the canonical URL.
Link to a page in a markdown link.
Embed a YouTube video from a Markdown link.
Normalize asset path in Markdown.
Support of Markdown in <figcaption>
of an image.
Support of custom Twig extensions.
Options for 'sortby' front matter variable.
Fetch the dominant color of an image.
New 'toc' template filter.
Add 'language' option to template url() function.
Internal translations.
New command to extract templates.
New paginator.
Multiple formats translation.
Print memory usage in verbose mode.
Checks default language and locale configuration.
Better prev and next navigation in section.
Support of custom (localized) path
for section.
Debug output of translations.
Translations configuration options.
i18n support migrated to Symfony Translation + Twig Intl.
Sort pages collection by updated
date.
I18n feature for home page
Better front matter variables handling and fixes.
Localizeddate fallback.
Markdown files moved from content
to pages
.
Adds support of PHP 8.1+.
Adds an XSLT stylesheet to RSS feeds.
Adds an XSLT stylesheet to Atom feeds.
Adds audio and video media support in Markdown.
Code syntax highlight in Markdown.
New template filter: yaml_parse
.
Get a page in template.
Exclude directories, path or files in content.
Inline "insert" Markdown.
Define responsive images widths.
Converts variables to boolean.
Schedule pages publication.
New template filter: hex_to_rgb
.
Asking for basic configuration when creating a new site.
Adds support of SiteNavigationElement
structured data.
Option to disable remote images fetching.
WebP image optimization.
Get width and height of a SVG.
Markdown Note block-level element.
Build and serve a specific page.
Open content
with the configured editor.
Use a custom image variable in metatags.
Load pages from a specific section in homepage.
Options for excerpt_html
filter.
Navigation template.