Created
December 1, 2016 12:03
-
-
Save poul-kg/3e23b2651b89bb8e36548009351ffd53 to your computer and use it in GitHub Desktop.
Watson Page Response in Twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% set s3 = 'https://s3-us-west-1.amazonaws.com/neon-global/watson' %} | |
{% set paragraph1 = "22 CityLink is bringing an innovative approach to building smart cities, starting from the ground-up. At the crossroads of efficiency and sustainability, our state-of-the-art platform provides an environment where people, businesses, and governments can flourish. Our holistic approach combines the power of artificial intelligence and machine learning to tailor and adapt to the needs of each citizen, while providing businesses and governments the information needed to create a world-class experience." %} | |
{% set paragraph2 = "Welcome to 22 CityLink. The Future of Living." %} | |
{% set page = { | |
layout: 'About_Us_Layout', | |
title: "Who are we?", | |
text: [paragraph1, paragraph2], | |
imageUrl: s3 ~ "/ipad-color-city-2.png", | |
backgroundImageUrl: s3 ~ "/assets/img/img-31.jpg" | |
}%} | |
{% set message = NT.newMessage() %} | |
{{ message.setText("22 CityLink is bringing an innovative approach to building smart cities, starting from the ground-up.") }} | |
{{ message.setPage(page) }} | |
{{ NT.pushMessage(message) }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment