Tweet

Add a tweet widget to your template.

Overview

You can add a tweet button to your template that will allow the user to share the current page via Twitter.

To include a tweet widget in your template you will need to add the following line:

{{widget('tweet', 'thisuniquewidgetname', {'linkText': 'Tweet'})|raw}}

Widget Options

You can change the following options for the widget:

  • linkText: The text that will appear in the tweet button

  • align: The widget alignment. You can set it to:

    • widget-align-left
    • widget-align-center
    • widget-align-right