Showing 10 of 1,090 results.

Adding Custom Metadata | Custom Metadata Tags

The most common place to queue custom metadata is within the site's app/Providers/AppServiceProvider.php file using the Metadata facade. To add a new <meta ...> tag, we can use the queue method and supply an array containing the attributes we want...

License

Attribute Renderer for Statamic is free software, released under the MIT license.Copyright (c) <Johnathon Koster> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the...

Author Variables | Default Variables

…}} The author's user agent string. {{ user_ip }} The author's IP address string. {{ has_user }} A boolean value indicating if the author can be mapped to a site user. {{ url }} A string value of the author's website, if the blueprint supports it....

License

Template Resolver for Statamic is free software, released under the MIT license.Copyright (c) <Johnathon Koster> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the...

Laravel 5: Checking if a Variable Holds a Value With filled

The filled helper function is the logical opposite of the blank helper function, and can be used to quickly determine if the provided value has a non-null, or non-empty value. The provided $value is considered filled if any of the following...

Front-end Templates

The required meta tags can be added to your front-end Antlers templates in a few different ways. The simplest method is to use the provided {{ get_social_media_images /}} tag: 1 <! doctype html > 2 < html > 3 < head > 4 {{ get_social_media_images...

se_capture Tag

The se_capture tag can be used to store the results of a template section, and output it later as a string. This is particularly helpful if you want to reuse the results of a partial, or navigation menu in multiple places without having to render...

Laravel String Helper Function: studly_case

Studly caps is a way of formatting text with capital letters, according to some pattern. Laravel's pattern is to remove the following word separators and capitalize the first letter of each word it finds (while not affecting the case of any other...

Filter Search