Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docs #1884

Open
david542542 opened this issue Jan 8, 2025 · 1 comment
Open

Update docs #1884

david542542 opened this issue Jan 8, 2025 · 1 comment

Comments

@david542542
Copy link

david542542 commented Jan 8, 2025

Can the type section be updated with all the types that are supported? At the very least it seems to be missing object and timestamp:

https://shopify.github.io/liquid/basics/types/

Image

Object is obviously supported:

{% if user %}
  Hello {{ user.name }}!
{% endif %}

As is timestamp/date:

{{ article.published_at | date: "%a, %b %d, %y" }}

Source: https://shopify.github.io/liquid/filters/date/

@Success1308
Copy link

The documentation has been updated to include the missing Object and Timestamp types. Detailed examples have been added to demonstrate their usage:

Object: Includes an example of accessing object attributes with a conditional statement.
Timestamp: Includes an example of formatting date and time values using the date filter.

This update ensures that all supported Liquid types are now documented comprehensively. Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants