All Downloads are FREE. Search and download functionalities are using the official Maven repository.

templates.plugins.spincast-pebble.spincast-pebble.html Maven / Gradle / Ivy

There is a newer version: 2.2.0
Show newest version
{% extends "../../layout.html" %}

{% block sectionClasses %}plugins hasBreadCrumb plugins-spincast-pebble{% endblock %}
{% block meta_title %}Plugins - Spincast Pebble{% endblock %}
{% block meta_description %}Spincast Pebble plugin provides templating functionalities using Pebble.{% endblock %}

{% block scripts %}

{% endblock %}

{% block body %}

Overview

This plugin provides an implementation of the TemplatingEngine interface : SpincastPebbleTemplatingEngine. It is based on Pebble.

Make sure you read the Templating Engine section for more information about the templating functionnalities. Of course the Pebble documentation is also very useful.

Installation

If you use the spincast-default artifact and the standard Bootstrapper, this plugin is already installed by default so you have nothing to do!

If you start from scratch, using the spincast-core artifact, you can use the plugin by :

1. Adding this Maven artifact to your project:

<dependency>
    <groupId>org.spincast</groupId>
    <artifactId>spincast-plugins-pebble</artifactId>
    <version>{{spincast.spincastCurrrentVersion}}</version>
</dependency>

2. Installing the provided SpincastPebblePluginModule module to your Guice context.

Plugin class

The class implementing the SpincastPlugin interface is SpincastPebblePlugin.

Javadoc

Configuration

You can bind a SpincastPebbleTemplatingEngineConfig implementation to tweak the default configurations used by this plugin. By default, the SpincastPebbleTemplatingEngineConfigDefault class is used as the implementation.

{% endblock %}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy