2019-10-21 04:22:28 -04:00
{
"chroma" : {
"lexers" : [
2019-12-15 04:35:09 -05:00
{
"Name" : "ABAP" ,
"Aliases" : [
"abap"
]
} ,
2019-10-21 04:22:28 -04:00
{
"Name" : "ABNF" ,
"Aliases" : [
"abnf"
]
} ,
{
"Name" : "ActionScript" ,
"Aliases" : [
2022-06-16 01:23:38 -04:00
"as" ,
"actionscript"
2019-10-21 04:22:28 -04:00
]
} ,
{
"Name" : "ActionScript 3" ,
"Aliases" : [
2022-06-16 01:23:38 -04:00
"as3" ,
"actionscript3"
2019-10-21 04:22:28 -04:00
]
} ,
{
"Name" : "Ada" ,
"Aliases" : [
"ada" ,
"ada95" ,
2022-06-16 01:23:38 -04:00
"ada2005"
2019-10-21 04:22:28 -04:00
]
} ,
2021-06-18 11:49:54 -04:00
{
"Name" : "AL" ,
"Aliases" : [
2022-06-16 01:23:38 -04:00
"al"
2021-06-18 11:49:54 -04:00
]
} ,
2019-10-21 04:22:28 -04:00
{
"Name" : "Angular2" ,
"Aliases" : [
"ng2"
]
} ,
2021-06-18 11:49:54 -04:00
{
"Name" : "ANTLR" ,
"Aliases" : [
"antlr"
]
} ,
2019-10-21 04:22:28 -04:00
{
"Name" : "ApacheConf" ,
"Aliases" : [
"apacheconf" ,
2022-06-16 01:23:38 -04:00
"aconf" ,
"apache"
2019-10-21 04:22:28 -04:00
]
} ,
2021-06-18 11:49:54 -04:00
{
"Name" : "APL" ,
"Aliases" : [
"apl"
]
} ,
2019-10-21 04:22:28 -04:00
{
"Name" : "AppleScript" ,
"Aliases" : [
"applescript"
]
} ,
{
"Name" : "Arduino" ,
"Aliases" : [
2022-06-16 01:23:38 -04:00
"arduino"
2019-10-21 04:22:28 -04:00
]
} ,
2021-11-01 13:43:41 -04:00
{
"Name" : "ArmAsm" ,
"Aliases" : [
2022-06-16 01:23:38 -04:00
"armasm"
2021-11-01 13:43:41 -04:00
]
} ,
2019-10-21 04:22:28 -04:00
{
"Name" : "Awk" ,
"Aliases" : [
"awk" ,
"gawk" ,
"mawk" ,
"nawk"
]
} ,
{
"Name" : "Ballerina" ,
"Aliases" : [
"ballerina"
]
} ,
{
"Name" : "Bash" ,
"Aliases" : [
"bash" ,
"sh" ,
2022-06-16 01:23:38 -04:00
"ksh" ,
2019-10-21 04:22:28 -04:00
"zsh" ,
2022-06-16 01:23:38 -04:00
"shell"
2019-10-21 04:22:28 -04:00
]
} ,
2021-11-01 13:43:41 -04:00
{
"Name" : "BashSession" ,
"Aliases" : [
"bash-session" ,
"console" ,
"shell-session"
]
} ,
2019-10-21 04:22:28 -04:00
{
"Name" : "Batchfile" ,
"Aliases" : [
"bat" ,
"batch" ,
"dosbatch" ,
"winbatch"
]
} ,
2019-12-15 04:35:09 -05:00
{
"Name" : "BibTeX" ,
"Aliases" : [
"bib" ,
"bibtex"
]
} ,
2022-02-14 07:27:17 -05:00
{
"Name" : "Bicep" ,
"Aliases" : [
"bicep"
]
} ,
2019-10-21 04:22:28 -04:00
{
"Name" : "BlitzBasic" ,
"Aliases" : [
"blitzbasic" ,
2022-06-16 01:23:38 -04:00
"b3d" ,
"bplus"
2019-10-21 04:22:28 -04:00
]
} ,
2021-06-18 11:49:54 -04:00
{
"Name" : "BNF" ,
"Aliases" : [
"bnf"
]
} ,
2022-11-24 09:17:22 -05:00
{
"Name" : "BQN" ,
"Aliases" : [
"bqn"
]
} ,
2019-10-21 04:22:28 -04:00
{
"Name" : "Brainfuck" ,
"Aliases" : [
2022-06-16 01:23:38 -04:00
"brainfuck" ,
"bf"
2019-10-21 04:22:28 -04:00
]
} ,
{
"Name" : "C" ,
"Aliases" : [
2022-06-16 01:23:38 -04:00
"c"
2019-10-21 04:22:28 -04:00
]
} ,
{
"Name" : "C#" ,
"Aliases" : [
2022-06-16 01:23:38 -04:00
"csharp" ,
"c#"
2019-10-21 04:22:28 -04:00
]
} ,
{
"Name" : "C++" ,
"Aliases" : [
"cpp" ,
2022-06-16 01:23:38 -04:00
"c++"
2019-10-21 04:22:28 -04:00
]
} ,
2020-10-06 10:22:20 -04:00
{
"Name" : "Caddyfile" ,
"Aliases" : [
2022-06-16 01:23:38 -04:00
"caddyfile" ,
"caddy"
2020-10-06 10:22:20 -04:00
]
} ,
{
"Name" : "Caddyfile Directives" ,
"Aliases" : [
2022-06-16 01:23:38 -04:00
"caddyfile-directives" ,
2020-10-06 10:22:20 -04:00
"caddyfile-d" ,
2022-06-16 01:23:38 -04:00
"caddy-d"
2020-10-06 10:22:20 -04:00
]
} ,
2019-10-21 04:22:28 -04:00
{
"Name" : "Cap'n Proto" ,
"Aliases" : [
"capnp"
]
} ,
{
"Name" : "Cassandra CQL" ,
"Aliases" : [
"cassandra" ,
"cql"
]
} ,
{
"Name" : "Ceylon" ,
"Aliases" : [
"ceylon"
]
} ,
2021-06-18 11:49:54 -04:00
{
"Name" : "CFEngine3" ,
"Aliases" : [
2022-06-16 01:23:38 -04:00
"cfengine3" ,
"cf3"
2021-06-18 11:49:54 -04:00
]
} ,
{
"Name" : "cfstatement" ,
"Aliases" : [
"cfs"
]
} ,
2019-10-21 04:22:28 -04:00
{
"Name" : "ChaiScript" ,
"Aliases" : [
"chai" ,
"chaiscript"
]
} ,
2022-09-22 12:55:00 -04:00
{
"Name" : "Chapel" ,
"Aliases" : [
"chapel" ,
"chpl"
]
} ,
2019-10-21 04:22:28 -04:00
{
"Name" : "Cheetah" ,
"Aliases" : [
"cheetah" ,
2022-06-16 01:23:38 -04:00
"spitfire"
2019-10-21 04:22:28 -04:00
]
} ,
{
"Name" : "Clojure" ,
"Aliases" : [
2022-06-16 01:23:38 -04:00
"clojure" ,
"clj"
2019-10-21 04:22:28 -04:00
]
} ,
2021-06-18 11:49:54 -04:00
{
"Name" : "CMake" ,
"Aliases" : [
2022-06-16 01:23:38 -04:00
"cmake"
2021-06-18 11:49:54 -04:00
]
} ,
{
"Name" : "COBOL" ,
"Aliases" : [
2022-06-16 01:23:38 -04:00
"cobol"
2021-06-18 11:49:54 -04:00
]
} ,
2019-10-21 04:22:28 -04:00
{
"Name" : "CoffeeScript" ,
"Aliases" : [
"coffee-script" ,
2022-06-16 01:23:38 -04:00
"coffeescript" ,
"coffee"
2019-10-21 04:22:28 -04:00
]
} ,
{
"Name" : "Common Lisp" ,
"Aliases" : [
2022-06-16 01:23:38 -04:00
"common-lisp" ,
2019-10-21 04:22:28 -04:00
"cl" ,
2022-06-16 01:23:38 -04:00
"lisp"
]
} ,
{
"Name" : "Common Lisp" ,
"Aliases" : [
2019-10-21 04:22:28 -04:00
"common-lisp" ,
2022-06-16 01:23:38 -04:00
"cl" ,
2019-10-21 04:22:28 -04:00
"lisp"
]
} ,
{
"Name" : "Coq" ,
"Aliases" : [
2022-06-16 01:23:38 -04:00
"coq"
2019-10-21 04:22:28 -04:00
]
} ,
{
"Name" : "Crystal" ,
"Aliases" : [
"cr" ,
"crystal"
]
} ,
2021-06-18 11:49:54 -04:00
{
"Name" : "CSS" ,
"Aliases" : [
"css"
]
} ,
2019-10-21 04:22:28 -04:00
{
"Name" : "Cython" ,
"Aliases" : [
"cython" ,
2022-06-16 01:23:38 -04:00
"pyx" ,
"pyrex"
2019-10-21 04:22:28 -04:00
]
} ,
{
"Name" : "D" ,
"Aliases" : [
2022-06-16 01:23:38 -04:00
"d"
2019-10-21 04:22:28 -04:00
]
} ,
{
"Name" : "Dart" ,
"Aliases" : [
"dart"
]
} ,
{
"Name" : "Diff" ,
"Aliases" : [
"diff" ,
"udiff"
]
} ,
{
"Name" : "Django/Jinja" ,
"Aliases" : [
"django" ,
"jinja"
]
} ,
2022-09-22 12:55:00 -04:00
{
"Name" : "dns" ,
"Aliases" : [
"zone" ,
"bind"
]
} ,
2019-10-21 04:22:28 -04:00
{
"Name" : "Docker" ,
"Aliases" : [
"docker" ,
"dockerfile"
]
} ,
2021-06-18 11:49:54 -04:00
{
"Name" : "DTD" ,
"Aliases" : [
"dtd"
]
} ,
2021-06-08 12:46:58 -04:00
{
"Name" : "Dylan" ,
"Aliases" : [
2022-06-16 01:23:38 -04:00
"dylan"
2021-06-08 12:46:58 -04:00
]
} ,
2019-10-21 04:22:28 -04:00
{
"Name" : "EBNF" ,
"Aliases" : [
"ebnf"
]
} ,
{
"Name" : "Elixir" ,
"Aliases" : [
"elixir" ,
"ex" ,
"exs"
]
} ,
{
"Name" : "Elm" ,
"Aliases" : [
"elm"
]
} ,
{
"Name" : "EmacsLisp" ,
"Aliases" : [
2022-06-16 01:23:38 -04:00
"emacs" ,
2019-10-21 04:22:28 -04:00
"elisp" ,
2022-06-16 01:23:38 -04:00
"emacs-lisp"
]
} ,
{
"Name" : "EmacsLisp" ,
"Aliases" : [
2019-10-21 04:22:28 -04:00
"emacs" ,
2022-06-16 01:23:38 -04:00
"elisp" ,
2019-10-21 04:22:28 -04:00
"emacs-lisp"
]
} ,
{
"Name" : "Erlang" ,
"Aliases" : [
2022-06-16 01:23:38 -04:00
"erlang"
2019-10-21 04:22:28 -04:00
]
} ,
{
"Name" : "Factor" ,
"Aliases" : [
"factor"
]
} ,
2021-11-01 13:43:41 -04:00
{
"Name" : "Fennel" ,
"Aliases" : [
"fennel" ,
"fnl"
]
} ,
2019-10-21 04:22:28 -04:00
{
"Name" : "Fish" ,
"Aliases" : [
"fish" ,
2022-06-16 01:23:38 -04:00
"fishshell"
2019-10-21 04:22:28 -04:00
]
} ,
{
"Name" : "Forth" ,
"Aliases" : [
2022-06-16 01:23:38 -04:00
"forth"
2019-10-21 04:22:28 -04:00
]
} ,
{
"Name" : "Fortran" ,
"Aliases" : [
2022-09-22 12:55:00 -04:00
"fortran" ,
"f90"
2019-10-21 04:22:28 -04:00
]
} ,
2021-06-18 11:49:54 -04:00
{
"Name" : "FortranFixed" ,
"Aliases" : [
"fortranfixed"
]
} ,
{
"Name" : "FSharp" ,
"Aliases" : [
2022-06-16 01:23:38 -04:00
"fsharp"
2021-06-18 11:49:54 -04:00
]
} ,
2019-10-21 04:22:28 -04:00
{
"Name" : "GAS" ,
"Aliases" : [
"gas" ,
2022-06-16 01:23:38 -04:00
"asm"
2019-10-21 04:22:28 -04:00
]
} ,
{
"Name" : "GDScript" ,
"Aliases" : [
2022-06-16 01:23:38 -04:00
"gdscript" ,
"gd"
2019-10-21 04:22:28 -04:00
]
} ,
{
"Name" : "Genshi" ,
"Aliases" : [
"genshi" ,
"kid" ,
"xml+genshi" ,
"xml+kid"
]
} ,
{
"Name" : "Genshi HTML" ,
"Aliases" : [
"html+genshi" ,
"html+kid"
]
} ,
{
"Name" : "Genshi Text" ,
"Aliases" : [
"genshitext"
]
} ,
2020-07-07 00:58:43 -04:00
{
"Name" : "Gherkin" ,
"Aliases" : [
"cucumber" ,
2022-06-16 01:23:38 -04:00
"Cucumber" ,
"gherkin" ,
"Gherkin"
2020-07-07 00:58:43 -04:00
]
} ,
2021-06-18 11:49:54 -04:00
{
"Name" : "GLSL" ,
"Aliases" : [
2022-06-16 01:23:38 -04:00
"glsl"
2021-06-18 11:49:54 -04:00
]
} ,
2019-10-21 04:22:28 -04:00
{
"Name" : "Gnuplot" ,
"Aliases" : [
2022-06-16 01:23:38 -04:00
"gnuplot"
2019-10-21 04:22:28 -04:00
]
} ,
{
"Name" : "Go" ,
"Aliases" : [
"go" ,
"golang"
]
} ,
{
"Name" : "Go HTML Template" ,
"Aliases" : [
"go-html-template"
]
} ,
2022-06-16 01:23:38 -04:00
{
"Name" : "Go HTML Template" ,
"Aliases" : [
"go-html-template"
]
} ,
2019-10-21 04:22:28 -04:00
{
"Name" : "Go Text Template" ,
"Aliases" : [
"go-text-template"
]
} ,
{
"Name" : "GraphQL" ,
"Aliases" : [
"graphql" ,
2022-06-16 01:23:38 -04:00
"graphqls" ,
"gql"
2019-10-21 04:22:28 -04:00
]
} ,
2021-06-18 11:49:54 -04:00
{
"Name" : "Groff" ,
"Aliases" : [
"groff" ,
2022-06-16 01:23:38 -04:00
"nroff" ,
"man"
2021-06-18 11:49:54 -04:00
]
} ,
2019-10-21 04:22:28 -04:00
{
"Name" : "Groovy" ,
"Aliases" : [
"groovy"
]
} ,
{
2021-06-18 11:49:54 -04:00
"Name" : "Handlebars" ,
2019-10-21 04:22:28 -04:00
"Aliases" : [
2021-06-18 11:49:54 -04:00
"handlebars" ,
"hbs"
2019-10-21 04:22:28 -04:00
]
} ,
2020-07-07 00:58:43 -04:00
{
2021-06-18 11:49:54 -04:00
"Name" : "Haskell" ,
2020-07-07 00:58:43 -04:00
"Aliases" : [
2021-06-18 11:49:54 -04:00
"haskell" ,
"hs"
2020-07-07 00:58:43 -04:00
]
} ,
2019-10-21 04:22:28 -04:00
{
2021-06-18 11:49:54 -04:00
"Name" : "Haxe" ,
2019-10-21 04:22:28 -04:00
"Aliases" : [
2021-06-18 11:49:54 -04:00
"hx" ,
2022-06-16 01:23:38 -04:00
"haxe" ,
2021-06-18 11:49:54 -04:00
"hxsl"
2019-10-21 04:22:28 -04:00
]
} ,
{
2021-06-18 11:49:54 -04:00
"Name" : "HCL" ,
2019-10-21 04:22:28 -04:00
"Aliases" : [
2021-06-18 11:49:54 -04:00
"hcl"
2019-10-21 04:22:28 -04:00
]
} ,
{
2021-06-18 11:49:54 -04:00
"Name" : "Hexdump" ,
2019-10-21 04:22:28 -04:00
"Aliases" : [
2021-06-18 11:49:54 -04:00
"hexdump"
2019-10-21 04:22:28 -04:00
]
} ,
{
2021-06-18 11:49:54 -04:00
"Name" : "HLB" ,
2019-10-21 04:22:28 -04:00
"Aliases" : [
2021-06-18 11:49:54 -04:00
"hlb"
2019-10-21 04:22:28 -04:00
]
} ,
2022-11-24 09:17:22 -05:00
{
"Name" : "HLSL" ,
"Aliases" : [
"hlsl"
]
} ,
2023-05-22 11:47:06 -04:00
{
"Name" : "HolyC" ,
"Aliases" : [
"holyc"
]
} ,
2019-10-21 04:22:28 -04:00
{
2021-06-18 11:49:54 -04:00
"Name" : "HTML" ,
2019-10-21 04:22:28 -04:00
"Aliases" : [
2022-06-16 01:23:38 -04:00
"html"
2019-10-21 04:22:28 -04:00
]
} ,
{
2021-06-18 11:49:54 -04:00
"Name" : "HTTP" ,
2019-10-21 04:22:28 -04:00
"Aliases" : [
2021-06-18 11:49:54 -04:00
"http"
2019-10-21 04:22:28 -04:00
]
} ,
{
"Name" : "Hy" ,
"Aliases" : [
"hylang"
]
} ,
{
"Name" : "Idris" ,
"Aliases" : [
2022-06-16 01:23:38 -04:00
"idris" ,
"idr"
2019-10-21 04:22:28 -04:00
]
} ,
2019-12-15 04:35:09 -05:00
{
"Name" : "Igor" ,
"Aliases" : [
"igor" ,
2022-06-16 01:23:38 -04:00
"igorpro"
2019-12-15 04:35:09 -05:00
]
} ,
2021-06-18 11:49:54 -04:00
{
"Name" : "INI" ,
"Aliases" : [
2022-06-16 01:23:38 -04:00
"ini" ,
2021-06-18 11:49:54 -04:00
"cfg" ,
2022-06-16 01:23:38 -04:00
"dosini"
2021-06-18 11:49:54 -04:00
]
} ,
2019-10-21 04:22:28 -04:00
{
"Name" : "Io" ,
"Aliases" : [
"io"
]
} ,
2019-12-15 04:35:09 -05:00
{
"Name" : "J" ,
"Aliases" : [
"j"
]
} ,
2019-10-21 04:22:28 -04:00
{
"Name" : "Java" ,
"Aliases" : [
"java"
]
} ,
{
"Name" : "JavaScript" ,
"Aliases" : [
"js" ,
2022-06-16 01:23:38 -04:00
"javascript"
2019-10-21 04:22:28 -04:00
]
} ,
2021-06-18 11:49:54 -04:00
{
"Name" : "JSON" ,
"Aliases" : [
"json"
]
} ,
2019-10-21 04:22:28 -04:00
{
"Name" : "Julia" ,
"Aliases" : [
2022-06-16 01:23:38 -04:00
"julia" ,
"jl"
2019-10-21 04:22:28 -04:00
]
} ,
{
"Name" : "Jungle" ,
"Aliases" : [
"jungle"
]
} ,
{
"Name" : "Kotlin" ,
"Aliases" : [
2022-06-16 01:23:38 -04:00
"kotlin"
2019-10-21 04:22:28 -04:00
]
} ,
{
2021-06-18 11:49:54 -04:00
"Name" : "Lighttpd configuration file" ,
2019-10-21 04:22:28 -04:00
"Aliases" : [
2022-06-16 01:23:38 -04:00
"lighty" ,
"lighttpd"
2019-10-21 04:22:28 -04:00
]
} ,
{
2021-06-18 11:49:54 -04:00
"Name" : "LLVM" ,
2019-10-21 04:22:28 -04:00
"Aliases" : [
2021-06-18 11:49:54 -04:00
"llvm"
2019-10-21 04:22:28 -04:00
]
} ,
{
"Name" : "Lua" ,
"Aliases" : [
2022-06-16 01:23:38 -04:00
"lua"
2019-10-21 04:22:28 -04:00
]
} ,
2022-11-24 09:17:22 -05:00
{
"Name" : "Makefile" ,
"Aliases" : [
"make" ,
"makefile" ,
"mf" ,
"bsdmake"
]
} ,
2020-02-06 07:02:49 -05:00
{
2021-06-18 11:49:54 -04:00
"Name" : "Mako" ,
2020-02-06 07:02:49 -05:00
"Aliases" : [
2022-06-16 01:23:38 -04:00
"mako"
2020-02-06 07:02:49 -05:00
]
} ,
2019-10-21 04:22:28 -04:00
{
2021-06-18 11:49:54 -04:00
"Name" : "markdown" ,
2019-10-21 04:22:28 -04:00
"Aliases" : [
2021-06-18 11:49:54 -04:00
"md" ,
"mkd"
2019-10-21 04:22:28 -04:00
]
} ,
{
"Name" : "Mason" ,
"Aliases" : [
2022-06-16 01:23:38 -04:00
"mason"
2019-10-21 04:22:28 -04:00
]
} ,
{
"Name" : "Mathematica" ,
"Aliases" : [
"mathematica" ,
"mma" ,
2022-06-16 01:23:38 -04:00
"nb"
2019-10-21 04:22:28 -04:00
]
} ,
{
"Name" : "Matlab" ,
"Aliases" : [
"matlab"
]
} ,
2021-06-18 11:49:54 -04:00
{
"Name" : "mcfunction" ,
"Aliases" : [
"mcfunction"
]
} ,
2021-11-01 13:43:41 -04:00
{
"Name" : "Meson" ,
"Aliases" : [
"meson" ,
2022-06-16 01:23:38 -04:00
"meson.build"
2021-11-01 13:43:41 -04:00
]
} ,
2021-06-18 11:49:54 -04:00
{
"Name" : "Metal" ,
"Aliases" : [
"metal"
]
} ,
2019-10-21 04:22:28 -04:00
{
"Name" : "MiniZinc" ,
"Aliases" : [
"minizinc" ,
2022-06-16 01:23:38 -04:00
"MZN" ,
2019-10-21 04:22:28 -04:00
"mzn"
]
} ,
2021-06-18 11:49:54 -04:00
{
"Name" : "MLIR" ,
"Aliases" : [
"mlir"
]
} ,
2019-10-21 04:22:28 -04:00
{
"Name" : "Modula-2" ,
"Aliases" : [
2022-06-16 01:23:38 -04:00
"modula2" ,
"m2"
2019-10-21 04:22:28 -04:00
]
} ,
{
"Name" : "MonkeyC" ,
"Aliases" : [
"monkeyc"
]
} ,
{
"Name" : "MorrowindScript" ,
"Aliases" : [
"morrowind" ,
"mwscript"
]
} ,
{
2021-06-18 11:49:54 -04:00
"Name" : "Myghty" ,
2019-10-21 04:22:28 -04:00
"Aliases" : [
2022-06-16 01:23:38 -04:00
"myghty"
2019-10-21 04:22:28 -04:00
]
} ,
{
2021-06-18 11:49:54 -04:00
"Name" : "MySQL" ,
2019-10-21 04:22:28 -04:00
"Aliases" : [
2021-06-18 11:49:54 -04:00
"mysql" ,
2022-06-16 01:23:38 -04:00
"mariadb"
2019-10-21 04:22:28 -04:00
]
} ,
{
"Name" : "NASM" ,
"Aliases" : [
"nasm"
]
} ,
2023-05-22 11:47:06 -04:00
{
"Name" : "Natural" ,
"Aliases" : [
"natural"
]
} ,
2019-10-21 04:22:28 -04:00
{
"Name" : "Newspeak" ,
"Aliases" : [
2022-06-16 01:23:38 -04:00
"newspeak"
2019-10-21 04:22:28 -04:00
]
} ,
{
"Name" : "Nginx configuration file" ,
"Aliases" : [
"nginx"
]
} ,
{
"Name" : "Nim" ,
"Aliases" : [
"nim" ,
"nimrod"
]
} ,
{
"Name" : "Nix" ,
"Aliases" : [
2022-06-16 01:23:38 -04:00
"nixos" ,
"nix"
2019-10-21 04:22:28 -04:00
]
} ,
{
"Name" : "Objective-C" ,
"Aliases" : [
"objective-c" ,
2022-06-16 01:23:38 -04:00
"objectivec" ,
"obj-c" ,
"objc"
2019-10-21 04:22:28 -04:00
]
} ,
2021-06-18 11:49:54 -04:00
{
"Name" : "OCaml" ,
"Aliases" : [
"ocaml"
]
} ,
2019-10-21 04:22:28 -04:00
{
"Name" : "Octave" ,
"Aliases" : [
"octave"
]
} ,
2021-11-01 13:43:41 -04:00
{
"Name" : "OnesEnterprise" ,
"Aliases" : [
"ones" ,
2022-06-16 01:23:38 -04:00
"onesenterprise" ,
"1S" ,
"1S:Enterprise"
2021-11-01 13:43:41 -04:00
]
} ,
2022-02-14 07:27:17 -05:00
{
"Name" : "OpenEdge ABL" ,
"Aliases" : [
"openedge" ,
2022-06-16 01:23:38 -04:00
"abl" ,
2022-02-14 07:27:17 -05:00
"progress" ,
2022-06-16 01:23:38 -04:00
"openedgeabl"
2022-02-14 07:27:17 -05:00
]
} ,
2019-10-21 04:22:28 -04:00
{
"Name" : "OpenSCAD" ,
"Aliases" : [
2022-06-16 01:23:38 -04:00
"openscad"
2019-10-21 04:22:28 -04:00
]
} ,
{
"Name" : "Org Mode" ,
"Aliases" : [
"org" ,
"orgmode"
]
} ,
2021-06-18 11:49:54 -04:00
{
"Name" : "PacmanConf" ,
"Aliases" : [
"pacmanconf"
]
} ,
{
"Name" : "Perl" ,
"Aliases" : [
"perl" ,
2022-06-16 01:23:38 -04:00
"pl"
2021-06-18 11:49:54 -04:00
]
} ,
2019-10-21 04:22:28 -04:00
{
"Name" : "PHP" ,
"Aliases" : [
"php" ,
"php3" ,
"php4" ,
2022-06-16 01:23:38 -04:00
"php5"
2019-10-21 04:22:28 -04:00
]
} ,
2020-10-06 10:22:20 -04:00
{
"Name" : "PHTML" ,
"Aliases" : [
"phtml"
]
} ,
2019-10-21 04:22:28 -04:00
{
2021-06-18 11:49:54 -04:00
"Name" : "Pig" ,
2019-10-21 04:22:28 -04:00
"Aliases" : [
2021-06-18 11:49:54 -04:00
"pig"
2019-10-21 04:22:28 -04:00
]
} ,
{
2021-06-18 11:49:54 -04:00
"Name" : "PkgConfig" ,
2019-10-21 04:22:28 -04:00
"Aliases" : [
2021-06-18 11:49:54 -04:00
"pkgconfig"
2019-10-21 04:22:28 -04:00
]
} ,
{
2021-06-18 11:49:54 -04:00
"Name" : "PL/pgSQL" ,
2019-10-21 04:22:28 -04:00
"Aliases" : [
2021-06-18 11:49:54 -04:00
"plpgsql"
2019-10-21 04:22:28 -04:00
]
} ,
{
2021-06-18 11:49:54 -04:00
"Name" : "plaintext" ,
2019-10-21 04:22:28 -04:00
"Aliases" : [
2021-06-18 11:49:54 -04:00
"text" ,
2022-06-16 01:23:38 -04:00
"plain" ,
"no-highlight"
2019-10-21 04:22:28 -04:00
]
} ,
2022-02-14 07:27:17 -05:00
{
"Name" : "Plutus Core" ,
"Aliases" : [
2022-06-16 01:23:38 -04:00
"plutus-core" ,
"plc"
2022-02-14 07:27:17 -05:00
]
} ,
2019-10-21 04:22:28 -04:00
{
2021-06-18 11:49:54 -04:00
"Name" : "Pony" ,
2019-10-21 04:22:28 -04:00
"Aliases" : [
2021-06-18 11:49:54 -04:00
"pony"
2019-10-21 04:22:28 -04:00
]
} ,
2020-10-06 10:22:20 -04:00
{
2021-06-18 11:49:54 -04:00
"Name" : "PostgreSQL SQL dialect" ,
2020-10-06 10:22:20 -04:00
"Aliases" : [
2022-06-16 01:23:38 -04:00
"postgresql" ,
"postgres"
2020-10-06 10:22:20 -04:00
]
} ,
2019-10-21 04:22:28 -04:00
{
"Name" : "PostScript" ,
"Aliases" : [
"postscript" ,
2022-06-16 01:23:38 -04:00
"postscr"
2019-10-21 04:22:28 -04:00
]
} ,
{
2021-06-18 11:49:54 -04:00
"Name" : "POVRay" ,
2019-10-21 04:22:28 -04:00
"Aliases" : [
2021-06-18 11:49:54 -04:00
"pov"
]
} ,
{
"Name" : "PowerQuery" ,
"Aliases" : [
"powerquery" ,
"pq"
2019-10-21 04:22:28 -04:00
]
} ,
{
"Name" : "PowerShell" ,
"Aliases" : [
"powershell" ,
2022-06-16 01:23:38 -04:00
"posh" ,
2019-10-21 04:22:28 -04:00
"ps1" ,
2022-06-16 01:23:38 -04:00
"psm1" ,
2022-11-24 09:17:22 -05:00
"psd1" ,
"pwsh"
2019-10-21 04:22:28 -04:00
]
} ,
{
"Name" : "Prolog" ,
"Aliases" : [
"prolog"
]
} ,
2021-01-20 06:47:49 -05:00
{
"Name" : "PromQL" ,
"Aliases" : [
"promql"
]
} ,
2022-09-22 12:55:00 -04:00
{
"Name" : "properties" ,
"Aliases" : [
"java-properties"
]
} ,
2019-10-21 04:22:28 -04:00
{
"Name" : "Protocol Buffer" ,
"Aliases" : [
2022-06-16 01:23:38 -04:00
"protobuf" ,
"proto"
2019-10-21 04:22:28 -04:00
]
} ,
2022-11-24 09:17:22 -05:00
{
"Name" : "PSL" ,
"Aliases" : [
"psl"
]
} ,
2019-10-21 04:22:28 -04:00
{
"Name" : "Puppet" ,
"Aliases" : [
"puppet"
]
} ,
{
"Name" : "Python" ,
"Aliases" : [
"python" ,
2022-06-16 01:23:38 -04:00
"py" ,
2019-10-21 04:22:28 -04:00
"sage" ,
2022-06-16 01:23:38 -04:00
"python3" ,
"py3"
2019-10-21 04:22:28 -04:00
]
} ,
{
2021-06-18 11:49:54 -04:00
"Name" : "Python 2" ,
2019-10-21 04:22:28 -04:00
"Aliases" : [
2022-06-16 01:23:38 -04:00
"python2" ,
"py2"
2019-10-21 04:22:28 -04:00
]
} ,
{
"Name" : "QBasic" ,
"Aliases" : [
2022-06-16 01:23:38 -04:00
"qbasic" ,
"basic"
2019-10-21 04:22:28 -04:00
]
} ,
2021-06-08 12:46:58 -04:00
{
"Name" : "QML" ,
"Aliases" : [
2022-06-16 01:23:38 -04:00
"qml" ,
"qbs"
2021-06-08 12:46:58 -04:00
]
} ,
2019-10-21 04:22:28 -04:00
{
"Name" : "R" ,
"Aliases" : [
2022-06-16 01:23:38 -04:00
"splus" ,
2019-10-21 04:22:28 -04:00
"s" ,
2022-06-16 01:23:38 -04:00
"r"
2019-10-21 04:22:28 -04:00
]
} ,
{
"Name" : "Racket" ,
"Aliases" : [
"racket" ,
2022-06-16 01:23:38 -04:00
"rkt"
2019-10-21 04:22:28 -04:00
]
} ,
{
"Name" : "Ragel" ,
"Aliases" : [
"ragel"
]
} ,
2021-06-18 11:49:54 -04:00
{
"Name" : "Raku" ,
"Aliases" : [
"perl6" ,
"pl6" ,
2022-06-16 01:23:38 -04:00
"raku"
2021-06-18 11:49:54 -04:00
]
} ,
{
"Name" : "react" ,
"Aliases" : [
"jsx" ,
"react"
]
} ,
2020-07-07 00:58:43 -04:00
{
"Name" : "ReasonML" ,
"Aliases" : [
"reason" ,
2022-06-16 01:23:38 -04:00
"reasonml"
2020-07-07 00:58:43 -04:00
]
} ,
2021-06-18 11:49:54 -04:00
{
"Name" : "reg" ,
"Aliases" : [
"registry"
]
} ,
{
"Name" : "reStructuredText" ,
"Aliases" : [
2022-06-16 01:23:38 -04:00
"rst" ,
2021-06-18 11:49:54 -04:00
"rest" ,
2022-06-16 01:23:38 -04:00
"restructuredtext"
2021-06-18 11:49:54 -04:00
]
} ,
2019-10-21 04:22:28 -04:00
{
"Name" : "Rexx" ,
"Aliases" : [
"rexx" ,
2022-06-16 01:23:38 -04:00
"arexx"
2019-10-21 04:22:28 -04:00
]
} ,
{
"Name" : "Ruby" ,
"Aliases" : [
"rb" ,
2022-06-16 01:23:38 -04:00
"ruby" ,
"duby"
2019-10-21 04:22:28 -04:00
]
} ,
{
"Name" : "Rust" ,
"Aliases" : [
2022-06-16 01:23:38 -04:00
"rust" ,
"rs"
2019-10-21 04:22:28 -04:00
]
} ,
2020-07-07 00:58:43 -04:00
{
"Name" : "SAS" ,
"Aliases" : [
"sas"
]
} ,
2019-10-21 04:22:28 -04:00
{
"Name" : "Sass" ,
"Aliases" : [
"sass"
]
} ,
{
"Name" : "Scala" ,
"Aliases" : [
"scala"
]
} ,
{
"Name" : "Scheme" ,
"Aliases" : [
"scheme" ,
2022-06-16 01:23:38 -04:00
"scm"
2019-10-21 04:22:28 -04:00
]
} ,
{
"Name" : "Scilab" ,
"Aliases" : [
2022-06-16 01:23:38 -04:00
"scilab"
2019-10-21 04:22:28 -04:00
]
} ,
2021-06-18 11:49:54 -04:00
{
"Name" : "SCSS" ,
"Aliases" : [
"scss"
]
} ,
2022-11-24 09:17:22 -05:00
{
"Name" : "Sed" ,
"Aliases" : [
"sed" ,
"gsed" ,
"ssed"
]
} ,
2021-11-01 13:43:41 -04:00
{
"Name" : "Sieve" ,
"Aliases" : [
2022-06-16 01:23:38 -04:00
"sieve"
2021-11-01 13:43:41 -04:00
]
} ,
2019-10-21 04:22:28 -04:00
{
"Name" : "Smalltalk" ,
"Aliases" : [
"smalltalk" ,
"squeak" ,
"st"
]
} ,
{
"Name" : "Smarty" ,
"Aliases" : [
2022-06-16 01:23:38 -04:00
"smarty"
2019-10-21 04:22:28 -04:00
]
} ,
{
"Name" : "Snobol" ,
"Aliases" : [
"snobol"
]
} ,
{
"Name" : "Solidity" ,
"Aliases" : [
"sol" ,
"solidity"
]
} ,
2021-06-18 11:49:54 -04:00
{
"Name" : "SPARQL" ,
"Aliases" : [
"sparql"
]
} ,
{
"Name" : "SQL" ,
"Aliases" : [
"sql"
]
} ,
2019-10-21 04:22:28 -04:00
{
"Name" : "SquidConf" ,
"Aliases" : [
2022-06-16 01:23:38 -04:00
"squidconf" ,
2019-10-21 04:22:28 -04:00
"squid.conf" ,
2022-06-16 01:23:38 -04:00
"squid"
2019-10-21 04:22:28 -04:00
]
} ,
2020-02-06 07:02:49 -05:00
{
"Name" : "Standard ML" ,
"Aliases" : [
"sml"
]
} ,
2022-11-24 09:17:22 -05:00
{
"Name" : "stas" ,
"Aliases" : null
} ,
2021-01-20 06:47:49 -05:00
{
"Name" : "Stylus" ,
"Aliases" : [
"stylus"
]
} ,
2021-06-18 11:49:54 -04:00
{
"Name" : "Svelte" ,
"Aliases" : [
"svelte"
]
} ,
2019-10-21 04:22:28 -04:00
{
"Name" : "Swift" ,
"Aliases" : [
"swift"
]
} ,
{
2021-06-18 11:49:54 -04:00
"Name" : "SYSTEMD" ,
2019-10-21 04:22:28 -04:00
"Aliases" : [
2022-06-16 01:23:38 -04:00
"systemd"
2019-10-21 04:22:28 -04:00
]
} ,
{
2021-06-18 11:49:54 -04:00
"Name" : "systemverilog" ,
2019-10-21 04:22:28 -04:00
"Aliases" : [
2022-06-16 01:23:38 -04:00
"systemverilog" ,
"sv"
2019-10-21 04:22:28 -04:00
]
} ,
2020-02-06 07:02:49 -05:00
{
"Name" : "TableGen" ,
"Aliases" : [
2022-06-16 01:23:38 -04:00
"tablegen"
2020-02-06 07:02:49 -05:00
]
} ,
2021-06-18 11:49:54 -04:00
{
"Name" : "TASM" ,
"Aliases" : [
"tasm"
]
} ,
2019-10-21 04:22:28 -04:00
{
"Name" : "Tcl" ,
"Aliases" : [
"tcl"
]
} ,
{
"Name" : "Tcsh" ,
"Aliases" : [
2022-06-16 01:23:38 -04:00
"tcsh" ,
"csh"
2019-10-21 04:22:28 -04:00
]
} ,
{
"Name" : "Termcap" ,
"Aliases" : [
"termcap"
]
} ,
{
"Name" : "Terminfo" ,
"Aliases" : [
"terminfo"
]
} ,
{
"Name" : "Terraform" ,
"Aliases" : [
"terraform" ,
"tf"
]
} ,
2021-06-18 11:49:54 -04:00
{
"Name" : "TeX" ,
"Aliases" : [
"tex" ,
2022-06-16 01:23:38 -04:00
"latex"
2021-06-18 11:49:54 -04:00
]
} ,
2019-10-21 04:22:28 -04:00
{
"Name" : "Thrift" ,
"Aliases" : [
"thrift"
]
} ,
2021-06-18 11:49:54 -04:00
{
"Name" : "TOML" ,
"Aliases" : [
"toml"
]
} ,
2019-10-21 04:22:28 -04:00
{
"Name" : "TradingView" ,
"Aliases" : [
"tradingview" ,
"tv"
]
} ,
{
"Name" : "Transact-SQL" ,
"Aliases" : [
2022-06-16 01:23:38 -04:00
"tsql" ,
"t-sql"
2019-10-21 04:22:28 -04:00
]
} ,
{
"Name" : "Turing" ,
"Aliases" : [
"turing"
]
} ,
{
"Name" : "Turtle" ,
"Aliases" : [
"turtle"
]
} ,
{
"Name" : "Twig" ,
"Aliases" : [
"twig"
]
} ,
{
"Name" : "TypeScript" ,
"Aliases" : [
"ts" ,
"tsx" ,
"typescript"
]
} ,
{
"Name" : "TypoScript" ,
"Aliases" : [
"typoscript"
]
} ,
{
"Name" : "TypoScriptCssData" ,
"Aliases" : [
"typoscriptcssdata"
]
} ,
{
"Name" : "TypoScriptHtmlData" ,
"Aliases" : [
"typoscripthtmldata"
]
} ,
2022-06-16 01:23:38 -04:00
{
"Name" : "V" ,
"Aliases" : [
"v" ,
"vlang"
]
} ,
{
"Name" : "V shell" ,
"Aliases" : [
"vsh" ,
"vshell"
]
} ,
2022-11-24 09:17:22 -05:00
{
"Name" : "Vala" ,
"Aliases" : [
"vala" ,
"vapi"
]
} ,
2019-10-21 04:22:28 -04:00
{
"Name" : "VB.net" ,
"Aliases" : [
"vb.net" ,
"vbnet"
]
} ,
2021-06-18 11:49:54 -04:00
{
"Name" : "verilog" ,
"Aliases" : [
2022-06-16 01:23:38 -04:00
"verilog" ,
"v"
2021-06-18 11:49:54 -04:00
]
} ,
2019-10-21 04:22:28 -04:00
{
"Name" : "VHDL" ,
"Aliases" : [
"vhdl"
]
} ,
2022-11-24 09:17:22 -05:00
{
"Name" : "VHS" ,
"Aliases" : [
"vhs" ,
"tape" ,
"cassette"
]
} ,
2019-10-21 04:22:28 -04:00
{
"Name" : "VimL" ,
"Aliases" : [
2022-06-16 01:23:38 -04:00
"vim"
2019-10-21 04:22:28 -04:00
]
} ,
2021-06-18 11:49:54 -04:00
{
"Name" : "vue" ,
"Aliases" : [
"vue" ,
"vuejs"
]
} ,
2019-10-21 04:22:28 -04:00
{
"Name" : "WDTE" ,
2022-06-16 01:23:38 -04:00
"Aliases" : null
} ,
{
"Name" : "Whiley" ,
2019-10-21 04:22:28 -04:00
"Aliases" : [
2022-06-16 01:23:38 -04:00
"whiley"
2019-10-21 04:22:28 -04:00
]
} ,
{
"Name" : "XML" ,
"Aliases" : [
2022-06-16 01:23:38 -04:00
"xml"
2019-10-21 04:22:28 -04:00
]
} ,
{
"Name" : "Xorg" ,
"Aliases" : [
"xorg.conf"
]
} ,
{
"Name" : "YAML" ,
"Aliases" : [
2022-06-16 01:23:38 -04:00
"yaml"
2019-10-21 04:22:28 -04:00
]
} ,
2020-07-07 00:58:43 -04:00
{
"Name" : "YANG" ,
"Aliases" : [
"yang"
]
} ,
2023-05-22 11:47:06 -04:00
{
"Name" : "Z80 Assembly" ,
"Aliases" : [
"z80"
]
} ,
2022-02-14 07:27:17 -05:00
{
"Name" : "Zed" ,
"Aliases" : [
"zed"
]
} ,
2020-10-06 10:22:20 -04:00
{
"Name" : "Zig" ,
"Aliases" : [
"zig"
]
2019-10-21 04:22:28 -04:00
}
]
} ,
2019-12-15 04:35:09 -05:00
"config" : {
"markup" : {
"defaultMarkdownHandler" : "goldmark" ,
"highlight" : {
"style" : "monokai" ,
"codeFences" : true ,
"noClasses" : true ,
2022-02-28 02:52:15 -05:00
"noHl" : false ,
2019-12-15 04:35:09 -05:00
"lineNos" : false ,
"lineNumbersInTable" : true ,
2020-10-06 10:22:20 -04:00
"anchorLineNos" : false ,
"lineAnchors" : "" ,
2019-12-15 04:35:09 -05:00
"lineNoStart" : 1 ,
"hl_Lines" : "" ,
2022-06-16 01:23:38 -04:00
"hl_inline" : false ,
2020-01-05 05:13:09 -05:00
"tabWidth" : 4 ,
"guessSyntax" : false
2019-12-15 04:35:09 -05:00
} ,
"tableOfContents" : {
"startLevel" : 2 ,
2020-01-05 05:13:09 -05:00
"endLevel" : 3 ,
"ordered" : false
2019-12-15 04:35:09 -05:00
} ,
"goldmark" : {
"renderer" : {
"hardWraps" : false ,
2020-03-31 16:10:45 -04:00
"xhtml" : false ,
2019-12-15 04:35:09 -05:00
"unsafe" : false
} ,
"parser" : {
"autoHeadingID" : true ,
2020-02-06 07:02:49 -05:00
"autoHeadingIDType" : "github" ,
2021-02-23 11:39:59 -05:00
"attribute" : {
"title" : true ,
"block" : false
2022-12-05 10:50:47 -05:00
} ,
"wrapStandAloneImageWithinParagraph" : true
2019-12-15 04:35:09 -05:00
} ,
"extensions" : {
2023-05-22 11:47:06 -04:00
"typographer" : {
"disable" : false ,
"leftSingleQuote" : "\u0026lsquo;" ,
"rightSingleQuote" : "\u0026rsquo;" ,
"leftDoubleQuote" : "\u0026ldquo;" ,
"rightDoubleQuote" : "\u0026rdquo;" ,
"enDash" : "\u0026ndash;" ,
"emDash" : "\u0026mdash;" ,
"ellipsis" : "\u0026hellip;" ,
"leftAngleQuote" : "\u0026laquo;" ,
"rightAngleQuote" : "\u0026raquo;" ,
"apostrophe" : "\u0026rsquo;"
} ,
2019-12-15 04:35:09 -05:00
"footnote" : true ,
"definitionList" : true ,
"table" : true ,
"strikethrough" : true ,
"linkify" : true ,
2022-03-10 04:08:04 -05:00
"linkifyProtocol" : "https" ,
2019-12-15 04:35:09 -05:00
"taskList" : true
}
} ,
2020-07-20 16:19:42 -04:00
"asciidocExt" : {
"backend" : "html5" ,
"extensions" : [ ] ,
"attributes" : { } ,
"noHeaderOrFooter" : true ,
"safeMode" : "unsafe" ,
"sectionNumbers" : false ,
2020-10-06 10:22:20 -04:00
"verbose" : false ,
2020-07-20 16:19:42 -04:00
"trace" : false ,
"failureLevel" : "fatal" ,
2020-10-30 04:49:15 -04:00
"workingFolderCurrent" : false ,
"preserveTOC" : false
2019-12-15 04:35:09 -05:00
}
2020-03-31 16:10:45 -04:00
} ,
2021-06-18 11:49:54 -04:00
"mergeStrategy" : {
"build" : {
"_merge" : "none"
} ,
"caches" : {
"_merge" : "none"
} ,
2021-08-03 05:51:36 -04:00
"cascade" : {
"_merge" : "none"
} ,
2021-06-18 11:49:54 -04:00
"frontmatter" : {
"_merge" : "none"
} ,
"imaging" : {
"_merge" : "none"
} ,
"languages" : {
"_merge" : "none" ,
"en" : {
"_merge" : "none" ,
"menus" : {
"_merge" : "shallow"
} ,
"params" : {
"_merge" : "deep"
}
}
} ,
"markup" : {
"_merge" : "none"
} ,
"mediatypes" : {
"_merge" : "shallow"
} ,
"menus" : {
"_merge" : "shallow"
} ,
"minify" : {
"_merge" : "none"
} ,
"module" : {
"_merge" : "none"
} ,
"outputformats" : {
"_merge" : "shallow"
} ,
"params" : {
"_merge" : "deep"
} ,
"permalinks" : {
"_merge" : "none"
} ,
2021-12-12 06:11:11 -05:00
"privacy" : {
"_merge" : "none"
} ,
2021-06-18 11:49:54 -04:00
"related" : {
"_merge" : "none"
} ,
2021-12-12 06:11:11 -05:00
"security" : {
"_merge" : "none"
} ,
2021-06-18 11:49:54 -04:00
"sitemap" : {
"_merge" : "none"
} ,
"taxonomies" : {
"_merge" : "none"
}
} ,
2020-03-31 16:10:45 -04:00
"minify" : {
"minifyOutput" : false ,
"disableHTML" : false ,
"disableCSS" : false ,
"disableJS" : false ,
"disableJSON" : false ,
"disableSVG" : false ,
"disableXML" : false ,
"tdewolff" : {
"html" : {
2021-02-23 11:39:59 -05:00
"keepComments" : false ,
2020-03-31 16:10:45 -04:00
"keepConditionalComments" : true ,
"keepDefaultAttrVals" : true ,
"keepDocumentTags" : true ,
"keepEndTags" : true ,
2020-07-07 00:58:43 -04:00
"keepQuotes" : false ,
2022-03-09 05:33:53 -05:00
"keepWhitespace" : false
2020-03-31 16:10:45 -04:00
} ,
"css" : {
2021-02-23 11:39:59 -05:00
"keepCSS2" : true ,
"precision" : 0
} ,
"js" : {
"precision" : 0 ,
2022-02-28 02:52:15 -05:00
"keepVarNames" : false ,
2023-05-22 11:47:06 -04:00
"noNullishOperator" : false ,
2023-06-19 11:52:42 -04:00
"version" : 2022
2021-02-23 11:39:59 -05:00
} ,
"json" : {
2021-08-03 05:51:36 -04:00
"precision" : 0 ,
"keepNumbers" : false
2020-03-31 16:10:45 -04:00
} ,
"svg" : {
2022-04-08 14:38:37 -04:00
"keepComments" : false ,
2021-02-23 11:39:59 -05:00
"precision" : 0
2020-03-31 16:10:45 -04:00
} ,
"xml" : {
"keepWhitespace" : false
}
}
2021-12-12 06:11:11 -05:00
} ,
"security" : {
"enableInlineShortcodes" : false ,
"exec" : {
"allow" : [
2023-06-19 11:52:42 -04:00
"^(dart-)?sass(-embedded)?$" ,
2021-12-12 06:11:11 -05:00
"^go$" ,
"^npx$" ,
"^postcss$"
] ,
"osEnv" : [
2023-01-17 06:52:08 -05:00
"(?i)^((HTTPS?|NO)_PROXY|PATH(EXT)?|APPDATA|TE?MP|TERM|GO\\w+)$"
2021-12-12 06:11:11 -05:00
]
} ,
"funcs" : {
"getenv" : [
2022-12-05 10:50:47 -05:00
"^HUGO_" ,
"^CI$"
2021-12-12 06:11:11 -05:00
]
} ,
2023-06-19 11:52:42 -04:00
"goTemplates" : {
"AllowActionJSTmpl" : false
} ,
2021-12-12 06:11:11 -05:00
"http" : {
2023-05-22 11:47:06 -04:00
"mediaTypes" : null ,
2021-12-12 06:11:11 -05:00
"methods" : [
"(?i)GET|POST"
] ,
"urls" : [
".*"
]
}
2019-12-15 04:35:09 -05:00
}
} ,
2019-10-21 04:22:28 -04:00
"media" : {
"types" : [
{
"mainType" : "application" ,
"subType" : "json" ,
"delimiter" : "." ,
2021-04-20 14:21:45 -04:00
"type" : "application/json" ,
"string" : "application/json" ,
2019-10-21 04:22:28 -04:00
"suffixes" : [
"json"
]
} ,
2021-06-18 11:49:54 -04:00
{
"mainType" : "application" ,
"subType" : "manifest" ,
"delimiter" : "." ,
"type" : "application/manifest+json" ,
"string" : "application/manifest+json" ,
"suffixes" : [
"webmanifest"
]
} ,
2019-10-21 04:22:28 -04:00
{
"mainType" : "application" ,
"subType" : "octet-stream" ,
2021-04-20 14:21:45 -04:00
"delimiter" : "." ,
"type" : "application/octet-stream" ,
"string" : "application/octet-stream" ,
"suffixes" : [
""
]
2019-10-21 04:22:28 -04:00
} ,
2022-01-04 11:11:17 -05:00
{
"mainType" : "application" ,
"subType" : "pdf" ,
"delimiter" : "." ,
"type" : "application/pdf" ,
"string" : "application/pdf" ,
"suffixes" : [
"pdf"
]
} ,
2019-10-21 04:22:28 -04:00
{
"mainType" : "application" ,
"subType" : "rss" ,
"delimiter" : "." ,
2021-04-20 14:21:45 -04:00
"type" : "application/rss+xml" ,
"string" : "application/rss+xml" ,
2019-10-21 04:22:28 -04:00
"suffixes" : [
2021-12-08 02:56:16 -05:00
"xml" ,
"rss"
2019-10-21 04:22:28 -04:00
]
} ,
{
"mainType" : "application" ,
"subType" : "toml" ,
"delimiter" : "." ,
2021-04-20 14:21:45 -04:00
"type" : "application/toml" ,
"string" : "application/toml" ,
2019-10-21 04:22:28 -04:00
"suffixes" : [
"toml"
]
} ,
2023-05-22 11:47:06 -04:00
{
"mainType" : "application" ,
"subType" : "wasm" ,
"delimiter" : "." ,
"type" : "application/wasm" ,
"string" : "application/wasm" ,
"suffixes" : [
"wasm"
]
} ,
2019-10-21 04:22:28 -04:00
{
"mainType" : "application" ,
"subType" : "xml" ,
"delimiter" : "." ,
2021-04-20 14:21:45 -04:00
"type" : "application/xml" ,
"string" : "application/xml" ,
2019-10-21 04:22:28 -04:00
"suffixes" : [
"xml"
]
} ,
{
"mainType" : "application" ,
"subType" : "yaml" ,
"delimiter" : "." ,
2021-04-20 14:21:45 -04:00
"type" : "application/yaml" ,
"string" : "application/yaml" ,
2019-10-21 04:22:28 -04:00
"suffixes" : [
"yaml" ,
"yml"
]
} ,
2021-12-17 04:31:08 -05:00
{
"mainType" : "font" ,
"subType" : "otf" ,
"delimiter" : "." ,
"type" : "font/otf" ,
"string" : "font/otf" ,
"suffixes" : [
"otf"
]
} ,
{
"mainType" : "font" ,
"subType" : "ttf" ,
"delimiter" : "." ,
"type" : "font/ttf" ,
"string" : "font/ttf" ,
"suffixes" : [
"ttf"
]
} ,
2022-01-04 11:11:17 -05:00
{
"mainType" : "image" ,
"subType" : "bmp" ,
"delimiter" : "." ,
"type" : "image/bmp" ,
"string" : "image/bmp" ,
"suffixes" : [
"bmp"
]
} ,
{
"mainType" : "image" ,
"subType" : "gif" ,
"delimiter" : "." ,
"type" : "image/gif" ,
"string" : "image/gif" ,
"suffixes" : [
"gif"
]
} ,
2019-10-21 04:22:28 -04:00
{
"mainType" : "image" ,
2020-01-05 05:13:09 -05:00
"subType" : "jpeg" ,
2019-10-21 04:22:28 -04:00
"delimiter" : "." ,
2021-04-20 14:21:45 -04:00
"type" : "image/jpeg" ,
"string" : "image/jpeg" ,
2019-10-21 04:22:28 -04:00
"suffixes" : [
"jpg" ,
2021-12-12 06:11:11 -05:00
"jpeg" ,
"jpe" ,
"jif" ,
"jfif"
2019-10-21 04:22:28 -04:00
]
} ,
{
"mainType" : "image" ,
"subType" : "png" ,
"delimiter" : "." ,
2021-04-20 14:21:45 -04:00
"type" : "image/png" ,
"string" : "image/png" ,
2019-10-21 04:22:28 -04:00
"suffixes" : [
"png"
]
} ,
{
"mainType" : "image" ,
"subType" : "svg" ,
"delimiter" : "." ,
2021-04-20 14:21:45 -04:00
"type" : "image/svg+xml" ,
"string" : "image/svg+xml" ,
2019-10-21 04:22:28 -04:00
"suffixes" : [
"svg"
]
} ,
2023-05-22 11:47:06 -04:00
{
"mainType" : "image" ,
"subType" : "tiff" ,
"delimiter" : "." ,
"type" : "image/tiff" ,
"string" : "image/tiff" ,
"suffixes" : [
"tif" ,
"tiff"
]
} ,
2021-06-08 12:46:58 -04:00
{
"mainType" : "image" ,
"subType" : "webp" ,
"delimiter" : "." ,
"type" : "image/webp" ,
"string" : "image/webp" ,
"suffixes" : [
"webp"
]
} ,
2019-10-21 04:22:28 -04:00
{
"mainType" : "text" ,
"subType" : "calendar" ,
"delimiter" : "." ,
2021-04-20 14:21:45 -04:00
"type" : "text/calendar" ,
"string" : "text/calendar" ,
2019-10-21 04:22:28 -04:00
"suffixes" : [
"ics"
]
} ,
{
"mainType" : "text" ,
"subType" : "css" ,
"delimiter" : "." ,
2021-04-20 14:21:45 -04:00
"type" : "text/css" ,
"string" : "text/css" ,
2019-10-21 04:22:28 -04:00
"suffixes" : [
"css"
]
} ,
{
"mainType" : "text" ,
"subType" : "csv" ,
"delimiter" : "." ,
2021-04-20 14:21:45 -04:00
"type" : "text/csv" ,
"string" : "text/csv" ,
2019-10-21 04:22:28 -04:00
"suffixes" : [
"csv"
]
} ,
{
"mainType" : "text" ,
"subType" : "html" ,
"delimiter" : "." ,
2021-04-20 14:21:45 -04:00
"type" : "text/html" ,
"string" : "text/html" ,
2019-10-21 04:22:28 -04:00
"suffixes" : [
"html"
]
} ,
2022-11-17 10:16:53 -05:00
{
"mainType" : "text" ,
"subType" : "javascript" ,
"delimiter" : "." ,
"type" : "text/javascript" ,
"string" : "text/javascript" ,
"suffixes" : [
"js" ,
"jsm" ,
"mjs"
]
} ,
2020-07-20 16:19:42 -04:00
{
"mainType" : "text" ,
"subType" : "jsx" ,
"delimiter" : "." ,
2021-04-20 14:21:45 -04:00
"type" : "text/jsx" ,
"string" : "text/jsx" ,
2020-07-20 16:19:42 -04:00
"suffixes" : [
"jsx"
]
} ,
2022-05-31 04:23:20 -04:00
{
"mainType" : "text" ,
"subType" : "markdown" ,
"delimiter" : "." ,
"type" : "text/markdown" ,
"string" : "text/markdown" ,
"suffixes" : [
"md" ,
"markdown"
]
} ,
2019-10-21 04:22:28 -04:00
{
"mainType" : "text" ,
"subType" : "plain" ,
"delimiter" : "." ,
2021-04-20 14:21:45 -04:00
"type" : "text/plain" ,
"string" : "text/plain" ,
2019-10-21 04:22:28 -04:00
"suffixes" : [
"txt"
]
} ,
2020-07-20 16:19:42 -04:00
{
"mainType" : "text" ,
"subType" : "tsx" ,
"delimiter" : "." ,
2021-04-20 14:21:45 -04:00
"type" : "text/tsx" ,
"string" : "text/tsx" ,
2020-07-20 16:19:42 -04:00
"suffixes" : [
"tsx"
]
} ,
2022-11-17 10:16:53 -05:00
{
"mainType" : "text" ,
"subType" : "typescript" ,
"delimiter" : "." ,
"type" : "text/typescript" ,
"string" : "text/typescript" ,
"suffixes" : [
"ts"
]
} ,
2019-10-21 04:22:28 -04:00
{
"mainType" : "text" ,
"subType" : "x-sass" ,
"delimiter" : "." ,
2021-04-20 14:21:45 -04:00
"type" : "text/x-sass" ,
"string" : "text/x-sass" ,
2019-10-21 04:22:28 -04:00
"suffixes" : [
"sass"
]
} ,
{
"mainType" : "text" ,
"subType" : "x-scss" ,
"delimiter" : "." ,
2021-04-20 14:21:45 -04:00
"type" : "text/x-scss" ,
"string" : "text/x-scss" ,
2019-10-21 04:22:28 -04:00
"suffixes" : [
"scss"
]
2019-12-15 04:35:09 -05:00
} ,
{
"mainType" : "video" ,
"subType" : "3gpp" ,
"delimiter" : "." ,
2021-04-20 14:21:45 -04:00
"type" : "video/3gpp" ,
"string" : "video/3gpp" ,
2019-12-15 04:35:09 -05:00
"suffixes" : [
"3gpp" ,
"3gp"
]
} ,
{
"mainType" : "video" ,
"subType" : "mp4" ,
"delimiter" : "." ,
2021-04-20 14:21:45 -04:00
"type" : "video/mp4" ,
"string" : "video/mp4" ,
2019-12-15 04:35:09 -05:00
"suffixes" : [
"mp4"
]
} ,
{
"mainType" : "video" ,
"subType" : "mpeg" ,
"delimiter" : "." ,
2021-04-20 14:21:45 -04:00
"type" : "video/mpeg" ,
"string" : "video/mpeg" ,
2019-12-15 04:35:09 -05:00
"suffixes" : [
"mpg" ,
"mpeg"
]
} ,
{
"mainType" : "video" ,
"subType" : "ogg" ,
"delimiter" : "." ,
2021-04-20 14:21:45 -04:00
"type" : "video/ogg" ,
"string" : "video/ogg" ,
2019-12-15 04:35:09 -05:00
"suffixes" : [
"ogv"
]
} ,
{
"mainType" : "video" ,
"subType" : "webm" ,
"delimiter" : "." ,
2021-04-20 14:21:45 -04:00
"type" : "video/webm" ,
"string" : "video/webm" ,
2019-12-15 04:35:09 -05:00
"suffixes" : [
"webm"
]
} ,
{
"mainType" : "video" ,
"subType" : "x-msvideo" ,
"delimiter" : "." ,
2021-04-20 14:21:45 -04:00
"type" : "video/x-msvideo" ,
"string" : "video/x-msvideo" ,
2019-12-15 04:35:09 -05:00
"suffixes" : [
"avi"
]
2019-10-21 04:22:28 -04:00
}
]
} ,
"output" : {
"formats" : [
{
2021-04-20 14:21:45 -04:00
"mediaType" : "text/html" ,
2023-05-22 11:47:06 -04:00
"name" : "html" ,
2019-10-21 04:22:28 -04:00
"path" : "" ,
"baseName" : "index" ,
"rel" : "canonical" ,
"protocol" : "" ,
"isPlainText" : false ,
"isHTML" : true ,
"noUgly" : false ,
"notAlternative" : false ,
"permalinkable" : true ,
"weight" : 10
} ,
{
2021-04-20 14:21:45 -04:00
"mediaType" : "text/html" ,
2023-05-22 11:47:06 -04:00
"name" : "amp" ,
2019-10-21 04:22:28 -04:00
"path" : "amp" ,
"baseName" : "index" ,
"rel" : "amphtml" ,
"protocol" : "" ,
"isPlainText" : false ,
"isHTML" : true ,
"noUgly" : false ,
"notAlternative" : false ,
"permalinkable" : true ,
"weight" : 0
} ,
{
2023-05-22 11:47:06 -04:00
"mediaType" : "text/calendar" ,
"name" : "calendar" ,
2019-10-21 04:22:28 -04:00
"path" : "" ,
2023-05-22 11:47:06 -04:00
"baseName" : "index" ,
"rel" : "alternate" ,
"protocol" : "webcal://" ,
2019-10-21 04:22:28 -04:00
"isPlainText" : true ,
"isHTML" : false ,
"noUgly" : false ,
2023-05-22 11:47:06 -04:00
"notAlternative" : false ,
2019-10-21 04:22:28 -04:00
"permalinkable" : false ,
"weight" : 0
} ,
{
2023-05-22 11:47:06 -04:00
"mediaType" : "text/css" ,
"name" : "css" ,
2019-10-21 04:22:28 -04:00
"path" : "" ,
2023-05-22 11:47:06 -04:00
"baseName" : "styles" ,
"rel" : "stylesheet" ,
2019-10-21 04:22:28 -04:00
"protocol" : "" ,
"isPlainText" : true ,
"isHTML" : false ,
"noUgly" : false ,
2023-05-22 11:47:06 -04:00
"notAlternative" : true ,
2019-10-21 04:22:28 -04:00
"permalinkable" : false ,
"weight" : 0
} ,
{
2023-05-22 11:47:06 -04:00
"mediaType" : "text/csv" ,
"name" : "csv" ,
2019-10-21 04:22:28 -04:00
"path" : "" ,
"baseName" : "index" ,
"rel" : "alternate" ,
2023-05-22 11:47:06 -04:00
"protocol" : "" ,
2019-10-21 04:22:28 -04:00
"isPlainText" : true ,
"isHTML" : false ,
"noUgly" : false ,
"notAlternative" : false ,
"permalinkable" : false ,
"weight" : 0
} ,
{
2021-04-20 14:21:45 -04:00
"mediaType" : "application/json" ,
2023-05-22 11:47:06 -04:00
"name" : "json" ,
2019-10-21 04:22:28 -04:00
"path" : "" ,
"baseName" : "index" ,
"rel" : "alternate" ,
"protocol" : "" ,
"isPlainText" : true ,
"isHTML" : false ,
"noUgly" : false ,
"notAlternative" : false ,
"permalinkable" : false ,
"weight" : 0
} ,
2022-05-31 04:23:20 -04:00
{
"mediaType" : "text/markdown" ,
2023-05-22 11:47:06 -04:00
"name" : "markdown" ,
2022-05-31 04:23:20 -04:00
"path" : "" ,
"baseName" : "index" ,
"rel" : "alternate" ,
"protocol" : "" ,
"isPlainText" : true ,
"isHTML" : false ,
"noUgly" : false ,
"notAlternative" : false ,
"permalinkable" : false ,
"weight" : 0
} ,
2019-10-21 04:22:28 -04:00
{
2021-04-20 14:21:45 -04:00
"mediaType" : "text/plain" ,
2023-05-22 11:47:06 -04:00
"name" : "robots" ,
2019-10-21 04:22:28 -04:00
"path" : "" ,
"baseName" : "robots" ,
"rel" : "alternate" ,
"protocol" : "" ,
"isPlainText" : true ,
"isHTML" : false ,
"noUgly" : false ,
"notAlternative" : false ,
"permalinkable" : false ,
"weight" : 0
} ,
{
2021-04-20 14:21:45 -04:00
"mediaType" : "application/rss+xml" ,
2023-05-22 11:47:06 -04:00
"name" : "rss" ,
2019-10-21 04:22:28 -04:00
"path" : "" ,
"baseName" : "index" ,
"rel" : "alternate" ,
"protocol" : "" ,
"isPlainText" : false ,
"isHTML" : false ,
"noUgly" : true ,
"notAlternative" : false ,
"permalinkable" : false ,
"weight" : 0
} ,
{
2021-04-20 14:21:45 -04:00
"mediaType" : "application/xml" ,
2023-05-22 11:47:06 -04:00
"name" : "sitemap" ,
2019-10-21 04:22:28 -04:00
"path" : "" ,
"baseName" : "sitemap" ,
"rel" : "sitemap" ,
"protocol" : "" ,
"isPlainText" : false ,
"isHTML" : false ,
"noUgly" : true ,
"notAlternative" : false ,
"permalinkable" : false ,
"weight" : 0
2021-06-18 11:49:54 -04:00
} ,
{
"mediaType" : "application/manifest+json" ,
2023-05-22 11:47:06 -04:00
"name" : "webappmanifest" ,
2021-06-18 11:49:54 -04:00
"path" : "" ,
"baseName" : "manifest" ,
"rel" : "manifest" ,
"protocol" : "" ,
"isPlainText" : true ,
"isHTML" : false ,
"noUgly" : false ,
"notAlternative" : true ,
"permalinkable" : false ,
"weight" : 0
2019-10-21 04:22:28 -04:00
}
] ,
"layouts" : [
{
"Example" : "Single page in \"posts\" section" ,
"Kind" : "page" ,
2023-05-22 11:47:06 -04:00
"OutputFormat" : "html" ,
2019-10-21 04:22:28 -04:00
"Suffix" : "html" ,
"Template Lookup Order" : [
"layouts/posts/single.html.html" ,
"layouts/posts/single.html" ,
"layouts/_default/single.html.html" ,
"layouts/_default/single.html"
]
} ,
2020-02-06 07:02:49 -05:00
{
"Example" : "Base template for single page in \"posts\" section" ,
"Kind" : "page" ,
2023-05-22 11:47:06 -04:00
"OutputFormat" : "html" ,
2020-02-06 07:02:49 -05:00
"Suffix" : "html" ,
"Template Lookup Order" : [
"layouts/posts/single-baseof.html.html" ,
"layouts/posts/baseof.html.html" ,
"layouts/posts/single-baseof.html" ,
"layouts/posts/baseof.html" ,
"layouts/_default/single-baseof.html.html" ,
"layouts/_default/baseof.html.html" ,
"layouts/_default/single-baseof.html" ,
"layouts/_default/baseof.html"
]
} ,
2019-10-21 04:22:28 -04:00
{
"Example" : "Single page in \"posts\" section with layout set" ,
"Kind" : "page" ,
2023-05-22 11:47:06 -04:00
"OutputFormat" : "html" ,
2019-10-21 04:22:28 -04:00
"Suffix" : "html" ,
"Template Lookup Order" : [
"layouts/posts/demolayout.html.html" ,
"layouts/posts/single.html.html" ,
"layouts/posts/demolayout.html" ,
"layouts/posts/single.html" ,
"layouts/_default/demolayout.html.html" ,
"layouts/_default/single.html.html" ,
"layouts/_default/demolayout.html" ,
"layouts/_default/single.html"
]
} ,
2020-02-06 07:02:49 -05:00
{
"Example" : "Base template for single page in \"posts\" section with layout set" ,
"Kind" : "page" ,
2023-05-22 11:47:06 -04:00
"OutputFormat" : "html" ,
2020-02-06 07:02:49 -05:00
"Suffix" : "html" ,
"Template Lookup Order" : [
"layouts/posts/demolayout-baseof.html.html" ,
"layouts/posts/single-baseof.html.html" ,
"layouts/posts/baseof.html.html" ,
"layouts/posts/demolayout-baseof.html" ,
"layouts/posts/single-baseof.html" ,
"layouts/posts/baseof.html" ,
"layouts/_default/demolayout-baseof.html.html" ,
"layouts/_default/single-baseof.html.html" ,
"layouts/_default/baseof.html.html" ,
"layouts/_default/demolayout-baseof.html" ,
"layouts/_default/single-baseof.html" ,
"layouts/_default/baseof.html"
]
} ,
2019-10-21 04:22:28 -04:00
{
"Example" : "AMP single page" ,
"Kind" : "page" ,
2023-05-22 11:47:06 -04:00
"OutputFormat" : "amp" ,
2019-10-21 04:22:28 -04:00
"Suffix" : "html" ,
"Template Lookup Order" : [
"layouts/posts/single.amp.html" ,
"layouts/posts/single.html" ,
"layouts/_default/single.amp.html" ,
"layouts/_default/single.html"
]
} ,
{
"Example" : "AMP single page, French language" ,
"Kind" : "page" ,
2023-05-22 11:47:06 -04:00
"OutputFormat" : "html" ,
2019-10-21 04:22:28 -04:00
"Suffix" : "html" ,
"Template Lookup Order" : [
2023-05-22 11:47:06 -04:00
"layouts/posts/single.fr.html.html" ,
"layouts/posts/single.html.html" ,
2019-10-21 04:22:28 -04:00
"layouts/posts/single.fr.html" ,
"layouts/posts/single.html" ,
2023-05-22 11:47:06 -04:00
"layouts/_default/single.fr.html.html" ,
"layouts/_default/single.html.html" ,
2019-10-21 04:22:28 -04:00
"layouts/_default/single.fr.html" ,
"layouts/_default/single.html"
]
} ,
{
"Example" : "Home page" ,
"Kind" : "home" ,
2023-05-22 11:47:06 -04:00
"OutputFormat" : "html" ,
2019-10-21 04:22:28 -04:00
"Suffix" : "html" ,
"Template Lookup Order" : [
"layouts/index.html.html" ,
"layouts/home.html.html" ,
"layouts/list.html.html" ,
"layouts/index.html" ,
"layouts/home.html" ,
"layouts/list.html" ,
"layouts/_default/index.html.html" ,
"layouts/_default/home.html.html" ,
"layouts/_default/list.html.html" ,
"layouts/_default/index.html" ,
"layouts/_default/home.html" ,
"layouts/_default/list.html"
]
} ,
2020-02-06 07:02:49 -05:00
{
"Example" : "Base template for home page" ,
"Kind" : "home" ,
2023-05-22 11:47:06 -04:00
"OutputFormat" : "html" ,
2020-02-06 07:02:49 -05:00
"Suffix" : "html" ,
"Template Lookup Order" : [
"layouts/index-baseof.html.html" ,
"layouts/home-baseof.html.html" ,
"layouts/list-baseof.html.html" ,
"layouts/baseof.html.html" ,
"layouts/index-baseof.html" ,
"layouts/home-baseof.html" ,
"layouts/list-baseof.html" ,
"layouts/baseof.html" ,
"layouts/_default/index-baseof.html.html" ,
"layouts/_default/home-baseof.html.html" ,
"layouts/_default/list-baseof.html.html" ,
"layouts/_default/baseof.html.html" ,
"layouts/_default/index-baseof.html" ,
"layouts/_default/home-baseof.html" ,
"layouts/_default/list-baseof.html" ,
"layouts/_default/baseof.html"
]
} ,
2019-10-21 04:22:28 -04:00
{
"Example" : "Home page with type set" ,
"Kind" : "home" ,
2023-05-22 11:47:06 -04:00
"OutputFormat" : "html" ,
2019-10-21 04:22:28 -04:00
"Suffix" : "html" ,
"Template Lookup Order" : [
"layouts/demotype/index.html.html" ,
"layouts/demotype/home.html.html" ,
"layouts/demotype/list.html.html" ,
"layouts/demotype/index.html" ,
"layouts/demotype/home.html" ,
"layouts/demotype/list.html" ,
"layouts/index.html.html" ,
"layouts/home.html.html" ,
"layouts/list.html.html" ,
"layouts/index.html" ,
"layouts/home.html" ,
"layouts/list.html" ,
"layouts/_default/index.html.html" ,
"layouts/_default/home.html.html" ,
"layouts/_default/list.html.html" ,
"layouts/_default/index.html" ,
"layouts/_default/home.html" ,
"layouts/_default/list.html"
]
} ,
2020-02-06 07:02:49 -05:00
{
"Example" : "Base template for home page with type set" ,
"Kind" : "home" ,
2023-05-22 11:47:06 -04:00
"OutputFormat" : "html" ,
2020-02-06 07:02:49 -05:00
"Suffix" : "html" ,
"Template Lookup Order" : [
"layouts/demotype/index-baseof.html.html" ,
"layouts/demotype/home-baseof.html.html" ,
"layouts/demotype/list-baseof.html.html" ,
"layouts/demotype/baseof.html.html" ,
"layouts/demotype/index-baseof.html" ,
"layouts/demotype/home-baseof.html" ,
"layouts/demotype/list-baseof.html" ,
"layouts/demotype/baseof.html" ,
"layouts/index-baseof.html.html" ,
"layouts/home-baseof.html.html" ,
"layouts/list-baseof.html.html" ,
"layouts/baseof.html.html" ,
"layouts/index-baseof.html" ,
"layouts/home-baseof.html" ,
"layouts/list-baseof.html" ,
"layouts/baseof.html" ,
"layouts/_default/index-baseof.html.html" ,
"layouts/_default/home-baseof.html.html" ,
"layouts/_default/list-baseof.html.html" ,
"layouts/_default/baseof.html.html" ,
"layouts/_default/index-baseof.html" ,
"layouts/_default/home-baseof.html" ,
"layouts/_default/list-baseof.html" ,
"layouts/_default/baseof.html"
]
} ,
2019-10-21 04:22:28 -04:00
{
"Example" : "Home page with layout set" ,
"Kind" : "home" ,
2023-05-22 11:47:06 -04:00
"OutputFormat" : "html" ,
2019-10-21 04:22:28 -04:00
"Suffix" : "html" ,
"Template Lookup Order" : [
"layouts/demolayout.html.html" ,
"layouts/index.html.html" ,
"layouts/home.html.html" ,
"layouts/list.html.html" ,
"layouts/demolayout.html" ,
"layouts/index.html" ,
"layouts/home.html" ,
"layouts/list.html" ,
"layouts/_default/demolayout.html.html" ,
"layouts/_default/index.html.html" ,
"layouts/_default/home.html.html" ,
"layouts/_default/list.html.html" ,
"layouts/_default/demolayout.html" ,
"layouts/_default/index.html" ,
"layouts/_default/home.html" ,
"layouts/_default/list.html"
]
} ,
{
2021-04-20 14:21:45 -04:00
"Example" : "AMP home, French language" ,
2019-10-21 04:22:28 -04:00
"Kind" : "home" ,
2023-05-22 11:47:06 -04:00
"OutputFormat" : "amp" ,
2019-10-21 04:22:28 -04:00
"Suffix" : "html" ,
"Template Lookup Order" : [
"layouts/index.fr.amp.html" ,
"layouts/home.fr.amp.html" ,
"layouts/list.fr.amp.html" ,
"layouts/index.amp.html" ,
"layouts/home.amp.html" ,
"layouts/list.amp.html" ,
"layouts/index.fr.html" ,
"layouts/home.fr.html" ,
"layouts/list.fr.html" ,
"layouts/index.html" ,
"layouts/home.html" ,
"layouts/list.html" ,
"layouts/_default/index.fr.amp.html" ,
"layouts/_default/home.fr.amp.html" ,
"layouts/_default/list.fr.amp.html" ,
"layouts/_default/index.amp.html" ,
"layouts/_default/home.amp.html" ,
"layouts/_default/list.amp.html" ,
"layouts/_default/index.fr.html" ,
"layouts/_default/home.fr.html" ,
"layouts/_default/list.fr.html" ,
"layouts/_default/index.html" ,
"layouts/_default/home.html" ,
"layouts/_default/list.html"
]
} ,
{
"Example" : "JSON home" ,
"Kind" : "home" ,
2023-05-22 11:47:06 -04:00
"OutputFormat" : "json" ,
2019-10-21 04:22:28 -04:00
"Suffix" : "json" ,
"Template Lookup Order" : [
"layouts/index.json.json" ,
"layouts/home.json.json" ,
"layouts/list.json.json" ,
"layouts/index.json" ,
"layouts/home.json" ,
"layouts/list.json" ,
"layouts/_default/index.json.json" ,
"layouts/_default/home.json.json" ,
"layouts/_default/list.json.json" ,
"layouts/_default/index.json" ,
"layouts/_default/home.json" ,
"layouts/_default/list.json"
]
} ,
{
"Example" : "RSS home" ,
"Kind" : "home" ,
2023-05-22 11:47:06 -04:00
"OutputFormat" : "rss" ,
2019-10-21 04:22:28 -04:00
"Suffix" : "xml" ,
"Template Lookup Order" : [
"layouts/index.rss.xml" ,
"layouts/home.rss.xml" ,
"layouts/rss.xml" ,
"layouts/list.rss.xml" ,
"layouts/index.xml" ,
"layouts/home.xml" ,
"layouts/list.xml" ,
"layouts/_default/index.rss.xml" ,
"layouts/_default/home.rss.xml" ,
"layouts/_default/rss.xml" ,
"layouts/_default/list.rss.xml" ,
"layouts/_default/index.xml" ,
"layouts/_default/home.xml" ,
"layouts/_default/list.xml" ,
"layouts/_internal/_default/rss.xml"
]
} ,
{
"Example" : "RSS section posts" ,
"Kind" : "section" ,
2023-05-22 11:47:06 -04:00
"OutputFormat" : "rss" ,
2019-10-21 04:22:28 -04:00
"Suffix" : "xml" ,
"Template Lookup Order" : [
"layouts/posts/section.rss.xml" ,
"layouts/posts/rss.xml" ,
"layouts/posts/list.rss.xml" ,
"layouts/posts/section.xml" ,
"layouts/posts/list.xml" ,
"layouts/section/section.rss.xml" ,
"layouts/section/rss.xml" ,
"layouts/section/list.rss.xml" ,
"layouts/section/section.xml" ,
"layouts/section/list.xml" ,
"layouts/_default/section.rss.xml" ,
"layouts/_default/rss.xml" ,
"layouts/_default/list.rss.xml" ,
"layouts/_default/section.xml" ,
"layouts/_default/list.xml" ,
"layouts/_internal/_default/rss.xml"
]
} ,
{
2020-07-07 00:58:43 -04:00
"Example" : "Taxonomy in categories" ,
2019-10-21 04:22:28 -04:00
"Kind" : "taxonomy" ,
2023-05-22 11:47:06 -04:00
"OutputFormat" : "rss" ,
2019-10-21 04:22:28 -04:00
"Suffix" : "xml" ,
"Template Lookup Order" : [
2020-07-07 00:58:43 -04:00
"layouts/categories/category.terms.rss.xml" ,
"layouts/categories/terms.rss.xml" ,
2019-10-21 04:22:28 -04:00
"layouts/categories/taxonomy.rss.xml" ,
"layouts/categories/rss.xml" ,
"layouts/categories/list.rss.xml" ,
2020-07-07 00:58:43 -04:00
"layouts/categories/category.terms.xml" ,
"layouts/categories/terms.xml" ,
2019-10-21 04:22:28 -04:00
"layouts/categories/taxonomy.xml" ,
"layouts/categories/list.xml" ,
2020-07-07 00:58:43 -04:00
"layouts/category/category.terms.rss.xml" ,
"layouts/category/terms.rss.xml" ,
2019-10-21 04:22:28 -04:00
"layouts/category/taxonomy.rss.xml" ,
"layouts/category/rss.xml" ,
"layouts/category/list.rss.xml" ,
2020-07-07 00:58:43 -04:00
"layouts/category/category.terms.xml" ,
"layouts/category/terms.xml" ,
2019-10-21 04:22:28 -04:00
"layouts/category/taxonomy.xml" ,
"layouts/category/list.xml" ,
2020-07-07 00:58:43 -04:00
"layouts/taxonomy/category.terms.rss.xml" ,
"layouts/taxonomy/terms.rss.xml" ,
"layouts/taxonomy/taxonomy.rss.xml" ,
"layouts/taxonomy/rss.xml" ,
"layouts/taxonomy/list.rss.xml" ,
"layouts/taxonomy/category.terms.xml" ,
"layouts/taxonomy/terms.xml" ,
"layouts/taxonomy/taxonomy.xml" ,
"layouts/taxonomy/list.xml" ,
"layouts/_default/category.terms.rss.xml" ,
"layouts/_default/terms.rss.xml" ,
2019-10-21 04:22:28 -04:00
"layouts/_default/taxonomy.rss.xml" ,
"layouts/_default/rss.xml" ,
"layouts/_default/list.rss.xml" ,
2020-07-07 00:58:43 -04:00
"layouts/_default/category.terms.xml" ,
"layouts/_default/terms.xml" ,
2019-10-21 04:22:28 -04:00
"layouts/_default/taxonomy.xml" ,
"layouts/_default/list.xml" ,
"layouts/_internal/_default/rss.xml"
]
} ,
{
2020-07-07 00:58:43 -04:00
"Example" : "Term in categories" ,
"Kind" : "term" ,
2023-05-22 11:47:06 -04:00
"OutputFormat" : "rss" ,
2019-10-21 04:22:28 -04:00
"Suffix" : "xml" ,
"Template Lookup Order" : [
2020-07-07 00:58:43 -04:00
"layouts/categories/term.rss.xml" ,
"layouts/categories/category.rss.xml" ,
"layouts/categories/taxonomy.rss.xml" ,
2019-10-21 04:22:28 -04:00
"layouts/categories/rss.xml" ,
"layouts/categories/list.rss.xml" ,
2020-07-07 00:58:43 -04:00
"layouts/categories/term.xml" ,
"layouts/categories/category.xml" ,
"layouts/categories/taxonomy.xml" ,
2019-10-21 04:22:28 -04:00
"layouts/categories/list.xml" ,
2020-07-07 00:58:43 -04:00
"layouts/term/term.rss.xml" ,
"layouts/term/category.rss.xml" ,
"layouts/term/taxonomy.rss.xml" ,
"layouts/term/rss.xml" ,
"layouts/term/list.rss.xml" ,
"layouts/term/term.xml" ,
"layouts/term/category.xml" ,
"layouts/term/taxonomy.xml" ,
"layouts/term/list.xml" ,
"layouts/taxonomy/term.rss.xml" ,
"layouts/taxonomy/category.rss.xml" ,
"layouts/taxonomy/taxonomy.rss.xml" ,
2019-10-21 04:22:28 -04:00
"layouts/taxonomy/rss.xml" ,
"layouts/taxonomy/list.rss.xml" ,
2020-07-07 00:58:43 -04:00
"layouts/taxonomy/term.xml" ,
"layouts/taxonomy/category.xml" ,
"layouts/taxonomy/taxonomy.xml" ,
2019-10-21 04:22:28 -04:00
"layouts/taxonomy/list.xml" ,
2020-07-07 00:58:43 -04:00
"layouts/category/term.rss.xml" ,
"layouts/category/category.rss.xml" ,
"layouts/category/taxonomy.rss.xml" ,
2019-10-21 04:22:28 -04:00
"layouts/category/rss.xml" ,
"layouts/category/list.rss.xml" ,
2020-07-07 00:58:43 -04:00
"layouts/category/term.xml" ,
"layouts/category/category.xml" ,
"layouts/category/taxonomy.xml" ,
2019-10-21 04:22:28 -04:00
"layouts/category/list.xml" ,
2020-07-07 00:58:43 -04:00
"layouts/_default/term.rss.xml" ,
"layouts/_default/category.rss.xml" ,
"layouts/_default/taxonomy.rss.xml" ,
2019-10-21 04:22:28 -04:00
"layouts/_default/rss.xml" ,
"layouts/_default/list.rss.xml" ,
2020-07-07 00:58:43 -04:00
"layouts/_default/term.xml" ,
"layouts/_default/category.xml" ,
"layouts/_default/taxonomy.xml" ,
2019-10-21 04:22:28 -04:00
"layouts/_default/list.xml" ,
"layouts/_internal/_default/rss.xml"
]
} ,
{
"Example" : "Section list for \"posts\" section" ,
"Kind" : "section" ,
2023-05-22 11:47:06 -04:00
"OutputFormat" : "html" ,
2019-10-21 04:22:28 -04:00
"Suffix" : "html" ,
"Template Lookup Order" : [
"layouts/posts/posts.html.html" ,
"layouts/posts/section.html.html" ,
"layouts/posts/list.html.html" ,
"layouts/posts/posts.html" ,
"layouts/posts/section.html" ,
"layouts/posts/list.html" ,
"layouts/section/posts.html.html" ,
"layouts/section/section.html.html" ,
"layouts/section/list.html.html" ,
"layouts/section/posts.html" ,
"layouts/section/section.html" ,
"layouts/section/list.html" ,
"layouts/_default/posts.html.html" ,
"layouts/_default/section.html.html" ,
"layouts/_default/list.html.html" ,
"layouts/_default/posts.html" ,
"layouts/_default/section.html" ,
"layouts/_default/list.html"
]
} ,
{
"Example" : "Section list for \"posts\" section with type set to \"blog\"" ,
"Kind" : "section" ,
2023-05-22 11:47:06 -04:00
"OutputFormat" : "html" ,
2019-10-21 04:22:28 -04:00
"Suffix" : "html" ,
"Template Lookup Order" : [
"layouts/blog/posts.html.html" ,
"layouts/blog/section.html.html" ,
"layouts/blog/list.html.html" ,
"layouts/blog/posts.html" ,
"layouts/blog/section.html" ,
"layouts/blog/list.html" ,
"layouts/posts/posts.html.html" ,
"layouts/posts/section.html.html" ,
"layouts/posts/list.html.html" ,
"layouts/posts/posts.html" ,
"layouts/posts/section.html" ,
"layouts/posts/list.html" ,
"layouts/section/posts.html.html" ,
"layouts/section/section.html.html" ,
"layouts/section/list.html.html" ,
"layouts/section/posts.html" ,
"layouts/section/section.html" ,
"layouts/section/list.html" ,
"layouts/_default/posts.html.html" ,
"layouts/_default/section.html.html" ,
"layouts/_default/list.html.html" ,
"layouts/_default/posts.html" ,
"layouts/_default/section.html" ,
"layouts/_default/list.html"
]
} ,
{
"Example" : "Section list for \"posts\" section with layout set to \"demoLayout\"" ,
"Kind" : "section" ,
2023-05-22 11:47:06 -04:00
"OutputFormat" : "html" ,
2019-10-21 04:22:28 -04:00
"Suffix" : "html" ,
"Template Lookup Order" : [
"layouts/posts/demolayout.html.html" ,
"layouts/posts/posts.html.html" ,
"layouts/posts/section.html.html" ,
"layouts/posts/list.html.html" ,
"layouts/posts/demolayout.html" ,
"layouts/posts/posts.html" ,
"layouts/posts/section.html" ,
"layouts/posts/list.html" ,
"layouts/section/demolayout.html.html" ,
"layouts/section/posts.html.html" ,
"layouts/section/section.html.html" ,
"layouts/section/list.html.html" ,
"layouts/section/demolayout.html" ,
"layouts/section/posts.html" ,
"layouts/section/section.html" ,
"layouts/section/list.html" ,
"layouts/_default/demolayout.html.html" ,
"layouts/_default/posts.html.html" ,
"layouts/_default/section.html.html" ,
"layouts/_default/list.html.html" ,
"layouts/_default/demolayout.html" ,
"layouts/_default/posts.html" ,
"layouts/_default/section.html" ,
"layouts/_default/list.html"
]
} ,
{
"Example" : "Taxonomy list in categories" ,
"Kind" : "taxonomy" ,
2023-05-22 11:47:06 -04:00
"OutputFormat" : "html" ,
2019-10-21 04:22:28 -04:00
"Suffix" : "html" ,
"Template Lookup Order" : [
2020-07-07 00:58:43 -04:00
"layouts/categories/category.terms.html.html" ,
"layouts/categories/terms.html.html" ,
2019-10-21 04:22:28 -04:00
"layouts/categories/taxonomy.html.html" ,
"layouts/categories/list.html.html" ,
2020-07-07 00:58:43 -04:00
"layouts/categories/category.terms.html" ,
"layouts/categories/terms.html" ,
2019-10-21 04:22:28 -04:00
"layouts/categories/taxonomy.html" ,
"layouts/categories/list.html" ,
2020-07-07 00:58:43 -04:00
"layouts/category/category.terms.html.html" ,
"layouts/category/terms.html.html" ,
2019-10-21 04:22:28 -04:00
"layouts/category/taxonomy.html.html" ,
"layouts/category/list.html.html" ,
2020-07-07 00:58:43 -04:00
"layouts/category/category.terms.html" ,
"layouts/category/terms.html" ,
2019-10-21 04:22:28 -04:00
"layouts/category/taxonomy.html" ,
"layouts/category/list.html" ,
2020-07-07 00:58:43 -04:00
"layouts/taxonomy/category.terms.html.html" ,
"layouts/taxonomy/terms.html.html" ,
"layouts/taxonomy/taxonomy.html.html" ,
"layouts/taxonomy/list.html.html" ,
"layouts/taxonomy/category.terms.html" ,
"layouts/taxonomy/terms.html" ,
"layouts/taxonomy/taxonomy.html" ,
"layouts/taxonomy/list.html" ,
"layouts/_default/category.terms.html.html" ,
"layouts/_default/terms.html.html" ,
2019-10-21 04:22:28 -04:00
"layouts/_default/taxonomy.html.html" ,
"layouts/_default/list.html.html" ,
2020-07-07 00:58:43 -04:00
"layouts/_default/category.terms.html" ,
"layouts/_default/terms.html" ,
2019-10-21 04:22:28 -04:00
"layouts/_default/taxonomy.html" ,
"layouts/_default/list.html"
]
} ,
{
"Example" : "Taxonomy term in categories" ,
2020-07-07 00:58:43 -04:00
"Kind" : "term" ,
2023-05-22 11:47:06 -04:00
"OutputFormat" : "html" ,
2019-10-21 04:22:28 -04:00
"Suffix" : "html" ,
"Template Lookup Order" : [
2020-07-07 00:58:43 -04:00
"layouts/categories/term.html.html" ,
"layouts/categories/category.html.html" ,
"layouts/categories/taxonomy.html.html" ,
2019-10-21 04:22:28 -04:00
"layouts/categories/list.html.html" ,
2020-07-07 00:58:43 -04:00
"layouts/categories/term.html" ,
"layouts/categories/category.html" ,
"layouts/categories/taxonomy.html" ,
2019-10-21 04:22:28 -04:00
"layouts/categories/list.html" ,
2020-07-07 00:58:43 -04:00
"layouts/term/term.html.html" ,
"layouts/term/category.html.html" ,
"layouts/term/taxonomy.html.html" ,
"layouts/term/list.html.html" ,
"layouts/term/term.html" ,
"layouts/term/category.html" ,
"layouts/term/taxonomy.html" ,
"layouts/term/list.html" ,
"layouts/taxonomy/term.html.html" ,
"layouts/taxonomy/category.html.html" ,
"layouts/taxonomy/taxonomy.html.html" ,
2019-10-21 04:22:28 -04:00
"layouts/taxonomy/list.html.html" ,
2020-07-07 00:58:43 -04:00
"layouts/taxonomy/term.html" ,
"layouts/taxonomy/category.html" ,
"layouts/taxonomy/taxonomy.html" ,
2019-10-21 04:22:28 -04:00
"layouts/taxonomy/list.html" ,
2020-07-07 00:58:43 -04:00
"layouts/category/term.html.html" ,
"layouts/category/category.html.html" ,
"layouts/category/taxonomy.html.html" ,
2019-10-21 04:22:28 -04:00
"layouts/category/list.html.html" ,
2020-07-07 00:58:43 -04:00
"layouts/category/term.html" ,
"layouts/category/category.html" ,
"layouts/category/taxonomy.html" ,
2019-10-21 04:22:28 -04:00
"layouts/category/list.html" ,
2020-07-07 00:58:43 -04:00
"layouts/_default/term.html.html" ,
"layouts/_default/category.html.html" ,
"layouts/_default/taxonomy.html.html" ,
2019-10-21 04:22:28 -04:00
"layouts/_default/list.html.html" ,
2020-07-07 00:58:43 -04:00
"layouts/_default/term.html" ,
"layouts/_default/category.html" ,
"layouts/_default/taxonomy.html" ,
2019-10-21 04:22:28 -04:00
"layouts/_default/list.html"
]
}
]
} ,
"tpl" : {
"funcs" : {
"cast" : {
"ToFloat" : {
2022-05-31 04:23:20 -04:00
"Description" : "ToFloat converts v to a float." ,
2019-10-21 04:22:28 -04:00
"Args" : [
"v"
] ,
"Aliases" : [
"float"
] ,
"Examples" : [
[
"{{ \"1234\" | float | printf \"%T\" }}" ,
"float64"
]
]
} ,
"ToInt" : {
2022-05-31 04:23:20 -04:00
"Description" : "ToInt converts v to an int." ,
2019-10-21 04:22:28 -04:00
"Args" : [
"v"
] ,
"Aliases" : [
"int"
] ,
"Examples" : [
[
"{{ \"1234\" | int | printf \"%T\" }}" ,
"int"
]
]
} ,
"ToString" : {
2022-05-31 04:23:20 -04:00
"Description" : "ToString converts v to a string." ,
2019-10-21 04:22:28 -04:00
"Args" : [
"v"
] ,
"Aliases" : [
"string"
] ,
"Examples" : [
[
"{{ 1234 | string | printf \"%T\" }}" ,
"string"
]
]
}
} ,
"compare" : {
"Conditional" : {
2022-12-23 04:15:48 -05:00
"Description" : "Conditional can be used as a ternary operator.\n\nIt returns v1 if cond is true, else v2." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2022-12-23 04:15:48 -05:00
"cond" ,
"v1" ,
"v2"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : [
"cond"
] ,
"Examples" : [
[
"{{ cond (eq (add 2 2) 4) \"2+2 is 4\" \"what?\" | safeHTML }}" ,
"2+2 is 4"
]
]
} ,
"Default" : {
2022-12-23 04:15:48 -05:00
"Description" : "Default checks whether a givenv is set and returns the default value defaultv 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." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2022-12-23 04:15:48 -05:00
"defaultv" ,
"givenv"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : [
"default"
] ,
"Examples" : [
[
"{{ \"Hugo Rocks!\" | default \"Hugo Rules!\" }}" ,
"Hugo Rocks!"
] ,
[
"{{ \"\" | default \"Hugo Rules!\" }}" ,
"Hugo Rules!"
]
]
} ,
"Eq" : {
2019-12-15 04:35:09 -05:00
"Description" : "Eq returns the boolean truth of arg1 == arg2 || arg1 == arg3 || arg1 == arg4." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2019-12-15 04:35:09 -05:00
"first" ,
"others"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : [
"eq"
] ,
"Examples" : [
[
2022-02-28 02:52:15 -05:00
"{{ if eq .Section \"blog\" }}current-section{{ end }}" ,
"current-section"
2019-10-21 04:22:28 -04:00
]
]
} ,
"Ge" : {
2020-02-06 07:02:49 -05:00
"Description" : "Ge returns the boolean truth of arg1 \u003e= arg2 \u0026\u0026 arg1 \u003e= arg3 \u0026\u0026 arg1 \u003e= arg4." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2020-02-06 07:02:49 -05:00
"first" ,
"others"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : [
"ge"
] ,
"Examples" : [
[
2022-02-28 02:52:15 -05:00
"{{ if ge hugo.Version \"0.80\" }}Reasonable new Hugo version!{{ end }}" ,
2019-10-21 04:22:28 -04:00
"Reasonable new Hugo version!"
]
]
} ,
"Gt" : {
2020-02-06 07:02:49 -05:00
"Description" : "Gt returns the boolean truth of arg1 \u003e arg2 \u0026\u0026 arg1 \u003e arg3 \u0026\u0026 arg1 \u003e arg4." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2020-02-06 07:02:49 -05:00
"first" ,
"others"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : [
"gt"
] ,
"Examples" : [ ]
} ,
"Le" : {
2020-02-06 07:02:49 -05:00
"Description" : "Le returns the boolean truth of arg1 \u003c= arg2 \u0026\u0026 arg1 \u003c= arg3 \u0026\u0026 arg1 \u003c= arg4." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2020-02-06 07:02:49 -05:00
"first" ,
"others"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : [
"le"
] ,
"Examples" : [ ]
} ,
"Lt" : {
2020-02-06 07:02:49 -05:00
"Description" : "Lt returns the boolean truth of arg1 \u003c arg2 \u0026\u0026 arg1 \u003c arg3 \u0026\u0026 arg1 \u003c arg4." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2020-02-06 07:02:49 -05:00
"first" ,
"others"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : [
"lt"
] ,
"Examples" : [ ]
} ,
2022-04-28 05:53:03 -04:00
"LtCollate" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
2019-10-21 04:22:28 -04:00
"Ne" : {
2020-02-06 07:02:49 -05:00
"Description" : "Ne returns the boolean truth of arg1 != arg2 \u0026\u0026 arg1 != arg3 \u0026\u0026 arg1 != arg4." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2020-02-06 07:02:49 -05:00
"first" ,
"others"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : [
"ne"
] ,
"Examples" : [ ]
}
} ,
"collections" : {
"After" : {
2022-12-23 04:15:48 -05:00
"Description" : "After returns all the items after the first n items in list l." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2022-12-23 04:15:48 -05:00
"n" ,
"l"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : [
"after"
] ,
"Examples" : [ ]
} ,
"Append" : {
2022-12-23 04:15:48 -05:00
"Description" : "Append appends args up to the last one to the slice in the last argument.\nThis construct allows template constructs like this:\n\n\t{{ $pages = $pages | append $p2 $p1 }}\n\nNote that with 2 arguments where both are slices of the same type,\nthe first slice will be appended to the second:\n\n\t{{ $pages = $pages | append .Site.RegularPages }}" ,
2019-10-21 04:22:28 -04:00
"Args" : [
"args"
] ,
"Aliases" : [
"append"
] ,
"Examples" : [ ]
} ,
"Apply" : {
2022-12-23 04:15:48 -05:00
"Description" : "Apply takes a map, array, or slice c and returns a new slice with the function fname applied over it." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2022-03-08 13:40:07 -05:00
"ctx" ,
2022-12-23 04:15:48 -05:00
"c" ,
2019-10-21 04:22:28 -04:00
"fname" ,
"args"
] ,
"Aliases" : [
"apply"
] ,
"Examples" : [ ]
} ,
"Complement" : {
2022-12-23 04:15:48 -05:00
"Description" : "Complement gives the elements in the last element of ls that are not in\nany of the others.\n\nAll elements of ls 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\n\t{{ $c := .Pages | complement $last4 }}" ,
2019-10-21 04:22:28 -04:00
"Args" : [
2022-12-23 04:15:48 -05:00
"ls"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : [
"complement"
] ,
"Examples" : [
[
2022-12-05 10:50:47 -05:00
"{{ slice \"a\" \"b\" \"c\" \"d\" \"e\" \"f\" | complement (slice \"b\" \"c\") (slice \"d\" \"e\") }}" ,
2019-10-21 04:22:28 -04:00
"[a f]"
]
]
} ,
"Delimit" : {
2022-12-23 04:15:48 -05:00
"Description" : "Delimit takes a given list l and returns a string delimited by sep.\nIf last is passed to the function, it will be used as the final delimiter." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2022-12-23 04:15:48 -05:00
"l" ,
"sep" ,
2019-10-21 04:22:28 -04:00
"last"
] ,
"Aliases" : [
"delimit"
] ,
"Examples" : [
[
"{{ delimit (slice \"A\" \"B\" \"C\") \", \" \" and \" }}" ,
"A, B and C"
]
]
} ,
"Dictionary" : {
2022-12-23 04:15:48 -05:00
"Description" : "Dictionary creates a new map from the given parameters by\ntreating values as key-value pairs. The number of values must be even.\nThe keys can be string slices, which will create the needed nested structure." ,
2019-10-21 04:22:28 -04:00
"Args" : [
"values"
] ,
"Aliases" : [
"dict"
] ,
"Examples" : [ ]
} ,
"EchoParam" : {
2022-12-23 04:15:48 -05:00
"Description" : "EchoParam returns a the value in the collection c with key k if is set; otherwise, it returns an\nempty string." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2022-12-23 04:15:48 -05:00
"c" ,
"k"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : [
"echoParam"
] ,
"Examples" : [
[
"{{ echoParam .Params \"langCode\" }}" ,
"en"
]
]
} ,
"First" : {
2022-12-23 04:15:48 -05:00
"Description" : "First returns the first limit items in list l." ,
2019-10-21 04:22:28 -04:00
"Args" : [
"limit" ,
2022-12-23 04:15:48 -05:00
"l"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : [
"first"
] ,
"Examples" : [ ]
} ,
"Group" : {
2022-12-23 04:15:48 -05:00
"Description" : "Group groups a set of items by the given key.\nThis is currently only supported for Pages." ,
2019-10-21 04:22:28 -04:00
"Args" : [
"key" ,
"items"
] ,
"Aliases" : [
"group"
] ,
"Examples" : [ ]
} ,
"In" : {
2022-12-23 04:15:48 -05:00
"Description" : "In returns whether v is in the list l. l may be an array or slice." ,
2019-10-21 04:22:28 -04:00
"Args" : [
"l" ,
"v"
] ,
"Aliases" : [
"in"
] ,
"Examples" : [
[
"{{ if in \"this string contains a substring\" \"substring\" }}Substring found!{{ end }}" ,
"Substring found!"
]
]
} ,
"Index" : {
2022-12-23 04:15:48 -05:00
"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\nAdapted from Go stdlib src/text/template/funcs.go.\n\nWe deviate from the stdlib mostly because of https://github.com/golang/go/issues/14751." ,
2019-10-21 04:22:28 -04:00
"Args" : [
"item" ,
2019-12-15 04:35:09 -05:00
"args"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : [
"index"
] ,
"Examples" : [ ]
} ,
"Intersect" : {
"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" : {
2022-12-23 04:15:48 -05:00
"Description" : "IsSet returns whether a given array, channel, slice, or map in c has the given key\ndefined." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2022-12-23 04:15:48 -05:00
"c" ,
2019-10-21 04:22:28 -04:00
"key"
] ,
"Aliases" : [
"isSet" ,
"isset"
] ,
"Examples" : [ ]
} ,
"KeyVals" : {
"Description" : "KeyVals creates a key and values wrapper." ,
"Args" : [
"key" ,
2022-12-23 04:15:48 -05:00
"values"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : [
"keyVals"
] ,
"Examples" : [
[
"{{ keyVals \"key\" \"a\" \"b\" }}" ,
"key: [a b]"
]
]
} ,
"Last" : {
2022-12-23 04:15:48 -05:00
"Description" : "Last returns the last limit items in the list l." ,
2019-10-21 04:22:28 -04:00
"Args" : [
"limit" ,
2022-12-23 04:15:48 -05:00
"l"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : [
"last"
] ,
"Examples" : [ ]
} ,
"Merge" : {
2022-12-23 04:15:48 -05:00
"Description" : "Merge creates a copy of the final parameter in params and merges the preceding\nparameters into it in reverse order.\n\nCurrently only maps are supported. Key handling is case insensitive." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2020-10-06 10:22:20 -04:00
"params"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : [
"merge"
] ,
"Examples" : [
[
"{{ dict \"title\" \"Hugo Rocks!\" | collections.Merge (dict \"title\" \"Default Title\" \"description\" \"Yes, Hugo Rocks!\") | sort }}" ,
"[Yes, Hugo Rocks! Hugo Rocks!]"
] ,
[
2022-12-05 10:50:47 -05:00
"{{ merge (dict \"title\" \"Default Title\" \"description\" \"Yes, Hugo Rocks!\") (dict \"title\" \"Hugo Rocks!\") | sort }}" ,
2019-10-21 04:22:28 -04:00
"[Yes, Hugo Rocks! Hugo Rocks!]"
2020-10-06 10:22:20 -04:00
] ,
[
2022-12-05 10:50:47 -05:00
"{{ merge (dict \"title\" \"Default Title\" \"description\" \"Yes, Hugo Rocks!\") (dict \"title\" \"Hugo Rocks!\") (dict \"extra\" \"For reals!\") | sort }}" ,
2020-10-06 10:22:20 -04:00
"[Yes, Hugo Rocks! For reals! Hugo Rocks!]"
2019-10-21 04:22:28 -04:00
]
]
} ,
"NewScratch" : {
"Description" : "NewScratch creates a new Scratch which can be used to store values in a\nthread safe way." ,
"Args" : null ,
"Aliases" : [
"newScratch"
] ,
"Examples" : [
[
"{{ $scratch := newScratch }}{{ $scratch.Add \"b\" 2 }}{{ $scratch.Add \"b\" 2 }}{{ $scratch.Get \"b\" }}" ,
"4"
]
]
} ,
"Querify" : {
2022-12-23 04:15:48 -05:00
"Description" : "Querify encodes the given params in URL-encoded form (\"bar=baz\u0026foo=quux\") sorted by key." ,
2019-10-21 04:22:28 -04:00
"Args" : [
"params"
] ,
"Aliases" : [
"querify"
] ,
"Examples" : [
[
"{{ (querify \"foo\" 1 \"bar\" 2 \"baz\" \"with spaces\" \"qux\" \"this\u0026that=those\") | safeHTML }}" ,
"bar=2\u0026baz=with+spaces\u0026foo=1\u0026qux=this%26that%3Dthose"
] ,
[
"\u003ca href=\"https://www.google.com?{{ (querify \"q\" \"test\" \"page\" 3) | safeURL }}\"\u003eSearch\u003c/a\u003e" ,
"\u003ca href=\"https://www.google.com?page=3\u0026amp;q=test\"\u003eSearch\u003c/a\u003e"
2021-06-18 11:49:54 -04:00
] ,
[
"{{ slice \"foo\" 1 \"bar\" 2 | querify | safeHTML }}" ,
"bar=2\u0026foo=1"
2019-10-21 04:22:28 -04:00
]
]
} ,
2019-12-15 04:35:09 -05:00
"Reverse" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
2019-10-21 04:22:28 -04:00
"Seq" : {
2022-12-23 04:15:48 -05:00
"Description" : "Seq creates a sequence of integers from args. It's named and used as GNU's seq.\n\nExamples:\n\n\t3 =\u003e 1, 2, 3\n\t1 2 4 =\u003e 1, 3\n\t-3 =\u003e -1, -2, -3\n\t1 4 =\u003e 1, 2, 3, 4\n\t1 -2 =\u003e 1, 0, -1, -2" ,
2019-10-21 04:22:28 -04:00
"Args" : [
"args"
] ,
"Aliases" : [
"seq"
] ,
"Examples" : [
[
"{{ seq 3 }}" ,
"[1 2 3]"
]
]
} ,
"Shuffle" : {
2022-12-23 04:15:48 -05:00
"Description" : "Shuffle returns list l in a randomised order." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2022-12-23 04:15:48 -05:00
"l"
2019-10-21 04:22:28 -04:00
] ,
"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" : {
2022-12-23 04:15:48 -05:00
"Description" : "Sort returns a sorted copy of the list l." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2022-12-23 04:15:48 -05:00
"l" ,
2019-10-21 04:22:28 -04:00
"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" : {
2023-03-01 10:35:23 -05:00
"Description" : "Uniq returns a new list with duplicate elements in the list l removed." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2022-12-23 04:15:48 -05:00
"l"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : [
"uniq"
] ,
"Examples" : [
[
"{{ slice 1 2 3 2 | uniq }}" ,
"[1 2 3]"
]
]
} ,
"Where" : {
2022-12-23 04:15:48 -05:00
"Description" : "Where returns a filtered subset of collection c." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2022-12-23 04:15:48 -05:00
"c" ,
2019-10-21 04:22:28 -04:00
"key" ,
"args"
] ,
"Aliases" : [
"where"
] ,
"Examples" : [ ]
}
} ,
"crypto" : {
2022-04-28 05:53:03 -04:00
"FNV32a" : {
2023-05-22 11:47:06 -04:00
"Description" : "FNV32a hashes v using fnv32a algorithm.\n\u003cdocsmeta\u003e{\"newIn\": \"0.98.0\" }\u003c/docsmeta\u003e" ,
2022-05-31 04:23:20 -04:00
"Args" : [
2022-12-23 04:15:48 -05:00
"v"
2022-05-31 04:23:20 -04:00
] ,
2022-04-28 05:53:03 -04:00
"Aliases" : null ,
2022-05-31 04:23:20 -04:00
"Examples" : [
[
"{{ crypto.FNV32a \"Hugo Rocks!!\" }}" ,
"1515779328"
]
]
2022-04-28 05:53:03 -04:00
} ,
2020-07-07 00:58:43 -04:00
"HMAC" : {
"Description" : "HMAC returns a cryptographic hash that uses a key to sign a message." ,
"Args" : [
"h" ,
"k" ,
2022-03-26 05:06:04 -04:00
"m" ,
"e"
2020-07-07 00:58:43 -04:00
] ,
"Aliases" : [
"hmac"
] ,
"Examples" : [
[
"{{ hmac \"sha256\" \"Secret key\" \"Hello world, gophers!\" }}" ,
"b6d11b6c53830b9d87036272ca9fe9d19306b8f9d8aa07b15da27d89e6e34f40"
]
]
} ,
2019-10-21 04:22:28 -04:00
"MD5" : {
2022-12-23 04:15:48 -05:00
"Description" : "MD5 hashes the v and returns its MD5 checksum." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2022-12-23 04:15:48 -05:00
"v"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : [
"md5"
] ,
"Examples" : [
[
"{{ md5 \"Hello world, gophers!\" }}" ,
"b3029f756f98f79e7f1b7f1d1f0dd53b"
] ,
[
"{{ crypto.MD5 \"Hello world, gophers!\" }}" ,
"b3029f756f98f79e7f1b7f1d1f0dd53b"
]
]
} ,
"SHA1" : {
2022-12-23 04:15:48 -05:00
"Description" : "SHA1 hashes v and returns its SHA1 checksum." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2022-12-23 04:15:48 -05:00
"v"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : [
"sha1"
] ,
"Examples" : [
[
"{{ sha1 \"Hello world, gophers!\" }}" ,
"c8b5b0e33d408246e30f53e32b8f7627a7a649d4"
]
]
} ,
"SHA256" : {
2022-12-23 04:15:48 -05:00
"Description" : "SHA256 hashes v and returns its SHA256 checksum." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2022-12-23 04:15:48 -05:00
"v"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : [
"sha256"
] ,
"Examples" : [
[
"{{ sha256 \"Hello world, gophers!\" }}" ,
"6ec43b78da9669f50e4e422575c54bf87536954ccd58280219c393f2ce352b46"
]
]
}
} ,
2023-03-01 10:35:23 -05:00
"css" : {
"Quoted" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
"Unquoted" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
}
} ,
2019-10-21 04:22:28 -04:00
"data" : {
"GetCSV" : {
2022-12-23 04:15:48 -05:00
"Description" : "GetCSV expects the separator sep 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." ,
2019-10-21 04:22:28 -04:00
"Args" : [
"sep" ,
2021-06-18 11:49:54 -04:00
"args"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : [
"getCSV"
] ,
"Examples" : [ ]
} ,
"GetJSON" : {
2022-12-23 04:15:48 -05:00
"Description" : "GetJSON expects one or n-parts of a URL in args 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." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2021-06-18 11:49:54 -04:00
"args"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : [
"getJSON"
] ,
"Examples" : [ ]
}
} ,
2020-07-20 16:19:42 -04:00
"debug" : {
"Dump" : {
2022-12-23 04:15:48 -05:00
"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.\n\nWe recommend using the \"go\" Chroma lexer to format the output\nnicely.\n\nAlso note that the output from Dump may change from Hugo version to the next,\nso don't depend on a specific output." ,
2020-07-20 16:19:42 -04:00
"Args" : [
"val"
] ,
"Aliases" : null ,
"Examples" : [
[
2022-12-05 10:50:47 -05:00
"{{ $m := newScratch }}\n{{ $m.Set \"Hugo\" \"Rocks!\" }}\n{{ $m.Values | debug.Dump | safeHTML }}" ,
2020-07-20 16:19:42 -04:00
"map[string]interface {}{\n \"Hugo\": \"Rocks!\",\n}"
]
]
2023-05-22 11:47:06 -04:00
} ,
"VisualizeSpaces" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
2020-07-20 16:19:42 -04:00
}
} ,
2022-02-28 02:52:15 -05:00
"diagrams" : {
"Goat" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
}
} ,
2019-10-21 04:22:28 -04:00
"encoding" : {
"Base64Decode" : {
"Description" : "Base64Decode returns the base64 decoding of the given content." ,
"Args" : [
"content"
] ,
"Aliases" : [
"base64Decode"
] ,
"Examples" : [
[
"{{ \"SGVsbG8gd29ybGQ=\" | base64Decode }}" ,
"Hello world"
] ,
[
"{{ 42 | base64Encode | base64Decode }}" ,
"42"
]
]
} ,
"Base64Encode" : {
"Description" : "Base64Encode returns the base64 encoding of the given content." ,
"Args" : [
"content"
] ,
"Aliases" : [
"base64Encode"
] ,
"Examples" : [
[
"{{ \"Hello world\" | base64Encode }}" ,
"SGVsbG8gd29ybGQ="
]
]
} ,
"Jsonify" : {
2022-12-23 04:15:48 -05:00
"Description" : "Jsonify encodes a given object to JSON. To pretty print the JSON, pass a map\nor dictionary of options as the first value in args. 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." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2020-05-06 06:12:21 -04:00
"args"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : [
"jsonify"
] ,
"Examples" : [
[
"{{ (slice \"A\" \"B\" \"C\") | jsonify }}" ,
"[\"A\",\"B\",\"C\"]"
2020-05-06 06:12:21 -04:00
] ,
[
"{{ (slice \"A\" \"B\" \"C\") | jsonify (dict \"indent\" \" \") }}" ,
"[\n \"A\",\n \"B\",\n \"C\"\n]"
2019-10-21 04:22:28 -04:00
]
]
}
} ,
"fmt" : {
"Errorf" : {
2022-05-31 04:23:20 -04:00
"Description" : "Errorf formats args according to a format specifier and logs an ERROR.\nIt returns an empty string." ,
2019-10-21 04:22:28 -04:00
"Args" : [
"format" ,
2022-05-31 04:23:20 -04:00
"args"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : [
"errorf"
] ,
"Examples" : [
[
"{{ errorf \"%s.\" \"failed\" }}" ,
2020-02-06 07:02:49 -05:00
""
2019-10-21 04:22:28 -04:00
]
]
} ,
2021-06-18 11:49:54 -04:00
"Erroridf" : {
2022-12-23 04:15:48 -05:00
"Description" : "Erroridf formats args according to a format specifier and logs an ERROR and\nan information text that the error with the given id can be suppressed in config.\nIt returns an empty string." ,
2021-06-18 11:49:54 -04:00
"Args" : [
"id" ,
"format" ,
2022-05-31 04:23:20 -04:00
"args"
2021-06-18 11:49:54 -04:00
] ,
"Aliases" : [
"erroridf"
] ,
"Examples" : [
[
"{{ erroridf \"my-err-id\" \"%s.\" \"failed\" }}" ,
""
]
]
} ,
2023-06-19 11:52:42 -04:00
"Errormf" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
2019-10-21 04:22:28 -04:00
"Print" : {
2022-12-23 04:15:48 -05:00
"Description" : "Print returns a string representation of args." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2022-05-31 04:23:20 -04:00
"args"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : [
"print"
] ,
"Examples" : [
[
"{{ print \"works!\" }}" ,
"works!"
]
]
} ,
"Printf" : {
2022-12-23 04:15:48 -05:00
"Description" : "Printf returns string representation of args formatted with the layouut in format." ,
2019-10-21 04:22:28 -04:00
"Args" : [
"format" ,
2022-05-31 04:23:20 -04:00
"args"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : [
"printf"
] ,
"Examples" : [
[
"{{ printf \"%s!\" \"works\" }}" ,
"works!"
]
]
} ,
"Println" : {
2022-05-31 04:23:20 -04:00
"Description" : "Println returns string representation of args ending with a newline." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2022-05-31 04:23:20 -04:00
"args"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : [
"println"
] ,
"Examples" : [
[
"{{ println \"works!\" }}" ,
"works!\n"
]
]
2020-01-05 05:13:09 -05:00
} ,
"Warnf" : {
2022-05-31 04:23:20 -04:00
"Description" : "Warnf formats args according to a format specifier and logs a WARNING.\nIt returns an empty string." ,
2020-01-05 05:13:09 -05:00
"Args" : [
"format" ,
2022-05-31 04:23:20 -04:00
"args"
2020-01-05 05:13:09 -05:00
] ,
"Aliases" : [
"warnf"
] ,
"Examples" : [
[
"{{ warnf \"%s.\" \"warning\" }}" ,
""
]
]
2023-06-19 11:52:42 -04:00
} ,
"Warnmf" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
2019-10-21 04:22:28 -04:00
}
} ,
"hugo" : {
2022-01-12 02:17:03 -05:00
"Deps" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
2019-10-21 04:22:28 -04:00
"Generator" : {
"Description" : "" ,
"Args" : null ,
2021-06-08 12:46:58 -04:00
"Aliases" : null ,
"Examples" : null
} ,
"IsExtended" : {
"Description" : "" ,
"Args" : null ,
2019-10-21 04:22:28 -04:00
"Aliases" : null ,
"Examples" : null
} ,
2020-03-31 16:10:45 -04:00
"IsProduction" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
2019-10-21 04:22:28 -04:00
"Version" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
2023-05-22 11:47:06 -04:00
} ,
"WorkingDir" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
2019-10-21 04:22:28 -04:00
}
} ,
"images" : {
"Brightness" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
"ColorBalance" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
"Colorize" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
"Config" : {
"Description" : "Config returns the image.Config for the specified path relative to the\nworking directory." ,
"Args" : [
"path"
] ,
"Aliases" : [
"imageConfig"
] ,
"Examples" : [ ]
} ,
"Contrast" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
"Filter" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
"Gamma" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
"GaussianBlur" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
"Grayscale" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
"Hue" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
"Invert" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
2021-02-23 11:39:59 -05:00
"Overlay" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
2019-10-21 04:22:28 -04:00
"Pixelate" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
"Saturation" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
"Sepia" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
"Sigmoid" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
2021-12-08 02:56:16 -05:00
"Text" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
2019-10-21 04:22:28 -04:00
"UnsharpMask" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
}
} ,
"inflect" : {
"Humanize" : {
2022-12-23 04:15:48 -05:00
"Description" : "Humanize returns the humanized form of v.\n\nIf v is either an integer or a string containing an integer\nvalue, the behavior is to add the appropriate ordinal." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2022-12-23 04:15:48 -05:00
"v"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : [
"humanize"
] ,
"Examples" : [
[
"{{ humanize \"my-first-post\" }}" ,
"My first post"
] ,
[
"{{ humanize \"myCamelPost\" }}" ,
"My camel post"
] ,
[
"{{ humanize \"52\" }}" ,
"52nd"
] ,
[
"{{ humanize 103 }}" ,
"103rd"
]
]
} ,
"Pluralize" : {
2022-12-23 04:15:48 -05:00
"Description" : "Pluralize returns the plural form of the single word in v." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2022-12-23 04:15:48 -05:00
"v"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : [
"pluralize"
] ,
"Examples" : [
[
"{{ \"cat\" | pluralize }}" ,
"cats"
]
]
} ,
"Singularize" : {
2022-12-23 04:15:48 -05:00
"Description" : "Singularize returns the singular form of a single word in v." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2022-12-23 04:15:48 -05:00
"v"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : [
"singularize"
] ,
"Examples" : [
[
"{{ \"cats\" | singularize }}" ,
"cat"
]
]
}
} ,
2020-07-20 16:19:42 -04:00
"js" : {
"Build" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
}
} ,
2019-10-21 04:22:28 -04:00
"lang" : {
2021-08-03 05:51:36 -04:00
"FormatAccounting" : {
2021-11-01 13:43:41 -04:00
"Description" : "FormatAccounting returns the currency representation of number for the given currency and precision\nfor the current language in accounting notation.\n\nThe return value is formatted with at least two decimal places." ,
2021-08-03 05:51:36 -04:00
"Args" : [
"precision" ,
"currency" ,
"number"
] ,
2019-10-21 04:22:28 -04:00
"Aliases" : null ,
2021-08-03 05:51:36 -04:00
"Examples" : [
[
"{{ 512.5032 | lang.FormatAccounting 2 \"NOK\" }}" ,
"NOK512.50"
]
]
2019-10-21 04:22:28 -04:00
} ,
2021-08-03 05:51:36 -04:00
"FormatCurrency" : {
2021-11-01 13:43:41 -04:00
"Description" : "FormatCurrency returns the currency representation of number for the given currency and precision\nfor the current language.\n\nThe return value is formatted with at least two decimal places." ,
2021-08-03 05:51:36 -04:00
"Args" : [
"precision" ,
"currency" ,
"number"
] ,
"Aliases" : null ,
"Examples" : [
[
"{{ 512.5032 | lang.FormatCurrency 2 \"USD\" }}" ,
"$512.50"
]
]
} ,
"FormatNumber" : {
"Description" : "FormatNumber formats number with the given precision for the current language." ,
"Args" : [
"precision" ,
"number"
] ,
"Aliases" : null ,
"Examples" : [
[
"{{ 512.5032 | lang.FormatNumber 2 }}" ,
"512.50"
]
]
} ,
"FormatNumberCustom" : {
2023-05-22 11:47:06 -04:00
"Description" : "FormatNumberCustom formats a number with the given precision. The first\noptions parameter is a space-delimited string of characters to represent\nnegativity, the decimal point, and grouping. The default value is `- . ,`.\nThe second options parameter defines an alternate delimiting character.\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`.\n\nFor a simpler function that adapts to the current language, see FormatNumber." ,
2019-10-21 04:22:28 -04:00
"Args" : [
"precision" ,
"number" ,
"options"
] ,
"Aliases" : null ,
"Examples" : [
[
2021-08-03 05:51:36 -04:00
"{{ lang.FormatNumberCustom 2 12345.6789 }}" ,
2019-10-21 04:22:28 -04:00
"12,345.68"
] ,
[
2021-08-03 05:51:36 -04:00
"{{ lang.FormatNumberCustom 2 12345.6789 \"- , .\" }}" ,
2019-10-21 04:22:28 -04:00
"12.345,68"
] ,
[
2021-08-03 05:51:36 -04:00
"{{ lang.FormatNumberCustom 6 -12345.6789 \"- .\" }}" ,
2019-10-21 04:22:28 -04:00
"-12345.678900"
] ,
[
2021-08-03 05:51:36 -04:00
"{{ lang.FormatNumberCustom 0 -12345.6789 \"- . ,\" }}" ,
2019-10-21 04:22:28 -04:00
"-12,346"
] ,
2023-05-22 11:47:06 -04:00
[
"{{ lang.FormatNumberCustom 0 -12345.6789 \"-|.| \" \"|\" }}" ,
"-12 346"
] ,
2019-10-21 04:22:28 -04:00
[
2021-10-31 08:51:51 -04:00
"{{ -98765.4321 | lang.FormatNumberCustom 2 }}" ,
2019-10-21 04:22:28 -04:00
"-98,765.43"
]
]
} ,
2021-08-03 05:51:36 -04:00
"FormatPercent" : {
2021-10-31 08:51:51 -04:00
"Description" : "FormatPercent formats number with the given precision for the current language.\nNote that the number is assumed to be a percentage." ,
2021-08-03 05:51:36 -04:00
"Args" : [
"precision" ,
"number"
] ,
"Aliases" : null ,
"Examples" : [
[
"{{ 512.5032 | lang.FormatPercent 2 }}" ,
"512.50%"
]
]
} ,
"Merge" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
"NumFmt" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
2019-10-21 04:22:28 -04:00
"Translate" : {
"Description" : "Translate returns a translated string for id." ,
"Args" : [
2023-05-22 11:47:06 -04:00
"ctx" ,
2019-10-21 04:22:28 -04:00
"id" ,
"args"
] ,
"Aliases" : [
"i18n" ,
"T"
] ,
"Examples" : [ ]
}
} ,
"math" : {
2023-05-22 11:47:06 -04:00
"Abs" : {
"Description" : "Abs returns the absolute value of n." ,
"Args" : [
"n"
] ,
"Aliases" : null ,
"Examples" : [
[
"{{ math.Abs -2.1 }}" ,
"2.1"
]
]
} ,
2019-10-21 04:22:28 -04:00
"Add" : {
2023-05-22 11:47:06 -04:00
"Description" : "Add adds the multivalued addends n1 and n2 or more values." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2023-05-22 11:47:06 -04:00
"inputs"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : [
"add"
] ,
"Examples" : [
[
2022-12-05 10:50:47 -05:00
"{{ add 1 2 }}" ,
2019-10-21 04:22:28 -04:00
"3"
]
]
} ,
"Ceil" : {
2022-05-31 04:23:20 -04:00
"Description" : "Ceil returns the least integer value greater than or equal to n." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2022-05-31 04:23:20 -04:00
"n"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : null ,
"Examples" : [
[
2022-12-05 10:50:47 -05:00
"{{ math.Ceil 2.1 }}" ,
2019-10-21 04:22:28 -04:00
"3"
]
]
} ,
2022-02-28 02:52:15 -05:00
"Counter" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
2019-10-21 04:22:28 -04:00
"Div" : {
2022-05-31 04:23:20 -04:00
"Description" : "Div divides n1 by n2." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2023-05-22 11:47:06 -04:00
"inputs"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : [
"div"
] ,
"Examples" : [
[
2022-12-05 10:50:47 -05:00
"{{ div 6 3 }}" ,
2019-10-21 04:22:28 -04:00
"2"
]
]
} ,
"Floor" : {
2022-05-31 04:23:20 -04:00
"Description" : "Floor returns the greatest integer value less than or equal to n." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2022-05-31 04:23:20 -04:00
"n"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : null ,
"Examples" : [
[
2022-12-05 10:50:47 -05:00
"{{ math.Floor 1.9 }}" ,
2019-10-21 04:22:28 -04:00
"1"
]
]
} ,
"Log" : {
2022-05-31 04:23:20 -04:00
"Description" : "Log returns the natural logarithm of the number n." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2022-05-31 04:23:20 -04:00
"n"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : null ,
"Examples" : [
[
2022-12-05 10:50:47 -05:00
"{{ math.Log 1 }}" ,
2019-10-21 04:22:28 -04:00
"0"
]
]
} ,
2021-06-18 11:49:54 -04:00
"Max" : {
2023-06-19 11:52:42 -04:00
"Description" : "Max returns the greater of all numbers in inputs. Any slices in inputs are flattened." ,
2021-06-18 11:49:54 -04:00
"Args" : [
2023-05-22 11:47:06 -04:00
"inputs"
2021-06-18 11:49:54 -04:00
] ,
"Aliases" : null ,
"Examples" : [
[
2022-12-05 10:50:47 -05:00
"{{ math.Max 1 2 }}" ,
2021-06-18 11:49:54 -04:00
"2"
]
]
} ,
"Min" : {
2023-06-19 11:52:42 -04:00
"Description" : "Min returns the smaller of all numbers in inputs. Any slices in inputs are flattened." ,
2021-06-18 11:49:54 -04:00
"Args" : [
2023-05-22 11:47:06 -04:00
"inputs"
2021-06-18 11:49:54 -04:00
] ,
"Aliases" : null ,
"Examples" : [
[
2022-12-05 10:50:47 -05:00
"{{ math.Min 1 2 }}" ,
2021-06-18 11:49:54 -04:00
"1"
]
]
} ,
2019-10-21 04:22:28 -04:00
"Mod" : {
2022-05-31 04:23:20 -04:00
"Description" : "Mod returns n1 % n2." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2022-05-31 04:23:20 -04:00
"n1" ,
"n2"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : [
"mod"
] ,
"Examples" : [
[
2022-12-05 10:50:47 -05:00
"{{ mod 15 3 }}" ,
2019-10-21 04:22:28 -04:00
"0"
]
]
} ,
"ModBool" : {
2022-05-31 04:23:20 -04:00
"Description" : "ModBool returns the boolean of n1 % n2. If n1 % n2 == 0, return true." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2022-05-31 04:23:20 -04:00
"n1" ,
"n2"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : [
"modBool"
] ,
"Examples" : [
[
2022-12-05 10:50:47 -05:00
"{{ modBool 15 3 }}" ,
2019-10-21 04:22:28 -04:00
"true"
]
]
} ,
"Mul" : {
2023-05-22 11:47:06 -04:00
"Description" : "Mul multiplies the multivalued numbers n1 and n2 or more values." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2023-05-22 11:47:06 -04:00
"inputs"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : [
"mul"
] ,
"Examples" : [
[
2022-12-05 10:50:47 -05:00
"{{ mul 2 3 }}" ,
2019-10-21 04:22:28 -04:00
"6"
]
]
} ,
2020-07-07 00:58:43 -04:00
"Pow" : {
2022-05-31 04:23:20 -04:00
"Description" : "Pow returns n1 raised to the power of n2." ,
2020-07-07 00:58:43 -04:00
"Args" : [
2022-05-31 04:23:20 -04:00
"n1" ,
"n2"
2020-07-07 00:58:43 -04:00
] ,
"Aliases" : [
"pow"
] ,
"Examples" : [
[
2022-12-05 10:50:47 -05:00
"{{ math.Pow 2 3 }}" ,
2020-07-07 00:58:43 -04:00
"8"
]
]
} ,
2023-06-19 11:52:42 -04:00
"Product" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
2019-10-21 04:22:28 -04:00
"Round" : {
2022-05-31 04:23:20 -04:00
"Description" : "Round returns the integer nearest to n, rounding half away from zero." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2022-05-31 04:23:20 -04:00
"n"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : null ,
"Examples" : [
[
2022-12-05 10:50:47 -05:00
"{{ math.Round 1.5 }}" ,
2019-10-21 04:22:28 -04:00
"2"
]
]
} ,
2020-03-31 16:10:45 -04:00
"Sqrt" : {
2022-05-31 04:23:20 -04:00
"Description" : "Sqrt returns the square root of the number n." ,
2020-03-31 16:10:45 -04:00
"Args" : [
2022-05-31 04:23:20 -04:00
"n"
2020-03-31 16:10:45 -04:00
] ,
"Aliases" : null ,
"Examples" : [
[
2022-12-05 10:50:47 -05:00
"{{ math.Sqrt 81 }}" ,
2020-03-31 16:10:45 -04:00
"9"
]
]
} ,
2019-10-21 04:22:28 -04:00
"Sub" : {
2023-05-22 11:47:06 -04:00
"Description" : "Sub subtracts multivalued." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2023-05-22 11:47:06 -04:00
"inputs"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : [
"sub"
] ,
"Examples" : [
[
2022-12-05 10:50:47 -05:00
"{{ sub 3 2 }}" ,
2019-10-21 04:22:28 -04:00
"1"
]
]
2023-06-19 11:52:42 -04:00
} ,
"Sum" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
2019-10-21 04:22:28 -04:00
}
} ,
2020-07-20 16:19:42 -04:00
"openapi3" : {
"Unmarshal" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : [ ]
}
} ,
2019-10-21 04:22:28 -04:00
"os" : {
"FileExists" : {
"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" : {
2022-02-28 02:52:15 -05:00
"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.\nNote that ctx is provided by Hugo, not the end user." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2022-02-28 02:52:15 -05:00
"ctx" ,
2019-10-21 04:22:28 -04:00
"name" ,
"contextList"
] ,
"Aliases" : [
"partial"
] ,
"Examples" : [
[
"{{ partial \"header.html\" . }}" ,
"\u003ctitle\u003eHugo Rocks!\u003c/title\u003e"
]
]
} ,
"IncludeCached" : {
2022-02-28 02:52:15 -05:00
"Description" : "IncludeCached executes and caches partial templates. The cache is created with name+variants as the key.\nNote that ctx is provided by Hugo, not the end user." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2022-02-28 02:52:15 -05:00
"ctx" ,
2019-10-21 04:22:28 -04:00
"name" ,
"context" ,
2020-01-05 05:13:09 -05:00
"variants"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : [
"partialCached"
] ,
"Examples" : [ ]
}
} ,
"path" : {
"Base" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
2022-06-16 01:23:38 -04:00
"BaseName" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
2021-11-01 13:43:41 -04:00
"Clean" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
2019-10-21 04:22:28 -04:00
"Dir" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
"Ext" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
"Join" : {
"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." ,
"Args" : [
"elements"
] ,
"Aliases" : null ,
"Examples" : [
[
2022-12-05 10:50:47 -05:00
"{{ slice \"my/path\" \"filename.txt\" | path.Join }}" ,
2019-10-21 04:22:28 -04:00
"my/path/filename.txt"
] ,
[
2022-12-05 10:50:47 -05:00
"{{ path.Join \"my\" \"path\" \"filename.txt\" }}" ,
2019-10-21 04:22:28 -04:00
"my/path/filename.txt"
] ,
[
2022-12-05 10:50:47 -05:00
"{{ \"my/path/filename.txt\" | path.Ext }}" ,
2019-10-21 04:22:28 -04:00
".txt"
] ,
[
2022-12-05 10:50:47 -05:00
"{{ \"my/path/filename.txt\" | path.Base }}" ,
2019-10-21 04:22:28 -04:00
"filename.txt"
] ,
[
2022-12-05 10:50:47 -05:00
"{{ \"my/path/filename.txt\" | path.Dir }}" ,
2019-10-21 04:22:28 -04:00
"my/path"
]
]
} ,
"Split" : {
"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 }}" ,
"Slice"
]
]
}
} ,
"resources" : {
2020-07-07 00:58:43 -04:00
"Babel" : {
"Description" : "Babel processes the given Resource with Babel." ,
"Args" : [
"args"
] ,
"Aliases" : [
"babel"
] ,
"Examples" : [ ]
} ,
2022-04-08 14:38:37 -04:00
"ByType" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
2019-10-21 04:22:28 -04:00
"Concat" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
2022-05-31 04:23:20 -04:00
"Copy" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
2019-10-21 04:22:28 -04:00
"ExecuteAsTemplate" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
"Fingerprint" : {
"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" : {
2022-04-08 14:38:37 -04:00
"Description" : "Get locates the filename given in Hugo's assets filesystem\nand creates a Resource object that can be used for further transformations." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2021-12-17 04:31:08 -05:00
"filename"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : null ,
"Examples" : [ ]
} ,
"GetMatch" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
2021-12-17 04:31:08 -05:00
"GetRemote" : {
2023-05-22 11:47:06 -04:00
"Description" : "GetRemote gets the URL (via HTTP(s)) in the first argument in args and creates Resource object that can be used for\nfurther transformations.\n\nA second argument may be provided with an option map.\n\nNote: This method does not return any error as a second return value,\nfor any error situations the error can be checked in .Err." ,
2021-12-17 04:31:08 -05:00
"Args" : [
"args"
] ,
"Aliases" : null ,
"Examples" : [ ]
} ,
2019-10-21 04:22:28 -04:00
"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" ,
"Args" : [
"args"
] ,
"Aliases" : [
"postCSS"
] ,
"Examples" : [ ]
} ,
2020-05-06 06:12:21 -04:00
"PostProcess" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
2019-10-21 04:22:28 -04:00
"ToCSS" : {
2023-05-22 11:47:06 -04:00
"Description" : "ToCSS converts the given Resource to CSS. You can optional provide an Options object\nas second argument. As an option, you can e.g. specify e.g. the target path (string)\nfor the converted CSS resource." ,
2019-10-21 04:22:28 -04:00
"Args" : [
"args"
] ,
"Aliases" : [
"toCSS"
] ,
"Examples" : [ ]
}
} ,
"safe" : {
"CSS" : {
2022-05-31 04:23:20 -04:00
"Description" : "CSS returns the string s as html/template CSS content." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2022-05-31 04:23:20 -04:00
"s"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : [
"safeCSS"
] ,
"Examples" : [
[
"{{ \"Bat\u0026Man\" | safeCSS | safeCSS }}" ,
"Bat\u0026amp;Man"
]
]
} ,
"HTML" : {
2022-05-31 04:23:20 -04:00
"Description" : "HTML returns the string s as html/template HTML content." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2022-05-31 04:23:20 -04:00
"s"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : [
"safeHTML"
] ,
"Examples" : [
[
"{{ \"Bat\u0026Man\" | safeHTML | safeHTML }}" ,
"Bat\u0026Man"
] ,
[
"{{ \"Bat\u0026Man\" | safeHTML }}" ,
"Bat\u0026Man"
]
]
} ,
"HTMLAttr" : {
2022-05-31 04:23:20 -04:00
"Description" : "HTMLAttr returns the string s as html/template HTMLAttr content." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2022-05-31 04:23:20 -04:00
"s"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : [
"safeHTMLAttr"
] ,
"Examples" : [ ]
} ,
"JS" : {
"Description" : "JS returns the given string as a html/template JS content." ,
"Args" : [
2022-05-31 04:23:20 -04:00
"s"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : [
"safeJS"
] ,
"Examples" : [
[
"{{ \"(1*2)\" | safeJS | safeJS }}" ,
"(1*2)"
]
]
} ,
"JSStr" : {
"Description" : "JSStr returns the given string as a html/template JSStr content." ,
"Args" : [
2022-05-31 04:23:20 -04:00
"s"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : [
"safeJSStr"
] ,
"Examples" : [ ]
} ,
"SanitizeURL" : {
2022-05-31 04:23:20 -04:00
"Description" : "SanitizeURL returns the string s as html/template URL content." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2022-05-31 04:23:20 -04:00
"s"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : [
"sanitizeURL" ,
"sanitizeurl"
] ,
"Examples" : [ ]
} ,
"URL" : {
2022-05-31 04:23:20 -04:00
"Description" : "URL returns the string s as html/template URL content." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2022-05-31 04:23:20 -04:00
"s"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : [
"safeURL"
] ,
"Examples" : [
[
"{{ \"http://gohugo.io\" | safeURL | safeURL }}" ,
"http://gohugo.io"
]
]
}
} ,
"site" : {
2023-05-22 11:47:06 -04:00
"AllPages" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
"Author" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
"Authors" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
2019-10-21 04:22:28 -04:00
"BaseURL" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
2023-05-22 11:47:06 -04:00
"BuildDrafts" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
"Config" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
"Copyright" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
2022-04-08 14:38:37 -04:00
"Current" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
2019-10-21 04:22:28 -04:00
"Data" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
2023-05-22 11:47:06 -04:00
"DisqusShortname" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
2023-03-01 10:35:23 -05:00
"GetIdentity" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
2023-05-22 11:47:06 -04:00
"GetPage" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
"GetPageWithTemplateInfo" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
"GoogleAnalytics" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
2022-02-28 02:52:15 -05:00
"Home" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
2019-10-21 04:22:28 -04:00
"Hugo" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
2023-05-22 11:47:06 -04:00
"IsMultiLingual" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
2019-10-21 04:22:28 -04:00
"IsServer" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
"Language" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
2023-05-22 11:47:06 -04:00
"LanguageCode" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
"LanguagePrefix" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
"Languages" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
2019-10-21 04:22:28 -04:00
"LastChange" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
2023-05-22 11:47:06 -04:00
"MainSections" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
2019-10-21 04:22:28 -04:00
"Menus" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
"Pages" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
2023-05-22 11:47:06 -04:00
"Param" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
2019-10-21 04:22:28 -04:00
"Params" : {
"Description" : "" ,
2023-06-19 11:52:42 -04:00
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
"RSSLink" : {
"Description" : "" ,
2019-10-21 04:22:28 -04:00
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
"RegularPages" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
2023-05-22 11:47:06 -04:00
"Sections" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
2019-10-21 04:22:28 -04:00
"ServerPort" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
"Sites" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
2023-05-22 11:47:06 -04:00
"Social" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
2019-10-21 04:22:28 -04:00
"Taxonomies" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
"Title" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
}
} ,
"strings" : {
"Chomp" : {
"Description" : "Chomp returns a copy of s with all trailing newline characters removed." ,
"Args" : [
"s"
] ,
"Aliases" : [
"chomp"
] ,
"Examples" : [
[
2022-12-05 10:50:47 -05:00
"{{ chomp \"\u003cp\u003eBlockhead\u003c/p\u003e\\n\" | safeHTML }}" ,
2019-10-21 04:22:28 -04:00
"\u003cp\u003eBlockhead\u003c/p\u003e"
]
]
} ,
"Contains" : {
2021-04-20 14:21:45 -04:00
"Description" : "Contains reports whether substr is in s." ,
"Args" : [
"s" ,
"substr"
] ,
2019-10-21 04:22:28 -04:00
"Aliases" : null ,
2021-04-20 14:21:45 -04:00
"Examples" : [
[
"{{ strings.Contains \"abc\" \"b\" }}" ,
"true"
] ,
[
"{{ strings.Contains \"abc\" \"d\" }}" ,
"false"
]
]
2019-10-21 04:22:28 -04:00
} ,
"ContainsAny" : {
2021-04-20 14:21:45 -04:00
"Description" : "ContainsAny reports whether any Unicode code points in chars are within s." ,
"Args" : [
"s" ,
"chars"
] ,
2019-10-21 04:22:28 -04:00
"Aliases" : null ,
2021-04-20 14:21:45 -04:00
"Examples" : [
[
"{{ strings.ContainsAny \"abc\" \"bcd\" }}" ,
"true"
] ,
[
"{{ strings.ContainsAny \"abc\" \"def\" }}" ,
"false"
]
]
2019-10-21 04:22:28 -04:00
} ,
2023-03-01 10:35:23 -05:00
"ContainsNonSpace" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
2020-07-20 16:19:42 -04:00
"Count" : {
"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." ,
"Args" : [
"substr" ,
"s"
] ,
"Aliases" : null ,
"Examples" : [
[
2022-12-05 10:50:47 -05:00
"{{ \"aabab\" | strings.Count \"a\" }}" ,
2020-07-20 16:19:42 -04:00
"3"
]
]
} ,
2019-10-21 04:22:28 -04:00
"CountRunes" : {
2021-02-23 11:39:59 -05:00
"Description" : "CountRunes returns the number of runes in s, excluding whitespace." ,
2019-10-21 04:22:28 -04:00
"Args" : [
"s"
] ,
"Aliases" : [
"countrunes"
] ,
"Examples" : [ ]
} ,
"CountWords" : {
"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" : [
[
2023-01-17 06:52:08 -05:00
"{{ findRE \"[G|g]o\" \"Hugo is a static side generator written in Go.\" 1 }}" ,
2019-10-21 04:22:28 -04:00
"[go]"
]
]
} ,
2023-01-17 06:52:08 -05:00
"FindRESubmatch" : {
2023-05-22 11:47:06 -04:00
"Description" : "FindRESubmatch returns a slice of all successive matches of the regular\nexpression in content. Each element is a slice of strings holding the text\nof the leftmost match of the regular expression and the matches, if any, of\nits subexpressions.\n\nBy default all matches will be included. The number of matches can be\nlimited with the optional limit parameter. A return value of nil indicates\nno match." ,
2023-01-17 06:52:08 -05:00
"Args" : [
"expr" ,
"content" ,
"limit"
] ,
"Aliases" : [
"findRESubmatch"
] ,
"Examples" : [
[
"{{ findRESubmatch `\u003ca\\s*href=\"(.+?)\"\u003e(.+?)\u003c/a\u003e` `\u003cli\u003e\u003ca href=\"#foo\"\u003eFoo\u003c/a\u003e\u003c/li\u003e \u003cli\u003e\u003ca href=\"#bar\"\u003eBar\u003c/a\u003e\u003c/li\u003e` | print | safeHTML }}" ,
"[[\u003ca href=\"#foo\"\u003eFoo\u003c/a\u003e #foo Foo] [\u003ca href=\"#bar\"\u003eBar\u003c/a\u003e #bar Bar]]"
]
]
} ,
2019-10-21 04:22:28 -04:00
"FirstUpper" : {
2022-05-31 04:23:20 -04:00
"Description" : "FirstUpper converts s making the first character upper case." ,
2019-10-21 04:22:28 -04:00
"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" : {
2023-05-22 11:47:06 -04:00
"Description" : "HasSuffix tests whether the input s begins with suffix." ,
"Args" : [
"s" ,
"suffix"
] ,
"Aliases" : [
"hasSuffix"
] ,
"Examples" : [
[
"{{ hasSuffix \"Hugo\" \"go\" }}" ,
"true"
] ,
[
"{{ hasSuffix \"Hugo\" \"du\" }}" ,
"false"
]
]
2019-10-21 04:22:28 -04:00
} ,
"Repeat" : {
2022-05-31 04:23:20 -04:00
"Description" : "Repeat returns a new string consisting of n copies of the string s." ,
2019-10-21 04:22:28 -04:00
"Args" : [
"n" ,
"s"
] ,
"Aliases" : null ,
"Examples" : [
[
"{{ \"yo\" | strings.Repeat 4 }}" ,
"yoyoyoyo"
]
]
} ,
"Replace" : {
2020-10-06 10:22:20 -04:00
"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." ,
2019-10-21 04:22:28 -04:00
"Args" : [
"s" ,
"old" ,
2020-10-06 10:22:20 -04:00
"new" ,
"limit"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : [
"replace"
] ,
"Examples" : [
[
"{{ replace \"Batman and Robin\" \"Robin\" \"Catwoman\" }}" ,
"Batman and Catwoman"
2020-10-06 10:22:20 -04:00
] ,
[
"{{ replace \"aabbaabb\" \"a\" \"z\" 2 }}" ,
"zzbbaabb"
2019-10-21 04:22:28 -04:00
]
]
} ,
"ReplaceRE" : {
2020-10-06 10:22:20 -04:00
"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." ,
2019-10-21 04:22:28 -04:00
"Args" : [
"pattern" ,
"repl" ,
2020-10-06 10:22:20 -04:00
"s" ,
"n"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : [
"replaceRE"
] ,
2020-10-06 10:22:20 -04:00
"Examples" : [
[
"{{ replaceRE \"a+b\" \"X\" \"aabbaabbab\" }}" ,
"XbXbX"
] ,
[
"{{ replaceRE \"a+b\" \"X\" \"aabbaabbab\" 1 }}" ,
"Xbaabbab"
]
]
2019-10-21 04:22:28 -04:00
} ,
"RuneCount" : {
"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" : [
[
2022-12-05 10:50:47 -05:00
"{{ slicestr \"BatMan\" 0 3 }}" ,
2019-10-21 04:22:28 -04:00
"Bat"
] ,
[
2022-12-05 10:50:47 -05:00
"{{ slicestr \"BatMan\" 3 }}" ,
2019-10-21 04:22:28 -04:00
"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" : [
[
2022-12-05 10:50:47 -05:00
"{{ substr \"BatMan\" 0 -3 }}" ,
2019-10-21 04:22:28 -04:00
"Bat"
] ,
[
2022-12-05 10:50:47 -05:00
"{{ substr \"BatMan\" 3 3 }}" ,
2019-10-21 04:22:28 -04:00
"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" : [
[
2022-12-05 10:50:47 -05:00
"{{ title \"Bat man\" }}" ,
2019-10-21 04:22:28 -04:00
"Bat Man"
] ,
[
2022-12-05 10:50:47 -05:00
"{{ title \"somewhere over the rainbow\" }}" ,
2019-10-21 04:22:28 -04:00
"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" : [
[
2022-12-05 10:50:47 -05:00
"{{ lower \"BatMan\" }}" ,
2019-10-21 04:22:28 -04:00
"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" : [
[
2022-12-05 10:50:47 -05:00
"{{ upper \"BatMan\" }}" ,
2019-10-21 04:22:28 -04:00
"BATMAN"
]
]
} ,
"Trim" : {
2022-05-31 04:23:20 -04:00
"Description" : "Trim returns converts the strings s removing all leading and trailing characters defined\ncontained." ,
2019-10-21 04:22:28 -04:00
"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" : {
2023-01-17 06:52:08 -05:00
"Description" : "Truncate truncates the string in s to the specified length." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2023-01-17 06:52:08 -05:00
"s" ,
2019-10-21 04:22:28 -04:00
"options"
] ,
"Aliases" : [
"truncate"
] ,
"Examples" : [
[
"{{ \"this is a very long text\" | truncate 10 \" ...\" }}" ,
"this is a ..."
] ,
[
"{{ \"With [Markdown](/markdown) inside.\" | markdownify | truncate 14 }}" ,
"With \u003ca href=\"/markdown\"\u003eMarkdown …\u003c/a\u003e"
]
]
}
} ,
"templates" : {
"Exists" : {
"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." ,
"Args" : [
2020-11-03 07:04:56 -05:00
"v" ,
"args"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : null ,
"Examples" : [
[
"{{ (time \"2015-01-21\").Year }}" ,
"2015"
]
]
} ,
"Duration" : {
"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" : {
2022-05-31 04:23:20 -04:00
"Description" : "Format converts the textual representation of the datetime string in v into\ntime.Time if needed and formats it with the given layout." ,
2019-10-21 04:22:28 -04:00
"Args" : [
"layout" ,
"v"
] ,
"Aliases" : [
"dateFormat"
] ,
"Examples" : [
[
"dateFormat: {{ dateFormat \"Monday, Jan 2, 2006\" \"2015-01-21\" }}" ,
"dateFormat: Wednesday, Jan 21, 2015"
]
]
} ,
"Now" : {
2022-05-31 04:23:20 -04:00
"Description" : "Now returns the current local time or `clock` time" ,
2019-10-21 04:22:28 -04:00
"Args" : null ,
"Aliases" : [
"now"
] ,
"Examples" : [ ]
} ,
"ParseDuration" : {
2022-05-31 04:23:20 -04:00
"Description" : "ParseDuration parses the duration string s.\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" ,
2019-10-21 04:22:28 -04:00
"Args" : [
2022-05-31 04:23:20 -04:00
"s"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : null ,
"Examples" : [
[
"{{ \"1h12m10s\" | time.ParseDuration }}" ,
"1h12m10s"
]
]
}
} ,
"transform" : {
2022-02-28 02:52:15 -05:00
"CanHighlight" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
2019-10-21 04:22:28 -04:00
"Emojify" : {
"Description" : "Emojify returns a copy of s with all emoji codes replaced with actual emojis.\n\nSee http://www.emoji-cheat-sheet.com/" ,
"Args" : [
"s"
] ,
"Aliases" : [
"emojify"
] ,
"Examples" : [
[
"{{ \"I :heart: Hugo\" | emojify }}" ,
2020-05-06 06:12:21 -04:00
"I ❤️ Hugo"
2019-10-21 04:22:28 -04:00
]
]
} ,
"HTMLEscape" : {
"Description" : "HTMLEscape returns a copy of s with reserved HTML characters escaped." ,
"Args" : [
"s"
] ,
"Aliases" : [
"htmlEscape"
] ,
"Examples" : [
[
2022-12-05 10:50:47 -05:00
"{{ htmlEscape \"Cathal Garvey \u0026 The Sunshine Band \u003ccathal@foo.bar\u003e\" | safeHTML }}" ,
2019-10-21 04:22:28 -04:00
"Cathal Garvey \u0026amp; The Sunshine Band \u0026lt;cathal@foo.bar\u0026gt;"
] ,
[
2022-12-05 10:50:47 -05:00
"{{ htmlEscape \"Cathal Garvey \u0026 The Sunshine Band \u003ccathal@foo.bar\u003e\" }}" ,
2019-10-21 04:22:28 -04:00
"Cathal Garvey \u0026amp;amp; The Sunshine Band \u0026amp;lt;cathal@foo.bar\u0026amp;gt;"
] ,
[
"{{ htmlEscape \"Cathal Garvey \u0026 The Sunshine Band \u003ccathal@foo.bar\u003e\" | htmlUnescape | safeHTML }}" ,
"Cathal Garvey \u0026 The Sunshine Band \u003ccathal@foo.bar\u003e"
]
]
} ,
"HTMLUnescape" : {
2022-05-31 04:23:20 -04:00
"Description" : "HTMLUnescape returns a copy of s with HTML escape requences converted to plain\ntext." ,
2019-10-21 04:22:28 -04:00
"Args" : [
"s"
] ,
"Aliases" : [
"htmlUnescape"
] ,
"Examples" : [
[
2022-12-05 10:50:47 -05:00
"{{ htmlUnescape \"Cathal Garvey \u0026amp; The Sunshine Band \u0026lt;cathal@foo.bar\u0026gt;\" | safeHTML }}" ,
2019-10-21 04:22:28 -04:00
"Cathal Garvey \u0026 The Sunshine Band \u003ccathal@foo.bar\u003e"
] ,
[
2022-12-05 10:50:47 -05:00
"{{ \"Cathal Garvey \u0026amp;amp; The Sunshine Band \u0026amp;lt;cathal@foo.bar\u0026amp;gt;\" | htmlUnescape | htmlUnescape | safeHTML }}" ,
2019-10-21 04:22:28 -04:00
"Cathal Garvey \u0026 The Sunshine Band \u003ccathal@foo.bar\u003e"
] ,
[
2022-12-05 10:50:47 -05:00
"{{ \"Cathal Garvey \u0026amp;amp; The Sunshine Band \u0026amp;lt;cathal@foo.bar\u0026amp;gt;\" | htmlUnescape | htmlUnescape }}" ,
2019-10-21 04:22:28 -04:00
"Cathal Garvey \u0026amp; The Sunshine Band \u0026lt;cathal@foo.bar\u0026gt;"
] ,
[
"{{ htmlUnescape \"Cathal Garvey \u0026amp; The Sunshine Band \u0026lt;cathal@foo.bar\u0026gt;\" | htmlEscape | safeHTML }}" ,
"Cathal Garvey \u0026amp; The Sunshine Band \u0026lt;cathal@foo.bar\u0026gt;"
]
]
} ,
"Highlight" : {
"Description" : "Highlight returns a copy of s as an HTML string with syntax\nhighlighting applied." ,
"Args" : [
"s" ,
"lang" ,
"opts"
] ,
"Aliases" : [
"highlight"
] ,
"Examples" : [ ]
} ,
2022-02-28 02:52:15 -05:00
"HighlightCodeBlock" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
2019-10-21 04:22:28 -04:00
"Markdownify" : {
2022-05-31 04:23:20 -04:00
"Description" : "Markdownify renders s from Markdown to HTML." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2023-03-01 10:35:23 -05:00
"ctx" ,
2019-10-21 04:22:28 -04:00
"s"
] ,
"Aliases" : [
"markdownify"
] ,
"Examples" : [
[
2022-12-05 10:50:47 -05:00
"{{ .Title | markdownify }}" ,
2019-10-21 04:22:28 -04:00
"\u003cstrong\u003eBatMan\u003c/strong\u003e"
]
]
} ,
"Plainify" : {
"Description" : "Plainify returns a copy of s with all HTML tags removed." ,
"Args" : [
"s"
] ,
"Aliases" : [
"plainify"
] ,
"Examples" : [
[
"{{ plainify \"Hello \u003cstrong\u003eworld\u003c/strong\u003e, gophers!\" }}" ,
"Hello world, gophers!"
]
]
} ,
"Remarshal" : {
"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." ,
"Args" : [
"format" ,
"data"
] ,
"Aliases" : null ,
"Examples" : [
[
"{{ \"title = \\\"Hello World\\\"\" | transform.Remarshal \"json\" | safeHTML }}" ,
"{\n \"title\": \"Hello World\"\n}\n"
]
]
} ,
"Unmarshal" : {
2020-07-20 16:19:42 -04:00
"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." ,
2019-10-21 04:22:28 -04:00
"Args" : [
"args"
] ,
"Aliases" : [
"unmarshal"
] ,
"Examples" : [
[
"{{ \"hello = \\\"Hello World\\\"\" | transform.Unmarshal }}" ,
"map[hello:Hello World]"
] ,
[
"{{ \"hello = \\\"Hello World\\\"\" | resources.FromString \"data/greetings.toml\" | transform.Unmarshal }}" ,
"map[hello:Hello World]"
]
]
}
} ,
"urls" : {
"AbsLangURL" : {
2022-05-31 04:23:20 -04:00
"Description" : "AbsLangURL the string s and converts it to an absolute URL according\nto a page's position in the project directory structure and the current\nlanguage." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2022-05-31 04:23:20 -04:00
"s"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : [
"absLangURL"
] ,
"Examples" : [ ]
} ,
"AbsURL" : {
2022-05-31 04:23:20 -04:00
"Description" : "AbsURL takes the string s and converts it to an absolute URL." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2022-05-31 04:23:20 -04:00
"s"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : [
"absURL"
] ,
"Examples" : [ ]
} ,
"Anchorize" : {
2022-05-31 04:23:20 -04:00
"Description" : "Anchorize creates sanitized anchor name version of the string s that is compatible\nwith how your configured markdown renderer does it." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2022-05-31 04:23:20 -04:00
"s"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : [
"anchorize"
] ,
"Examples" : [
[
"{{ \"This is a title\" | anchorize }}" ,
"this-is-a-title"
]
]
} ,
2023-05-22 11:47:06 -04:00
"JoinPath" : {
"Description" : "JoinPath joins the provided elements into a URL string and cleans the result\nof any ./ or ../ elements. If the argument list is empty, JoinPath returns\nan empty string." ,
"Args" : [
"elements"
] ,
"Aliases" : null ,
"Examples" : [
[
"{{ urls.JoinPath \"https://example.org\" \"foo\" }}" ,
"https://example.org/foo"
] ,
[
"{{ urls.JoinPath (slice \"a\" \"b\") }}" ,
"a/b"
]
]
} ,
2019-10-21 04:22:28 -04:00
"Parse" : {
"Description" : "" ,
"Args" : null ,
"Aliases" : null ,
"Examples" : null
} ,
"Ref" : {
2022-05-31 04:23:20 -04:00
"Description" : "Ref returns the absolute URL path to a given content item from Page p." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2022-05-31 04:23:20 -04:00
"p" ,
2019-10-21 04:22:28 -04:00
"args"
] ,
"Aliases" : [
"ref"
] ,
"Examples" : [ ]
} ,
"RelLangURL" : {
2022-05-31 04:23:20 -04:00
"Description" : "RelLangURL takes the string s and prepends the relative path according to a\npage's position in the project directory structure and the current language." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2022-05-31 04:23:20 -04:00
"s"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : [
"relLangURL"
] ,
"Examples" : [ ]
} ,
"RelRef" : {
2022-05-31 04:23:20 -04:00
"Description" : "RelRef returns the relative URL path to a given content item from Page p." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2022-05-31 04:23:20 -04:00
"p" ,
2019-10-21 04:22:28 -04:00
"args"
] ,
"Aliases" : [
"relref"
] ,
"Examples" : [ ]
} ,
"RelURL" : {
2022-05-31 04:23:20 -04:00
"Description" : "RelURL takes the string s and prepends the relative path according to a\npage's position in the project directory structure." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2022-05-31 04:23:20 -04:00
"s"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : [
"relURL"
] ,
"Examples" : [ ]
} ,
"URLize" : {
2022-05-31 04:23:20 -04:00
"Description" : "URLize returns the the strings s formatted as an URL." ,
2019-10-21 04:22:28 -04:00
"Args" : [
2022-05-31 04:23:20 -04:00
"s"
2019-10-21 04:22:28 -04:00
] ,
"Aliases" : [
"urlize"
] ,
"Examples" : [ ]
}
}
}
}
}