Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 1.25 KB

README.md

File metadata and controls

39 lines (29 loc) · 1.25 KB

Snippets for CMS Made Simple HTML (Smarty) Templates

Known Issues

To handle .tpl files in the same way as .html files, you should adjust the user settings as follows:

 "files.associations": {
    "*.tpl": "html"
}

Release Notes

0.0.7

Added the following snippets:

Snippet Purpose
cb creates a {content} block tag
ci creates a {conten_image} block tag
year creates a {current_date} tag and ouputs the current year
literal creates a opening an closing {literal} tag
literaljs creates a opening an closing {literal} tag wrapped in a html <script> tag
breadcrumbs {nav_breadcrumbs}
include creates a {include} tag
ifelse smarty if else statement
foreach smarty foreach loop
mailto creates a {mailto} tag which encrypts an email addresss with javascript
cmshtml html boilerplate file with useful tags that can be used for any CMS Made Simple website
assign create a {assign} tag
cms_selflink creats a {cms_selflink} tag

Link to official CMS Made Simple Website

Enjoy!