-
Notifications
You must be signed in to change notification settings - Fork 15
Default Values in Template
alangrafu edited this page Mar 16, 2012
·
8 revisions
By default, LODSPeaKr will provide values that can be used in templates. This values can be accessed using {{lodspk.VARNAME}}
-
{{lodspk.home}}
: Defines where the LODSPeaKr is installed on the web. If it is installed inhttp://foo/bar/lodspeakr
,{{lodspk.home}}
will containhttp://foo/bar
-
{{lodspk.root}}
: The initial relative URL to which a client is redirected (e.g.,index.html
) -
{{lodspk.ns}}
: List of namespaces available-
{{lodspk.ns.foaf}}
will returnhttp://xmlns.com/foaf/0.1/
-
-
{{lodspk.endpoint}}
: List of endpoints available, similar tons
-
{{lodspk.endpoint.local}}
will return local SPARQL endpoint
-
-
{{lodspk.this.uri}}
: Same as above-
{{lodspk.this.curie}}
: CURIE version of current URI
-
-
{{lodspk.local}}
: Current local version of URI-
{{lodspk.local.curie}}
: CURIE version of local URI
-
-
{{uri}}
: Current URI. -
{{lodspk.this.uri}}
: Same as above-
{{lodspk.this.curie}}
: CURIE version of current URI
-
-
{{lodspk.local}}
: Current local version of URI-
{{lodspk.local.curie}}
: CURIE version of local URI
-
-
{% include "file" %}
will include a local file.