Posts

Showing posts from December, 2019

Jinsi ya kutengeneza Instant view

# This sample template explores how we can turn the Telegram blog post on the left into an Instant View page as shown on the right — in several simple steps. If you're unsure what some of the elements used here do, check out the full documentation here: https://instantview.telegram.org/docs # Place the version at the beginning of template. We recommend always using the latest available version of Instant View. ~version: "2.0" ### STEP 1: Define which pages get Instant View and which don't # That's easy because we only need IV pages for posts on the Telegram blog. # This *condition* does the trick. ?path: /blog/.+ ### STEP 2: Define the essential elements # Now we'll start filling up the IV page. # To make things easier, we'll begin by storing the actual body of the post in a *variable* before we start our manipulations. $main: //div[@id="dev_page_content_wrap"] # The 'title' and 'body' *properties* are required for an Instant View