_Menu.getSocialLinks()

Function to get navigation menu based on type(header or footer).

Example Usage

{% set menu = _Menu.getSocialLinks() %}

Response Example

{
	"facebook": "http://www.facebook.com",
	"linkedin": "http://www.linkedin.com",
	"google": "http://www.google.com",
	"youtube": "http://www.youtube.com",
	"twitter": "http://www.twitter.com",
	"vimeo": "http://www.vimeo.com",
	"pinterest": "http://www.pinterest.com"
}

Response Description

Returns an array of result. Array key is the name of the social platform and value is the url of the social platform.