suve

awful: function: get-is

Declaration

bool :get-is ( string $NAME )

Summary

Check if URL parameter with given name is set.

Example

# GET example; website with multiple pages.
!if :get-is s'about'
    :page-about
    !else
!if :get-is s'news'
    :page-news
    !else
    :page-home
!fi !fi

wikistrona zmodyfikowana 2014/0601/2317