There are two types of markup in Liquid: Output and Tag.
- Output markup (which may resolve to text) is surrounded by
{{ matched pairs of curly brackets (ie, braces) }}
- Tag markup (which cannot resolve to text) is surrounded by
{{ $imageSrc := .image | default "" }} | |
{{ $image := resources.Get $imageSrc }} | |
{{ if $image }} | |
{{ $alt := .alt | default $image.Title }} | |
{{ $loading := .loading | default "lazy" }} | |
{{ $class := .class | default "w-full" }} | |
{{ $sizes := .sizes | default "100vw" }} | |
{{ $itemprop := .itemprop | default "" }} | |
{{ if or (eq $image.MediaType.SubType "svg") (eq $image.MediaType.SubType "gif") }} |
There are two types of markup in Liquid: Output and Tag.
{{ matched pairs of curly brackets (ie, braces) }}
<?php | |
/** | |
* GravityView doesn't trigger the `gform_after_submission` action when editing entries. This does that, | |
* but ONLY FOR FORM #20. | |
* | |
* @param array $form | |
* @param int $entry_id ID of the entry being updated | |
* @param GravityView_Edit_Entry_Render $object | |
* |
donations: | |
paypal: | |
text: Donate # Button text | |
id: 7334HG9754 # PayPal button ID |
{ | |
"name": "jekyll-theme-plus", | |
"version": "1.0.0", | |
"description": "Advanced Jekyll theme", | |
"repository": { | |
"type": "git", | |
"url": "https://github.com/ivanchromjak/jekyll-theme-plus.git" | |
}, | |
"author": "Ivan Chromjak", | |
"license": "MIT", |