User Tools

Site Tools


en:howto:open_with_default_template

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revision Both sides next revision
en:howto:open_with_default_template [2017/07/19 10:13]
Nicolas Ronvel created
en:howto:open_with_default_template [2017/07/19 10:18]
Nicolas Ronvel
Line 6: Line 6:
  
 You can specify, in the launching URL, a template to be loaded by default. You need to add a parameter to the Geckos URL : http://​gulix.github.io/​geckos/?​default_template=key You can specify, in the launching URL, a template to be loaded by default. You need to add a parameter to the Geckos URL : http://​gulix.github.io/​geckos/?​default_template=key
 +
 +The ''​key''​ parameter is the key of the template you want to load. To retrieve this key, check the template description and find the key parameter : 
 +
 +<code javascript>​
 +"​description":​ {
 +    "​description":​ "​Template for playing with colors !",
 +    "​title":"​Arabesque",​
 +    "​key":​ "​arabesque",​
 +    "​credits":​ "by Nicolas Ronvel",​
 +    "​url":​ "​https://​github.com/​Gulix/​geckos/"​
 +}
 +</​code>​
 +
 +In this example, the key is ''​arabesque'',​ and the url to load this template by default is http://​gulix.github.io/​geckos/?​default_template=arabesque
en/howto/open_with_default_template.txt · Last modified: 2017/07/19 10:18 by Nicolas Ronvel