X:insertfileduplicate

~[x:insertfileduplicate] is an X Code that inserts the contents of another file that is 32k or less in size. This tag ensures that  is only inserted into the page once.

Parameters
~[insertfileduplicate;{fileURL}]
 * - URL of the file to be inserted. Can be relative or absolute URL path.

Output Type
Number

Source
~[x:insertfileduplicate;/admin/example.html]

Output
Example!

Source
If current URL is, will look for ~[x:insertfileduplicate;example.html]

Output
Example!