Lib: S

debug start the variable debugger

random-number generate a random number

length put string length

unset unset a given variable

default set default value for a variable

increment increment a variable by one

decrement decrement a variable by one

upper-case make a string uppercase

serve end the program and serve the request

title-case uppercase the first character of each word in a string

lower-case make a string lowercase

import import a variable from global scope

round rounds a floating point number

truncate truncates a string to a given length (default is 80)

join combines a group of variables into a string

exists check if a file or a variable exists

epoch put current unix timestamp

year put current year

newline-to-br replace all newline characters with html break tags

mset set multiple variables at once

for iterate over a group of variables

url-encode convert any url-unsafe characters into percent-encoded ones

url-decode decodes a string that has been encoded by url-encode

scope create a new variable scope

reverse reverse a string

raw returns the content as is, without processing sunsed tags

if executes a block of code if a certain condition is met

head add content to html head

youtube embed youtube videos

list loop over files in a folder

repeat repeats its content a specified number of times

even check if a number is even

date put current date in different formats

metadata access a file metadata

count count all varibales matching a wildcard

contains check if a variable contains some value

code create a code block

case create complex conditions

bug create an error message

call call (run) a specified tag

calc calculate math expressions

a create a link

script add javascript to the page

style add css to the page

img create a picture element

p create multiple paragraphs by turning each line into a paragraph

center center a block of content (usually, text)

set set or reset a variable

http-to-https redirect traffic from http to https

split convert a string into multiple variables

put output (print) a variable

odd check if a number is odd

space put a space character

newline put a newline character (\n)

include include files, apps or libraries

replace replace some characters with some other characters in a string

trim remove space from beginning and end of a string

tag create a new tag

log log a message

escape convert special characters to html entities

hash generate a hash value (message digest)

redirect redirect current request to another page (url)

ignore ignore a block of code

not performs logical negation