21.4 Absolute Output File

21.4.1 Synopsis

absoutputfile ()

21.4.2 Description

Return absolute name of output file (e.g. /home/jeff/projects/site/index.html).

Important: absolute file names are usually meaningless when site is moved, so you must pay attention when using them. This function can be useful when you're debugging your scripts.

Also remember that this function is useful to get output file's name, but the file will be created after parsing so you can't do any operation on it.

21.4.3 Example

print (absoutputfile ());

Display name of output file.

This manual can be downloaded from http://www.g-cows.org/.