PbootCMS provides a series of tags to conveniently call the site configuration information to the foreground page, including the site entry address, site title, site domain name and other information. Using these tags can make website development more efficient and convenient.
usage method
1. First, log in to the PbootCMS background and enter the "Basic Content>Site Information" page. In this page, you can fill in the site title, keywords, description and other relevant information.
2. Add the following tags to the foreground page where the site information needs to be displayed:
{pboot: siteindex} {pboot: sitepath} {pboot: sitelanguage}//Site language {pboot: sitetitle}//Site title {pboot: sitesubtitle}//Site subtitle {pboot: sitedomain}//Site domain name {pboot: sitelogo}//Site logo {pboot: sitekeywords}//Site keywords {pboot: sitedescription}//Site description {pboot: siteicp}//Site filing information {pboot: sitetplpath}//Site template path {pboot: sitestatistical}//Site statistics {pboot: sitecopyright}//Site copyright
For example, to add a site title to the homepage of a website, you can write:
<h1>{pboot:sitetitle}</h1>
3. Save the page and refresh the website. You should be able to see that the added site information has been displayed in the corresponding location.
V1.1.6 New Label
In addition to the above tags, the following tags are added to the PbootCMS:
{pboot: pagetitle}//The title is automatically displayed according to different pages {pboot: pagekeywords}//Automatically display keywords according to different pages {pboot: pagedescription}//The description is automatically displayed according to different pages
These tags can automatically generate corresponding titles, keywords and descriptions according to the content of different pages, so that users can better understand the content of the page.
conclusion
By using {pboot: sitetitle} and other related tags, we can easily call the site information filled in the background management to the front page. This can help users better understand the basic situation of the website and improve the professionalism and credibility of the website. The new tags can automatically generate corresponding titles, keywords and descriptions according to the contents of different pages, which is more convenient and practical.