What is a Contensis Block?
Install the Contensis CLI ๐ค
Fork the Leif .Net example ๐ด
Cloning the repo ๐ค
1
git clone git@github.com:{github-username}/razor-page-leif-example.git
1
2
git config --global user.name "Your GitHub Username"
git config --global user.email "your.email@example.com"
1
git clone https://github.com/{github-username}/razor-page-leif-example.git
1
cd razor-page-leif-example
Using your favourite IDE ๐คฉ
What are GitHub actions? ๐ค
CLI Setup ๐ ๏ธ
1
2
git commit -m 'getting started with blocks'
git push
Making a change ๐
Task: Change the background colour ๐๏ธ
1
2
3
body {
background-color: #ffffff;
}
1
2
3
4
body {
background-color: #ddf8ce; /* Change this colour code */
}
Preview the change locally ๐๏ธ
Release the block ๐
![Making a block live](/image-library/resources-images/user-guides-images/make-a-block-live-v21.xe561a31b.gif?quality=90&format=webp&width=1200)