Skip to content

geminilabs/mobile-detect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Statamic v2 Mobile Detect Addon

Statamic 2.0.0-public-beta.2 + Mobile Detect 2.8.19

This plugin could not exist without the amazing work of the Mobile Detect project Mobile Detect 2.8.19

Usage

Core Tag

{{ mobile_detect }}

Example Output for {{ mobile_detect }}

  • computer
  • tablet
  • phone

Get Mobile Detect library version number

{{ mobile_detect:library_version }}

Example Output for {{ mobile_detect:library_version }}

2.8.19

Using as part of logic

Using {{ mobile_detect }} as part of an {{ if }} statement:

{{if something == { mobile_detect } }}
    ...
    {# some content #}
    ...
{{ endif }}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages