Metadata - Amay22/Siteleaf_Nadaleen GitHub Wiki

METADATA

Most interesting construct of the siteleaf development environment is the metadata feature. It’s like creating a variable in the HTML theme code and filling in its value as we move along. Metadata in a code is defined as follows:

	<h2 class="hero">{{ meta['aside'] }}</h2>

This is what I have in my HTML file. Now on my development environment is:

{{%Meta%}}

returns all the metadata.

For more information for manipulation of metadata see: http://www.siteleaf.com/help/themes/variables/metadata/ http://www.siteleaf.com/blog/metadata-in-siteleaf/

⚠️ **GitHub.com Fallback** ⚠️