Debian Codegraph @

docs/data/docs.yaml

raw
1 chroma:
2 lexers:
3 - Aliases:
4 - abap
5 Name: ABAP
6 - Aliases:
7 - abnf
8 Name: ABNF
9 - Aliases:
10 - as
11 - actionscript
12 Name: ActionScript
13 - Aliases:
14 - as3
15 - actionscript3
16 Name: ActionScript 3
17 - Aliases:
18 - ada
19 - ada95
20 - ada2005
21 Name: Ada
22 - Aliases:
23 - agda
24 Name: Agda
25 - Aliases:
26 - al
27 Name: AL
28 - Aliases:
29 - alloy
30 Name: Alloy
31 - Aliases:
32 - ampl
33 Name: AMPL
34 - Aliases:
35 - ng2
36 Name: Angular2
37 - Aliases:
38 - antlr
39 Name: ANTLR
40 - Aliases:
41 - apacheconf
42 - aconf
43 - apache
44 Name: ApacheConf
45 - Aliases:
46 - apl
47 Name: APL
48 - Aliases:
49 - applescript
50 Name: AppleScript
51 - Aliases:
52 - aql
53 Name: ArangoDB AQL
54 - Aliases:
55 - arduino
56 Name: Arduino
57 - Aliases:
58 - armasm
59 Name: ArmAsm
60 - Aliases:
61 - arturo
62 - art
63 Name: Arturo
64 - Aliases:
65 - atl
66 Name: ATL
67 - Aliases:
68 - autohotkey
69 - ahk
70 Name: AutoHotkey
71 - Aliases:
72 - autoit
73 Name: AutoIt
74 - Aliases:
75 - awk
76 - gawk
77 - mawk
78 - nawk
79 Name: Awk
80 - Aliases:
81 - ballerina
82 Name: Ballerina
83 - Aliases:
84 - bash
85 - sh
86 - ksh
87 - zsh
88 - shell
89 Name: Bash
90 - Aliases:
91 - bash-session
92 - console
93 - shell-session
94 Name: Bash Session
95 - Aliases:
96 - bat
97 - batch
98 - dosbatch
99 - winbatch
100 Name: Batchfile
101 - Aliases:
102 - beef
103 Name: Beef
104 - Aliases:
105 - bib
106 - bibtex
107 Name: BibTeX
108 - Aliases:
109 - bicep
110 Name: Bicep
111 - Aliases:
112 - blitzbasic
113 - b3d
114 - bplus
115 Name: BlitzBasic
116 - Aliases:
117 - bnf
118 Name: BNF
119 - Aliases:
120 - bqn
121 Name: BQN
122 - Aliases:
123 - brainfuck
124 - bf
125 Name: Brainfuck
126 - Aliases:
127 - c
128 Name: C
129 - Aliases:
130 - csharp
131 - 'c#'
132 Name: 'C#'
133 - Aliases:
134 - cpp
135 - c++
136 Name: C++
137 - Aliases:
138 - c3
139 Name: C3
140 - Aliases:
141 - caddyfile
142 - caddy
143 Name: Caddyfile
144 - Aliases:
145 - caddyfile-directives
146 - caddyfile-d
147 - caddy-d
148 Name: Caddyfile Directives
149 - Aliases:
150 - capnp
151 Name: Cap'n Proto
152 - Aliases:
153 - cassandra
154 - cql
155 Name: Cassandra CQL
156 - Aliases:
157 - ceylon
158 Name: Ceylon
159 - Aliases:
160 - cfengine3
161 - cf3
162 Name: CFEngine3
163 - Aliases:
164 - cfs
165 Name: cfstatement
166 - Aliases:
167 - chai
168 - chaiscript
169 Name: ChaiScript
170 - Aliases:
171 - chapel
172 - chpl
173 Name: Chapel
174 - Aliases:
175 - cheetah
176 - spitfire
177 Name: Cheetah
178 - Aliases:
179 - clojure
180 - clj
181 - edn
182 Name: Clojure
183 - Aliases:
184 - cmake
185 Name: CMake
186 - Aliases:
187 - cobol
188 Name: COBOL
189 - Aliases:
190 - coffee-script
191 - coffeescript
192 - coffee
193 Name: CoffeeScript
194 - Aliases:
195 - common-lisp
196 - cl
197 - lisp
198 Name: Common Lisp
199 - Aliases:
200 - coq
201 Name: Coq
202 - Aliases:
203 - core
204 Name: Core
205 - Aliases:
206 - cr
207 - crystal
208 Name: Crystal
209 - Aliases:
210 - css
211 Name: CSS
212 - Aliases:
213 - csv
214 Name: CSV
215 - Aliases:
216 - cue
217 Name: CUE
218 - Aliases:
219 - cython
220 - pyx
221 - pyrex
222 Name: Cython
223 - Aliases:
224 - d
225 Name: D
226 - Aliases:
227 - dart
228 Name: Dart
229 - Aliases:
230 - dax
231 Name: Dax
232 - Aliases:
233 - desktop
234 - desktop_entry
235 Name: Desktop file
236 - Aliases:
237 - devicetree
238 - dts
239 Name: Devicetree
240 - Aliases:
241 - diff
242 - udiff
243 Name: Diff
244 - Aliases:
245 - django
246 - jinja
247 Name: Django/Jinja
248 - Aliases:
249 - zone
250 - bind
251 Name: dns
252 - Aliases:
253 - docker
254 - dockerfile
255 - containerfile
256 Name: Docker
257 - Aliases:
258 - dtd
259 Name: DTD
260 - Aliases:
261 - dylan
262 Name: Dylan
263 - Aliases:
264 - ebnf
265 Name: EBNF
266 - Aliases:
267 - elixir
268 - ex
269 - exs
270 Name: Elixir
271 - Aliases:
272 - elm
273 Name: Elm
274 - Aliases:
275 - emacs
276 - elisp
277 - emacs-lisp
278 Name: EmacsLisp
279 - Aliases:
280 - erb
281 - html+erb
282 - html+ruby
283 - rhtml
284 Name: ERB
285 - Aliases:
286 - erlang
287 Name: Erlang
288 - Aliases:
289 - factor
290 Name: Factor
291 - Aliases:
292 - fennel
293 - fnl
294 Name: Fennel
295 - Aliases:
296 - fish
297 - fishshell
298 Name: Fish
299 - Aliases:
300 - forth
301 Name: Forth
302 - Aliases:
303 - fortran
304 - f90
305 Name: Fortran
306 - Aliases:
307 - fortranfixed
308 Name: FortranFixed
309 - Aliases:
310 - fsharp
311 Name: FSharp
312 - Aliases:
313 - gas
314 - asm
315 Name: GAS
316 - Aliases:
317 - gdscript
318 - gd
319 Name: GDScript
320 - Aliases:
321 - gdscript3
322 - gd3
323 Name: GDScript3
324 - Aliases:
325 - gemfile-lock
326 - gemfilelock
327 Name: Gemfile.lock
328 - Aliases:
329 - gemtext
330 - gmi
331 - gmni
332 - gemini
333 Name: Gemtext
334 - Aliases:
335 - genshi
336 - kid
337 - xml+genshi
338 - xml+kid
339 Name: Genshi
340 - Aliases:
341 - html+genshi
342 - html+kid
343 Name: Genshi HTML
344 - Aliases:
345 - genshitext
346 Name: Genshi Text
347 - Aliases:
348 - pot
349 - po
350 Name: Gettext
351 - Aliases:
352 - cucumber
353 - Cucumber
354 - gherkin
355 - Gherkin
356 Name: Gherkin
357 - Aliases:
358 - gleam
359 Name: Gleam
360 - Aliases:
361 - glsl
362 Name: GLSL
363 - Aliases:
364 - gnuplot
365 Name: Gnuplot
366 - Aliases:
367 - go
368 - golang
369 Name: Go
370 - Aliases:
371 - go-html-template
372 Name: Go HTML Template
373 - Aliases:
374 - go-template
375 Name: Go Template
376 - Aliases:
377 - go-text-template
378 Name: Go Text Template
379 - Aliases:
380 - graphql
381 - graphqls
382 - gql
383 Name: GraphQL
384 - Aliases:
385 - groff
386 - nroff
387 - man
388 Name: Groff
389 - Aliases:
390 - groovy
391 Name: Groovy
392 - Aliases:
393 - handlebars
394 - hbs
395 Name: Handlebars
396 - Aliases:
397 - hare
398 Name: Hare
399 - Aliases:
400 - haskell
401 - hs
402 Name: Haskell
403 - Aliases:
404 - hx
405 - haxe
406 - hxsl
407 Name: Haxe
408 - Aliases:
409 - hcl
410 Name: HCL
411 - Aliases:
412 - hexdump
413 Name: Hexdump
414 - Aliases:
415 - hlb
416 Name: HLB
417 - Aliases:
418 - hlsl
419 Name: HLSL
420 - Aliases:
421 - holyc
422 Name: HolyC
423 - Aliases:
424 - html
425 Name: HTML
426 - Aliases:
427 - http
428 Name: HTTP
429 - Aliases:
430 - hylang
431 Name: Hy
432 - Aliases:
433 - idris
434 - idr
435 Name: Idris
436 - Aliases:
437 - igor
438 - igorpro
439 Name: Igor
440 - Aliases:
441 - ini
442 - cfg
443 - dosini
444 Name: INI
445 - Aliases:
446 - io
447 Name: Io
448 - Aliases:
449 - iscdhcpd
450 Name: ISCdhcpd
451 - Aliases:
452 - j
453 Name: J
454 - Aliases:
455 - janet
456 Name: Janet
457 - Aliases:
458 - java
459 Name: Java
460 - Aliases:
461 - js
462 - javascript
463 Name: JavaScript
464 - Aliases:
465 - json
466 - jsonl
467 Name: JSON
468 - Aliases:
469 - jsonata
470 Name: JSONata
471 - Aliases:
472 - jsonnet
473 Name: Jsonnet
474 - Aliases:
475 - julia
476 - jl
477 Name: Julia
478 - Aliases:
479 - jungle
480 Name: Jungle
481 - Aliases:
482 - kak
483 - kakoune
484 - kakrc
485 - kakscript
486 Name: Kakoune
487 - Aliases:
488 - kdl
489 Name: KDL
490 - Aliases:
491 - kotlin
492 Name: Kotlin
493 - Aliases:
494 - lateralus
495 - ltl
496 Name: Lateralus
497 - Aliases:
498 - lean4
499 - lean
500 Name: Lean4
501 - Aliases:
502 - lighty
503 - lighttpd
504 Name: Lighttpd configuration file
505 - Aliases:
506 - lilypond
507 Name: LilyPond
508 - Aliases:
509 - llvm
510 Name: LLVM
511 - Aliases: null
512 Name: lox
513 - Aliases:
514 - lua
515 Name: Lua
516 - Aliases:
517 - luau
518 Name: Luau
519 - Aliases:
520 - make
521 - makefile
522 - mf
523 - bsdmake
524 Name: Makefile
525 - Aliases:
526 - mako
527 Name: Mako
528 - Aliases:
529 - md
530 - mkd
531 Name: markdown
532 - Aliases:
533 - mess
534 Name: Markless
535 - Aliases:
536 - mason
537 Name: Mason
538 - Aliases:
539 - materialize
540 - mzsql
541 Name: Materialize SQL dialect
542 - Aliases:
543 - mathematica
544 - mma
545 - nb
546 Name: Mathematica
547 - Aliases:
548 - matlab
549 Name: Matlab
550 - Aliases:
551 - mcfunction
552 - mcf
553 Name: MCFunction
554 - Aliases:
555 - meson
556 - meson.build
557 Name: Meson
558 - Aliases:
559 - metal
560 Name: Metal
561 - Aliases:
562 - µcad
563 Name: microcad
564 - Aliases:
565 - minizinc
566 - MZN
567 - mzn
568 Name: MiniZinc
569 - Aliases:
570 - mlir
571 Name: MLIR
572 - Aliases:
573 - modelica
574 Name: Modelica
575 - Aliases:
576 - modula2
577 - m2
578 Name: Modula-2
579 - Aliases:
580 - mojo
581 - 🔥
582 Name: Mojo
583 - Aliases:
584 - monkeyc
585 Name: MonkeyC
586 - Aliases:
587 - moonbit
588 - mbt
589 Name: MoonBit
590 - Aliases:
591 - moonscript
592 - moon
593 Name: MoonScript
594 - Aliases:
595 - morrowind
596 - mwscript
597 Name: MorrowindScript
598 - Aliases:
599 - myghty
600 Name: Myghty
601 - Aliases:
602 - mysql
603 - mariadb
604 Name: MySQL
605 - Aliases:
606 - nasm
607 Name: NASM
608 - Aliases:
609 - natural
610 Name: Natural
611 - Aliases:
612 - ndisasm
613 Name: NDISASM
614 - Aliases:
615 - newspeak
616 Name: Newspeak
617 - Aliases:
618 - nginx
619 Name: Nginx configuration file
620 - Aliases:
621 - nim
622 - nimrod
623 Name: Nim
624 - Aliases:
625 - nixos
626 - nix
627 Name: Nix
628 - Aliases:
629 - nsis
630 - nsi
631 - nsh
632 Name: NSIS
633 - Aliases:
634 - nu
635 Name: Nu
636 - Aliases:
637 - objective-c
638 - objectivec
639 - obj-c
640 - objc
641 Name: Objective-C
642 - Aliases:
643 - objectpascal
644 Name: ObjectPascal
645 - Aliases:
646 - ocaml
647 Name: OCaml
648 - Aliases:
649 - octave
650 Name: Octave
651 - Aliases:
652 - odin
653 Name: Odin
654 - Aliases:
655 - ones
656 - onesenterprise
657 - 1S
658 - 1S:Enterprise
659 Name: OnesEnterprise
660 - Aliases:
661 - openedge
662 - abl
663 - progress
664 - openedgeabl
665 Name: OpenEdge ABL
666 - Aliases:
667 - openscad
668 Name: OpenSCAD
669 - Aliases:
670 - org
671 - orgmode
672 Name: Org Mode
673 - Aliases:
674 - pacmanconf
675 Name: PacmanConf
676 - Aliases:
677 - perl
678 - pl
679 Name: Perl
680 - Aliases:
681 - php
682 - php3
683 - php4
684 - php5
685 Name: PHP
686 - Aliases:
687 - phtml
688 Name: PHTML
689 - Aliases:
690 - pig
691 Name: Pig
692 - Aliases:
693 - pkgconfig
694 Name: PkgConfig
695 - Aliases:
696 - plpgsql
697 Name: PL/pgSQL
698 - Aliases:
699 - text
700 - plain
701 - no-highlight
702 Name: plaintext
703 - Aliases:
704 - plutus-core
705 - plc
706 Name: Plutus Core
707 - Aliases:
708 - pony
709 Name: Pony
710 - Aliases:
711 - postgresql
712 - postgres
713 Name: PostgreSQL SQL dialect
714 - Aliases:
715 - postscript
716 - postscr
717 Name: PostScript
718 - Aliases:
719 - pov
720 Name: POVRay
721 - Aliases:
722 - powerquery
723 - pq
724 Name: PowerQuery
725 - Aliases:
726 - powershell
727 - posh
728 - ps1
729 - psm1
730 - psd1
731 - pwsh
732 Name: PowerShell
733 - Aliases:
734 - prolog
735 Name: Prolog
736 - Aliases:
737 - promela
738 Name: Promela
739 - Aliases:
740 - promql
741 Name: PromQL
742 - Aliases:
743 - java-properties
744 Name: properties
745 - Aliases:
746 - protobuf
747 - proto
748 Name: Protocol Buffer
749 - Aliases:
750 - txtpb
751 Name: Protocol Buffer Text Format
752 - Aliases:
753 - prql
754 Name: PRQL
755 - Aliases:
756 - psl
757 Name: PSL
758 - Aliases:
759 - puppet
760 Name: Puppet
761 - Aliases:
762 - python
763 - py
764 - sage
765 - python3
766 - py3
767 - starlark
768 Name: Python
769 - Aliases:
770 - python2
771 - py2
772 Name: Python 2
773 - Aliases:
774 - qbasic
775 - basic
776 Name: QBasic
777 - Aliases:
778 - qml
779 - qbs
780 Name: QML
781 - Aliases:
782 - splus
783 - s
784 - r
785 Name: R
786 - Aliases:
787 - racket
788 - rkt
789 Name: Racket
790 - Aliases:
791 - ragel
792 Name: Ragel
793 - Aliases:
794 - perl6
795 - pl6
796 - raku
797 Name: Raku
798 - Aliases:
799 - jsx
800 - react
801 Name: react
802 - Aliases:
803 - reason
804 - reasonml
805 Name: ReasonML
806 - Aliases:
807 - registry
808 Name: reg
809 - Aliases:
810 - rego
811 Name: Rego
812 - Aliases:
813 - rst
814 - rest
815 - restructuredtext
816 Name: reStructuredText
817 - Aliases:
818 - rexx
819 - arexx
820 Name: Rexx
821 - Aliases:
822 - rgbasm
823 Name: RGBDS Assembly
824 - Aliases:
825 - ring
826 Name: Ring
827 - Aliases:
828 - SQLRPGLE
829 - RPG IV
830 Name: RPGLE
831 - Aliases:
832 - spec
833 Name: RPMSpec
834 - Aliases:
835 - rb
836 - ruby
837 - duby
838 Name: Ruby
839 - Aliases:
840 - rust
841 - rs
842 Name: Rust
843 - Aliases:
844 - sas
845 Name: SAS
846 - Aliases:
847 - sass
848 Name: Sass
849 - Aliases:
850 - scala
851 Name: Scala
852 - Aliases:
853 - scdoc
854 Name: scdoc
855 - Aliases:
856 - scheme
857 - scm
858 Name: Scheme
859 - Aliases:
860 - scilab
861 Name: Scilab
862 - Aliases:
863 - scss
864 Name: SCSS
865 - Aliases:
866 - sed
867 - gsed
868 - ssed
869 Name: Sed
870 - Aliases:
871 - sieve
872 Name: Sieve
873 - Aliases:
874 - smali
875 Name: Smali
876 - Aliases:
877 - smalltalk
878 - squeak
879 - st
880 Name: Smalltalk
881 - Aliases:
882 - smarty
883 Name: Smarty
884 - Aliases:
885 - snbt
886 Name: SNBT
887 - Aliases:
888 - snobol
889 Name: Snobol
890 - Aliases:
891 - sol
892 - solidity
893 Name: Solidity
894 - Aliases:
895 - sp
896 Name: SourcePawn
897 - Aliases:
898 - spade
899 Name: Spade
900 - Aliases:
901 - sparql
902 Name: SPARQL
903 - Aliases:
904 - sql
905 Name: SQL
906 - Aliases:
907 - squidconf
908 - squid.conf
909 - squid
910 Name: SquidConf
911 - Aliases:
912 - sml
913 Name: Standard ML
914 - Aliases: null
915 Name: stas
916 - Aliases:
917 - stylus
918 Name: Stylus
919 - Aliases:
920 - svelte
921 Name: Svelte
922 - Aliases:
923 - swift
924 Name: Swift
925 - Aliases:
926 - systemd
927 Name: SYSTEMD
928 - Aliases:
929 - systemverilog
930 - sv
931 Name: systemverilog
932 - Aliases:
933 - tablegen
934 Name: TableGen
935 - Aliases:
936 - tal
937 - uxntal
938 Name: Tal
939 - Aliases:
940 - tasm
941 Name: TASM
942 - Aliases:
943 - tcl
944 Name: Tcl
945 - Aliases:
946 - tcsh
947 - csh
948 Name: Tcsh
949 - Aliases:
950 - templ
951 Name: Templ
952 - Aliases:
953 - termcap
954 Name: Termcap
955 - Aliases:
956 - terminfo
957 Name: Terminfo
958 - Aliases:
959 - terraform
960 - tf
961 - hcl
962 Name: Terraform
963 - Aliases:
964 - tex
965 - latex
966 Name: TeX
967 - Aliases:
968 - thrift
969 Name: Thrift
970 - Aliases:
971 - toml
972 Name: TOML
973 - Aliases:
974 - tradingview
975 - tv
976 Name: TradingView
977 - Aliases:
978 - tsql
979 - t-sql
980 Name: Transact-SQL
981 - Aliases:
982 - turing
983 Name: Turing
984 - Aliases:
985 - turtle
986 Name: Turtle
987 - Aliases:
988 - twig
989 Name: Twig
990 - Aliases:
991 - ts
992 - tsx
993 - typescript
994 Name: TypeScript
995 - Aliases:
996 - typoscript
997 Name: TypoScript
998 - Aliases:
999 - typoscriptcssdata
1000 Name: TypoScriptCssData
1001 - Aliases:
1002 - typoscripthtmldata
1003 Name: TypoScriptHtmlData
1004 - Aliases:
1005 - typst
1006 Name: Typst
1007 - Aliases: null
1008 Name: ucode
1009 - Aliases:
1010 - v
1011 - vlang
1012 Name: V
1013 - Aliases:
1014 - vsh
1015 - vshell
1016 Name: V shell
1017 - Aliases:
1018 - vala
1019 - vapi
1020 Name: Vala
1021 - Aliases:
1022 - vb.net
1023 - vbnet
1024 Name: VB.net
1025 - Aliases:
1026 - verilog
1027 - v
1028 Name: verilog
1029 - Aliases:
1030 - vhdl
1031 Name: VHDL
1032 - Aliases:
1033 - vhs
1034 - tape
1035 - cassette
1036 Name: VHS
1037 - Aliases:
1038 - vim
1039 Name: VimL
1040 - Aliases:
1041 - vue
1042 - vuejs
1043 Name: vue
1044 - Aliases: null
1045 Name: WDTE
1046 - Aliases:
1047 - wast
1048 - wat
1049 Name: WebAssembly Text Format
1050 - Aliases:
1051 - wgsl
1052 Name: WebGPU Shading Language
1053 - Aliases:
1054 - vtt
1055 Name: WebVTT
1056 - Aliases:
1057 - whiley
1058 Name: Whiley
1059 - Aliases:
1060 - xml
1061 Name: XML
1062 - Aliases:
1063 - xorg.conf
1064 Name: Xorg
1065 - Aliases:
1066 - yaml
1067 Name: YAML
1068 - Aliases:
1069 - yaml+jinja
1070 - salt
1071 - sls
1072 - ansible
1073 Name: YAML+Jinja
1074 - Aliases:
1075 - yang
1076 Name: YANG
1077 - Aliases:
1078 - z80
1079 Name: Z80 Assembly
1080 - Aliases:
1081 - zed
1082 Name: Zed
1083 - Aliases:
1084 - zig
1085 Name: Zig
1086 styles:
1087 - counterpart: ''
1088 mode: light
1089 name: abap
1090 - counterpart: ''
1091 mode: light
1092 name: algol
1093 - counterpart: ''
1094 mode: light
1095 name: algol_nu
1096 - counterpart: ''
1097 mode: light
1098 name: arduino
1099 - counterpart: ''
1100 mode: dark
1101 name: ashen
1102 - counterpart: ''
1103 mode: dark
1104 name: aura-theme-dark
1105 - counterpart: ''
1106 mode: dark
1107 name: aura-theme-dark-soft
1108 - counterpart: ''
1109 mode: light
1110 name: autumn
1111 - counterpart: ''
1112 mode: dark
1113 name: average
1114 - counterpart: ''
1115 mode: dark
1116 name: base16-snazzy
1117 - counterpart: ''
1118 mode: light
1119 name: borland
1120 - counterpart: ''
1121 mode: light
1122 name: bw
1123 - counterpart: ''
1124 mode: dark
1125 name: catppuccin-frappe
1126 - counterpart: catppuccin-mocha
1127 mode: light
1128 name: catppuccin-latte
1129 - counterpart: ''
1130 mode: dark
1131 name: catppuccin-macchiato
1132 - counterpart: catppuccin-latte
1133 mode: dark
1134 name: catppuccin-mocha
1135 - counterpart: ''
1136 mode: light
1137 name: colorful
1138 - counterpart: ''
1139 mode: dark
1140 name: darcula
1141 - counterpart: ''
1142 mode: dark
1143 name: doom-one
1144 - counterpart: ''
1145 mode: dark
1146 name: doom-one2
1147 - counterpart: ''
1148 mode: dark
1149 name: dracula
1150 - counterpart: ''
1151 mode: light
1152 name: emacs
1153 - counterpart: ''
1154 mode: dark
1155 name: evergarden
1156 - counterpart: ''
1157 mode: light
1158 name: friendly
1159 - counterpart: ''
1160 mode: dark
1161 name: fruity
1162 - counterpart: github-dark
1163 mode: light
1164 name: github
1165 - counterpart: github
1166 mode: dark
1167 name: github-dark
1168 - counterpart: gruvbox-light
1169 mode: dark
1170 name: gruvbox
1171 - counterpart: gruvbox
1172 mode: light
1173 name: gruvbox-light
1174 - counterpart: ''
1175 mode: light
1176 name: hr_high_contrast
1177 - counterpart: ''
1178 mode: light
1179 name: hrdark
1180 - counterpart: ''
1181 mode: light
1182 name: igor
1183 - counterpart: ''
1184 mode: dark
1185 name: kanagawa-dragon
1186 - counterpart: kanagawa-wave
1187 mode: light
1188 name: kanagawa-lotus
1189 - counterpart: kanagawa-lotus
1190 mode: dark
1191 name: kanagawa-wave
1192 - counterpart: ''
1193 mode: light
1194 name: lovelace
1195 - counterpart: ''
1196 mode: light
1197 name: manni
1198 - counterpart: modus-vivendi
1199 mode: light
1200 name: modus-operandi
1201 - counterpart: modus-operandi
1202 mode: dark
1203 name: modus-vivendi
1204 - counterpart: monokailight
1205 mode: dark
1206 name: monokai
1207 - counterpart: monokai
1208 mode: light
1209 name: monokailight
1210 - counterpart: ''
1211 mode: light
1212 name: murphy
1213 - counterpart: ''
1214 mode: dark
1215 name: native
1216 - counterpart: ''
1217 mode: dark
1218 name: nord
1219 - counterpart: ''
1220 mode: dark
1221 name: nordic
1222 - counterpart: ''
1223 mode: dark
1224 name: onedark
1225 - counterpart: ''
1226 mode: light
1227 name: onesenterprise
1228 - counterpart: paraiso-light
1229 mode: dark
1230 name: paraiso-dark
1231 - counterpart: paraiso-dark
1232 mode: light
1233 name: paraiso-light
1234 - counterpart: ''
1235 mode: light
1236 name: pastie
1237 - counterpart: ''
1238 mode: light
1239 name: perldoc
1240 - counterpart: ''
1241 mode: light
1242 name: pygments
1243 - counterpart: ''
1244 mode: light
1245 name: rainbow_dash
1246 - counterpart: rose-pine-dawn
1247 mode: dark
1248 name: rose-pine
1249 - counterpart: rose-pine
1250 mode: light
1251 name: rose-pine-dawn
1252 - counterpart: ''
1253 mode: dark
1254 name: rose-pine-moon
1255 - counterpart: ''
1256 mode: light
1257 name: rpgle
1258 - counterpart: ''
1259 mode: dark
1260 name: rrt
1261 - counterpart: solarized-light
1262 mode: dark
1263 name: solarized-dark
1264 - counterpart: ''
1265 mode: dark
1266 name: solarized-dark256
1267 - counterpart: solarized-dark
1268 mode: light
1269 name: solarized-light
1270 - counterpart: ''
1271 mode: dark
1272 name: swapoff
1273 - counterpart: ''
1274 mode: light
1275 name: tango
1276 - counterpart: tokyonight-night
1277 mode: light
1278 name: tokyonight-day
1279 - counterpart: ''
1280 mode: dark
1281 name: tokyonight-moon
1282 - counterpart: tokyonight-day
1283 mode: dark
1284 name: tokyonight-night
1285 - counterpart: ''
1286 mode: dark
1287 name: tokyonight-storm
1288 - counterpart: ''
1289 mode: light
1290 name: trac
1291 - counterpart: ''
1292 mode: dark
1293 name: vim
1294 - counterpart: ''
1295 mode: light
1296 name: vs
1297 - counterpart: ''
1298 mode: dark
1299 name: vulcan
1300 - counterpart: ''
1301 mode: dark
1302 name: witchhazel
1303 - counterpart: xcode-dark
1304 mode: light
1305 name: xcode
1306 - counterpart: xcode
1307 mode: dark
1308 name: xcode-dark
1309 config:
1310 HTTPCache:
1311 cache:
1312 for:
1313 excludes:
1314 - '**'
1315 includes: null
1316 polls:
1317 - disable: true
1318 for:
1319 excludes: null
1320 includes:
1321 - '**'
1322 high: 0s
1323 low: 0s
1324 respectCacheControlNoStoreInRequest: true
1325 respectCacheControlNoStoreInResponse: false
1326 archeTypeDir: archetypes
1327 assetDir: assets
1328 author: {}
1329 baseURL: ''
1330 build:
1331 buildStats:
1332 disableClasses: false
1333 disableIDs: false
1334 disableTags: false
1335 enable: false
1336 cacheBusters:
1337 - source: '(postcss|tailwind)\.config\.(js|mjs|cjs)'
1338 target: (css|styles|scss|sass)
1339 noJSConfigInAssets: false
1340 useResourceCacheWhen: fallback
1341 buildDrafts: false
1342 buildExpired: false
1343 buildFuture: false
1344 cacheDir: ''
1345 caches:
1346 assets:
1347 dir: :resourceDir/_gen
1348 maxAge: -1
1349 getresource:
1350 dir: :cacheDir/:project
1351 maxAge: -1
1352 images:
1353 dir: :resourceDir/_gen
1354 maxAge: -1
1355 misc:
1356 dir: :cacheDir/:project
1357 maxAge: -1
1358 modulegitinfo:
1359 dir: :cacheDir/modules
1360 maxAge: 24h
1361 modulequeries:
1362 dir: :cacheDir/modules
1363 maxAge: 24h
1364 modules:
1365 dir: :cacheDir/modules
1366 maxAge: -1
1367 canonifyURLs: false
1368 capitalizeListTitles: true
1369 cascade: null
1370 cleanDestinationDir: false
1371 contentDir: content
1372 contentTypes:
1373 text/asciidoc: {}
1374 text/html: {}
1375 text/markdown: {}
1376 text/org: {}
1377 text/pandoc: {}
1378 text/rst: {}
1379 copyright: ''
1380 dataDir: data
1381 defaultContentLanguage: en
1382 defaultContentLanguageInSubdir: false
1383 defaultContentRole: guest
1384 defaultContentRoleInSubdir: false
1385 defaultContentVersion: ''
1386 defaultContentVersionInSubdir: false
1387 defaultOutputFormat: html
1388 deployment:
1389 confirm: false
1390 dryRun: false
1391 force: false
1392 invalidateCDN: true
1393 matchers: null
1394 maxDeletes: 256
1395 order: null
1396 target: ''
1397 targets: null
1398 workers: 10
1399 disableAliases: false
1400 disableDefaultLanguageRedirect: false
1401 disableDefaultSiteRedirect: false
1402 disableHugoGeneratorInject: false
1403 disableKinds: null
1404 disableLanguages: null
1405 disableLiveReload: false
1406 disablePathToLower: false
1407 enableEmoji: false
1408 enableGitInfo: false
1409 enableMissingTranslationPlaceholders: false
1410 enableRobotsTXT: false
1411 environment: production
1412 frontmatter:
1413 date:
1414 - date
1415 - publishdate
1416 - pubdate
1417 - published
1418 - lastmod
1419 - modified
1420 expiryDate:
1421 - expirydate
1422 - unpublishdate
1423 lastmod:
1424 - :git
1425 - lastmod
1426 - modified
1427 - date
1428 - publishdate
1429 - pubdate
1430 - published
1431 publishDate:
1432 - publishdate
1433 - pubdate
1434 - published
1435 - date
1436 hasCJKLanguage: false
1437 i18nDir: i18n
1438 ignoreCache: false
1439 ignoreFiles: null
1440 ignoreLogs: null
1441 ignoreVendorPaths: ''
1442 imaging:
1443 anchor: smart
1444 avif:
1445 compression: lossy
1446 encoderSpeed: 10
1447 hint: photo
1448 quality: 60
1449 bgColor: ffffff
1450 exif:
1451 disableDate: false
1452 disableLatLong: false
1453 excludeFields: GPS|Exif|Exposure[M|P|B]|Contrast|Resolution|Sharp|JPEG|Metering|Sensing|Saturation|ColorSpace|Flash|WhiteBalance
1454 includeFields: ''
1455 jpeg:
1456 quality: 75
1457 meta:
1458 fields:
1459 - '! *{GPS,Exif,Exposure[MPB],Contrast,Resolution,Sharp,JPEG,Metering,Sensing,Saturation,ColorSpace,Flash,WhiteBalance}*'
1460 sources:
1461 - exif
1462 - iptc
1463 resampleFilter: box
1464 webp:
1465 compression: lossy
1466 hint: photo
1467 method: 2
1468 quality: 75
1469 useSharpYuv: false
1470 languages:
1471 en:
1472 direction: ''
1473 disabled: false
1474 label: ''
1475 locale: ''
1476 title: ''
1477 weight: 0
1478 layoutDir: layouts
1479 locale: ''
1480 mainSections: null
1481 markup:
1482 asciiDocExt:
1483 attributes: {}
1484 backend: html5
1485 extensions: []
1486 failureLevel: fatal
1487 noHeaderOrFooter: true
1488 preserveTOC: false
1489 safeMode: unsafe
1490 sectionNumbers: false
1491 trace: false
1492 verbose: false
1493 workingFolderCurrent: false
1494 defaultMarkdownHandler: goldmark
1495 goldmark:
1496 duplicateResourceFiles: false
1497 extensions:
1498 cjk:
1499 eastAsianLineBreaks: false
1500 eastAsianLineBreaksStyle: simple
1501 enable: false
1502 escapedSpace: false
1503 definitionList: true
1504 extras:
1505 delete:
1506 enable: false
1507 insert:
1508 enable: false
1509 mark:
1510 enable: false
1511 subscript:
1512 enable: false
1513 superscript:
1514 enable: false
1515 footnote:
1516 backlinkHTML: '↩︎'
1517 enable: true
1518 enableAutoIDPrefix: false
1519 linkify: true
1520 linkifyProtocol: https
1521 passthrough:
1522 delimiters:
1523 block: []
1524 inline: []
1525 enable: false
1526 strikethrough: true
1527 table: true
1528 taskList: true
1529 typographer:
1530 apostrophe: '’'
1531 disable: false
1532 ellipsis: '…'
1533 emDash: '—'
1534 enDash: '–'
1535 leftAngleQuote: '«'
1536 leftDoubleQuote: '“'
1537 leftSingleQuote: '‘'
1538 rightAngleQuote: '»'
1539 rightDoubleQuote: '”'
1540 rightSingleQuote: '’'
1541 parser:
1542 attribute:
1543 block: false
1544 title: true
1545 autoDefinitionTermID: false
1546 autoHeadingID: true
1547 autoIDType: github
1548 wrapStandAloneImageWithinParagraph: true
1549 renderHooks:
1550 image:
1551 enableDefault: false
1552 useEmbedded: auto
1553 link:
1554 enableDefault: false
1555 useEmbedded: auto
1556 renderer:
1557 hardWraps: false
1558 unsafe: false
1559 xhtml: false
1560 highlight:
1561 anchorLineNos: false
1562 codeFences: true
1563 guessSyntax: false
1564 hl_Lines: ''
1565 hl_inline: false
1566 lineAnchors: ''
1567 lineNoStart: 1
1568 lineNos: false
1569 lineNumbersInTable: true
1570 noClasses: true
1571 style: monokai
1572 tabWidth: 4
1573 wrapperClass: highlight
1574 tableOfContents:
1575 endLevel: 3
1576 ordered: false
1577 startLevel: 2
1578 mediaTypes:
1579 application/json:
1580 delimiter: .
1581 suffixes:
1582 - json
1583 application/manifest+json:
1584 delimiter: .
1585 suffixes:
1586 - webmanifest
1587 application/octet-stream:
1588 delimiter: .
1589 application/pdf:
1590 delimiter: .
1591 suffixes:
1592 - pdf
1593 application/rss+xml:
1594 delimiter: .
1595 suffixes:
1596 - xml
1597 - rss
1598 application/toml:
1599 delimiter: .
1600 suffixes:
1601 - toml
1602 application/wasm:
1603 delimiter: .
1604 suffixes:
1605 - wasm
1606 application/xml:
1607 delimiter: .
1608 suffixes:
1609 - xml
1610 application/yaml:
1611 delimiter: .
1612 suffixes:
1613 - yaml
1614 - yml
1615 font/otf:
1616 delimiter: .
1617 suffixes:
1618 - otf
1619 font/ttf:
1620 delimiter: .
1621 suffixes:
1622 - ttf
1623 image/avif:
1624 delimiter: .
1625 suffixes:
1626 - avif
1627 image/bmp:
1628 delimiter: .
1629 suffixes:
1630 - bmp
1631 image/gif:
1632 delimiter: .
1633 suffixes:
1634 - gif
1635 image/heic:
1636 delimiter: .
1637 suffixes:
1638 - heic
1639 image/heif:
1640 delimiter: .
1641 suffixes:
1642 - heif
1643 image/jpeg:
1644 delimiter: .
1645 suffixes:
1646 - jpg
1647 - jpeg
1648 - jpe
1649 - jif
1650 - jfif
1651 image/png:
1652 delimiter: .
1653 suffixes:
1654 - png
1655 image/svg+xml:
1656 delimiter: .
1657 suffixes:
1658 - svg
1659 image/tiff:
1660 delimiter: .
1661 suffixes:
1662 - tif
1663 - tiff
1664 image/webp:
1665 delimiter: .
1666 suffixes:
1667 - webp
1668 text/asciidoc:
1669 delimiter: .
1670 suffixes:
1671 - adoc
1672 - asciidoc
1673 - ad
1674 text/calendar:
1675 delimiter: .
1676 suffixes:
1677 - ics
1678 text/css:
1679 delimiter: .
1680 suffixes:
1681 - css
1682 text/csv:
1683 delimiter: .
1684 suffixes:
1685 - csv
1686 text/html:
1687 delimiter: .
1688 suffixes:
1689 - html
1690 - htm
1691 text/javascript:
1692 delimiter: .
1693 suffixes:
1694 - js
1695 - jsm
1696 - mjs
1697 text/jsx:
1698 delimiter: .
1699 suffixes:
1700 - jsx
1701 text/markdown:
1702 delimiter: .
1703 suffixes:
1704 - md
1705 - mdown
1706 - markdown
1707 text/org:
1708 delimiter: .
1709 suffixes:
1710 - org
1711 text/pandoc:
1712 delimiter: .
1713 suffixes:
1714 - pandoc
1715 - pdc
1716 text/plain:
1717 delimiter: .
1718 suffixes:
1719 - txt
1720 text/rst:
1721 delimiter: .
1722 suffixes:
1723 - rst
1724 text/tsx:
1725 delimiter: .
1726 suffixes:
1727 - tsx
1728 text/typescript:
1729 delimiter: .
1730 suffixes:
1731 - ts
1732 text/x-gotmpl:
1733 delimiter: .
1734 suffixes:
1735 - gotmpl
1736 text/x-sass:
1737 delimiter: .
1738 suffixes:
1739 - sass
1740 text/x-scss:
1741 delimiter: .
1742 suffixes:
1743 - scss
1744 video/3gpp:
1745 delimiter: .
1746 suffixes:
1747 - 3gpp
1748 - 3gp
1749 video/mp4:
1750 delimiter: .
1751 suffixes:
1752 - mp4
1753 video/mpeg:
1754 delimiter: .
1755 suffixes:
1756 - mpg
1757 - mpeg
1758 video/ogg:
1759 delimiter: .
1760 suffixes:
1761 - ogv
1762 video/webm:
1763 delimiter: .
1764 suffixes:
1765 - webm
1766 video/x-msvideo:
1767 delimiter: .
1768 suffixes:
1769 - avi
1770 menus: {}
1771 minify:
1772 disableCSS: false
1773 disableHTML: false
1774 disableJS: false
1775 disableJSON: false
1776 disableSVG: false
1777 disableXML: false
1778 minifyOutput: false
1779 tdewolff:
1780 css:
1781 inline: false
1782 precision: 0
1783 version: 0
1784 html:
1785 keepComments: false
1786 keepConditionalComments: false
1787 keepDefaultAttrVals: true
1788 keepDocumentTags: true
1789 keepEndTags: true
1790 keepQuotes: false
1791 keepSpecialComments: true
1792 keepWhitespace: false
1793 templateDelims:
1794 - ''
1795 - ''
1796 js:
1797 keepVarNames: false
1798 precision: 0
1799 version: 2022
1800 json:
1801 keepNumbers: false
1802 precision: 0
1803 svg:
1804 keepComments: false
1805 keepNamespaces:
1806 - ''
1807 - x-bind
1808 precision: 0
1809 xml:
1810 keepWhitespace: false
1811 module:
1812 auth: ''
1813 hugoVersion:
1814 extended: false
1815 max: ''
1816 min: ''
1817 imports: null
1818 mounts:
1819 - disableWatch: false
1820 files: null
1821 sites:
1822 complements:
1823 languages: null
1824 roles: null
1825 versions: null
1826 matrix:
1827 languages: null
1828 roles: null
1829 versions: null
1830 source: content
1831 target: content
1832 - disableWatch: false
1833 files: null
1834 sites:
1835 complements:
1836 languages: null
1837 roles: null
1838 versions: null
1839 matrix:
1840 languages: null
1841 roles: null
1842 versions: null
1843 source: data
1844 target: data
1845 - disableWatch: false
1846 files: null
1847 sites:
1848 complements:
1849 languages: null
1850 roles: null
1851 versions: null
1852 matrix:
1853 languages: null
1854 roles: null
1855 versions: null
1856 source: layouts
1857 target: layouts
1858 - disableWatch: false
1859 files: null
1860 sites:
1861 complements:
1862 languages: null
1863 roles: null
1864 versions: null
1865 matrix:
1866 languages: null
1867 roles: null
1868 versions: null
1869 source: i18n
1870 target: i18n
1871 - disableWatch: false
1872 files: null
1873 sites:
1874 complements:
1875 languages: null
1876 roles: null
1877 versions: null
1878 matrix:
1879 languages: null
1880 roles: null
1881 versions: null
1882 source: archetypes
1883 target: archetypes
1884 - disableWatch: false
1885 files: null
1886 sites:
1887 complements:
1888 languages: null
1889 roles: null
1890 versions: null
1891 matrix:
1892 languages: null
1893 roles: null
1894 versions: null
1895 source: assets
1896 target: assets
1897 - disableWatch: false
1898 files: null
1899 sites:
1900 complements:
1901 languages: null
1902 roles: null
1903 versions: null
1904 matrix:
1905 languages: null
1906 roles: null
1907 versions: null
1908 source: static
1909 target: static
1910 noProxy: none
1911 noVendor: ''
1912 params: null
1913 private: '*.*'
1914 proxy: direct
1915 replacements: null
1916 vendorClosest: false
1917 workspace: 'off'
1918 newContentEditor: ''
1919 noBuildLock: false
1920 noChmod: false
1921 noTimes: false
1922 outputFormats:
1923 '404':
1924 baseName: ''
1925 isHTML: true
1926 isPlainText: false
1927 mediaType: text/html
1928 noUgly: false
1929 notAlternative: true
1930 path: ''
1931 permalinkable: true
1932 protocol: ''
1933 rel: ''
1934 root: false
1935 ugly: true
1936 weight: 0
1937 alias:
1938 baseName: ''
1939 isHTML: true
1940 isPlainText: false
1941 mediaType: text/html
1942 noUgly: false
1943 notAlternative: false
1944 path: ''
1945 permalinkable: false
1946 protocol: ''
1947 rel: ''
1948 root: false
1949 ugly: true
1950 weight: 0
1951 amp:
1952 baseName: index
1953 isHTML: true
1954 isPlainText: false
1955 mediaType: text/html
1956 noUgly: false
1957 notAlternative: false
1958 path: amp
1959 permalinkable: true
1960 protocol: ''
1961 rel: amphtml
1962 root: false
1963 ugly: false
1964 weight: 0
1965 calendar:
1966 baseName: index
1967 isHTML: false
1968 isPlainText: true
1969 mediaType: text/calendar
1970 noUgly: false
1971 notAlternative: false
1972 path: ''
1973 permalinkable: false
1974 protocol: webcal://
1975 rel: alternate
1976 root: false
1977 ugly: false
1978 weight: 0
1979 css:
1980 baseName: styles
1981 isHTML: false
1982 isPlainText: true
1983 mediaType: text/css
1984 noUgly: false
1985 notAlternative: true
1986 path: ''
1987 permalinkable: false
1988 protocol: ''
1989 rel: stylesheet
1990 root: false
1991 ugly: false
1992 weight: 0
1993 csv:
1994 baseName: index
1995 isHTML: false
1996 isPlainText: true
1997 mediaType: text/csv
1998 noUgly: false
1999 notAlternative: false
2000 path: ''
2001 permalinkable: false
2002 protocol: ''
2003 rel: alternate
2004 root: false
2005 ugly: false
2006 weight: 0
2007 gotmpl:
2008 baseName: ''
2009 isHTML: false
2010 isPlainText: true
2011 mediaType: text/x-gotmpl
2012 noUgly: false
2013 notAlternative: true
2014 path: ''
2015 permalinkable: false
2016 protocol: ''
2017 rel: ''
2018 root: false
2019 ugly: false
2020 weight: 0
2021 html:
2022 baseName: index
2023 isHTML: true
2024 isPlainText: false
2025 mediaType: text/html
2026 noUgly: false
2027 notAlternative: false
2028 path: ''
2029 permalinkable: true
2030 protocol: ''
2031 rel: canonical
2032 root: false
2033 ugly: false
2034 weight: 10
2035 json:
2036 baseName: index
2037 isHTML: false
2038 isPlainText: true
2039 mediaType: application/json
2040 noUgly: false
2041 notAlternative: false
2042 path: ''
2043 permalinkable: false
2044 protocol: ''
2045 rel: alternate
2046 root: false
2047 ugly: false
2048 weight: 0
2049 markdown:
2050 baseName: index
2051 isHTML: false
2052 isPlainText: true
2053 mediaType: text/markdown
2054 noUgly: false
2055 notAlternative: false
2056 path: ''
2057 permalinkable: false
2058 protocol: ''
2059 rel: alternate
2060 root: false
2061 ugly: false
2062 weight: 0
2063 robots:
2064 baseName: robots
2065 isHTML: false
2066 isPlainText: true
2067 mediaType: text/plain
2068 noUgly: false
2069 notAlternative: false
2070 path: ''
2071 permalinkable: false
2072 protocol: ''
2073 rel: alternate
2074 root: true
2075 ugly: false
2076 weight: 0
2077 rss:
2078 baseName: index
2079 isHTML: false
2080 isPlainText: false
2081 mediaType: application/rss+xml
2082 noUgly: true
2083 notAlternative: false
2084 path: ''
2085 permalinkable: false
2086 protocol: ''
2087 rel: alternate
2088 root: false
2089 ugly: false
2090 weight: 0
2091 sitemap:
2092 baseName: sitemap
2093 isHTML: false
2094 isPlainText: false
2095 mediaType: application/xml
2096 noUgly: false
2097 notAlternative: false
2098 path: ''
2099 permalinkable: false
2100 protocol: ''
2101 rel: sitemap
2102 root: false
2103 ugly: true
2104 weight: 0
2105 sitemapindex:
2106 baseName: sitemap
2107 isHTML: false
2108 isPlainText: false
2109 mediaType: application/xml
2110 noUgly: false
2111 notAlternative: false
2112 path: ''
2113 permalinkable: false
2114 protocol: ''
2115 rel: sitemap
2116 root: true
2117 ugly: true
2118 weight: 0
2119 webappmanifest:
2120 baseName: manifest
2121 isHTML: false
2122 isPlainText: true
2123 mediaType: application/manifest+json
2124 noUgly: false
2125 notAlternative: true
2126 path: ''
2127 permalinkable: false
2128 protocol: ''
2129 rel: manifest
2130 root: false
2131 ugly: false
2132 weight: 0
2133 outputs:
2134 home:
2135 - html
2136 - rss
2137 page:
2138 - html
2139 rss:
2140 - rss
2141 section:
2142 - html
2143 - rss
2144 taxonomy:
2145 - html
2146 - rss
2147 term:
2148 - html
2149 - rss
2150 page:
2151 nextPrevInSectionSortOrder: desc
2152 nextPrevSortOrder: desc
2153 pagination:
2154 disableAliases: false
2155 pagerSize: 10
2156 path: page
2157 panicOnWarning: false
2158 params: {}
2159 permalinks: null
2160 pluralizeListTitles: true
2161 printI18nWarnings: false
2162 printPathWarnings: false
2163 printUnusedTemplates: false
2164 privacy:
2165 disqus:
2166 disable: false
2167 googleAnalytics:
2168 disable: false
2169 respectDoNotTrack: true
2170 instagram:
2171 disable: false
2172 simple: false
2173 vimeo:
2174 disable: false
2175 enableDNT: false
2176 simple: false
2177 x:
2178 disable: false
2179 enableDNT: false
2180 simple: false
2181 youTube:
2182 disable: false
2183 privacyEnhanced: false
2184 publishDir: public
2185 refLinksErrorLevel: ''
2186 refLinksNotFoundURL: ''
2187 related:
2188 includeNewer: false
2189 indices:
2190 - applyFilter: false
2191 cardinalityThreshold: 0
2192 name: keywords
2193 pattern: ''
2194 toLower: false
2195 type: basic
2196 weight: 100
2197 - applyFilter: false
2198 cardinalityThreshold: 0
2199 name: date
2200 pattern: ''
2201 toLower: false
2202 type: basic
2203 weight: 10
2204 - applyFilter: false
2205 cardinalityThreshold: 0
2206 name: tags
2207 pattern: ''
2208 toLower: false
2209 type: basic
2210 weight: 80
2211 threshold: 80
2212 toLower: false
2213 relativeURLs: false
2214 removePathAccents: false
2215 renderSegments: null
2216 resourceDir: resources
2217 roles:
2218 guest:
2219 weight: 0
2220 sectionPagesMenu: ''
2221 security:
2222 allowContent:
2223 - '! ^text/html$'
2224 enableInlineShortcodes: false
2225 exec:
2226 allow:
2227 - ^(dart-)?sass(-embedded)?$
2228 - ^go$
2229 - ^git$
2230 - ^node$
2231 - ^postcss$
2232 - ^tailwindcss$
2233 osEnv:
2234 - '(?i)^((HTTPS?|NO)_PROXY|PATH(EXT)?|APPDATA|TE?MP|TERM|GO\w+|(XDG_CONFIG_)?HOME|USERPROFILE|SSH_AUTH_SOCK|DISPLAY|LANG|SYSTEMDRIVE|PROGRAMDATA)$'
2235 funcs:
2236 getenv:
2237 - ^HUGO_
2238 - ^CI$
2239 http:
2240 mediaTypes: null
2241 methods:
2242 - (?i)GET|POST
2243 urls:
2244 - (?i)^https?://[a-z0-9]
2245 - '! ^https?://\d+\.'
2246 - '! (?i)localhost'
2247 - '! (?i)^https?://[^/?#]*@'
2248 node:
2249 permissions:
2250 allowAddons:
2251 - tailwindcss
2252 allowChildProcess:
2253 - tailwindcss
2254 allowRead:
2255 - .
2256 allowWorker:
2257 - tailwindcss
2258 allowWrite: []
2259 disable: false
2260 segments: {}
2261 server:
2262 headers: null
2263 redirects:
2264 - force: false
2265 from: /**
2266 fromHeaders: null
2267 fromRe: ''
2268 status: 404
2269 to: /404.html
2270 services:
2271 disqus:
2272 shortname: ''
2273 googleAnalytics:
2274 id: ''
2275 rss:
2276 limit: -1
2277 x:
2278 disableInlineCSS: false
2279 sitemap:
2280 changeFreq: ''
2281 disable: false
2282 filename: sitemap.xml
2283 priority: -1
2284 social: null
2285 staticDir:
2286 - static
2287 staticDir0: null
2288 staticDir1: null
2289 staticDir10: null
2290 staticDir2: null
2291 staticDir3: null
2292 staticDir4: null
2293 staticDir5: null
2294 staticDir6: null
2295 staticDir7: null
2296 staticDir8: null
2297 staticDir9: null
2298 summaryLength: 70
2299 taxonomies:
2300 category: categories
2301 tag: tags
2302 templateMetrics: false
2303 templateMetricsHints: false
2304 theme: null
2305 themesDir: themes
2306 timeZone: ''
2307 timeout: 60s
2308 title: ''
2309 titleCaseStyle: AP
2310 uglyURLs: {}
2311 versions:
2312 v1.0.0:
2313 weight: 0
2314 workingDir: ''
2315 config_helpers:
2316 mergeStrategy:
2317 build:
2318 _merge: none
2319 caches:
2320 _merge: none
2321 cascade:
2322 _merge: none
2323 contenttypes:
2324 _merge: none
2325 deployment:
2326 _merge: none
2327 frontmatter:
2328 _merge: none
2329 httpcache:
2330 _merge: none
2331 imaging:
2332 _merge: none
2333 languages:
2334 _merge: none
2335 en:
2336 _merge: none
2337 menus:
2338 _merge: shallow
2339 params:
2340 _merge: deep
2341 markup:
2342 _merge: none
2343 mediatypes:
2344 _merge: shallow
2345 menus:
2346 _merge: shallow
2347 minify:
2348 _merge: none
2349 module:
2350 _merge: none
2351 outputformats:
2352 _merge: shallow
2353 outputs:
2354 _merge: none
2355 page:
2356 _merge: none
2357 pagination:
2358 _merge: none
2359 params:
2360 _merge: deep
2361 permalinks:
2362 _merge: none
2363 privacy:
2364 _merge: none
2365 related:
2366 _merge: none
2367 roles:
2368 _merge: none
2369 security:
2370 _merge: none
2371 segments:
2372 _merge: none
2373 server:
2374 _merge: none
2375 services:
2376 _merge: none
2377 sitemap:
2378 _merge: none
2379 taxonomies:
2380 _merge: none
2381 versions:
2382 _merge: none
2383 output:
2384 layouts: {}
2385 tpl:
2386 funcs:
2387 cast:
2388 ToFloat:
2389 Aliases:
2390 - float
2391 Args:
2392 - v
2393 Description: ToFloat converts v to a float.
2394 Examples:
2395 - - '{{ "1234" | float | printf "%T" }}'
2396 - float64
2397 ToInt:
2398 Aliases:
2399 - int
2400 Args:
2401 - v
2402 Description: ToInt converts v to an int.
2403 Examples:
2404 - - '{{ "1234" | int | printf "%T" }}'
2405 - int
2406 ToString:
2407 Aliases:
2408 - string
2409 Args:
2410 - v
2411 Description: ToString converts v to a string.
2412 Examples:
2413 - - '{{ 1234 | string | printf "%T" }}'
2414 - string
2415 collections:
2416 After:
2417 Aliases:
2418 - after
2419 Args:
2420 - 'n'
2421 - l
2422 Description: After returns all the items after the first n items in list l.
2423 Examples: []
2424 Append:
2425 Aliases:
2426 - append
2427 Args:
2428 - args
2429 Description: |-
2430 Append appends args up to the last one to the slice in the last argument.
2431 This construct allows template constructs like this:
2432
2433 {{ $pages = $pages | append $p2 $p1 }}
2434
2435 Note that with 2 arguments where both are slices of the same type,
2436 the first slice will be appended to the second:
2437
2438 {{ $pages = $pages | append .Site.RegularPages }}
2439 Examples: []
2440 Apply:
2441 Aliases:
2442 - apply
2443 Args:
2444 - ctx
2445 - c
2446 - fname
2447 - args
2448 Description: Apply takes an array or slice c and returns a new slice with the function fname applied over it.
2449 Examples: []
2450 Complement:
2451 Aliases:
2452 - complement
2453 Args:
2454 - ls
2455 Description: |-
2456 Complement gives the elements in the last element of ls that are not in
2457 any of the others.
2458
2459 All elements of ls must be slices or arrays of comparable types.
2460
2461 The reasoning behind this rather clumsy API is so we can do this in the templates:
2462
2463 {{ $c := .Pages | complement $last4 }}
2464 Examples:
2465 - - '{{ slice "a" "b" "c" "d" "e" "f" | complement (slice "b" "c") (slice "d" "e") }}'
2466 - '[a f]'
2467 D:
2468 Aliases: null
2469 Args:
2470 - seed
2471 - 'n'
2472 - hi
2473 Description: 'D returns a sorted slice of unique random integers in the half-open interval\n[0, hi) using the provided seed value. The number of elements in the\nresulting slice is n or hi, whichever is less.\n\nIf n <= hi, it returns a sorted random sample of size n using J. S. Vitter’s\nMethod D for sequential random sampling.\n\nIf n > hi, it returns the full, sorted range [0, hi) of size hi.\n\nIf n == 0 or hi == 0, it returns an empty slice.\n\nReference:\n\n\tJ. S. Vitter, "An efficient algorithm for sequential random sampling," ACM Trans. Math. Softw., vol. 11, no. 1, pp. 37–57, 1985.\n\tSee also: https://getkerf.wordpress.com/2016/03/30/the-best-algorithm-no-one-knows-about/'
2474 Examples: []
2475 Delimit:
2476 Aliases:
2477 - delimit
2478 Args:
2479 - ctx
2480 - l
2481 - sep
2482 - last
2483 Description: |-
2484 Delimit takes a given list l and returns a string delimited by sep.
2485 If last is passed to the function, it will be used as the final delimiter.
2486 Examples:
2487 - - '{{ delimit (slice "A" "B" "C") ", " " and " }}'
2488 - A, B and C
2489 Dictionary:
2490 Aliases:
2491 - dict
2492 Args:
2493 - values
2494 Description: |-
2495 Dictionary creates a new map from the given parameters by
2496 treating values as key-value pairs. The number of values must be even.
2497 The keys can be string slices, which will create the needed nested structure.
2498 Examples: []
2499 First:
2500 Aliases:
2501 - first
2502 Args:
2503 - limit
2504 - l
2505 Description: First returns the first limit items in list l.
2506 Examples: []
2507 Group:
2508 Aliases:
2509 - group
2510 Args:
2511 - key
2512 - items
2513 Description: |-
2514 Group groups a set of items by the given key.
2515 This is currently only supported for Pages.
2516 Examples: []
2517 In:
2518 Aliases:
2519 - in
2520 Args:
2521 - l
2522 - v
2523 Description: In returns whether v is in the list l. l may be an array or slice.
2524 Examples:
2525 - - '{{ if in "this string contains a substring" "substring" }}Substring found!{{ end }}'
2526 - Substring found!
2527 Index:
2528 Aliases:
2529 - index
2530 Args:
2531 - item
2532 - args
2533 Description: |-
2534 Index returns the result of indexing its first argument by the following
2535 arguments. Thus "index x 1 2 3" is, in Go syntax, x[1][2][3]. Each
2536 indexed item must be a map, slice, or array.
2537
2538 Adapted from Go stdlib src/text/template/funcs.go.
2539
2540 We deviate from the stdlib mostly because of https://github.com/golang/go/issues/14751.
2541 Examples: []
2542 Intersect:
2543 Aliases:
2544 - intersect
2545 Args:
2546 - l1
2547 - l2
2548 Description: |-
2549 Intersect returns the common elements in the given sets, l1 and l2. l1 and
2550 l2 must be of the same type and may be either arrays or slices.
2551 Examples: []
2552 IsSet:
2553 Aliases:
2554 - isSet
2555 - isset
2556 Args:
2557 - c
2558 - key
2559 Description: |-
2560 IsSet returns whether a given array, channel, slice, or map in c has the given key
2561 defined.
2562 Examples: []
2563 KeyVals:
2564 Aliases:
2565 - keyVals
2566 Args:
2567 - key
2568 - values
2569 Description: KeyVals creates a key and values wrapper.
2570 Examples:
2571 - - '{{ keyVals "key" "a" "b" }}'
2572 - 'key: [a b]'
2573 Last:
2574 Aliases:
2575 - last
2576 Args:
2577 - limit
2578 - l
2579 Description: Last returns the last limit items in the list l.
2580 Examples: []
2581 Merge:
2582 Aliases:
2583 - merge
2584 Args:
2585 - params
2586 Description: |-
2587 Merge creates a copy of the final parameter in params and merges the preceding
2588 parameters into it in reverse order.
2589
2590 Currently only maps are supported. Key handling is case insensitive.
2591 Examples:
2592 - - '{{ dict "title" "Hugo Rocks!" | collections.Merge (dict "title" "Default Title" "description" "Yes, Hugo Rocks!") | sort }}'
2593 - '[Yes, Hugo Rocks! Hugo Rocks!]'
2594 - - '{{ merge (dict "title" "Default Title" "description" "Yes, Hugo Rocks!") (dict "title" "Hugo Rocks!") | sort }}'
2595 - '[Yes, Hugo Rocks! Hugo Rocks!]'
2596 - - '{{ merge (dict "title" "Default Title" "description" "Yes, Hugo Rocks!") (dict "title" "Hugo Rocks!") (dict "extra" "For reals!") | sort }}'
2597 - '[Yes, Hugo Rocks! For reals! Hugo Rocks!]'
2598 NewScratch:
2599 Aliases:
2600 - newScratch
2601 Args: null
2602 Description: |-
2603 NewScratch creates a new Scratch which can be used to store values in a
2604 thread safe way.
2605 Examples:
2606 - - '{{ $scratch := newScratch }}{{ $scratch.Add "b" 2 }}{{ $scratch.Add "b" 2 }}{{ $scratch.Get "b" }}'
2607 - '4'
2608 Querify:
2609 Aliases:
2610 - querify
2611 Args:
2612 - params
2613 Description: |-
2614 Querify returns a URL query string composed of the given key-value pairs,
2615 encoded and sorted by key.
2616 Examples:
2617 - - '{{ (querify "foo" 1 "bar" 2 "baz" "with spaces" "qux" "this&that=those") | safeHTML }}'
2618 - bar=2&baz=with+spaces&foo=1&qux=this%26that%3Dthose
2619 - - <a href="https://www.google.com?{{ (querify "q" "test" "page" 3) | safeURL }}">Search</a>
2620 - <a href="https://www.google.com?page=3&amp;q=test">Search</a>
2621 - - '{{ slice "foo" 1 "bar" 2 | querify | safeHTML }}'
2622 - bar=2&foo=1
2623 Reverse:
2624 Aliases: null
2625 Args:
2626 - l
2627 Description: Reverse creates a copy of the list l and reverses it.
2628 Examples: []
2629 Seq:
2630 Aliases:
2631 - seq
2632 Args:
2633 - args
2634 Description: |-
2635 Seq creates a sequence of integers from args. It's named and used as GNU's seq.
2636
2637 Examples:
2638
2639 3 => 1, 2, 3
2640 1 2 4 => 1, 3
2641 -3 => -1, -2, -3
2642 1 4 => 1, 2, 3, 4
2643 1 -2 => 1, 0, -1, -2
2644 Examples:
2645 - - '{{ seq 3 }}'
2646 - '[1 2 3]'
2647 Shuffle:
2648 Aliases:
2649 - shuffle
2650 Args:
2651 - l
2652 Description: Shuffle returns list l in a randomized order.
2653 Examples: []
2654 Slice:
2655 Aliases:
2656 - slice
2657 Args:
2658 - args
2659 Description: Slice returns a slice of all passed arguments.
2660 Examples:
2661 - - '{{ slice "B" "C" "A" | sort }}'
2662 - '[A B C]'
2663 Sort:
2664 Aliases:
2665 - sort
2666 Args:
2667 - ctx
2668 - l
2669 - args
2670 Description: Sort returns a sorted copy of the list l.
2671 Examples: []
2672 SymDiff:
2673 Aliases:
2674 - symdiff
2675 Args:
2676 - s2
2677 - s1
2678 Description: |-
2679 SymDiff returns the symmetric difference of s1 and s2.
2680 Arguments must be either a slice or an array of comparable types.
2681 Examples:
2682 - - '{{ slice 1 2 3 | symdiff (slice 3 4) }}'
2683 - '[1 2 4]'
2684 Union:
2685 Aliases:
2686 - union
2687 Args:
2688 - l1
2689 - l2
2690 Description: |-
2691 Union returns the union of the given sets, l1 and l2. l1 and
2692 l2 must be of the same type and may be either arrays or slices.
2693 If l1 and l2 aren't of the same type then l1 will be returned.
2694 If either l1 or l2 is nil then the non-nil list will be returned.
2695 Examples:
2696 - - '{{ union (slice 1 2 3) (slice 3 4 5) }}'
2697 - '[1 2 3 4 5]'
2698 Uniq:
2699 Aliases:
2700 - uniq
2701 Args:
2702 - l
2703 Description: Uniq returns a new list with duplicate elements in the list l removed.
2704 Examples:
2705 - - '{{ slice 1 2 3 2 | uniq }}'
2706 - '[1 2 3]'
2707 Where:
2708 Aliases:
2709 - where
2710 Args:
2711 - ctx
2712 - c
2713 - key
2714 - args
2715 Description: Where returns a filtered subset of collection c.
2716 Examples: []
2717 compare:
2718 Conditional:
2719 Aliases:
2720 - cond
2721 Args:
2722 - cond
2723 - v1
2724 - v2
2725 Description: |-
2726 Conditional can be used as a ternary operator.
2727
2728 It returns v1 if cond is true, else v2.
2729 Examples:
2730 - - '{{ cond (eq (add 2 2) 4) "2+2 is 4" "what?" | safeHTML }}'
2731 - 2+2 is 4
2732 Default:
2733 Aliases:
2734 - default
2735 Args:
2736 - defaultv
2737 - givenv
2738 Description: |-
2739 Default checks whether a givenv is set and returns the default value defaultv if it
2740 is not. "Set" in this context means non-zero for numeric types and times;
2741 non-zero length for strings, arrays, slices, and maps;
2742 any boolean or struct value; or non-nil for any other types.
2743 Examples:
2744 - - '{{ "Hugo Rocks!" | default "Hugo Rules!" }}'
2745 - Hugo Rocks!
2746 - - '{{ "" | default "Hugo Rules!" }}'
2747 - Hugo Rules!
2748 Eq:
2749 Aliases:
2750 - eq
2751 Args:
2752 - first
2753 - others
2754 Description: Eq returns the boolean truth of arg1 == arg2 || arg1 == arg3 || arg1 == arg4.
2755 Examples:
2756 - - '{{ if eq .Section "blog" }}current-section{{ end }}'
2757 - current-section
2758 Ge:
2759 Aliases:
2760 - ge
2761 Args:
2762 - first
2763 - others
2764 Description: Ge returns the boolean truth of arg1 >= arg2 && arg1 >= arg3 && arg1 >= arg4.
2765 Examples:
2766 - - '{{ if ge hugo.Version "0.80" }}Reasonable new Hugo version!{{ end }}'
2767 - Reasonable new Hugo version!
2768 Gt:
2769 Aliases:
2770 - gt
2771 Args:
2772 - first
2773 - others
2774 Description: Gt returns the boolean truth of arg1 > arg2 && arg1 > arg3 && arg1 > arg4.
2775 Examples: []
2776 Le:
2777 Aliases:
2778 - le
2779 Args:
2780 - first
2781 - others
2782 Description: Le returns the boolean truth of arg1 <= arg2 && arg1 <= arg3 && arg1 <= arg4.
2783 Examples: []
2784 Lt:
2785 Aliases:
2786 - lt
2787 Args:
2788 - first
2789 - others
2790 Description: Lt returns the boolean truth of arg1 < arg2 && arg1 < arg3 && arg1 < arg4.
2791 Examples: []
2792 LtCollate:
2793 Aliases: null
2794 Args:
2795 - collator
2796 - first
2797 - others
2798 Description: |-
2799 LtCollate returns the boolean truth of arg1 < arg2 && arg1 < arg3 && arg1 < arg4.
2800 The provided collator will be used for string comparisons.
2801 This is for internal use.
2802 Examples: []
2803 Ne:
2804 Aliases:
2805 - ne
2806 Args:
2807 - first
2808 - others
2809 Description: Ne returns the boolean truth of arg1 != arg2 && arg1 != arg3 && arg1 != arg4.
2810 Examples: []
2811 crypto:
2812 HMAC:
2813 Aliases:
2814 - hmac
2815 Args:
2816 - h
2817 - k
2818 - m
2819 - e
2820 Description: HMAC returns a cryptographic hash that uses a key to sign a message.
2821 Examples:
2822 - - '{{ hmac "sha256" "Secret key" "Hello world, gophers!" }}'
2823 - b6d11b6c53830b9d87036272ca9fe9d19306b8f9d8aa07b15da27d89e6e34f40
2824 MD5:
2825 Aliases:
2826 - md5
2827 Args:
2828 - v
2829 Description: MD5 hashes the v and returns its MD5 checksum.
2830 Examples:
2831 - - '{{ md5 "Hello world, gophers!" }}'
2832 - b3029f756f98f79e7f1b7f1d1f0dd53b
2833 - - '{{ crypto.MD5 "Hello world, gophers!" }}'
2834 - b3029f756f98f79e7f1b7f1d1f0dd53b
2835 SHA1:
2836 Aliases:
2837 - sha1
2838 Args:
2839 - v
2840 Description: SHA1 hashes v and returns its SHA1 checksum.
2841 Examples:
2842 - - '{{ sha1 "Hello world, gophers!" }}'
2843 - c8b5b0e33d408246e30f53e32b8f7627a7a649d4
2844 SHA256:
2845 Aliases:
2846 - sha256
2847 Args:
2848 - v
2849 Description: SHA256 hashes v and returns its SHA256 checksum.
2850 Examples:
2851 - - '{{ sha256 "Hello world, gophers!" }}'
2852 - 6ec43b78da9669f50e4e422575c54bf87536954ccd58280219c393f2ce352b46
2853 css:
2854 Build:
2855 Aliases: null
2856 Args:
2857 - args
2858 Description: |-
2859 Build processes the given CSS Resource with ESBuild.
2860 Note that this method is identical to the one in the js Namespace.
2861 Examples: []
2862 PostCSS:
2863 Aliases:
2864 - postCSS
2865 Args:
2866 - args
2867 Description: PostCSS processes the given Resource with PostCSS.
2868 Examples: []
2869 Quoted:
2870 Aliases: null
2871 Args:
2872 - v
2873 Description: Quoted returns a string that needs to be quoted in CSS.
2874 Examples: []
2875 Sass:
2876 Aliases:
2877 - toCSS
2878 Args:
2879 - args
2880 Description: Sass processes the given Resource with SASS.
2881 Examples: []
2882 TailwindCSS:
2883 Aliases: null
2884 Args:
2885 - args
2886 Description: TailwindCSS processes the given Resource with tailwindcss.
2887 Examples: []
2888 Unquoted:
2889 Aliases: null
2890 Args:
2891 - v
2892 Description: Unquoted returns a string that does not need to be quoted in CSS.
2893 Examples: []
2894 debug:
2895 Dump:
2896 Aliases: null
2897 Args:
2898 - val
2899 Description: |-
2900 Dump returns a object dump of val as a string.
2901 Note that not every value passed to Dump will print so nicely, but
2902 we'll improve on that.
2903
2904 We recommend using the "go" Chroma lexer to format the output
2905 nicely.
2906
2907 Also note that the output from Dump may change from Hugo version to the next,
2908 so don't depend on a specific output.
2909 Examples:
2910 - - '{{ $m := newScratch }}\n{{ $m.Set "Hugo" "Rocks!" }}\n{{ $m.Values | debug.Dump | safeHTML }}'
2911 - '{\n "Hugo": "Rocks!"\n}'
2912 TestDeprecationErr:
2913 Aliases: null
2914 Args:
2915 - item
2916 - alternative
2917 Description: Internal template func, used in tests only.
2918 Examples: []
2919 TestDeprecationInfo:
2920 Aliases: null
2921 Args:
2922 - item
2923 - alternative
2924 Description: Internal template func, used in tests only.
2925 Examples: []
2926 TestDeprecationWarn:
2927 Aliases: null
2928 Args:
2929 - item
2930 - alternative
2931 Description: Internal template func, used in tests only.
2932 Examples: []
2933 Timer:
2934 Aliases: null
2935 Args:
2936 - name
2937 Description: ''
2938 Examples: []
2939 VisualizeSpaces:
2940 Aliases: null
2941 Args:
2942 - val
2943 Description: VisualizeSpaces returns a string with spaces replaced by a visible string.
2944 Examples: []
2945 diagrams:
2946 Goat:
2947 Aliases: null
2948 Args:
2949 - v
2950 Description: Goat creates a new SVG diagram from input v.
2951 Examples: []
2952 encoding:
2953 Base64Decode:
2954 Aliases:
2955 - base64Decode
2956 Args:
2957 - content
2958 Description: Base64Decode returns the base64 decoding of the given content.
2959 Examples:
2960 - - '{{ "SGVsbG8gd29ybGQ=" | base64Decode }}'
2961 - Hello world
2962 - - '{{ 42 | base64Encode | base64Decode }}'
2963 - '42'
2964 Base64Encode:
2965 Aliases:
2966 - base64Encode
2967 Args:
2968 - content
2969 Description: Base64Encode returns the base64 encoding of the given content.
2970 Examples:
2971 - - '{{ "Hello world" | base64Encode }}'
2972 - SGVsbG8gd29ybGQ=
2973 Jsonify:
2974 Aliases:
2975 - jsonify
2976 Args:
2977 - args
2978 Description: |-
2979 Jsonify encodes a given object to JSON. To pretty print the JSON, pass a map
2980 or dictionary of options as the first value in args. Supported options are
2981 "prefix" and "indent". Each JSON element in the output will begin on a new
2982 line beginning with prefix followed by one or more copies of indent according
2983 to the indentation nesting.
2984 Examples:
2985 - - '{{ (slice "A" "B" "C") | jsonify }}'
2986 - '["A","B","C"]'
2987 - - '{{ (slice "A" "B" "C") | jsonify (dict "indent" " ") }}'
2988 - '[\n "A",\n "B",\n "C"\n]'
2989 fmt:
2990 Errorf:
2991 Aliases:
2992 - errorf
2993 Args:
2994 - format
2995 - args
2996 Description: |-
2997 Errorf formats args according to a format specifier and logs an ERROR.
2998 It returns an empty string.
2999 Examples:
3000 - - '{{ errorf "%s." "failed" }}'
3001 - ''
3002 Erroridf:
3003 Aliases:
3004 - erroridf
3005 Args:
3006 - id
3007 - format
3008 - args
3009 Description: |-
3010 Erroridf formats args according to a format specifier and logs an ERROR and
3011 an information text that the error with the given id can be suppressed in config.
3012 It returns an empty string.
3013 Examples:
3014 - - '{{ erroridf "my-err-id" "%s." "failed" }}'
3015 - ''
3016 Errormf:
3017 Aliases: null
3018 Args:
3019 - m
3020 - format
3021 - args
3022 Description: Errormf is experimental and subject to change at any time.
3023 Examples: []
3024 Print:
3025 Aliases:
3026 - print
3027 Args:
3028 - args
3029 Description: Print returns a string representation of args.
3030 Examples:
3031 - - '{{ print "works!" }}'
3032 - works!
3033 Printf:
3034 Aliases:
3035 - printf
3036 Args:
3037 - format
3038 - args
3039 Description: Printf returns string representation of args formatted with the layout in format.
3040 Examples:
3041 - - '{{ printf "%s!" "works" }}'
3042 - works!
3043 Println:
3044 Aliases:
3045 - println
3046 Args:
3047 - args
3048 Description: Println returns string representation of args ending with a newline.
3049 Examples:
3050 - - '{{ println "works!" }}'
3051 - |
3052 works!
3053 Warnf:
3054 Aliases:
3055 - warnf
3056 Args:
3057 - format
3058 - args
3059 Description: |-
3060 Warnf formats args according to a format specifier and logs a WARNING.
3061 It returns an empty string.
3062 Examples:
3063 - - '{{ warnf "%s." "warning" }}'
3064 - ''
3065 Warnidf:
3066 Aliases:
3067 - warnidf
3068 Args:
3069 - id
3070 - format
3071 - args
3072 Description: |-
3073 Warnidf formats args according to a format specifier and logs an WARNING and
3074 an information text that the warning with the given id can be suppressed in config.
3075 It returns an empty string.
3076 Examples:
3077 - - '{{ warnidf "my-warn-id" "%s." "warning" }}'
3078 - ''
3079 Warnmf:
3080 Aliases: null
3081 Args:
3082 - m
3083 - format
3084 - args
3085 Description: Warnmf is experimental and subject to change at any time.
3086 Examples: []
3087 hash:
3088 FNV32a:
3089 Aliases: null
3090 Args:
3091 - v
3092 Description: FNV32a hashes v using fnv32a algorithm.
3093 Examples:
3094 - - '{{ hash.FNV32a "Hugo Rocks!!" }}'
3095 - '1515779328'
3096 XxHash:
3097 Aliases:
3098 - xxhash
3099 Args:
3100 - v
3101 Description: XxHash returns the xxHash of the input string.
3102 Examples:
3103 - - '{{ hash.XxHash "The quick brown fox jumps over the lazy dog" }}'
3104 - 0b242d361fda71bc
3105 hugo:
3106 Data:
3107 Aliases: null
3108 Args: null
3109 Description: ''
3110 Examples: null
3111 Deps:
3112 Aliases: null
3113 Args: null
3114 Description: ''
3115 Examples: null
3116 Environment:
3117 Aliases: null
3118 Args: null
3119 Description: ''
3120 Examples: null
3121 ForEeachIdentityByName:
3122 Aliases: null
3123 Args: null
3124 Description: ''
3125 Examples: null
3126 Generator:
3127 Aliases: null
3128 Args: null
3129 Description: ''
3130 Examples: null
3131 IsDevelopment:
3132 Aliases: null
3133 Args: null
3134 Description: ''
3135 Examples: null
3136 IsExtended:
3137 Aliases: null
3138 Args: null
3139 Description: ''
3140 Examples: null
3141 IsMultiHost:
3142 Aliases: null
3143 Args: null
3144 Description: ''
3145 Examples: null
3146 IsMultihost:
3147 Aliases: null
3148 Args: null
3149 Description: ''
3150 Examples: null
3151 IsMultilingual:
3152 Aliases: null
3153 Args: null
3154 Description: ''
3155 Examples: null
3156 IsProduction:
3157 Aliases: null
3158 Args: null
3159 Description: ''
3160 Examples: null
3161 IsServer:
3162 Aliases: null
3163 Args: null
3164 Description: ''
3165 Examples: null
3166 Sites:
3167 Aliases: null
3168 Args: null
3169 Description: ''
3170 Examples: null
3171 Store:
3172 Aliases: null
3173 Args: null
3174 Description: ''
3175 Examples: null
3176 Version:
3177 Aliases: null
3178 Args: null
3179 Description: ''
3180 Examples: null
3181 WorkingDir:
3182 Aliases: null
3183 Args: null
3184 Description: ''
3185 Examples: null
3186 images:
3187 AutoOrient:
3188 Aliases: null
3189 Args: null
3190 Description: ''
3191 Examples: null
3192 Brightness:
3193 Aliases: null
3194 Args: null
3195 Description: ''
3196 Examples: null
3197 ColorBalance:
3198 Aliases: null
3199 Args: null
3200 Description: ''
3201 Examples: null
3202 Colorize:
3203 Aliases: null
3204 Args: null
3205 Description: ''
3206 Examples: null
3207 Config:
3208 Aliases:
3209 - imageConfig
3210 Args:
3211 - path
3212 Description: |-
3213 Config returns the image.Config for the specified path relative to the
3214 working directory.
3215 Examples: []
3216 Contrast:
3217 Aliases: null
3218 Args: null
3219 Description: ''
3220 Examples: null
3221 Dither:
3222 Aliases: null
3223 Args: null
3224 Description: ''
3225 Examples: null
3226 Filter:
3227 Aliases: null
3228 Args:
3229 - args
3230 Description: Filter applies the given filters to the image given as the last element in args.
3231 Examples: []
3232 Gamma:
3233 Aliases: null
3234 Args: null
3235 Description: ''
3236 Examples: null
3237 GaussianBlur:
3238 Aliases: null
3239 Args: null
3240 Description: ''
3241 Examples: null
3242 Grayscale:
3243 Aliases: null
3244 Args: null
3245 Description: ''
3246 Examples: null
3247 Hue:
3248 Aliases: null
3249 Args: null
3250 Description: ''
3251 Examples: null
3252 Invert:
3253 Aliases: null
3254 Args: null
3255 Description: ''
3256 Examples: null
3257 Mask:
3258 Aliases: null
3259 Args: null
3260 Description: ''
3261 Examples: null
3262 Opacity:
3263 Aliases: null
3264 Args: null
3265 Description: ''
3266 Examples: null
3267 Overlay:
3268 Aliases: null
3269 Args: null
3270 Description: ''
3271 Examples: null
3272 Padding:
3273 Aliases: null
3274 Args: null
3275 Description: ''
3276 Examples: null
3277 Pixelate:
3278 Aliases: null
3279 Args: null
3280 Description: ''
3281 Examples: null
3282 Process:
3283 Aliases: null
3284 Args: null
3285 Description: ''
3286 Examples: null
3287 QR:
3288 Aliases: null
3289 Args:
3290 - args
3291 Description: |-
3292 QR encodes the given text into a QR code using the specified options,
3293 returning an image resource.
3294 Examples: []
3295 Saturation:
3296 Aliases: null
3297 Args: null
3298 Description: ''
3299 Examples: null
3300 Sepia:
3301 Aliases: null
3302 Args: null
3303 Description: ''
3304 Examples: null
3305 Sigmoid:
3306 Aliases: null
3307 Args: null
3308 Description: ''
3309 Examples: null
3310 Text:
3311 Aliases: null
3312 Args: null
3313 Description: ''
3314 Examples: null
3315 UnsharpMask:
3316 Aliases: null
3317 Args: null
3318 Description: ''
3319 Examples: null
3320 inflect:
3321 Humanize:
3322 Aliases:
3323 - humanize
3324 Args:
3325 - v
3326 Description: |-
3327 Humanize returns the humanized form of v.
3328
3329 If v is either an integer or a string containing an integer
3330 value, the behavior is to add the appropriate ordinal.
3331 Examples:
3332 - - '{{ humanize "my-first-post" }}'
3333 - My first post
3334 - - '{{ humanize "myCamelPost" }}'
3335 - My camel post
3336 - - '{{ humanize "52" }}'
3337 - 52nd
3338 - - '{{ humanize 103 }}'
3339 - 103rd
3340 Pluralize:
3341 Aliases:
3342 - pluralize
3343 Args:
3344 - v
3345 Description: Pluralize returns the plural form of the single word in v.
3346 Examples:
3347 - - '{{ "cat" | pluralize }}'
3348 - cats
3349 Singularize:
3350 Aliases:
3351 - singularize
3352 Args:
3353 - v
3354 Description: Singularize returns the singular form of a single word in v.
3355 Examples:
3356 - - '{{ "cats" | singularize }}'
3357 - cat
3358 js:
3359 Babel:
3360 Aliases:
3361 - babel
3362 Args:
3363 - args
3364 Description: Babel processes the given Resource with Babel.
3365 Examples: []
3366 Batch:
3367 Aliases: null
3368 Args:
3369 - id
3370 Description: |-
3371 Batch creates a new Batcher with the given ID.
3372 Repeated calls with the same ID will return the same Batcher.
3373 The ID will be used to name the root directory of the batch.
3374 Forward slashes in the ID is allowed.
3375 Examples: []
3376 Build:
3377 Aliases: null
3378 Args:
3379 - args
3380 Description: Build processes the given JavaScript Resource with ESBuild.
3381 Examples: []
3382 lang:
3383 FormatAccounting:
3384 Aliases: null
3385 Args:
3386 - precision
3387 - currency
3388 - number
3389 Description: |-
3390 FormatAccounting returns the currency representation of number for the given currency and precision
3391 for the current language in accounting notation.
3392
3393 The return value is formatted with at least two decimal places.
3394 Examples:
3395 - - '{{ 512.5032 | lang.FormatAccounting 2 "NOK" }}'
3396 - NOK512.50
3397 FormatCurrency:
3398 Aliases: null
3399 Args:
3400 - precision
3401 - currency
3402 - number
3403 Description: |-
3404 FormatCurrency returns the currency representation of number for the given currency and precision
3405 for the current language.
3406
3407 The return value is formatted with at least two decimal places.
3408 Examples:
3409 - - '{{ 512.5032 | lang.FormatCurrency 2 "USD" }}'
3410 - $512.50
3411 FormatNumber:
3412 Aliases: null
3413 Args:
3414 - precision
3415 - number
3416 Description: FormatNumber formats number with the given precision for the current language.
3417 Examples:
3418 - - '{{ 512.5032 | lang.FormatNumber 2 }}'
3419 - '512.50'
3420 FormatNumberCustom:
3421 Aliases: null
3422 Args:
3423 - precision
3424 - number
3425 - options
3426 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.'
3427 Examples:
3428 - - '{{ lang.FormatNumberCustom 2 12345.6789 }}'
3429 - 12,345.68
3430 - - '{{ lang.FormatNumberCustom 2 12345.6789 "- , ." }}'
3431 - 12.345,68
3432 - - '{{ lang.FormatNumberCustom 6 -12345.6789 "- ." }}'
3433 - '-12345.678900'
3434 - - '{{ lang.FormatNumberCustom 0 -12345.6789 "- . ," }}'
3435 - -12,346
3436 - - '{{ lang.FormatNumberCustom 0 -12345.6789 "-|.| " "|" }}'
3437 - -12 346
3438 - - '{{ -98765.4321 | lang.FormatNumberCustom 2 }}'
3439 - -98,765.43
3440 FormatPercent:
3441 Aliases: null
3442 Args:
3443 - precision
3444 - number
3445 Description: |-
3446 FormatPercent formats number with the given precision for the current language.
3447 Note that the number is assumed to be a percentage.
3448 Examples:
3449 - - '{{ 512.5032 | lang.FormatPercent 2 }}'
3450 - 512.50%
3451 Merge:
3452 Aliases: null
3453 Args:
3454 - p2
3455 - p1
3456 Description: Merge creates a union of pages from two languages.
3457 Examples: []
3458 Translate:
3459 Aliases:
3460 - i18n
3461 - T
3462 Args:
3463 - ctx
3464 - id
3465 - args
3466 Description: Translate returns a translated string for id.
3467 Examples: []
3468 math:
3469 Abs:
3470 Aliases: null
3471 Args:
3472 - 'n'
3473 Description: Abs returns the absolute value of n.
3474 Examples:
3475 - - '{{ math.Abs -2.1 }}'
3476 - '2.1'
3477 Acos:
3478 Aliases: null
3479 Args:
3480 - 'n'
3481 Description: Acos returns the arccosine, in radians, of n.
3482 Examples:
3483 - - '{{ math.Acos 1 }}'
3484 - '0'
3485 Add:
3486 Aliases:
3487 - add
3488 Args:
3489 - inputs
3490 Description: Add adds the multivalued addends n1 and n2 or more values.
3491 Examples:
3492 - - '{{ add 1 2 }}'
3493 - '3'
3494 Asin:
3495 Aliases: null
3496 Args:
3497 - 'n'
3498 Description: Asin returns the arcsine, in radians, of n.
3499 Examples:
3500 - - '{{ math.Asin 1 }}'
3501 - '1.5707963267948966'
3502 Atan:
3503 Aliases: null
3504 Args:
3505 - 'n'
3506 Description: Atan returns the arctangent, in radians, of n.
3507 Examples:
3508 - - '{{ math.Atan 1 }}'
3509 - '0.7853981633974483'
3510 Atan2:
3511 Aliases: null
3512 Args:
3513 - 'n'
3514 - m
3515 Description: Atan2 returns the arc tangent of n/m, using the signs of the two to determine the quadrant of the return value.
3516 Examples:
3517 - - '{{ math.Atan2 1 2 }}'
3518 - '0.4636476090008061'
3519 Ceil:
3520 Aliases: null
3521 Args:
3522 - 'n'
3523 Description: Ceil returns the least integer value greater than or equal to n.
3524 Examples:
3525 - - '{{ math.Ceil 2.1 }}'
3526 - '3'
3527 Cos:
3528 Aliases: null
3529 Args:
3530 - 'n'
3531 Description: Cos returns the cosine of the radian argument n.
3532 Examples:
3533 - - '{{ math.Cos 1 }}'
3534 - '0.5403023058681398'
3535 Counter:
3536 Aliases: null
3537 Args: null
3538 Description: 'Counter increments and returns a global counter.\nThis was originally added to be used in tests where now.UnixNano did not\nhave the needed precision (especially on Windows).\nNote that given the parallel nature of Hugo, you cannot use this to get sequences of numbers,\nand the counter will reset on new builds.\n<docsmeta>{"identifiers": ["now.UnixNano"] }</docsmeta>'
3539 Examples: []
3540 Div:
3541 Aliases:
3542 - div
3543 Args:
3544 - inputs
3545 Description: Div divides n1 by n2.
3546 Examples:
3547 - - '{{ div 6 3 }}'
3548 - '2'
3549 Floor:
3550 Aliases: null
3551 Args:
3552 - 'n'
3553 Description: Floor returns the greatest integer value less than or equal to n.
3554 Examples:
3555 - - '{{ math.Floor 1.9 }}'
3556 - '1'
3557 Log:
3558 Aliases: null
3559 Args:
3560 - 'n'
3561 Description: Log returns the natural logarithm of the number n.
3562 Examples:
3563 - - '{{ math.Log 1 }}'
3564 - '0'
3565 Max:
3566 Aliases: null
3567 Args:
3568 - inputs
3569 Description: Max returns the greater of all numbers in inputs. Any slices in inputs are flattened.
3570 Examples:
3571 - - '{{ math.Max 1 2 }}'
3572 - '2'
3573 MaxInt64:
3574 Aliases: null
3575 Args: null
3576 Description: MaxInt64 returns the maximum value for a signed 64-bit integer.
3577 Examples:
3578 - - '{{ math.MaxInt64 }}'
3579 - '9223372036854775807'
3580 Min:
3581 Aliases: null
3582 Args:
3583 - inputs
3584 Description: Min returns the smaller of all numbers in inputs. Any slices in inputs are flattened.
3585 Examples:
3586 - - '{{ math.Min 1 2 }}'
3587 - '1'
3588 Mod:
3589 Aliases:
3590 - mod
3591 Args:
3592 - n1
3593 - n2
3594 Description: Mod returns n1 % n2.
3595 Examples:
3596 - - '{{ mod 15 3 }}'
3597 - '0'
3598 ModBool:
3599 Aliases:
3600 - modBool
3601 Args:
3602 - n1
3603 - n2
3604 Description: ModBool returns the boolean of n1 % n2. If n1 % n2 == 0, return true.
3605 Examples:
3606 - - '{{ modBool 15 3 }}'
3607 - 'true'
3608 Mul:
3609 Aliases:
3610 - mul
3611 Args:
3612 - inputs
3613 Description: Mul multiplies the multivalued numbers n1 and n2 or more values.
3614 Examples:
3615 - - '{{ mul 2 3 }}'
3616 - '6'
3617 Pi:
3618 Aliases: null
3619 Args: null
3620 Description: Pi returns the mathematical constant pi.
3621 Examples:
3622 - - '{{ math.Pi }}'
3623 - '3.141592653589793'
3624 Pow:
3625 Aliases:
3626 - pow
3627 Args:
3628 - n1
3629 - n2
3630 Description: Pow returns n1 raised to the power of n2.
3631 Examples:
3632 - - '{{ math.Pow 2 3 }}'
3633 - '8'
3634 Product:
3635 Aliases: null
3636 Args:
3637 - inputs
3638 Description: Product returns the product of all numbers in inputs. Any slices in inputs are flattened.
3639 Examples: []
3640 Rand:
3641 Aliases: null
3642 Args: null
3643 Description: Rand returns, as a float64, a pseudo-random number in the half-open interval [0.0,1.0).
3644 Examples:
3645 - - '{{ math.Rand }}'
3646 - '0.6312770459590062'
3647 Round:
3648 Aliases: null
3649 Args:
3650 - 'n'
3651 Description: Round returns the integer nearest to n, rounding half away from zero.
3652 Examples:
3653 - - '{{ math.Round 1.5 }}'
3654 - '2'
3655 Sin:
3656 Aliases: null
3657 Args:
3658 - 'n'
3659 Description: Sin returns the sine of the radian argument n.
3660 Examples:
3661 - - '{{ math.Sin 1 }}'
3662 - '0.8414709848078965'
3663 Sqrt:
3664 Aliases: null
3665 Args:
3666 - 'n'
3667 Description: Sqrt returns the square root of the number n.
3668 Examples:
3669 - - '{{ math.Sqrt 81 }}'
3670 - '9'
3671 Sub:
3672 Aliases:
3673 - sub
3674 Args:
3675 - inputs
3676 Description: Sub subtracts multivalued.
3677 Examples:
3678 - - '{{ sub 3 2 }}'
3679 - '1'
3680 Sum:
3681 Aliases: null
3682 Args:
3683 - inputs
3684 Description: Sum returns the sum of all numbers in inputs. Any slices in inputs are flattened.
3685 Examples: []
3686 Tan:
3687 Aliases: null
3688 Args:
3689 - 'n'
3690 Description: Tan returns the tangent of the radian argument n.
3691 Examples:
3692 - - '{{ math.Tan 1 }}'
3693 - '1.557407724654902'
3694 ToDegrees:
3695 Aliases: null
3696 Args:
3697 - 'n'
3698 Description: ToDegrees converts radians into degrees.
3699 Examples:
3700 - - '{{ math.ToDegrees 1.5707963267948966 }}'
3701 - '90'
3702 ToRadians:
3703 Aliases: null
3704 Args:
3705 - 'n'
3706 Description: ToRadians converts degrees into radians.
3707 Examples:
3708 - - '{{ math.ToRadians 90 }}'
3709 - '1.5707963267948966'
3710 openapi3:
3711 Unmarshal:
3712 Aliases: null
3713 Args: null
3714 Description: ''
3715 Examples: []
3716 os:
3717 FileExists:
3718 Aliases:
3719 - fileExists
3720 Args:
3721 - i
3722 Description: FileExists checks whether a file exists under the given path.
3723 Examples:
3724 - - '{{ fileExists "foo.txt" }}'
3725 - 'false'
3726 Getenv:
3727 Aliases:
3728 - getenv
3729 Args:
3730 - key
3731 Description: |-
3732 Getenv retrieves the value of the environment variable named by the key.
3733 It returns the value, which will be empty if the variable is not present.
3734 Examples: []
3735 ReadDir:
3736 Aliases:
3737 - readDir
3738 Args:
3739 - i
3740 Description: ReadDir lists the directory contents relative to the configured WorkingDir.
3741 Examples:
3742 - - '{{ range (readDir "files") }}{{ .Name }}{{ end }}'
3743 - README.txt
3744 ReadFile:
3745 Aliases:
3746 - readFile
3747 Args:
3748 - i
3749 Description: |-
3750 ReadFile reads the file named by filename relative to the configured WorkingDir.
3751 It returns the contents as a string.
3752 There is an upper size limit set at 1 megabytes.
3753 Examples:
3754 - - '{{ readFile "files/README.txt" }}'
3755 - Hugo Rocks!
3756 Stat:
3757 Aliases: null
3758 Args:
3759 - i
3760 Description: Stat returns the os.FileInfo structure describing file.
3761 Examples: []
3762 partials:
3763 Include:
3764 Aliases:
3765 - partial
3766 Args:
3767 - ctx
3768 - name
3769 - contextList
3770 Description: |-
3771 Include executes the named partial.
3772 If the partial contains a return statement, that value will be returned.
3773 Else, the rendered output will be returned:
3774 A string if the partial is a text/template, or template.HTML when html/template.
3775 Note that ctx is provided by Hugo, not the end user.
3776 Examples:
3777 - - '{{ partial "header.html" . }}'
3778 - <title>Hugo Rocks!</title>
3779 IncludeCached:
3780 Aliases:
3781 - partialCached
3782 Args:
3783 - ctx
3784 - name
3785 - context
3786 - variants
3787 Description: |-
3788 IncludeCached executes and caches partial templates. The cache is created with name+variants as the key.
3789 Note that ctx is provided by Hugo, not the end user.
3790 Examples: []
3791 path:
3792 Base:
3793 Aliases: null
3794 Args:
3795 - path
3796 Description: |-
3797 Base returns the last element of path.
3798 Trailing slashes are removed before extracting the last element.
3799 If the path is empty, Base returns ".".
3800 If the path consists entirely of slashes, Base returns "/".
3801 The input path is passed into filepath.ToSlash converting any Windows slashes
3802 to forward slashes.
3803 Examples: []
3804 BaseName:
3805 Aliases: null
3806 Args:
3807 - path
3808 Description: |-
3809 BaseName returns the last element of path, removing the extension if present.
3810 Trailing slashes are removed before extracting the last element.
3811 If the path is empty, Base returns ".".
3812 If the path consists entirely of slashes, Base returns "/".
3813 The input path is passed into filepath.ToSlash converting any Windows slashes
3814 to forward slashes.
3815 Examples: []
3816 Clean:
3817 Aliases: null
3818 Args:
3819 - path
3820 Description: |-
3821 Clean replaces the separators used with standard slashes and then
3822 extraneous slashes are removed.
3823 Examples: []
3824 Dir:
3825 Aliases: null
3826 Args:
3827 - path
3828 Description: |-
3829 Dir returns all but the last element of path, typically the path's directory.
3830 After dropping the final element using Split, the path is Cleaned and trailing
3831 slashes are removed.
3832 If the path is empty, Dir returns ".".
3833 If the path consists entirely of slashes followed by non-slash bytes, Dir
3834 returns a single slash. In any other case, the returned path does not end in a
3835 slash.
3836 The input path is passed into filepath.ToSlash converting any Windows slashes
3837 to forward slashes.
3838 Examples: []
3839 Ext:
3840 Aliases: null
3841 Args:
3842 - path
3843 Description: |-
3844 Ext returns the file name extension used by path.
3845 The extension is the suffix beginning at the final dot
3846 in the final slash-separated element of path;
3847 it is empty if there is no dot.
3848 The input path is passed into filepath.ToSlash converting any Windows slashes
3849 to forward slashes.
3850 Examples: []
3851 Join:
3852 Aliases: null
3853 Args:
3854 - elements
3855 Description: |-
3856 Join joins any number of path elements into a single path, adding a
3857 separating slash if necessary. All the input
3858 path elements are passed into filepath.ToSlash converting any Windows slashes
3859 to forward slashes.
3860 The result is Cleaned; in particular,
3861 all empty strings are ignored.
3862 Examples:
3863 - - '{{ slice "my/path" "filename.txt" | path.Join }}'
3864 - my/path/filename.txt
3865 - - '{{ path.Join "my" "path" "filename.txt" }}'
3866 - my/path/filename.txt
3867 - - '{{ "my/path/filename.txt" | path.Ext }}'
3868 - .txt
3869 - - '{{ "my/path/filename.txt" | path.Base }}'
3870 - filename.txt
3871 - - '{{ "my/path/filename.txt" | path.Dir }}'
3872 - my/path
3873 Split:
3874 Aliases: null
3875 Args:
3876 - path
3877 Description: |-
3878 Split splits path immediately following the final slash,
3879 separating it into a directory and file name component.
3880 If there is no slash in path, Split returns an empty dir and
3881 file set to path.
3882 The input path is passed into filepath.ToSlash converting any Windows slashes
3883 to forward slashes.
3884 The returned values have the property that path = dir+file.
3885 Examples:
3886 - - '{{ "/my/path/filename.txt" | path.Split }}'
3887 - /my/path/|filename.txt
3888 - - '{{ "/my/path/filename.txt" | path.Split }}'
3889 - /my/path/|filename.txt
3890 reflect:
3891 IsImageResource:
3892 Aliases: null
3893 Args: null
3894 Description: ''
3895 Examples: null
3896 IsImageResourceProcessable:
3897 Aliases: null
3898 Args: null
3899 Description: ''
3900 Examples: null
3901 IsImageResourceWithMeta:
3902 Aliases: null
3903 Args: null
3904 Description: ''
3905 Examples: null
3906 IsMap:
3907 Aliases: null
3908 Args:
3909 - v
3910 Description: IsMap reports whether v is a map.
3911 Examples:
3912 - - '{{ if reflect.IsMap (dict "a" 1) }}Map{{ end }}'
3913 - Map
3914 IsPage:
3915 Aliases: null
3916 Args: null
3917 Description: ''
3918 Examples: null
3919 IsResource:
3920 Aliases: null
3921 Args: null
3922 Description: ''
3923 Examples: null
3924 IsSite:
3925 Aliases: null
3926 Args: null
3927 Description: ''
3928 Examples: null
3929 IsSlice:
3930 Aliases: null
3931 Args:
3932 - v
3933 Description: IsSlice reports whether v is a slice.
3934 Examples:
3935 - - '{{ if reflect.IsSlice (slice 1 2 3) }}Slice{{ end }}'
3936 - Slice
3937 resources:
3938 ByType:
3939 Aliases: null
3940 Args:
3941 - typ
3942 Description: ByType returns resources of a given resource type (e.g. "image").
3943 Examples: []
3944 Concat:
3945 Aliases: null
3946 Args:
3947 - targetPathIn
3948 - r
3949 Description: |-
3950 Concat concatenates a slice of Resource objects. These resources must
3951 (currently) be of the same Media Type.
3952 Examples: []
3953 Copy:
3954 Aliases: null
3955 Args:
3956 - s
3957 - r
3958 Description: Copy copies r to the new targetPath in s.
3959 Examples: []
3960 ExecuteAsTemplate:
3961 Aliases: null
3962 Args:
3963 - ctx
3964 - args
3965 Description: |-
3966 ExecuteAsTemplate creates a Resource from a Go template, parsed and executed with
3967 the given data, and published to the relative target path.
3968 Examples: []
3969 Fingerprint:
3970 Aliases:
3971 - fingerprint
3972 Args:
3973 - args
3974 Description: |-
3975 Fingerprint transforms the given Resource with a MD5 hash of the content in
3976 the RelPermalink and Permalink.
3977 Examples: []
3978 FromString:
3979 Aliases: null
3980 Args:
3981 - targetPathIn
3982 - contentIn
3983 Description: FromString creates a Resource from a string published to the relative target path.
3984 Examples: []
3985 Get:
3986 Aliases: null
3987 Args:
3988 - filename
3989 Description: |-
3990 Get locates the filename given in Hugo's assets filesystem
3991 and creates a Resource object that can be used for further transformations.
3992 Examples: []
3993 GetMatch:
3994 Aliases: null
3995 Args: null
3996 Description: ''
3997 Examples: null
3998 GetRemote:
3999 Aliases: null
4000 Args:
4001 - args
4002 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.'
4003 Examples: []
4004 Match:
4005 Aliases: null
4006 Args:
4007 - pattern
4008 Description: |-
4009 Match gets all resources matching the given base path prefix, e.g
4010 "*.png" will match all png files. The "*" does not match path delimiters (/),
4011 so if you organize your resources in sub-folders, you need to be explicit about it, e.g.:
4012 "images/*.png". To match any PNG image anywhere in the bundle you can do "**.png", and
4013 to match all PNG images below the images folder, use "images/**.jpg".
4014
4015 The matching is case insensitive.
4016
4017 Match matches by using the files name with path relative to the file system root
4018 with Unix style slashes (/) and no leading slash, e.g. "images/logo.png".
4019
4020 See https://github.com/gobwas/glob for the full rules set.
4021
4022 It looks for files in the assets file system.
4023
4024 See Match for a more complete explanation about the rules used.
4025 Examples: []
4026 Minify:
4027 Aliases:
4028 - minify
4029 Args:
4030 - r
4031 Description: |-
4032 Minify minifies the given Resource using the MediaType to pick the correct
4033 minifier.
4034 Examples: []
4035 PostProcess:
4036 Aliases: null
4037 Args:
4038 - r
4039 Description: PostProcess processes r after the build.
4040 Examples: []
4041 safe:
4042 CSS:
4043 Aliases:
4044 - safeCSS
4045 Args:
4046 - s
4047 Description: CSS returns the string s as html/template CSS content.
4048 Examples:
4049 - - '{{ "Bat&Man" | safeCSS | safeCSS }}'
4050 - Bat&amp;Man
4051 HTML:
4052 Aliases:
4053 - safeHTML
4054 Args:
4055 - s
4056 Description: HTML returns the string s as html/template HTML content.
4057 Examples:
4058 - - '{{ "Bat&Man" | safeHTML | safeHTML }}'
4059 - Bat&Man
4060 - - '{{ "Bat&Man" | safeHTML }}'
4061 - Bat&Man
4062 HTMLAttr:
4063 Aliases:
4064 - safeHTMLAttr
4065 Args:
4066 - s
4067 Description: HTMLAttr returns the string s as html/template HTMLAttr content.
4068 Examples: []
4069 JS:
4070 Aliases:
4071 - safeJS
4072 Args:
4073 - s
4074 Description: JS returns the given string as a html/template JS content.
4075 Examples:
4076 - - '{{ "(1*2)" | safeJS | safeJS }}'
4077 - (1*2)
4078 JSStr:
4079 Aliases:
4080 - safeJSStr
4081 Args:
4082 - s
4083 Description: JSStr returns the given string as a html/template JSStr content.
4084 Examples: []
4085 URL:
4086 Aliases:
4087 - safeURL
4088 Args:
4089 - s
4090 Description: URL returns the string s as html/template URL content.
4091 Examples:
4092 - - '{{ "http://gohugo.io" | safeURL | safeURL }}'
4093 - http://gohugo.io
4094 site:
4095 AllPages:
4096 Aliases: null
4097 Args: null
4098 Description: ''
4099 Examples: null
4100 BaseURL:
4101 Aliases: null
4102 Args: null
4103 Description: ''
4104 Examples: null
4105 BuildDrafts:
4106 Aliases: null
4107 Args: null
4108 Description: ''
4109 Examples: null
4110 CheckReady:
4111 Aliases: null
4112 Args: null
4113 Description: ''
4114 Examples: null
4115 Config:
4116 Aliases: null
4117 Args: null
4118 Description: ''
4119 Examples: null
4120 Copyright:
4121 Aliases: null
4122 Args: null
4123 Description: ''
4124 Examples: null
4125 Current:
4126 Aliases: null
4127 Args: null
4128 Description: ''
4129 Examples: null
4130 Data:
4131 Aliases: null
4132 Args: null
4133 Description: ''
4134 Examples: null
4135 Dimension:
4136 Aliases: null
4137 Args: null
4138 Description: ''
4139 Examples: null
4140 ForEeachIdentityByName:
4141 Aliases: null
4142 Args: null
4143 Description: ''
4144 Examples: null
4145 GetPage:
4146 Aliases: null
4147 Args: null
4148 Description: ''
4149 Examples: null
4150 Home:
4151 Aliases: null
4152 Args: null
4153 Description: ''
4154 Examples: null
4155 Hugo:
4156 Aliases: null
4157 Args: null
4158 Description: ''
4159 Examples: null
4160 IsDefault:
4161 Aliases: null
4162 Args: null
4163 Description: ''
4164 Examples: null
4165 Key:
4166 Aliases: null
4167 Args: null
4168 Description: ''
4169 Examples: null
4170 Language:
4171 Aliases: null
4172 Args: null
4173 Description: ''
4174 Examples: null
4175 LanguageCode:
4176 Aliases: null
4177 Args: null
4178 Description: ''
4179 Examples: null
4180 LanguagePrefix:
4181 Aliases: null
4182 Args: null
4183 Description: ''
4184 Examples: null
4185 Languages:
4186 Aliases: null
4187 Args: null
4188 Description: ''
4189 Examples: null
4190 Lastmod:
4191 Aliases: null
4192 Args: null
4193 Description: ''
4194 Examples: null
4195 MainSections:
4196 Aliases: null
4197 Args: null
4198 Description: ''
4199 Examples: null
4200 Menus:
4201 Aliases: null
4202 Args: null
4203 Description: ''
4204 Examples: null
4205 Pages:
4206 Aliases: null
4207 Args: null
4208 Description: ''
4209 Examples: null
4210 Param:
4211 Aliases: null
4212 Args: null
4213 Description: ''
4214 Examples: null
4215 Params:
4216 Aliases: null
4217 Args: null
4218 Description: ''
4219 Examples: null
4220 RegularPages:
4221 Aliases: null
4222 Args: null
4223 Description: ''
4224 Examples: null
4225 Role:
4226 Aliases: null
4227 Args: null
4228 Description: ''
4229 Examples: null
4230 Sections:
4231 Aliases: null
4232 Args: null
4233 Description: ''
4234 Examples: null
4235 ServerPort:
4236 Aliases: null
4237 Args: null
4238 Description: ''
4239 Examples: null
4240 Sites:
4241 Aliases: null
4242 Args: null
4243 Description: ''
4244 Examples: null
4245 Store:
4246 Aliases: null
4247 Args: null
4248 Description: ''
4249 Examples: null
4250 String:
4251 Aliases: null
4252 Args: null
4253 Description: ''
4254 Examples: null
4255 Taxonomies:
4256 Aliases: null
4257 Args: null
4258 Description: ''
4259 Examples: null
4260 Title:
4261 Aliases: null
4262 Args: null
4263 Description: ''
4264 Examples: null
4265 Version:
4266 Aliases: null
4267 Args: null
4268 Description: ''
4269 Examples: null
4270 strings:
4271 Chomp:
4272 Aliases:
4273 - chomp
4274 Args:
4275 - s
4276 Description: Chomp returns a copy of s with all trailing newline characters removed.
4277 Examples:
4278 - - '{{ chomp "<p>Blockhead</p>\n" | safeHTML }}'
4279 - <p>Blockhead</p>
4280 Contains:
4281 Aliases: null
4282 Args:
4283 - s
4284 - substr
4285 Description: Contains reports whether substr is in s.
4286 Examples:
4287 - - '{{ strings.Contains "abc" "b" }}'
4288 - 'true'
4289 - - '{{ strings.Contains "abc" "d" }}'
4290 - 'false'
4291 ContainsAny:
4292 Aliases: null
4293 Args:
4294 - s
4295 - chars
4296 Description: ContainsAny reports whether any Unicode code points in chars are within s.
4297 Examples:
4298 - - '{{ strings.ContainsAny "abc" "bcd" }}'
4299 - 'true'
4300 - - '{{ strings.ContainsAny "abc" "def" }}'
4301 - 'false'
4302 ContainsNonSpace:
4303 Aliases: null
4304 Args:
4305 - s
4306 Description: 'ContainsNonSpace reports whether s contains any non-space characters as defined\nby Unicode''s White Space property,\n<docsmeta>{"newIn": "0.111.0" }</docsmeta>'
4307 Examples: []
4308 Count:
4309 Aliases: null
4310 Args:
4311 - substr
4312 - s
4313 Description: |-
4314 Count counts the number of non-overlapping instances of substr in s.
4315 If substr is an empty string, Count returns 1 + the number of Unicode code points in s.
4316 Examples:
4317 - - '{{ "aabab" | strings.Count "a" }}'
4318 - '3'
4319 CountRunes:
4320 Aliases:
4321 - countrunes
4322 Args:
4323 - s
4324 Description: CountRunes returns the number of runes in s, excluding whitespace.
4325 Examples: []
4326 CountWords:
4327 Aliases:
4328 - countwords
4329 Args:
4330 - s
4331 Description: CountWords returns the approximate word count in s.
4332 Examples: []
4333 Diff:
4334 Aliases: null
4335 Args:
4336 - oldname
4337 - old
4338 - newname
4339 - new
4340 Description: |-
4341 Diff returns an anchored diff of the two texts old and new in the “unified
4342 diff” format. If old and new are identical, Diff returns an empty string.
4343 Examples: []
4344 FindRE:
4345 Aliases:
4346 - findRE
4347 Args:
4348 - expr
4349 - content
4350 - limit
4351 Description: |-
4352 FindRE returns a list of strings that match the regular expression. By default all matches
4353 will be included. The number of matches can be limited with an optional third parameter.
4354 Examples:
4355 - - '{{ findRE "[G|g]o" "Hugo is a static side generator written in Go." 1 }}'
4356 - '[go]'
4357 FindRESubmatch:
4358 Aliases:
4359 - findRESubmatch
4360 Args:
4361 - expr
4362 - content
4363 - limit
4364 Description: |-
4365 FindRESubmatch returns a slice of all successive matches of the regular
4366 expression in content. Each element is a slice of strings holding the text
4367 of the leftmost match of the regular expression and the matches, if any, of
4368 its subexpressions.
4369
4370 By default all matches will be included. The number of matches can be
4371 limited with the optional limit parameter. A return value of nil indicates
4372 no match.
4373 Examples:
4374 - - '{{ findRESubmatch `<a\s*href="(.+?)">(.+?)</a>` `<li><a href="#foo">Foo</a></li> <li><a href="#bar">Bar</a></li>` | print | safeHTML }}'
4375 - '[[<a href="#foo">Foo</a> #foo Foo] [<a href="#bar">Bar</a> #bar Bar]]'
4376 FirstUpper:
4377 Aliases: null
4378 Args:
4379 - s
4380 Description: FirstUpper converts s making the first character upper case.
4381 Examples:
4382 - - '{{ "hugo rocks!" | strings.FirstUpper }}'
4383 - Hugo rocks!
4384 HasPrefix:
4385 Aliases:
4386 - hasPrefix
4387 Args:
4388 - s
4389 - prefix
4390 Description: HasPrefix tests whether the input s begins with prefix.
4391 Examples:
4392 - - '{{ hasPrefix "Hugo" "Hu" }}'
4393 - 'true'
4394 - - '{{ hasPrefix "Hugo" "Fu" }}'
4395 - 'false'
4396 HasSuffix:
4397 Aliases:
4398 - hasSuffix
4399 Args:
4400 - s
4401 - suffix
4402 Description: HasSuffix tests whether the input s begins with suffix.
4403 Examples:
4404 - - '{{ hasSuffix "Hugo" "go" }}'
4405 - 'true'
4406 - - '{{ hasSuffix "Hugo" "du" }}'
4407 - 'false'
4408 Repeat:
4409 Aliases: null
4410 Args:
4411 - 'n'
4412 - s
4413 Description: Repeat returns a new string consisting of n copies of the string s.
4414 Examples:
4415 - - '{{ "yo" | strings.Repeat 4 }}'
4416 - yoyoyoyo
4417 Replace:
4418 Aliases:
4419 - replace
4420 Args:
4421 - s
4422 - old
4423 - new
4424 - limit
4425 Description: |-
4426 Replace returns a copy of the string s with all occurrences of old replaced
4427 with new. The number of replacements can be limited with an optional fourth
4428 parameter.
4429 Examples:
4430 - - '{{ replace "Batman and Robin" "Robin" "Catwoman" }}'
4431 - Batman and Catwoman
4432 - - '{{ replace "aabbaabb" "a" "z" 2 }}'
4433 - zzbbaabb
4434 ReplacePairs:
4435 Aliases: null
4436 Args:
4437 - args
4438 Description: |-
4439 ReplacePairs returns a copy of a string with multiple replacements performed
4440 in a single pass. The last argument is the source string. Preceding arguments
4441 are old/new string pairs, either as a slice or as individual arguments.
4442 Examples:
4443 - - '{{ "aab" | strings.ReplacePairs "a" "b" "b" "c" }}'
4444 - bbc
4445 - - '{{ "aab" | strings.ReplacePairs (slice "a" "b" "b" "c") }}'
4446 - bbc
4447 ReplaceRE:
4448 Aliases:
4449 - replaceRE
4450 Args:
4451 - pattern
4452 - repl
4453 - s
4454 - 'n'
4455 Description: |-
4456 ReplaceRE returns a copy of s, replacing all matches of the regular
4457 expression pattern with the replacement text repl. The number of replacements
4458 can be limited with an optional fourth parameter.
4459 Examples:
4460 - - '{{ replaceRE "a+b" "X" "aabbaabbab" }}'
4461 - XbXbX
4462 - - '{{ replaceRE "a+b" "X" "aabbaabbab" 1 }}'
4463 - Xbaabbab
4464 RuneCount:
4465 Aliases: null
4466 Args:
4467 - s
4468 Description: RuneCount returns the number of runes in s.
4469 Examples: []
4470 SliceString:
4471 Aliases:
4472 - slicestr
4473 Args:
4474 - a
4475 - startEnd
4476 Description: |-
4477 SliceString slices a string by specifying a half-open range with
4478 two indices, start and end. 1 and 4 creates a slice including elements 1 through 3.
4479 The end index can be omitted, it defaults to the string's length.
4480 Examples:
4481 - - '{{ slicestr "BatMan" 0 3 }}'
4482 - Bat
4483 - - '{{ slicestr "BatMan" 3 }}'
4484 - Man
4485 Split:
4486 Aliases:
4487 - split
4488 Args:
4489 - a
4490 - delimiter
4491 Description: Split slices an input string into all substrings separated by delimiter.
4492 Examples: []
4493 Substr:
4494 Aliases:
4495 - substr
4496 Args:
4497 - a
4498 - nums
4499 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.'
4500 Examples:
4501 - - '{{ substr "BatMan" 0 -3 }}'
4502 - Bat
4503 - - '{{ substr "BatMan" 3 3 }}'
4504 - Man
4505 Title:
4506 Aliases:
4507 - title
4508 Args:
4509 - s
4510 Description: |-
4511 Title returns a copy of the input s with all Unicode letters that begin words
4512 mapped to their title case.
4513 Examples:
4514 - - '{{ title "Bat man" }}'
4515 - Bat Man
4516 - - '{{ title "somewhere over the rainbow" }}'
4517 - Somewhere Over the Rainbow
4518 ToLower:
4519 Aliases:
4520 - lower
4521 Args:
4522 - s
4523 Description: |-
4524 ToLower returns a copy of the input s with all Unicode letters mapped to their
4525 lower case.
4526 Examples:
4527 - - '{{ lower "BatMan" }}'
4528 - batman
4529 ToUpper:
4530 Aliases:
4531 - upper
4532 Args:
4533 - s
4534 Description: |-
4535 ToUpper returns a copy of the input s with all Unicode letters mapped to their
4536 upper case.
4537 Examples:
4538 - - '{{ upper "BatMan" }}'
4539 - BATMAN
4540 Trim:
4541 Aliases:
4542 - trim
4543 Args:
4544 - s
4545 - cutset
4546 Description: |-
4547 Trim returns converts the strings s removing all leading and trailing characters defined
4548 contained.
4549 Examples:
4550 - - '{{ trim "++Batman--" "+-" }}'
4551 - Batman
4552 TrimLeft:
4553 Aliases: null
4554 Args:
4555 - cutset
4556 - s
4557 Description: |-
4558 TrimLeft returns a slice of the string s with all leading characters
4559 contained in cutset removed.
4560 Examples:
4561 - - '{{ "aabbaa" | strings.TrimLeft "a" }}'
4562 - bbaa
4563 TrimPrefix:
4564 Aliases: null
4565 Args:
4566 - prefix
4567 - s
4568 Description: |-
4569 TrimPrefix returns s without the provided leading prefix string. If s doesn't
4570 start with prefix, s is returned unchanged.
4571 Examples:
4572 - - '{{ "aabbaa" | strings.TrimPrefix "a" }}'
4573 - abbaa
4574 - - '{{ "aabbaa" | strings.TrimPrefix "aa" }}'
4575 - bbaa
4576 TrimRight:
4577 Aliases: null
4578 Args:
4579 - cutset
4580 - s
4581 Description: |-
4582 TrimRight returns a slice of the string s with all trailing characters
4583 contained in cutset removed.
4584 Examples:
4585 - - '{{ "aabbaa" | strings.TrimRight "a" }}'
4586 - aabb
4587 TrimSpace:
4588 Aliases: null
4589 Args:
4590 - s
4591 Description: |-
4592 TrimSpace returns the given string, removing leading and trailing whitespace
4593 as defined by Unicode.
4594 Examples: []
4595 TrimSuffix:
4596 Aliases: null
4597 Args:
4598 - suffix
4599 - s
4600 Description: |-
4601 TrimSuffix returns s without the provided trailing suffix string. If s
4602 doesn't end with suffix, s is returned unchanged.
4603 Examples:
4604 - - '{{ "aabbaa" | strings.TrimSuffix "a" }}'
4605 - aabba
4606 - - '{{ "aabbaa" | strings.TrimSuffix "aa" }}'
4607 - aabb
4608 Truncate:
4609 Aliases:
4610 - truncate
4611 Args:
4612 - s
4613 - options
4614 Description: Truncate truncates the string in s to the specified length.
4615 Examples:
4616 - - '{{ "this is a very long text" | truncate 10 " ..." }}'
4617 - this is a ...
4618 - - '{{ "With [Markdown](/markdown) inside." | markdownify | truncate 14 }}'
4619 - With <a href="/markdown">Markdown …</a>
4620 templates:
4621 Current:
4622 Aliases: null
4623 Args:
4624 - ctx
4625 Description: Get information about the currently executing template.
4626 Examples: []
4627 Defer:
4628 Aliases: null
4629 Args:
4630 - ctx
4631 - args
4632 Description: Defer defers the execution of a template block.
4633 Examples: []
4634 DoDefer:
4635 Aliases:
4636 - doDefer
4637 Args:
4638 - ctx
4639 - id
4640 - optsv
4641 Description: |-
4642 DoDefer defers the execution of a template block.
4643 For internal use only.
4644 Examples: []
4645 Exists:
4646 Aliases: null
4647 Args:
4648 - name
4649 Description: |-
4650 Exists returns whether the template with the given name exists.
4651 Note that this is the Unix-styled relative path including filename suffix,
4652 e.g. partials/header.html
4653 Examples:
4654 - - '{{ if (templates.Exists "_partials/header.html") }}Yes!{{ end }}'
4655 - Yes!
4656 - - '{{ if not (templates.Exists "_partials/doesnotexist.html") }}No!{{ end }}'
4657 - No!
4658 Inner:
4659 Aliases:
4660 - inner
4661 Args:
4662 - ctx
4663 - data
4664 Description: |-
4665 Inner executes the inner content of a partial decorator.
4666 Note that there is only one inner block per partial decorator, but inner may be called multiple times with, typically, different data.
4667 Examples: []
4668 time:
4669 AsTime:
4670 Aliases: null
4671 Args:
4672 - v
4673 - args
4674 Description: |-
4675 AsTime converts the textual representation of the datetime string into
4676 a time.Time interface.
4677 Examples:
4678 - - '{{ (time "2015-01-21").Year }}'
4679 - '2015'
4680 Duration:
4681 Aliases:
4682 - duration
4683 Args:
4684 - unit
4685 - number
4686 Description: |-
4687 Duration converts the given number to a time.Duration.
4688 Unit is one of nanosecond/ns, microsecond/us/µs, millisecond/ms, second/s, minute/m or hour/h.
4689 Examples:
4690 - - '{{ mul 60 60 | duration "second" }}'
4691 - 1h0m0s
4692 Format:
4693 Aliases:
4694 - dateFormat
4695 Args:
4696 - layout
4697 - v
4698 Description: |-
4699 Format converts the textual representation of the datetime string in v into
4700 time.Time if needed and formats it with the given layout.
4701 Examples:
4702 - - 'dateFormat: {{ dateFormat "Monday, Jan 2, 2006" "2015-01-21" }}'
4703 - 'dateFormat: Wednesday, Jan 21, 2015'
4704 In:
4705 Aliases: null
4706 Args:
4707 - timeZoneName
4708 - t
4709 Description: |-
4710 In returns the time t in the IANA time zone specified by timeZoneName.
4711 If timeZoneName is "" or "UTC", the time is returned in UTC.
4712 If timeZoneName is "Local", the time is returned in the system's local time zone.
4713 Otherwise, timeZoneName must be a valid IANA location name (e.g., "Europe/Oslo").
4714 Examples: []
4715 Now:
4716 Aliases:
4717 - now
4718 Args: null
4719 Description: Now returns the current local time or `clock` time
4720 Examples: []
4721 ParseDuration:
4722 Aliases: null
4723 Args:
4724 - s
4725 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'
4726 Examples:
4727 - - '{{ "1h12m10s" | time.ParseDuration }}'
4728 - 1h12m10s
4729 transform:
4730 CanHighlight:
4731 Aliases: null
4732 Args:
4733 - language
4734 Description: CanHighlight returns whether the given code language is supported by the Chroma highlighter.
4735 Examples: []
4736 Emojify:
4737 Aliases:
4738 - emojify
4739 Args:
4740 - s
4741 Description: |-
4742 Emojify returns a copy of s with all emoji codes replaced with actual emojis.
4743
4744 See http://www.emoji-cheat-sheet.com/
4745 Examples:
4746 - - '{{ "I :heart: Hugo" | emojify }}'
4747 - I ❤️ Hugo
4748 HTMLEscape:
4749 Aliases:
4750 - htmlEscape
4751 Args:
4752 - s
4753 Description: HTMLEscape returns a copy of s with reserved HTML characters escaped.
4754 Examples:
4755 - - '{{ htmlEscape "Cathal Garvey & The Sunshine Band <[email protected]>" | safeHTML }}'
4756 - Cathal Garvey &amp; The Sunshine Band &lt;[email protected]&gt;
4757 - - '{{ htmlEscape "Cathal Garvey & The Sunshine Band <[email protected]>" }}'
4758 - Cathal Garvey &amp;amp; The Sunshine Band &amp;lt;[email protected]&amp;gt;
4759 - - '{{ htmlEscape "Cathal Garvey & The Sunshine Band <[email protected]>" | htmlUnescape | safeHTML }}'
4760 - Cathal Garvey & The Sunshine Band <[email protected]>
4761 HTMLToMarkdown:
4762 Aliases: null
4763 Args:
4764 - ctx
4765 - args
4766 Description: |-
4767 This was added in Hugo v0.151.0 and should be considered experimental for now.
4768 We need to test this out in the wild for a while before committing to this API,
4769 and there will eventually be more options here.
4770 Examples: []
4771 HTMLUnescape:
4772 Aliases:
4773 - htmlUnescape
4774 Args:
4775 - s
4776 Description: |-
4777 HTMLUnescape returns a copy of s with HTML escape requences converted to plain
4778 text.
4779 Examples:
4780 - - '{{ htmlUnescape "Cathal Garvey &amp; The Sunshine Band &lt;[email protected]&gt;" | safeHTML }}'
4781 - Cathal Garvey & The Sunshine Band <[email protected]>
4782 - - '{{ "Cathal Garvey &amp;amp; The Sunshine Band &amp;lt;[email protected]&amp;gt;" | htmlUnescape | htmlUnescape | safeHTML }}'
4783 - Cathal Garvey & The Sunshine Band <[email protected]>
4784 - - '{{ "Cathal Garvey &amp;amp; The Sunshine Band &amp;lt;[email protected]&amp;gt;" | htmlUnescape | htmlUnescape }}'
4785 - Cathal Garvey &amp; The Sunshine Band &lt;[email protected]&gt;
4786 - - '{{ htmlUnescape "Cathal Garvey &amp; The Sunshine Band &lt;[email protected]&gt;" | htmlEscape | safeHTML }}'
4787 - Cathal Garvey &amp; The Sunshine Band &lt;[email protected]&gt;
4788 Highlight:
4789 Aliases:
4790 - highlight
4791 Args:
4792 - s
4793 - args
4794 Description: |-
4795 Highlight returns a copy of CODE as an HTML string with syntax
4796 highlighting applied.
4797
4798 transform.Highlight CODE [LANG] [OPTIONS]
4799
4800 LANG is optional; it can also be set via the type option in OPTIONS, which
4801 makes this work the same way as HighlightCodeBlock.
4802 Examples: []
4803 HighlightCodeBlock:
4804 Aliases: null
4805 Args:
4806 - ctx
4807 - opts
4808 Description: HighlightCodeBlock highlights a code block on the form received in the codeblock render hooks.
4809 Examples: []
4810 Markdownify:
4811 Aliases:
4812 - markdownify
4813 Args:
4814 - ctx
4815 - s
4816 Description: Markdownify renders s from Markdown to HTML.
4817 Examples:
4818 - - '{{ .Title | markdownify }}'
4819 - <strong>BatMan</strong>
4820 Plainify:
4821 Aliases:
4822 - plainify
4823 Args:
4824 - s
4825 Description: Plainify returns a copy of s with all HTML tags removed.
4826 Examples:
4827 - - '{{ plainify "Hello <strong>world</strong>, gophers!" }}'
4828 - Hello world, gophers!
4829 PortableText:
4830 Aliases: null
4831 Args:
4832 - v
4833 Description: |-
4834 PortableText converts the portable text in v to Markdown.
4835 We may add more options in the future.
4836 Examples: []
4837 Remarshal:
4838 Aliases: null
4839 Args:
4840 - format
4841 - data
4842 Description: |-
4843 Remarshal is used in the Hugo documentation to convert configuration
4844 examples from YAML to JSON, TOML (and possibly the other way around).
4845 The is primarily a helper for the Hugo docs site.
4846 It is not a general purpose YAML to TOML converter etc., and may
4847 change without notice if it serves a purpose in the docs.
4848 Format is one of json, yaml or toml.
4849 Examples:
4850 - - '{{ "title = \"Hello World\"" | transform.Remarshal "json" | safeHTML }}'
4851 - '{\n "title": "Hello World"\n}\n'
4852 ToMath:
4853 Aliases: null
4854 Args:
4855 - ctx
4856 - args
4857 Description: |-
4858 ToMath converts a LaTeX string to math in the given format, default MathML.
4859 This uses KaTeX to render the math, see https://katex.org/.
4860 Examples: []
4861 Unmarshal:
4862 Aliases:
4863 - unmarshal
4864 Args:
4865 - args
4866 Description: |-
4867 Unmarshal unmarshals the data given, which can be either a string, json.RawMessage
4868 or a Resource. Supported formats are JSON, TOML, YAML, and CSV.
4869 You can optionally provide an options map as the first argument.
4870 Examples:
4871 - - '{{ "hello = \"Hello World\"" | transform.Unmarshal }}'
4872 - map[hello:Hello World]
4873 - - '{{ "hello = \"Hello World\"" | resources.FromString "data/greetings.toml" | transform.Unmarshal }}'
4874 - map[hello:Hello World]
4875 XMLEscape:
4876 Aliases: null
4877 Args:
4878 - s
4879 Description: |-
4880 XMLEscape returns the given string, removing disallowed characters then
4881 escaping the result to its XML equivalent.
4882 Examples:
4883 - - '{{ transform.XMLEscape "<p>abc</p>" }}'
4884 - '&lt;p&gt;abc&lt;/p&gt;'
4885 urls:
4886 AbsLangURL:
4887 Aliases:
4888 - absLangURL
4889 Args:
4890 - s
4891 Description: |-
4892 AbsLangURL the string s and converts it to an absolute URL according
4893 to a page's position in the project directory structure and the current
4894 language.
4895 Examples: []
4896 AbsURL:
4897 Aliases:
4898 - absURL
4899 Args:
4900 - s
4901 Description: AbsURL takes the string s and converts it to an absolute URL.
4902 Examples: []
4903 Anchorize:
4904 Aliases:
4905 - anchorize
4906 Args:
4907 - s
4908 Description: |-
4909 Anchorize creates sanitized anchor name version of the string s that is compatible
4910 with how your configured markdown renderer does it.
4911 Examples:
4912 - - '{{ "This is a title" | anchorize }}'
4913 - this-is-a-title
4914 JoinPath:
4915 Aliases: null
4916 Args:
4917 - elements
4918 Description: |-
4919 JoinPath joins the provided elements into a URL string and cleans the result
4920 of any ./ or ../ elements. If the argument list is empty, JoinPath returns
4921 an empty string.
4922 Examples:
4923 - - '{{ urls.JoinPath "https://example.org" "foo" }}'
4924 - https://example.org/foo
4925 - - '{{ urls.JoinPath (slice "a" "b") }}'
4926 - a/b
4927 Parse:
4928 Aliases: null
4929 Args:
4930 - rawurl
4931 Description: |-
4932 Parse parses rawurl into a URL structure. The rawurl may be relative or
4933 absolute.
4934 Examples: []
4935 PathEscape:
4936 Aliases: null
4937 Args:
4938 - s
4939 Description: |-
4940 PathEscape returns the given string, applying percent-encoding to special
4941 characters and reserved delimiters so it can be safely used as a segment
4942 within a URL path.
4943 Examples: []
4944 PathUnescape:
4945 Aliases: null
4946 Args:
4947 - s
4948 Description: |-
4949 PathUnescape returns the given string, replacing all percent-encoded
4950 sequences with the corresponding unescaped characters.
4951 Examples: []
4952 Ref:
4953 Aliases:
4954 - ref
4955 Args:
4956 - p
4957 - args
4958 Description: Ref returns the absolute URL path to a given content item from Page p.
4959 Examples: []
4960 RelLangURL:
4961 Aliases:
4962 - relLangURL
4963 Args:
4964 - s
4965 Description: |-
4966 RelLangURL takes the string s and prepends the relative path according to a
4967 page's position in the project directory structure and the current language.
4968 Examples: []
4969 RelRef:
4970 Aliases:
4971 - relref
4972 Args:
4973 - p
4974 - args
4975 Description: RelRef returns the relative URL path to a given content item from Page p.
4976 Examples: []
4977 RelURL:
4978 Aliases:
4979 - relURL
4980 Args:
4981 - s
4982 Description: |-
4983 RelURL takes the string s and prepends the relative path according to a
4984 page's position in the project directory structure.
4985 Examples: []
4986 URLize:
4987 Aliases:
4988 - urlize
4989 Args:
4990 - s
4991 Description: URLize returns the strings s formatted as an URL.
4992 Examples: []