"Description":"Default checks whether a given value is set and returns a default value if it\nis not. \"Set\" in this context means non-zero for numeric types and times;\nnon-zero length for strings, arrays, slices, and maps;\nany boolean or struct value; or non-nil for any other types.",
"Description":"After returns all the items after the first N in a rangeable list.",
"Args":[
"index",
"seq"
],
"Aliases":[
"after"
],
"Examples":[]
},
"Append":{
"Description":"Append appends the arguments up to the last one to the slice in the last argument.\nThis construct allows template constructs like this:\n {{ $pages = $pages | append $p2 $p1 }}\nNote that with 2 arguments where both are slices of the same type,\nthe first slice will be appended to the second:\n {{ $pages = $pages | append .Site.RegularPages }}",
"Args":[
"args"
],
"Aliases":[
"append"
],
"Examples":[]
},
"Apply":{
"Description":"Apply takes a map, array, or slice and returns a new slice with the function fname applied over it.",
"Args":[
"seq",
"fname",
"args"
],
"Aliases":[
"apply"
],
"Examples":[]
},
"Complement":{
"Description":"Complement gives the elements in the last element of seqs that are not in\nany of the others.\nAll elements of seqs must be slices or arrays of comparable types.\n\nThe reasoning behind this rather clumsy API is so we can do this in the templates:\n {{ $c := .Pages | complement $last4 }}",
"Description":"Delimit takes a given sequence and returns a delimited HTML string.\nIf last is passed to the function, it will be used as the final delimiter.",
"Description":"Dictionary creates a map[string]interface{} from the given parameters by\nwalking the parameters and treating them as key-value pairs. The number\nof parameters must be even.\nThe keys can be string slices, which will create the needed nested structure.",
"Description":"EchoParam returns a given value if it is set; otherwise, it returns an\nempty string.",
"Args":[
"a",
"key"
],
"Aliases":[
"echoParam"
],
"Examples":[
[
"{{ echoParam .Params \"langCode\" }}",
"en"
]
]
},
"First":{
"Description":"First returns the first N items in a rangeable list.",
"Args":[
"limit",
"seq"
],
"Aliases":[
"first"
],
"Examples":[]
},
"Group":{
"Description":"Group groups a set of elements by the given key.\nThis is currently only supported for Pages.",
"Args":[
"key",
"items"
],
"Aliases":[
"group"
],
"Examples":[]
},
"In":{
"Description":"In returns whether v is in the set l. l may be an array or slice.",
"Args":[
"l",
"v"
],
"Aliases":[
"in"
],
"Examples":[
[
"{{ if in \"this string contains a substring\" \"substring\" }}Substring found!{{ end }}",
"Substring found!"
]
]
},
"Index":{
"Description":"Index returns the result of indexing its first argument by the following\narguments. Thus \"index x 1 2 3\" is, in Go syntax, x[1][2][3]. Each\nindexed item must be a map, slice, or array.\n\nCopied from Go stdlib src/text/template/funcs.go.\n\nWe deviate from the stdlib due to https://github.com/golang/go/issues/14751.\n\nTODO(moorereason): merge upstream changes.",
"Description":"Intersect returns the common elements in the given sets, l1 and l2. l1 and\nl2 must be of the same type and may be either arrays or slices.",
"Args":[
"l1",
"l2"
],
"Aliases":[
"intersect"
],
"Examples":[]
},
"IsSet":{
"Description":"IsSet returns whether a given array, channel, slice, or map has a key\ndefined.",
"Args":[
"a",
"key"
],
"Aliases":[
"isSet",
"isset"
],
"Examples":[]
},
"KeyVals":{
"Description":"KeyVals creates a key and values wrapper.",
"Args":[
"key",
"vals"
],
"Aliases":[
"keyVals"
],
"Examples":[
[
"{{ keyVals \"key\" \"a\" \"b\" }}",
"key: [a b]"
]
]
},
"Last":{
"Description":"Last returns the last N items in a rangeable list.",
"Description":"Merge creates a copy of the final parameter and merges the preceding\nparameters into it in reverse order.\nCurrently only maps are supported. Key handling is case insensitive.",
"Description":"Seq creates a sequence of integers. It's named and used as GNU's seq.\n\nExamples:\n 3 =\u003e 1, 2, 3\n 1 2 4 =\u003e 1, 3\n -3 =\u003e -1, -2, -3\n 1 4 =\u003e 1, 2, 3, 4\n 1 -2 =\u003e 1, 0, -1, -2",
"Args":[
"args"
],
"Aliases":[
"seq"
],
"Examples":[
[
"{{ seq 3 }}",
"[1 2 3]"
]
]
},
"Shuffle":{
"Description":"Shuffle returns the given rangeable list in a randomised order.",
"Args":[
"seq"
],
"Aliases":[
"shuffle"
],
"Examples":[]
},
"Slice":{
"Description":"Slice returns a slice of all passed arguments.",
"Args":[
"args"
],
"Aliases":[
"slice"
],
"Examples":[
[
"{{ slice \"B\" \"C\" \"A\" | sort }}",
"[A B C]"
]
]
},
"Sort":{
"Description":"Sort returns a sorted sequence.",
"Args":[
"seq",
"args"
],
"Aliases":[
"sort"
],
"Examples":[]
},
"SymDiff":{
"Description":"SymDiff returns the symmetric difference of s1 and s2.\nArguments must be either a slice or an array of comparable types.",
"Args":[
"s2",
"s1"
],
"Aliases":[
"symdiff"
],
"Examples":[
[
"{{ slice 1 2 3 | symdiff (slice 3 4) }}",
"[1 2 4]"
]
]
},
"Union":{
"Description":"Union returns the union of the given sets, l1 and l2. l1 and\nl2 must be of the same type and may be either arrays or slices.\nIf l1 and l2 aren't of the same type then l1 will be returned.\nIf either l1 or l2 is nil then the non-nil list will be returned.",
"Args":[
"l1",
"l2"
],
"Aliases":[
"union"
],
"Examples":[
[
"{{ union (slice 1 2 3) (slice 3 4 5) }}",
"[1 2 3 4 5]"
]
]
},
"Uniq":{
"Description":"Uniq takes in a slice or array and returns a slice with subsequent\nduplicate elements removed.",
"Args":[
"seq"
],
"Aliases":[
"uniq"
],
"Examples":[
[
"{{ slice 1 2 3 2 | uniq }}",
"[1 2 3]"
]
]
},
"Where":{
"Description":"Where returns a filtered subset of a given data type.",
"Description":"GetCSV expects a data separator and one or n-parts of a URL to a resource which\ncan either be a local or a remote one.\nThe data separator can be a comma, semi-colon, pipe, etc, but only one character.\nIf you provide multiple parts for the URL they will be joined together to the final URL.\nGetCSV returns nil or a slice slice to use in a short code.",
"Args":[
"sep",
"urlParts"
],
"Aliases":[
"getCSV"
],
"Examples":[]
},
"GetJSON":{
"Description":"GetJSON expects one or n-parts of a URL to a resource which can either be a local or a remote one.\nIf you provide multiple parts they will be joined together to the final URL.\nGetJSON returns nil or parsed JSON to use in a short code.",
"Description":"Dump returns a object dump of val as a string.\nNote that not every value passed to Dump will print so nicely, but\nwe'll improve on that. We recommend using the \"go\" Chroma lexer to format the output\nnicely.\nAlso note that the output from Dump may change from Hugo version to the next,\nso don't depend on a specific output.",
"Description":"Jsonify encodes a given object to JSON. To pretty print the JSON, pass a map\nor dictionary of options as the first argument. Supported options are\n\"prefix\" and \"indent\". Each JSON element in the output will begin on a new\nline beginning with prefix followed by one or more copies of indent according\nto the indentation nesting.",
"Description":"Humanize returns the humanized form of a single parameter.\n\nIf the parameter is either an integer or a string containing an integer\nvalue, the behavior is to add the appropriate ordinal.\n\n Example: \"my-first-post\" -\u003e \"My first post\"\n Example: \"103\" -\u003e \"103rd\"\n Example: 52 -\u003e \"52nd\"",
"Args":[
"in"
],
"Aliases":[
"humanize"
],
"Examples":[
[
"{{ humanize \"my-first-post\" }}",
"My first post"
],
[
"{{ humanize \"myCamelPost\" }}",
"My camel post"
],
[
"{{ humanize \"52\" }}",
"52nd"
],
[
"{{ humanize 103 }}",
"103rd"
]
]
},
"Pluralize":{
"Description":"Pluralize returns the plural form of a single word.",
"Args":[
"in"
],
"Aliases":[
"pluralize"
],
"Examples":[
[
"{{ \"cat\" | pluralize }}",
"cats"
]
]
},
"Singularize":{
"Description":"Singularize returns the singular form of a single word.",
"Description":"NumFmt formats a number with the given precision using the\nnegative, decimal, and grouping options. The `options`\nparameter is a string consisting of `\u003cnegative\u003e \u003cdecimal\u003e \u003cgrouping\u003e`. The\ndefault `options` value is `- . ,`.\n\nNote that numbers are rounded up at 5 or greater.\nSo, with precision set to 0, 1.5 becomes `2`, and 1.4 becomes `1`.",
"Args":[
"precision",
"number",
"options"
],
"Aliases":null,
"Examples":[
[
"{{ lang.NumFmt 2 12345.6789 }}",
"12,345.68"
],
[
"{{ lang.NumFmt 2 12345.6789 \"- , .\" }}",
"12.345,68"
],
[
"{{ lang.NumFmt 6 -12345.6789 \"- .\" }}",
"-12345.678900"
],
[
"{{ lang.NumFmt 0 -12345.6789 \"- . ,\" }}",
"-12,346"
],
[
"{{ -98765.4321 | lang.NumFmt 2 }}",
"-98,765.43"
]
]
},
"Translate":{
"Description":"Translate returns a translated string for id.",
"Args":[
"id",
"args"
],
"Aliases":[
"i18n",
"T"
],
"Examples":[]
}
},
"math":{
"Add":{
"Description":"Add adds two numbers.",
"Args":[
"a",
"b"
],
"Aliases":[
"add"
],
"Examples":[
[
"{{add 1 2}}",
"3"
]
]
},
"Ceil":{
"Description":"Ceil returns the least integer value greater than or equal to x.",
"Args":[
"x"
],
"Aliases":null,
"Examples":[
[
"{{math.Ceil 2.1}}",
"3"
]
]
},
"Div":{
"Description":"Div divides two numbers.",
"Args":[
"a",
"b"
],
"Aliases":[
"div"
],
"Examples":[
[
"{{div 6 3}}",
"2"
]
]
},
"Floor":{
"Description":"Floor returns the greatest integer value less than or equal to x.",
"Args":[
"x"
],
"Aliases":null,
"Examples":[
[
"{{math.Floor 1.9}}",
"1"
]
]
},
"Log":{
"Description":"Log returns the natural logarithm of a number.",
"Args":[
"a"
],
"Aliases":null,
"Examples":[
[
"{{math.Log 1}}",
"0"
]
]
},
"Mod":{
"Description":"Mod returns a % b.",
"Args":[
"a",
"b"
],
"Aliases":[
"mod"
],
"Examples":[
[
"{{mod 15 3}}",
"0"
]
]
},
"ModBool":{
"Description":"ModBool returns the boolean of a % b. If a % b == 0, return true.",
"Description":"FileExists checks whether a file exists under the given path.",
"Args":[
"i"
],
"Aliases":[
"fileExists"
],
"Examples":[
[
"{{ fileExists \"foo.txt\" }}",
"false"
]
]
},
"Getenv":{
"Description":"Getenv retrieves the value of the environment variable named by the key.\nIt returns the value, which will be empty if the variable is not present.",
"Args":[
"key"
],
"Aliases":[
"getenv"
],
"Examples":[]
},
"ReadDir":{
"Description":"ReadDir lists the directory contents relative to the configured WorkingDir.",
"Args":[
"i"
],
"Aliases":[
"readDir"
],
"Examples":[
[
"{{ range (readDir \"files\") }}{{ .Name }}{{ end }}",
"README.txt"
]
]
},
"ReadFile":{
"Description":"ReadFile reads the file named by filename relative to the configured WorkingDir.\nIt returns the contents as a string.\nThere is an upper size limit set at 1 megabytes.",
"Args":[
"i"
],
"Aliases":[
"readFile"
],
"Examples":[
[
"{{ readFile \"files/README.txt\" }}",
"Hugo Rocks!"
]
]
},
"Stat":{
"Description":"",
"Args":null,
"Aliases":null,
"Examples":null
}
},
"partials":{
"Include":{
"Description":"Include executes the named partial.\nIf the partial contains a return statement, that value will be returned.\nElse, the rendered output will be returned:\nA string if the partial is a text/template, or template.HTML when html/template.",
"Description":"Join joins any number of path elements into a single path, adding a\nseparating slash if necessary. All the input\npath elements are passed into filepath.ToSlash converting any Windows slashes\nto forward slashes.\nThe result is Cleaned; in particular,\nall empty strings are ignored.",
"Description":"Split splits path immediately following the final slash,\nseparating it into a directory and file name component.\nIf there is no slash in path, Split returns an empty dir and\nfile set to path.\nThe input path is passed into filepath.ToSlash converting any Windows slashes\nto forward slashes.\nThe returned values have the property that path = dir+file.",
"Args":[
"path"
],
"Aliases":null,
"Examples":[
[
"{{ \"/my/path/filename.txt\" | path.Split }}",
"/my/path/|filename.txt"
],
[
"{{ \"/my/path/filename.txt\" | path.Split }}",
"/my/path/|filename.txt"
]
]
}
},
"reflect":{
"IsMap":{
"Description":"IsMap reports whether v is a map.",
"Args":[
"v"
],
"Aliases":null,
"Examples":[
[
"{{ if reflect.IsMap (dict \"a\" 1) }}Map{{ end }}",
"Map"
]
]
},
"IsSlice":{
"Description":"IsSlice reports whether v is a slice.",
"Args":[
"v"
],
"Aliases":null,
"Examples":[
[
"{{ if reflect.IsSlice (slice 1 2 3) }}Slice{{ end }}",
"Description":"Fingerprint transforms the given Resource with a MD5 hash of the content in\nthe RelPermalink and Permalink.",
"Args":[
"args"
],
"Aliases":[
"fingerprint"
],
"Examples":[]
},
"FromString":{
"Description":"",
"Args":null,
"Aliases":null,
"Examples":null
},
"Get":{
"Description":"Get locates the filename given in Hugo's assets filesystem\nand creates a Resource object that can be used for further transformations.",
"Args":[
"filename"
],
"Aliases":null,
"Examples":[]
},
"GetMatch":{
"Description":"",
"Args":null,
"Aliases":null,
"Examples":null
},
"Match":{
"Description":"",
"Args":null,
"Aliases":null,
"Examples":null
},
"Minify":{
"Description":"Minify minifies the given Resource using the MediaType to pick the correct\nminifier.",
"Args":[
"r"
],
"Aliases":[
"minify"
],
"Examples":[]
},
"PostCSS":{
"Description":"PostCSS processes the given Resource with PostCSS",
"Description":"Count counts the number of non-overlapping instances of substr in s.\nIf substr is an empty string, Count returns 1 + the number of Unicode code points in s.",
"Description":"CountWords returns the approximate word count in s.",
"Args":[
"s"
],
"Aliases":[
"countwords"
],
"Examples":[]
},
"FindRE":{
"Description":"FindRE returns a list of strings that match the regular expression. By default all matches\nwill be included. The number of matches can be limited with an optional third parameter.",
"Args":[
"expr",
"content",
"limit"
],
"Aliases":[
"findRE"
],
"Examples":[
[
"{{ findRE \"[G|g]o\" \"Hugo is a static side generator written in Go.\" \"1\" }}",
"[go]"
]
]
},
"FirstUpper":{
"Description":"FirstUpper returns a string with the first character as upper case.",
"Args":[
"s"
],
"Aliases":null,
"Examples":[
[
"{{ \"hugo rocks!\" | strings.FirstUpper }}",
"Hugo rocks!"
]
]
},
"HasPrefix":{
"Description":"HasPrefix tests whether the input s begins with prefix.",
"Args":[
"s",
"prefix"
],
"Aliases":[
"hasPrefix"
],
"Examples":[
[
"{{ hasPrefix \"Hugo\" \"Hu\" }}",
"true"
],
[
"{{ hasPrefix \"Hugo\" \"Fu\" }}",
"false"
]
]
},
"HasSuffix":{
"Description":"",
"Args":null,
"Aliases":null,
"Examples":null
},
"Repeat":{
"Description":"Repeat returns a new string consisting of count copies of the string s.",
"Description":"Replace returns a copy of the string s with all occurrences of old replaced\nwith new. The number of replacements can be limited with an optional fourth\nparameter.",
"Description":"ReplaceRE returns a copy of s, replacing all matches of the regular\nexpression pattern with the replacement text repl. The number of replacements\ncan be limited with an optional fourth parameter.",
"Description":"RuneCount returns the number of runes in s.",
"Args":[
"s"
],
"Aliases":null,
"Examples":[]
},
"SliceString":{
"Description":"SliceString slices a string by specifying a half-open range with\ntwo indices, start and end. 1 and 4 creates a slice including elements 1 through 3.\nThe end index can be omitted, it defaults to the string's length.",
"Args":[
"a",
"startEnd"
],
"Aliases":[
"slicestr"
],
"Examples":[
[
"{{slicestr \"BatMan\" 0 3}}",
"Bat"
],
[
"{{slicestr \"BatMan\" 3}}",
"Man"
]
]
},
"Split":{
"Description":"Split slices an input string into all substrings separated by delimiter.",
"Args":[
"a",
"delimiter"
],
"Aliases":[
"split"
],
"Examples":[]
},
"Substr":{
"Description":"Substr extracts parts of a string, beginning at the character at the specified\nposition, and returns the specified number of characters.\n\nIt normally takes two parameters: start and length.\nIt can also take one parameter: start, i.e. length is omitted, in which case\nthe substring starting from start until the end of the string will be returned.\n\nTo extract characters from the end of the string, use a negative start number.\n\nIn addition, borrowing from the extended behavior described at http://php.net/substr,\nif length is given and is negative, then that many characters will be omitted from\nthe end of string.",
"Args":[
"a",
"nums"
],
"Aliases":[
"substr"
],
"Examples":[
[
"{{substr \"BatMan\" 0 -3}}",
"Bat"
],
[
"{{substr \"BatMan\" 3 3}}",
"Man"
]
]
},
"Title":{
"Description":"Title returns a copy of the input s with all Unicode letters that begin words\nmapped to their title case.",
"Args":[
"s"
],
"Aliases":[
"title"
],
"Examples":[
[
"{{title \"Bat man\"}}",
"Bat Man"
],
[
"{{title \"somewhere over the rainbow\"}}",
"Somewhere Over the Rainbow"
]
]
},
"ToLower":{
"Description":"ToLower returns a copy of the input s with all Unicode letters mapped to their\nlower case.",
"Args":[
"s"
],
"Aliases":[
"lower"
],
"Examples":[
[
"{{lower \"BatMan\"}}",
"batman"
]
]
},
"ToUpper":{
"Description":"ToUpper returns a copy of the input s with all Unicode letters mapped to their\nupper case.",
"Args":[
"s"
],
"Aliases":[
"upper"
],
"Examples":[
[
"{{upper \"BatMan\"}}",
"BATMAN"
]
]
},
"Trim":{
"Description":"Trim returns a string with all leading and trailing characters defined\ncontained in cutset removed.",
"Args":[
"s",
"cutset"
],
"Aliases":[
"trim"
],
"Examples":[
[
"{{ trim \"++Batman--\" \"+-\" }}",
"Batman"
]
]
},
"TrimLeft":{
"Description":"TrimLeft returns a slice of the string s with all leading characters\ncontained in cutset removed.",
"Args":[
"cutset",
"s"
],
"Aliases":null,
"Examples":[
[
"{{ \"aabbaa\" | strings.TrimLeft \"a\" }}",
"bbaa"
]
]
},
"TrimPrefix":{
"Description":"TrimPrefix returns s without the provided leading prefix string. If s doesn't\nstart with prefix, s is returned unchanged.",
"Args":[
"prefix",
"s"
],
"Aliases":null,
"Examples":[
[
"{{ \"aabbaa\" | strings.TrimPrefix \"a\" }}",
"abbaa"
],
[
"{{ \"aabbaa\" | strings.TrimPrefix \"aa\" }}",
"bbaa"
]
]
},
"TrimRight":{
"Description":"TrimRight returns a slice of the string s with all trailing characters\ncontained in cutset removed.",
"Args":[
"cutset",
"s"
],
"Aliases":null,
"Examples":[
[
"{{ \"aabbaa\" | strings.TrimRight \"a\" }}",
"aabb"
]
]
},
"TrimSuffix":{
"Description":"TrimSuffix returns s without the provided trailing suffix string. If s\ndoesn't end with suffix, s is returned unchanged.",
"Args":[
"suffix",
"s"
],
"Aliases":null,
"Examples":[
[
"{{ \"aabbaa\" | strings.TrimSuffix \"a\" }}",
"aabba"
],
[
"{{ \"aabbaa\" | strings.TrimSuffix \"aa\" }}",
"aabb"
]
]
},
"Truncate":{
"Description":"Truncate truncates a given string to the specified length.",
"Args":[
"a",
"options"
],
"Aliases":[
"truncate"
],
"Examples":[
[
"{{ \"this is a very long text\" | truncate 10 \" ...\" }}",
"Description":"Exists returns whether the template with the given name exists.\nNote that this is the Unix-styled relative path including filename suffix,\ne.g. partials/header.html",
"Args":[
"name"
],
"Aliases":null,
"Examples":[
[
"{{ if (templates.Exists \"partials/header.html\") }}Yes!{{ end }}",
"Yes!"
],
[
"{{ if not (templates.Exists \"partials/doesnotexist.html\") }}No!{{ end }}",
"No!"
]
]
}
},
"time":{
"AsTime":{
"Description":"AsTime converts the textual representation of the datetime string into\na time.Time interface.",
"Description":"Duration converts the given number to a time.Duration.\nUnit is one of nanosecond/ns, microsecond/us/µs, millisecond/ms, second/s, minute/m or hour/h.",
"Args":[
"unit",
"number"
],
"Aliases":[
"duration"
],
"Examples":[
[
"{{ mul 60 60 | duration \"second\" }}",
"1h0m0s"
]
]
},
"Format":{
"Description":"Format converts the textual representation of the datetime string into\nthe other form or returns it of the time.Time value. These are formatted\nwith the layout string",
"Args":[
"layout",
"v"
],
"Aliases":[
"dateFormat"
],
"Examples":[
[
"dateFormat: {{ dateFormat \"Monday, Jan 2, 2006\" \"2015-01-21\" }}",
"dateFormat: Wednesday, Jan 21, 2015"
]
]
},
"Now":{
"Description":"Now returns the current local time.",
"Args":null,
"Aliases":[
"now"
],
"Examples":[]
},
"ParseDuration":{
"Description":"ParseDuration parses a duration string.\nA duration string is a possibly signed sequence of\ndecimal numbers, each with optional fraction and a unit suffix,\nsuch as \"300ms\", \"-1.5h\" or \"2h45m\".\nValid time units are \"ns\", \"us\" (or \"µs\"), \"ms\", \"s\", \"m\", \"h\".\nSee https://golang.org/pkg/time/#ParseDuration",
"Args":[
"in"
],
"Aliases":null,
"Examples":[
[
"{{ \"1h12m10s\" | time.ParseDuration }}",
"1h12m10s"
]
]
}
},
"transform":{
"Emojify":{
"Description":"Emojify returns a copy of s with all emoji codes replaced with actual emojis.\n\nSee http://www.emoji-cheat-sheet.com/",
"Description":"Remarshal is used in the Hugo documentation to convert configuration\nexamples from YAML to JSON, TOML (and possibly the other way around).\nThe is primarily a helper for the Hugo docs site.\nIt is not a general purpose YAML to TOML converter etc., and may\nchange without notice if it serves a purpose in the docs.\nFormat is one of json, yaml or toml.",
"Description":"Unmarshal unmarshals the data given, which can be either a string, json.RawMessage\nor a Resource. Supported formats are JSON, TOML, YAML, and CSV.\nYou can optionally provide an options map as the first argument.",
"Description":"AbsLangURL takes a given string and converts it to an absolute URL according\nto a page's position in the project directory structure and the current\nlanguage.",
"Args":[
"a"
],
"Aliases":[
"absLangURL"
],
"Examples":[]
},
"AbsURL":{
"Description":"AbsURL takes a given string and converts it to an absolute URL.",
"Args":[
"a"
],
"Aliases":[
"absURL"
],
"Examples":[]
},
"Anchorize":{
"Description":"Anchorize creates sanitized anchor names that are compatible with Blackfriday.",
"Args":[
"a"
],
"Aliases":[
"anchorize"
],
"Examples":[
[
"{{ \"This is a title\" | anchorize }}",
"this-is-a-title"
]
]
},
"Parse":{
"Description":"",
"Args":null,
"Aliases":null,
"Examples":null
},
"Ref":{
"Description":"Ref returns the absolute URL path to a given content item.",
"Args":[
"in",
"args"
],
"Aliases":[
"ref"
],
"Examples":[]
},
"RelLangURL":{
"Description":"RelLangURL takes a given string and prepends the relative path according to a\npage's position in the project directory structure and the current language.",
"Args":[
"a"
],
"Aliases":[
"relLangURL"
],
"Examples":[]
},
"RelRef":{
"Description":"RelRef returns the relative URL path to a given content item.",
"Args":[
"in",
"args"
],
"Aliases":[
"relref"
],
"Examples":[]
},
"RelURL":{
"Description":"RelURL takes a given string and prepends the relative path according to a\npage's position in the project directory structure.",
"Args":[
"a"
],
"Aliases":[
"relURL"
],
"Examples":[]
},
"URLize":{
"Description":"URLize returns the given argument formatted as URL.",