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 rst:
1575 syntaxHighlight: long
1576 tableOfContents:
1577 endLevel: 3
1578 ordered: false
1579 startLevel: 2
1580 mediaTypes:
1581 application/json:
1582 delimiter: .
1583 suffixes:
1584 - json
1585 application/manifest+json:
1586 delimiter: .
1587 suffixes:
1588 - webmanifest
1589 application/octet-stream:
1590 delimiter: .
1591 application/pdf:
1592 delimiter: .
1593 suffixes:
1594 - pdf
1595 application/rss+xml:
1596 delimiter: .
1597 suffixes:
1598 - xml
1599 - rss
1600 application/source-map:
1601 delimiter: .
1602 suffixes:
1603 - map
1604 application/toml:
1605 delimiter: .
1606 suffixes:
1607 - toml
1608 application/wasm:
1609 delimiter: .
1610 suffixes:
1611 - wasm
1612 application/xml:
1613 delimiter: .
1614 suffixes:
1615 - xml
1616 application/yaml:
1617 delimiter: .
1618 suffixes:
1619 - yaml
1620 - yml
1621 font/otf:
1622 delimiter: .
1623 suffixes:
1624 - otf
1625 font/ttf:
1626 delimiter: .
1627 suffixes:
1628 - ttf
1629 font/woff:
1630 delimiter: .
1631 suffixes:
1632 - woff
1633 font/woff2:
1634 delimiter: .
1635 suffixes:
1636 - woff2
1637 image/avif:
1638 delimiter: .
1639 suffixes:
1640 - avif
1641 image/bmp:
1642 delimiter: .
1643 suffixes:
1644 - bmp
1645 image/gif:
1646 delimiter: .
1647 suffixes:
1648 - gif
1649 image/heic:
1650 delimiter: .
1651 suffixes:
1652 - heic
1653 image/heif:
1654 delimiter: .
1655 suffixes:
1656 - heif
1657 image/jpeg:
1658 delimiter: .
1659 suffixes:
1660 - jpg
1661 - jpeg
1662 - jpe
1663 - jif
1664 - jfif
1665 image/png:
1666 delimiter: .
1667 suffixes:
1668 - png
1669 image/svg+xml:
1670 delimiter: .
1671 suffixes:
1672 - svg
1673 image/tiff:
1674 delimiter: .
1675 suffixes:
1676 - tif
1677 - tiff
1678 image/webp:
1679 delimiter: .
1680 suffixes:
1681 - webp
1682 text/asciidoc:
1683 delimiter: .
1684 suffixes:
1685 - adoc
1686 - asciidoc
1687 - ad
1688 text/calendar:
1689 delimiter: .
1690 suffixes:
1691 - ics
1692 text/css:
1693 delimiter: .
1694 suffixes:
1695 - css
1696 text/csv:
1697 delimiter: .
1698 suffixes:
1699 - csv
1700 text/html:
1701 delimiter: .
1702 suffixes:
1703 - html
1704 - htm
1705 text/javascript:
1706 delimiter: .
1707 suffixes:
1708 - js
1709 - jsm
1710 - mjs
1711 text/jsx:
1712 delimiter: .
1713 suffixes:
1714 - jsx
1715 text/markdown:
1716 delimiter: .
1717 suffixes:
1718 - md
1719 - mdown
1720 - markdown
1721 text/org:
1722 delimiter: .
1723 suffixes:
1724 - org
1725 text/pandoc:
1726 delimiter: .
1727 suffixes:
1728 - pandoc
1729 - pdc
1730 text/plain:
1731 delimiter: .
1732 suffixes:
1733 - txt
1734 text/rst:
1735 delimiter: .
1736 suffixes:
1737 - rst
1738 text/tsx:
1739 delimiter: .
1740 suffixes:
1741 - tsx
1742 text/typescript:
1743 delimiter: .
1744 suffixes:
1745 - ts
1746 text/x-gotmpl:
1747 delimiter: .
1748 suffixes:
1749 - gotmpl
1750 text/x-sass:
1751 delimiter: .
1752 suffixes:
1753 - sass
1754 text/x-scss:
1755 delimiter: .
1756 suffixes:
1757 - scss
1758 video/3gpp:
1759 delimiter: .
1760 suffixes:
1761 - 3gpp
1762 - 3gp
1763 video/mp4:
1764 delimiter: .
1765 suffixes:
1766 - mp4
1767 video/mpeg:
1768 delimiter: .
1769 suffixes:
1770 - mpg
1771 - mpeg
1772 video/ogg:
1773 delimiter: .
1774 suffixes:
1775 - ogv
1776 video/webm:
1777 delimiter: .
1778 suffixes:
1779 - webm
1780 video/x-msvideo:
1781 delimiter: .
1782 suffixes:
1783 - avi
1784 menus: {}
1785 minify:
1786 disableCSS: false
1787 disableHTML: false
1788 disableJS: false
1789 disableJSON: false
1790 disableSVG: false
1791 disableXML: false
1792 minifyOutput: false
1793 tdewolff:
1794 css:
1795 inline: false
1796 precision: 0
1797 version: 0
1798 html:
1799 keepComments: false
1800 keepConditionalComments: false
1801 keepDefaultAttrVals: true
1802 keepDocumentTags: true
1803 keepEndTags: true
1804 keepQuotes: false
1805 keepSpecialComments: true
1806 keepWhitespace: false
1807 templateDelims:
1808 - ''
1809 - ''
1810 js:
1811 keepVarNames: false
1812 precision: 0
1813 version: 2022
1814 json:
1815 keepNumbers: false
1816 precision: 0
1817 svg:
1818 keepComments: false
1819 keepNamespaces:
1820 - ''
1821 - x-bind
1822 precision: 0
1823 xml:
1824 keepWhitespace: false
1825 module:
1826 auth: ''
1827 hugoVersion:
1828 extended: false
1829 max: ''
1830 min: ''
1831 imports: null
1832 mounts:
1833 - disableWatch: false
1834 files: null
1835 sites:
1836 complements:
1837 languages: null
1838 roles: null
1839 versions: null
1840 matrix:
1841 languages: null
1842 roles: null
1843 versions: null
1844 source: content
1845 target: content
1846 - disableWatch: false
1847 files: null
1848 sites:
1849 complements:
1850 languages: null
1851 roles: null
1852 versions: null
1853 matrix:
1854 languages: null
1855 roles: null
1856 versions: null
1857 source: data
1858 target: data
1859 - disableWatch: false
1860 files: null
1861 sites:
1862 complements:
1863 languages: null
1864 roles: null
1865 versions: null
1866 matrix:
1867 languages: null
1868 roles: null
1869 versions: null
1870 source: layouts
1871 target: layouts
1872 - disableWatch: false
1873 files: null
1874 sites:
1875 complements:
1876 languages: null
1877 roles: null
1878 versions: null
1879 matrix:
1880 languages: null
1881 roles: null
1882 versions: null
1883 source: i18n
1884 target: i18n
1885 - disableWatch: false
1886 files: null
1887 sites:
1888 complements:
1889 languages: null
1890 roles: null
1891 versions: null
1892 matrix:
1893 languages: null
1894 roles: null
1895 versions: null
1896 source: archetypes
1897 target: archetypes
1898 - disableWatch: false
1899 files: null
1900 sites:
1901 complements:
1902 languages: null
1903 roles: null
1904 versions: null
1905 matrix:
1906 languages: null
1907 roles: null
1908 versions: null
1909 source: assets
1910 target: assets
1911 - disableWatch: false
1912 files: null
1913 sites:
1914 complements:
1915 languages: null
1916 roles: null
1917 versions: null
1918 matrix:
1919 languages: null
1920 roles: null
1921 versions: null
1922 source: static
1923 target: static
1924 noProxy: none
1925 noVendor: ''
1926 params: null
1927 private: '*.*'
1928 proxy: direct
1929 replacements: null
1930 vendorClosest: false
1931 workspace: 'off'
1932 newContentEditor: ''
1933 noBuildLock: false
1934 noChmod: false
1935 noTimes: false
1936 outputFormats:
1937 '404':
1938 baseName: ''
1939 isHTML: true
1940 isPlainText: false
1941 mediaType: text/html
1942 noUgly: false
1943 notAlternative: true
1944 path: ''
1945 permalinkable: true
1946 protocol: ''
1947 rel: ''
1948 root: false
1949 ugly: true
1950 weight: 0
1951 alias:
1952 baseName: ''
1953 isHTML: true
1954 isPlainText: false
1955 mediaType: text/html
1956 noUgly: false
1957 notAlternative: false
1958 path: ''
1959 permalinkable: false
1960 protocol: ''
1961 rel: ''
1962 root: false
1963 ugly: true
1964 weight: 0
1965 amp:
1966 baseName: index
1967 isHTML: true
1968 isPlainText: false
1969 mediaType: text/html
1970 noUgly: false
1971 notAlternative: false
1972 path: amp
1973 permalinkable: true
1974 protocol: ''
1975 rel: amphtml
1976 root: false
1977 ugly: false
1978 weight: 0
1979 calendar:
1980 baseName: index
1981 isHTML: false
1982 isPlainText: true
1983 mediaType: text/calendar
1984 noUgly: false
1985 notAlternative: false
1986 path: ''
1987 permalinkable: false
1988 protocol: webcal://
1989 rel: alternate
1990 root: false
1991 ugly: false
1992 weight: 0
1993 css:
1994 baseName: styles
1995 isHTML: false
1996 isPlainText: true
1997 mediaType: text/css
1998 noUgly: false
1999 notAlternative: true
2000 path: ''
2001 permalinkable: false
2002 protocol: ''
2003 rel: stylesheet
2004 root: false
2005 ugly: false
2006 weight: 0
2007 csv:
2008 baseName: index
2009 isHTML: false
2010 isPlainText: true
2011 mediaType: text/csv
2012 noUgly: false
2013 notAlternative: false
2014 path: ''
2015 permalinkable: false
2016 protocol: ''
2017 rel: alternate
2018 root: false
2019 ugly: false
2020 weight: 0
2021 gotmpl:
2022 baseName: ''
2023 isHTML: false
2024 isPlainText: true
2025 mediaType: text/x-gotmpl
2026 noUgly: false
2027 notAlternative: true
2028 path: ''
2029 permalinkable: false
2030 protocol: ''
2031 rel: ''
2032 root: false
2033 ugly: false
2034 weight: 0
2035 html:
2036 baseName: index
2037 isHTML: true
2038 isPlainText: false
2039 mediaType: text/html
2040 noUgly: false
2041 notAlternative: false
2042 path: ''
2043 permalinkable: true
2044 protocol: ''
2045 rel: canonical
2046 root: false
2047 ugly: false
2048 weight: 10
2049 json:
2050 baseName: index
2051 isHTML: false
2052 isPlainText: true
2053 mediaType: application/json
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 markdown:
2064 baseName: index
2065 isHTML: false
2066 isPlainText: true
2067 mediaType: text/markdown
2068 noUgly: false
2069 notAlternative: false
2070 path: ''
2071 permalinkable: false
2072 protocol: ''
2073 rel: alternate
2074 root: false
2075 ugly: false
2076 weight: 0
2077 robots:
2078 baseName: robots
2079 isHTML: false
2080 isPlainText: true
2081 mediaType: text/plain
2082 noUgly: false
2083 notAlternative: false
2084 path: ''
2085 permalinkable: false
2086 protocol: ''
2087 rel: alternate
2088 root: true
2089 ugly: false
2090 weight: 0
2091 rss:
2092 baseName: index
2093 isHTML: false
2094 isPlainText: false
2095 mediaType: application/rss+xml
2096 noUgly: true
2097 notAlternative: false
2098 path: ''
2099 permalinkable: false
2100 protocol: ''
2101 rel: alternate
2102 root: false
2103 ugly: false
2104 weight: 0
2105 sitemap:
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: false
2117 ugly: true
2118 weight: 0
2119 sitemapindex:
2120 baseName: sitemap
2121 isHTML: false
2122 isPlainText: false
2123 mediaType: application/xml
2124 noUgly: false
2125 notAlternative: false
2126 path: ''
2127 permalinkable: false
2128 protocol: ''
2129 rel: sitemap
2130 root: true
2131 ugly: true
2132 weight: 0
2133 webappmanifest:
2134 baseName: manifest
2135 isHTML: false
2136 isPlainText: true
2137 mediaType: application/manifest+json
2138 noUgly: false
2139 notAlternative: true
2140 path: ''
2141 permalinkable: false
2142 protocol: ''
2143 rel: manifest
2144 root: false
2145 ugly: false
2146 weight: 0
2147 outputs:
2148 home:
2149 - html
2150 - rss
2151 page:
2152 - html
2153 rss:
2154 - rss
2155 section:
2156 - html
2157 - rss
2158 taxonomy:
2159 - html
2160 - rss
2161 term:
2162 - html
2163 - rss
2164 page:
2165 nextPrevInSectionSortOrder: desc
2166 nextPrevSortOrder: desc
2167 pagination:
2168 disableAliases: false
2169 pagerSize: 10
2170 path: page
2171 panicOnWarning: false
2172 params: {}
2173 permalinks: null
2174 pluralizeListTitles: true
2175 printI18nWarnings: false
2176 printPathWarnings: false
2177 printUnusedTemplates: false
2178 privacy:
2179 disqus:
2180 disable: false
2181 googleAnalytics:
2182 disable: false
2183 respectDoNotTrack: true
2184 instagram:
2185 disable: false
2186 simple: false
2187 vimeo:
2188 disable: false
2189 enableDNT: false
2190 simple: false
2191 x:
2192 disable: false
2193 enableDNT: false
2194 simple: false
2195 youTube:
2196 disable: false
2197 privacyEnhanced: false
2198 publishDir: public
2199 refLinksErrorLevel: ''
2200 refLinksNotFoundURL: ''
2201 related:
2202 includeNewer: false
2203 indices:
2204 - applyFilter: false
2205 cardinalityThreshold: 0
2206 name: keywords
2207 pattern: ''
2208 toLower: false
2209 type: basic
2210 weight: 100
2211 - applyFilter: false
2212 cardinalityThreshold: 0
2213 name: date
2214 pattern: ''
2215 toLower: false
2216 type: basic
2217 weight: 10
2218 - applyFilter: false
2219 cardinalityThreshold: 0
2220 name: tags
2221 pattern: ''
2222 toLower: false
2223 type: basic
2224 weight: 80
2225 threshold: 80
2226 toLower: false
2227 relativeURLs: false
2228 removePathAccents: false
2229 renderSegments: null
2230 resourceDir: resources
2231 roles:
2232 guest:
2233 weight: 0
2234 sectionPagesMenu: ''
2235 security:
2236 allowContent:
2237 - '! ^text/html$'
2238 enableInlineShortcodes: false
2239 exec:
2240 allow:
2241 - ^(dart-)?sass$
2242 - ^go$
2243 - ^git$
2244 - ^node$
2245 - ^postcss$
2246 osEnv:
2247 - '(?i)^((HTTPS?|NO)_PROXY|PATH(EXT)?|APPDATA|TE?MP|TERM|GO\w+|(XDG_CONFIG_)?HOME|USERPROFILE|SSH_AUTH_SOCK|DISPLAY|LANG|SYSTEMDRIVE|PROGRAMDATA)$'
2248 funcs:
2249 getenv:
2250 - ^HUGO_
2251 - ^CI$
2252 http:
2253 mediaTypes: null
2254 methods:
2255 - (?i)GET|POST
2256 proxyFromEnvironment: false
2257 urls:
2258 - (?i)^https?://[a-z0-9]
2259 - '! (?i)^https?://\d+\.'
2260 - '! (?i)localhost'
2261 - '! (?i)^https?://[^/?#]*@'
2262 node:
2263 permissions:
2264 allowAddons:
2265 - tailwindcss
2266 allowChildProcess:
2267 - tailwindcss
2268 allowRead:
2269 - .
2270 allowWorker:
2271 - tailwindcss
2272 allowWrite: []
2273 disable: false
2274 segments: {}
2275 server:
2276 headers: null
2277 redirects:
2278 - force: false
2279 from: /**
2280 fromHeaders: null
2281 fromRe: ''
2282 status: 404
2283 to: /404.html
2284 services:
2285 disqus:
2286 shortname: ''
2287 googleAnalytics:
2288 id: ''
2289 rss:
2290 limit: -1
2291 x:
2292 disableInlineCSS: false
2293 sitemap:
2294 changeFreq: ''
2295 disable: false
2296 filename: sitemap.xml
2297 priority: -1
2298 social: null
2299 staticDir:
2300 - static
2301 staticDir0: null
2302 staticDir1: null
2303 staticDir10: null
2304 staticDir2: null
2305 staticDir3: null
2306 staticDir4: null
2307 staticDir5: null
2308 staticDir6: null
2309 staticDir7: null
2310 staticDir8: null
2311 staticDir9: null
2312 summaryLength: 70
2313 taxonomies:
2314 category: categories
2315 tag: tags
2316 templateMetrics: false
2317 templateMetricsHints: false
2318 theme: null
2319 themesDir: themes
2320 timeZone: ''
2321 timeout: 60s
2322 title: ''
2323 titleCaseStyle: AP
2324 uglyURLs: {}
2325 versions:
2326 v1.0.0:
2327 weight: 0
2328 workingDir: ''
2329 config_helpers:
2330 mergeStrategy:
2331 build:
2332 _merge: none
2333 caches:
2334 _merge: none
2335 cascade:
2336 _merge: none
2337 contenttypes:
2338 _merge: none
2339 deployment:
2340 _merge: none
2341 frontmatter:
2342 _merge: none
2343 httpcache:
2344 _merge: none
2345 imaging:
2346 _merge: none
2347 languages:
2348 _merge: none
2349 en:
2350 _merge: none
2351 menus:
2352 _merge: shallow
2353 params:
2354 _merge: deep
2355 markup:
2356 _merge: none
2357 mediatypes:
2358 _merge: shallow
2359 menus:
2360 _merge: shallow
2361 minify:
2362 _merge: none
2363 module:
2364 _merge: none
2365 outputformats:
2366 _merge: shallow
2367 outputs:
2368 _merge: none
2369 page:
2370 _merge: none
2371 pagination:
2372 _merge: none
2373 params:
2374 _merge: deep
2375 permalinks:
2376 _merge: none
2377 privacy:
2378 _merge: none
2379 related:
2380 _merge: none
2381 roles:
2382 _merge: none
2383 security:
2384 _merge: none
2385 segments:
2386 _merge: none
2387 server:
2388 _merge: none
2389 services:
2390 _merge: none
2391 sitemap:
2392 _merge: none
2393 taxonomies:
2394 _merge: none
2395 versions:
2396 _merge: none
2397 output:
2398 layouts: {}
2399 tpl:
2400 funcs:
2401 cast:
2402 ToFloat:
2403 Aliases:
2404 - float
2405 Args:
2406 - v
2407 Description: ToFloat converts v to a float.
2408 Examples:
2409 - - '{{ "1234" | float | printf "%T" }}'
2410 - float64
2411 ToInt:
2412 Aliases:
2413 - int
2414 Args:
2415 - v
2416 Description: ToInt converts v to an int.
2417 Examples:
2418 - - '{{ "1234" | int | printf "%T" }}'
2419 - int
2420 ToString:
2421 Aliases:
2422 - string
2423 Args:
2424 - v
2425 Description: ToString converts v to a string.
2426 Examples:
2427 - - '{{ 1234 | string | printf "%T" }}'
2428 - string
2429 collections:
2430 After:
2431 Aliases:
2432 - after
2433 Args:
2434 - 'n'
2435 - l
2436 Description: After returns all the items after the first n items in list l.
2437 Examples: []
2438 Append:
2439 Aliases:
2440 - append
2441 Args:
2442 - args
2443 Description: |-
2444 Append appends args up to the last one to the slice in the last argument.
2445 This construct allows template constructs like this:
2446
2447 {{ $pages = $pages | append $p2 $p1 }}
2448
2449 Note that with 2 arguments where both are slices of the same type,
2450 the first slice will be appended to the second:
2451
2452 {{ $pages = $pages | append .Site.RegularPages }}
2453 Examples: []
2454 Apply:
2455 Aliases:
2456 - apply
2457 Args:
2458 - ctx
2459 - c
2460 - fname
2461 - args
2462 Description: Apply takes an array or slice c and returns a new slice with the function fname applied over it.
2463 Examples: []
2464 Complement:
2465 Aliases:
2466 - complement
2467 Args:
2468 - ls
2469 Description: |-
2470 Complement gives the elements in the last element of ls that are not in
2471 any of the others.
2472
2473 All elements of ls must be slices or arrays of comparable types.
2474
2475 The reasoning behind this rather clumsy API is so we can do this in the templates:
2476
2477 {{ $c := .Pages | complement $last4 }}
2478 Examples:
2479 - - '{{ slice "a" "b" "c" "d" "e" "f" | complement (slice "b" "c") (slice "d" "e") }}'
2480 - '[a f]'
2481 D:
2482 Aliases: null
2483 Args:
2484 - seed
2485 - 'n'
2486 - hi
2487 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/'
2488 Examples: []
2489 Delimit:
2490 Aliases:
2491 - delimit
2492 Args:
2493 - ctx
2494 - l
2495 - sep
2496 - last
2497 Description: |-
2498 Delimit takes a given list l and returns a string delimited by sep.
2499 If last is passed to the function, it will be used as the final delimiter.
2500 Examples:
2501 - - '{{ delimit (slice "A" "B" "C") ", " " and " }}'
2502 - A, B and C
2503 Dictionary:
2504 Aliases:
2505 - dict
2506 Args:
2507 - values
2508 Description: |-
2509 Dictionary creates a new map from the given parameters by
2510 treating values as key-value pairs. The number of values must be even.
2511 The keys can be string slices, which will create the needed nested structure.
2512 Examples: []
2513 First:
2514 Aliases:
2515 - first
2516 Args:
2517 - limit
2518 - l
2519 Description: First returns the first limit items in list l.
2520 Examples: []
2521 Group:
2522 Aliases:
2523 - group
2524 Args:
2525 - key
2526 - items
2527 Description: |-
2528 Group groups a set of items by the given key.
2529 This is currently only supported for Pages.
2530 Examples: []
2531 In:
2532 Aliases:
2533 - in
2534 Args:
2535 - l
2536 - v
2537 Description: In returns whether v is in the list l. l may be an array or slice.
2538 Examples:
2539 - - '{{ if in "this string contains a substring" "substring" }}Substring found!{{ end }}'
2540 - Substring found!
2541 Index:
2542 Aliases:
2543 - index
2544 Args:
2545 - item
2546 - args
2547 Description: |-
2548 Index returns the result of indexing its first argument by the following
2549 arguments. Thus "index x 1 2 3" is, in Go syntax, x[1][2][3]. Each
2550 indexed item must be a map, slice, or array.
2551
2552 Adapted from Go stdlib src/text/template/funcs.go.
2553
2554 We deviate from the stdlib mostly because of https://github.com/golang/go/issues/14751.
2555 Examples: []
2556 Intersect:
2557 Aliases:
2558 - intersect
2559 Args:
2560 - l1
2561 - l2
2562 Description: |-
2563 Intersect returns the common elements in the given sets, l1 and l2. l1 and
2564 l2 must be of the same type and may be either arrays or slices.
2565 Examples: []
2566 IsSet:
2567 Aliases:
2568 - isSet
2569 - isset
2570 Args:
2571 - c
2572 - key
2573 Description: |-
2574 IsSet returns whether a given array, channel, slice, or map in c has the given key
2575 defined.
2576 Examples: []
2577 KeyVals:
2578 Aliases:
2579 - keyVals
2580 Args:
2581 - key
2582 - values
2583 Description: KeyVals creates a key and values wrapper.
2584 Examples:
2585 - - '{{ keyVals "key" "a" "b" }}'
2586 - 'key: [a b]'
2587 Last:
2588 Aliases:
2589 - last
2590 Args:
2591 - limit
2592 - l
2593 Description: Last returns the last limit items in the list l.
2594 Examples: []
2595 Merge:
2596 Aliases:
2597 - merge
2598 Args:
2599 - params
2600 Description: |-
2601 Merge creates a copy of the final parameter in params and merges the preceding
2602 parameters into it in reverse order.
2603
2604 Currently only maps are supported. Key handling is case insensitive.
2605 Examples:
2606 - - '{{ dict "title" "Hugo Rocks!" | collections.Merge (dict "title" "Default Title" "description" "Yes, Hugo Rocks!") | sort }}'
2607 - '[Yes, Hugo Rocks! Hugo Rocks!]'
2608 - - '{{ merge (dict "title" "Default Title" "description" "Yes, Hugo Rocks!") (dict "title" "Hugo Rocks!") | sort }}'
2609 - '[Yes, Hugo Rocks! Hugo Rocks!]'
2610 - - '{{ merge (dict "title" "Default Title" "description" "Yes, Hugo Rocks!") (dict "title" "Hugo Rocks!") (dict "extra" "For reals!") | sort }}'
2611 - '[Yes, Hugo Rocks! For reals! Hugo Rocks!]'
2612 NewScratch:
2613 Aliases:
2614 - newScratch
2615 Args: null
2616 Description: |-
2617 NewScratch creates a new Scratch which can be used to store values in a
2618 thread safe way.
2619 Examples:
2620 - - '{{ $scratch := newScratch }}{{ $scratch.Add "b" 2 }}{{ $scratch.Add "b" 2 }}{{ $scratch.Get "b" }}'
2621 - '4'
2622 Querify:
2623 Aliases:
2624 - querify
2625 Args:
2626 - params
2627 Description: |-
2628 Querify returns a URL query string composed of the given key-value pairs,
2629 encoded and sorted by key.
2630 Examples:
2631 - - '{{ (querify "foo" 1 "bar" 2 "baz" "with spaces" "qux" "this&that=those") | safeHTML }}'
2632 - bar=2&baz=with+spaces&foo=1&qux=this%26that%3Dthose
2633 - - <a href="https://www.google.com?{{ (querify "q" "test" "page" 3) | safeURL }}">Search</a>
2634 - <a href="https://www.google.com?page=3&amp;q=test">Search</a>
2635 - - '{{ slice "foo" 1 "bar" 2 | querify | safeHTML }}'
2636 - bar=2&foo=1
2637 Reverse:
2638 Aliases: null
2639 Args:
2640 - l
2641 Description: Reverse creates a copy of the list l and reverses it.
2642 Examples: []
2643 Seq:
2644 Aliases:
2645 - seq
2646 Args:
2647 - args
2648 Description: |-
2649 Seq creates a sequence of integers from args. It's named and used as GNU's seq.
2650
2651 Examples:
2652
2653 3 => 1, 2, 3
2654 1 2 4 => 1, 3
2655 -3 => -1, -2, -3
2656 1 4 => 1, 2, 3, 4
2657 1 -2 => 1, 0, -1, -2
2658 Examples:
2659 - - '{{ seq 3 }}'
2660 - '[1 2 3]'
2661 Shuffle:
2662 Aliases:
2663 - shuffle
2664 Args:
2665 - l
2666 Description: Shuffle returns list l in a randomized order.
2667 Examples: []
2668 Slice:
2669 Aliases:
2670 - slice
2671 Args:
2672 - args
2673 Description: Slice returns a slice of all passed arguments.
2674 Examples:
2675 - - '{{ slice "B" "C" "A" | sort }}'
2676 - '[A B C]'
2677 Sort:
2678 Aliases:
2679 - sort
2680 Args:
2681 - ctx
2682 - l
2683 - args
2684 Description: Sort returns a sorted copy of the list l.
2685 Examples: []
2686 SymDiff:
2687 Aliases:
2688 - symdiff
2689 Args:
2690 - s2
2691 - s1
2692 Description: |-
2693 SymDiff returns the symmetric difference of s1 and s2.
2694 Arguments must be either a slice or an array of comparable types.
2695 Examples:
2696 - - '{{ slice 1 2 3 | symdiff (slice 3 4) }}'
2697 - '[1 2 4]'
2698 Union:
2699 Aliases:
2700 - union
2701 Args:
2702 - l1
2703 - l2
2704 Description: |-
2705 Union returns the union of the given sets, l1 and l2. l1 and
2706 l2 must be of the same type and may be either arrays or slices.
2707 If l1 and l2 aren't of the same type then l1 will be returned.
2708 If either l1 or l2 is nil then the non-nil list will be returned.
2709 Examples:
2710 - - '{{ union (slice 1 2 3) (slice 3 4 5) }}'
2711 - '[1 2 3 4 5]'
2712 Uniq:
2713 Aliases:
2714 - uniq
2715 Args:
2716 - l
2717 Description: Uniq returns a new list with duplicate elements in the list l removed.
2718 Examples:
2719 - - '{{ slice 1 2 3 2 | uniq }}'
2720 - '[1 2 3]'
2721 Where:
2722 Aliases:
2723 - where
2724 Args:
2725 - ctx
2726 - c
2727 - key
2728 - args
2729 Description: Where returns a filtered subset of collection c.
2730 Examples: []
2731 compare:
2732 Conditional:
2733 Aliases:
2734 - cond
2735 Args:
2736 - cond
2737 - v1
2738 - v2
2739 Description: |-
2740 Conditional can be used as a ternary operator.
2741
2742 It returns v1 if cond is true, else v2.
2743 Examples:
2744 - - '{{ cond (eq (add 2 2) 4) "2+2 is 4" "what?" | safeHTML }}'
2745 - 2+2 is 4
2746 Default:
2747 Aliases:
2748 - default
2749 Args:
2750 - defaultv
2751 - givenv
2752 Description: |-
2753 Default checks whether a givenv is set and returns the default value defaultv if it
2754 is not. "Set" in this context means non-zero for numeric types and times;
2755 non-zero length for strings, arrays, slices, and maps;
2756 any boolean or struct value; or non-nil for any other types.
2757 Examples:
2758 - - '{{ "Hugo Rocks!" | default "Hugo Rules!" }}'
2759 - Hugo Rocks!
2760 - - '{{ "" | default "Hugo Rules!" }}'
2761 - Hugo Rules!
2762 Eq:
2763 Aliases:
2764 - eq
2765 Args:
2766 - first
2767 - others
2768 Description: Eq returns the boolean truth of arg1 == arg2 || arg1 == arg3 || arg1 == arg4.
2769 Examples:
2770 - - '{{ if eq .Section "blog" }}current-section{{ end }}'
2771 - current-section
2772 Ge:
2773 Aliases:
2774 - ge
2775 Args:
2776 - first
2777 - others
2778 Description: Ge returns the boolean truth of arg1 >= arg2 && arg1 >= arg3 && arg1 >= arg4.
2779 Examples:
2780 - - '{{ if ge hugo.Version "0.80" }}Reasonable new Hugo version!{{ end }}'
2781 - Reasonable new Hugo version!
2782 Gt:
2783 Aliases:
2784 - gt
2785 Args:
2786 - first
2787 - others
2788 Description: Gt returns the boolean truth of arg1 > arg2 && arg1 > arg3 && arg1 > arg4.
2789 Examples: []
2790 Le:
2791 Aliases:
2792 - le
2793 Args:
2794 - first
2795 - others
2796 Description: Le returns the boolean truth of arg1 <= arg2 && arg1 <= arg3 && arg1 <= arg4.
2797 Examples: []
2798 Lt:
2799 Aliases:
2800 - lt
2801 Args:
2802 - first
2803 - others
2804 Description: Lt returns the boolean truth of arg1 < arg2 && arg1 < arg3 && arg1 < arg4.
2805 Examples: []
2806 LtCollate:
2807 Aliases: null
2808 Args:
2809 - collator
2810 - first
2811 - others
2812 Description: |-
2813 LtCollate returns the boolean truth of arg1 < arg2 && arg1 < arg3 && arg1 < arg4.
2814 The provided collator will be used for string comparisons.
2815 This is for internal use.
2816 Examples: []
2817 Ne:
2818 Aliases:
2819 - ne
2820 Args:
2821 - first
2822 - others
2823 Description: Ne returns the boolean truth of arg1 != arg2 && arg1 != arg3 && arg1 != arg4.
2824 Examples: []
2825 crypto:
2826 HMAC:
2827 Aliases:
2828 - hmac
2829 Args:
2830 - h
2831 - k
2832 - m
2833 - e
2834 Description: HMAC returns a cryptographic hash that uses a key to sign a message.
2835 Examples:
2836 - - '{{ hmac "sha256" "Secret key" "Hello world, gophers!" }}'
2837 - b6d11b6c53830b9d87036272ca9fe9d19306b8f9d8aa07b15da27d89e6e34f40
2838 Hash:
2839 Aliases: null
2840 Args:
2841 - args
2842 Description: |-
2843 Hash returns the hex-encoded checksum of v using the given algorithm; one of
2844 md5, sha1, sha256 (the default), sha384 or sha512.
2845
2846 The supported algorithms match those used for the Subresource Integrity (SRI)
2847 hash in .Data.Integrity on fingerprinted resources, so an SRI hash can be
2848 constructed by combining this with encoding.HexDecode and encoding.Base64Encode.
2849 Examples:
2850 - - '{{ crypto.Hash "sha256" "Hello world, gophers!" }}'
2851 - 6ec43b78da9669f50e4e422575c54bf87536954ccd58280219c393f2ce352b46
2852 - - '{{ "Hello world" | crypto.Hash "sha256" }}'
2853 - 64ec88ca00b268e5ba1a35678a1b5316d212f4f366b2477232534a8aeca37f3c
2854 - - '{{ "Hello world" | crypto.Hash }}'
2855 - 64ec88ca00b268e5ba1a35678a1b5316d212f4f366b2477232534a8aeca37f3c
2856 - - '{{ "Hello world" | crypto.Hash "sha512" }}'
2857 - b7f783baed8297f0db917462184ff4f08e69c2d5e5f79a942600f9725f58ce1f29c18139bf80b06c0fff2bdd34738452ecf40c488c22a7e3d80cdf6f9c1c0d47
2858 MD5:
2859 Aliases:
2860 - md5
2861 Args:
2862 - v
2863 Description: MD5 hashes the v and returns its MD5 checksum.
2864 Examples:
2865 - - '{{ md5 "Hello world, gophers!" }}'
2866 - b3029f756f98f79e7f1b7f1d1f0dd53b
2867 - - '{{ crypto.MD5 "Hello world, gophers!" }}'
2868 - b3029f756f98f79e7f1b7f1d1f0dd53b
2869 SHA1:
2870 Aliases:
2871 - sha1
2872 Args:
2873 - v
2874 Description: SHA1 hashes v and returns its SHA1 checksum.
2875 Examples:
2876 - - '{{ sha1 "Hello world, gophers!" }}'
2877 - c8b5b0e33d408246e30f53e32b8f7627a7a649d4
2878 SHA256:
2879 Aliases:
2880 - sha256
2881 Args:
2882 - v
2883 Description: SHA256 hashes v and returns its SHA256 checksum.
2884 Examples:
2885 - - '{{ sha256 "Hello world, gophers!" }}'
2886 - 6ec43b78da9669f50e4e422575c54bf87536954ccd58280219c393f2ce352b46
2887 css:
2888 Build:
2889 Aliases: null
2890 Args:
2891 - args
2892 Description: |-
2893 Build processes the given CSS Resource with ESBuild.
2894 Note that this method is identical to the one in the js Namespace.
2895 Examples: []
2896 ChromaStyles:
2897 Aliases: null
2898 Args:
2899 - opts
2900 Description: |-
2901 ChromaStyles generates a CSS stylesheet for the Chroma code highlighter
2902 and returns it as a Resource. This stylesheet is needed if
2903 markup.highlight.noClasses is disabled in config.
2904 The style defaults to the markup.highlight.style config setting.
2905 Examples: []
2906 PostCSS:
2907 Aliases:
2908 - postCSS
2909 Args:
2910 - args
2911 Description: PostCSS processes the given Resource with PostCSS.
2912 Examples: []
2913 Quoted:
2914 Aliases: null
2915 Args:
2916 - v
2917 Description: Quoted returns a string that needs to be quoted in CSS.
2918 Examples: []
2919 Sass:
2920 Aliases:
2921 - toCSS
2922 Args:
2923 - args
2924 Description: Sass processes the given Resource with SASS.
2925 Examples: []
2926 TailwindCSS:
2927 Aliases: null
2928 Args:
2929 - args
2930 Description: TailwindCSS processes the given Resource with tailwindcss.
2931 Examples: []
2932 Unquoted:
2933 Aliases: null
2934 Args:
2935 - v
2936 Description: Unquoted returns a string that does not need to be quoted in CSS.
2937 Examples: []
2938 debug:
2939 Dump:
2940 Aliases: null
2941 Args:
2942 - val
2943 Description: |-
2944 Dump returns a object dump of val as a string.
2945 Note that not every value passed to Dump will print so nicely, but
2946 we'll improve on that.
2947
2948 We recommend using the "go" Chroma lexer to format the output
2949 nicely.
2950
2951 Also note that the output from Dump may change from Hugo version to the next,
2952 so don't depend on a specific output.
2953 Examples:
2954 - - '{{ $m := newScratch }}\n{{ $m.Set "Hugo" "Rocks!" }}\n{{ $m.Values | debug.Dump | safeHTML }}'
2955 - '{\n "Hugo": "Rocks!"\n}'
2956 TestDeprecationErr:
2957 Aliases: null
2958 Args:
2959 - item
2960 - alternative
2961 Description: Internal template func, used in tests only.
2962 Examples: []
2963 TestDeprecationInfo:
2964 Aliases: null
2965 Args:
2966 - item
2967 - alternative
2968 Description: Internal template func, used in tests only.
2969 Examples: []
2970 TestDeprecationWarn:
2971 Aliases: null
2972 Args:
2973 - item
2974 - alternative
2975 Description: Internal template func, used in tests only.
2976 Examples: []
2977 Timer:
2978 Aliases: null
2979 Args:
2980 - name
2981 Description: ''
2982 Examples: []
2983 VisualizeSpaces:
2984 Aliases: null
2985 Args:
2986 - val
2987 Description: VisualizeSpaces returns a string with spaces replaced by a visible string.
2988 Examples: []
2989 diagrams:
2990 Goat:
2991 Aliases: null
2992 Args:
2993 - v
2994 Description: Goat creates a new SVG diagram from input v.
2995 Examples: []
2996 encoding:
2997 Base64Decode:
2998 Aliases:
2999 - base64Decode
3000 Args:
3001 - content
3002 Description: Base64Decode returns the base64 decoding of the given content.
3003 Examples:
3004 - - '{{ "SGVsbG8gd29ybGQ=" | base64Decode }}'
3005 - Hello world
3006 - - '{{ 42 | base64Encode | base64Decode }}'
3007 - '42'
3008 Base64Encode:
3009 Aliases:
3010 - base64Encode
3011 Args:
3012 - content
3013 Description: Base64Encode returns the base64 encoding of the given content.
3014 Examples:
3015 - - '{{ "Hello world" | base64Encode }}'
3016 - SGVsbG8gd29ybGQ=
3017 HexDecode:
3018 Aliases: null
3019 Args:
3020 - content
3021 Description: HexDecode returns the hex decoding of the given content.
3022 Examples:
3023 - - '{{ "48656c6c6f20776f726c64" | encoding.HexDecode }}'
3024 - Hello world
3025 HexEncode:
3026 Aliases: null
3027 Args:
3028 - content
3029 Description: HexEncode returns the hex encoding of the given content.
3030 Examples:
3031 - - '{{ "Hello world" | encoding.HexEncode }}'
3032 - 48656c6c6f20776f726c64
3033 Jsonify:
3034 Aliases:
3035 - jsonify
3036 Args:
3037 - args
3038 Description: |-
3039 Jsonify encodes a given object to JSON. To pretty print the JSON, pass a map
3040 or dictionary of options as the first value in args. Supported options are
3041 "prefix" and "indent". Each JSON element in the output will begin on a new
3042 line beginning with prefix followed by one or more copies of indent according
3043 to the indentation nesting.
3044 Examples:
3045 - - '{{ (slice "A" "B" "C") | jsonify }}'
3046 - '["A","B","C"]'
3047 - - '{{ (slice "A" "B" "C") | jsonify (dict "indent" " ") }}'
3048 - '[\n "A",\n "B",\n "C"\n]'
3049 fmt:
3050 Errorf:
3051 Aliases:
3052 - errorf
3053 Args:
3054 - format
3055 - args
3056 Description: |-
3057 Errorf formats args according to a format specifier and logs an ERROR.
3058 It returns an empty string.
3059 Examples:
3060 - - '{{ errorf "%s." "failed" }}'
3061 - ''
3062 Erroridf:
3063 Aliases:
3064 - erroridf
3065 Args:
3066 - id
3067 - format
3068 - args
3069 Description: |-
3070 Erroridf formats args according to a format specifier and logs an ERROR and
3071 an information text that the error with the given id can be suppressed in config.
3072 It returns an empty string.
3073 Examples:
3074 - - '{{ erroridf "my-err-id" "%s." "failed" }}'
3075 - ''
3076 Errormf:
3077 Aliases: null
3078 Args:
3079 - m
3080 - format
3081 - args
3082 Description: Errormf is experimental and subject to change at any time.
3083 Examples: []
3084 Print:
3085 Aliases:
3086 - print
3087 Args:
3088 - args
3089 Description: Print returns a string representation of args.
3090 Examples:
3091 - - '{{ print "works!" }}'
3092 - works!
3093 Printf:
3094 Aliases:
3095 - printf
3096 Args:
3097 - format
3098 - args
3099 Description: Printf returns string representation of args formatted with the layout in format.
3100 Examples:
3101 - - '{{ printf "%s!" "works" }}'
3102 - works!
3103 Println:
3104 Aliases:
3105 - println
3106 Args:
3107 - args
3108 Description: Println returns string representation of args ending with a newline.
3109 Examples:
3110 - - '{{ println "works!" }}'
3111 - |
3112 works!
3113 Warnf:
3114 Aliases:
3115 - warnf
3116 Args:
3117 - format
3118 - args
3119 Description: |-
3120 Warnf formats args according to a format specifier and logs a WARNING.
3121 It returns an empty string.
3122 Examples:
3123 - - '{{ warnf "%s." "warning" }}'
3124 - ''
3125 Warnidf:
3126 Aliases:
3127 - warnidf
3128 Args:
3129 - id
3130 - format
3131 - args
3132 Description: |-
3133 Warnidf formats args according to a format specifier and logs an WARNING and
3134 an information text that the warning with the given id can be suppressed in config.
3135 It returns an empty string.
3136 Examples:
3137 - - '{{ warnidf "my-warn-id" "%s." "warning" }}'
3138 - ''
3139 Warnmf:
3140 Aliases: null
3141 Args:
3142 - m
3143 - format
3144 - args
3145 Description: Warnmf is experimental and subject to change at any time.
3146 Examples: []
3147 hash:
3148 FNV32a:
3149 Aliases: null
3150 Args:
3151 - v
3152 Description: FNV32a hashes v using fnv32a algorithm.
3153 Examples:
3154 - - '{{ hash.FNV32a "Hugo Rocks!!" }}'
3155 - '1515779328'
3156 XxHash:
3157 Aliases:
3158 - xxhash
3159 Args:
3160 - v
3161 Description: XxHash returns the xxHash of the input string.
3162 Examples:
3163 - - '{{ hash.XxHash "The quick brown fox jumps over the lazy dog" }}'
3164 - 0b242d361fda71bc
3165 hugo:
3166 Data:
3167 Aliases: null
3168 Args: null
3169 Description: ''
3170 Examples: null
3171 Deps:
3172 Aliases: null
3173 Args: null
3174 Description: ''
3175 Examples: null
3176 Environment:
3177 Aliases: null
3178 Args: null
3179 Description: ''
3180 Examples: null
3181 ForEeachIdentityByName:
3182 Aliases: null
3183 Args: null
3184 Description: ''
3185 Examples: null
3186 Generator:
3187 Aliases: null
3188 Args: null
3189 Description: ''
3190 Examples: null
3191 IsDevelopment:
3192 Aliases: null
3193 Args: null
3194 Description: ''
3195 Examples: null
3196 IsExtended:
3197 Aliases: null
3198 Args: null
3199 Description: ''
3200 Examples: null
3201 IsMultihost:
3202 Aliases: null
3203 Args: null
3204 Description: ''
3205 Examples: null
3206 IsMultilingual:
3207 Aliases: null
3208 Args: null
3209 Description: ''
3210 Examples: null
3211 IsProduction:
3212 Aliases: null
3213 Args: null
3214 Description: ''
3215 Examples: null
3216 IsServer:
3217 Aliases: null
3218 Args: null
3219 Description: ''
3220 Examples: null
3221 Sites:
3222 Aliases: null
3223 Args: null
3224 Description: ''
3225 Examples: null
3226 Store:
3227 Aliases: null
3228 Args: null
3229 Description: ''
3230 Examples: null
3231 Version:
3232 Aliases: null
3233 Args: null
3234 Description: ''
3235 Examples: null
3236 WorkingDir:
3237 Aliases: null
3238 Args: null
3239 Description: ''
3240 Examples: null
3241 images:
3242 AutoOrient:
3243 Aliases: null
3244 Args: null
3245 Description: ''
3246 Examples: null
3247 Brightness:
3248 Aliases: null
3249 Args: null
3250 Description: ''
3251 Examples: null
3252 ColorBalance:
3253 Aliases: null
3254 Args: null
3255 Description: ''
3256 Examples: null
3257 Colorize:
3258 Aliases: null
3259 Args: null
3260 Description: ''
3261 Examples: null
3262 Config:
3263 Aliases:
3264 - imageConfig
3265 Args:
3266 - path
3267 Description: |-
3268 Config returns the image.Config for the specified path relative to the
3269 working directory.
3270 Examples: []
3271 Contrast:
3272 Aliases: null
3273 Args: null
3274 Description: ''
3275 Examples: null
3276 Dither:
3277 Aliases: null
3278 Args: null
3279 Description: ''
3280 Examples: null
3281 Filter:
3282 Aliases: null
3283 Args:
3284 - args
3285 Description: Filter applies the given filters to the image given as the last element in args.
3286 Examples: []
3287 Gamma:
3288 Aliases: null
3289 Args: null
3290 Description: ''
3291 Examples: null
3292 GaussianBlur:
3293 Aliases: null
3294 Args: null
3295 Description: ''
3296 Examples: null
3297 Grayscale:
3298 Aliases: null
3299 Args: null
3300 Description: ''
3301 Examples: null
3302 Hue:
3303 Aliases: null
3304 Args: null
3305 Description: ''
3306 Examples: null
3307 Invert:
3308 Aliases: null
3309 Args: null
3310 Description: ''
3311 Examples: null
3312 Mask:
3313 Aliases: null
3314 Args: null
3315 Description: ''
3316 Examples: null
3317 Opacity:
3318 Aliases: null
3319 Args: null
3320 Description: ''
3321 Examples: null
3322 Overlay:
3323 Aliases: null
3324 Args: null
3325 Description: ''
3326 Examples: null
3327 Padding:
3328 Aliases: null
3329 Args: null
3330 Description: ''
3331 Examples: null
3332 Pixelate:
3333 Aliases: null
3334 Args: null
3335 Description: ''
3336 Examples: null
3337 Process:
3338 Aliases: null
3339 Args: null
3340 Description: ''
3341 Examples: null
3342 QR:
3343 Aliases: null
3344 Args:
3345 - args
3346 Description: |-
3347 QR encodes the given text into a QR code using the specified options,
3348 returning an image resource.
3349 Examples: []
3350 Saturation:
3351 Aliases: null
3352 Args: null
3353 Description: ''
3354 Examples: null
3355 Sepia:
3356 Aliases: null
3357 Args: null
3358 Description: ''
3359 Examples: null
3360 Sigmoid:
3361 Aliases: null
3362 Args: null
3363 Description: ''
3364 Examples: null
3365 Text:
3366 Aliases: null
3367 Args: null
3368 Description: ''
3369 Examples: null
3370 UnsharpMask:
3371 Aliases: null
3372 Args: null
3373 Description: ''
3374 Examples: null
3375 inflect:
3376 Humanize:
3377 Aliases:
3378 - humanize
3379 Args:
3380 - v
3381 Description: |-
3382 Humanize returns the humanized form of v.
3383
3384 If v is either an integer or a string containing an integer
3385 value, the behavior is to add the appropriate ordinal.
3386 Examples:
3387 - - '{{ humanize "my-first-post" }}'
3388 - My first post
3389 - - '{{ humanize "myCamelPost" }}'
3390 - My camel post
3391 - - '{{ humanize "52" }}'
3392 - 52nd
3393 - - '{{ humanize 103 }}'
3394 - 103rd
3395 Pluralize:
3396 Aliases:
3397 - pluralize
3398 Args:
3399 - v
3400 Description: Pluralize returns the plural form of the single word in v.
3401 Examples:
3402 - - '{{ "cat" | pluralize }}'
3403 - cats
3404 Singularize:
3405 Aliases:
3406 - singularize
3407 Args:
3408 - v
3409 Description: Singularize returns the singular form of a single word in v.
3410 Examples:
3411 - - '{{ "cats" | singularize }}'
3412 - cat
3413 js:
3414 Babel:
3415 Aliases:
3416 - babel
3417 Args:
3418 - args
3419 Description: Babel processes the given Resource with Babel.
3420 Examples: []
3421 Batch:
3422 Aliases: null
3423 Args:
3424 - id
3425 Description: |-
3426 Batch creates a new Batcher with the given ID.
3427 Repeated calls with the same ID will return the same Batcher.
3428 The ID will be used to name the root directory of the batch.
3429 Forward slashes in the ID is allowed.
3430 Examples: []
3431 Build:
3432 Aliases: null
3433 Args:
3434 - args
3435 Description: Build processes the given JavaScript Resource with ESBuild.
3436 Examples: []
3437 lang:
3438 FormatAccounting:
3439 Aliases: null
3440 Args:
3441 - precision
3442 - currency
3443 - number
3444 Description: |-
3445 FormatAccounting returns the currency representation of number for the given currency and precision
3446 for the current language in accounting notation.
3447
3448 The return value is formatted with at least two decimal places.
3449 Examples:
3450 - - '{{ 512.5032 | lang.FormatAccounting 2 "NOK" }}'
3451 - NOK512.50
3452 FormatCurrency:
3453 Aliases: null
3454 Args:
3455 - precision
3456 - currency
3457 - number
3458 Description: |-
3459 FormatCurrency returns the currency representation of number for the given currency and precision
3460 for the current language.
3461
3462 The return value is formatted with at least two decimal places.
3463 Examples:
3464 - - '{{ 512.5032 | lang.FormatCurrency 2 "USD" }}'
3465 - $512.50
3466 FormatNumber:
3467 Aliases: null
3468 Args:
3469 - precision
3470 - number
3471 Description: FormatNumber formats number with the given precision for the current language.
3472 Examples:
3473 - - '{{ 512.5032 | lang.FormatNumber 2 }}'
3474 - '512.50'
3475 FormatNumberCustom:
3476 Aliases: null
3477 Args:
3478 - precision
3479 - number
3480 - options
3481 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.'
3482 Examples:
3483 - - '{{ lang.FormatNumberCustom 2 12345.6789 }}'
3484 - 12,345.68
3485 - - '{{ lang.FormatNumberCustom 2 12345.6789 "- , ." }}'
3486 - 12.345,68
3487 - - '{{ lang.FormatNumberCustom 6 -12345.6789 "- ." }}'
3488 - '-12345.678900'
3489 - - '{{ lang.FormatNumberCustom 0 -12345.6789 "- . ," }}'
3490 - -12,346
3491 - - '{{ lang.FormatNumberCustom 0 -12345.6789 "-|.| " "|" }}'
3492 - -12 346
3493 - - '{{ -98765.4321 | lang.FormatNumberCustom 2 }}'
3494 - -98,765.43
3495 FormatPercent:
3496 Aliases: null
3497 Args:
3498 - precision
3499 - number
3500 Description: |-
3501 FormatPercent formats number with the given precision for the current language.
3502 Note that the number is assumed to be a percentage.
3503 Examples:
3504 - - '{{ 512.5032 | lang.FormatPercent 2 }}'
3505 - 512.50%
3506 Merge:
3507 Aliases: null
3508 Args:
3509 - p2
3510 - p1
3511 Description: Merge creates a union of pages from two languages.
3512 Examples: []
3513 Translate:
3514 Aliases:
3515 - i18n
3516 - T
3517 Args:
3518 - ctx
3519 - id
3520 - args
3521 Description: Translate returns a translated string for id.
3522 Examples: []
3523 math:
3524 Abs:
3525 Aliases: null
3526 Args:
3527 - 'n'
3528 Description: Abs returns the absolute value of n.
3529 Examples:
3530 - - '{{ math.Abs -2.1 }}'
3531 - '2.1'
3532 Acos:
3533 Aliases: null
3534 Args:
3535 - 'n'
3536 Description: Acos returns the arccosine, in radians, of n.
3537 Examples:
3538 - - '{{ math.Acos 1 }}'
3539 - '0'
3540 Add:
3541 Aliases:
3542 - add
3543 Args:
3544 - inputs
3545 Description: Add adds the multivalued addends n1 and n2 or more values.
3546 Examples:
3547 - - '{{ add 1 2 }}'
3548 - '3'
3549 Asin:
3550 Aliases: null
3551 Args:
3552 - 'n'
3553 Description: Asin returns the arcsine, in radians, of n.
3554 Examples:
3555 - - '{{ math.Asin 1 }}'
3556 - '1.5707963267948966'
3557 Atan:
3558 Aliases: null
3559 Args:
3560 - 'n'
3561 Description: Atan returns the arctangent, in radians, of n.
3562 Examples:
3563 - - '{{ math.Atan 1 }}'
3564 - '0.7853981633974483'
3565 Atan2:
3566 Aliases: null
3567 Args:
3568 - 'n'
3569 - m
3570 Description: Atan2 returns the arc tangent of n/m, using the signs of the two to determine the quadrant of the return value.
3571 Examples:
3572 - - '{{ math.Atan2 1 2 }}'
3573 - '0.4636476090008061'
3574 Ceil:
3575 Aliases: null
3576 Args:
3577 - 'n'
3578 Description: Ceil returns the least integer value greater than or equal to n.
3579 Examples:
3580 - - '{{ math.Ceil 2.1 }}'
3581 - '3'
3582 Cos:
3583 Aliases: null
3584 Args:
3585 - 'n'
3586 Description: Cos returns the cosine of the radian argument n.
3587 Examples:
3588 - - '{{ math.Cos 1 }}'
3589 - '0.5403023058681398'
3590 Counter:
3591 Aliases: null
3592 Args: null
3593 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>'
3594 Examples: []
3595 Div:
3596 Aliases:
3597 - div
3598 Args:
3599 - inputs
3600 Description: Div divides n1 by n2.
3601 Examples:
3602 - - '{{ div 6 3 }}'
3603 - '2'
3604 Floor:
3605 Aliases: null
3606 Args:
3607 - 'n'
3608 Description: Floor returns the greatest integer value less than or equal to n.
3609 Examples:
3610 - - '{{ math.Floor 1.9 }}'
3611 - '1'
3612 Log:
3613 Aliases: null
3614 Args:
3615 - 'n'
3616 Description: Log returns the natural logarithm of the number n.
3617 Examples:
3618 - - '{{ math.Log 1 }}'
3619 - '0'
3620 Max:
3621 Aliases: null
3622 Args:
3623 - inputs
3624 Description: Max returns the greater of all numbers in inputs. Any slices in inputs are flattened.
3625 Examples:
3626 - - '{{ math.Max 1 2 }}'
3627 - '2'
3628 MaxInt64:
3629 Aliases: null
3630 Args: null
3631 Description: MaxInt64 returns the maximum value for a signed 64-bit integer.
3632 Examples:
3633 - - '{{ math.MaxInt64 }}'
3634 - '9223372036854775807'
3635 Min:
3636 Aliases: null
3637 Args:
3638 - inputs
3639 Description: Min returns the smaller of all numbers in inputs. Any slices in inputs are flattened.
3640 Examples:
3641 - - '{{ math.Min 1 2 }}'
3642 - '1'
3643 Mod:
3644 Aliases:
3645 - mod
3646 Args:
3647 - n1
3648 - n2
3649 Description: Mod returns n1 % n2.
3650 Examples:
3651 - - '{{ mod 15 3 }}'
3652 - '0'
3653 ModBool:
3654 Aliases:
3655 - modBool
3656 Args:
3657 - n1
3658 - n2
3659 Description: ModBool returns the boolean of n1 % n2. If n1 % n2 == 0, return true.
3660 Examples:
3661 - - '{{ modBool 15 3 }}'
3662 - 'true'
3663 Mul:
3664 Aliases:
3665 - mul
3666 Args:
3667 - inputs
3668 Description: Mul multiplies the multivalued numbers n1 and n2 or more values.
3669 Examples:
3670 - - '{{ mul 2 3 }}'
3671 - '6'
3672 Pi:
3673 Aliases: null
3674 Args: null
3675 Description: Pi returns the mathematical constant pi.
3676 Examples:
3677 - - '{{ math.Pi }}'
3678 - '3.141592653589793'
3679 Pow:
3680 Aliases:
3681 - pow
3682 Args:
3683 - n1
3684 - n2
3685 Description: Pow returns n1 raised to the power of n2.
3686 Examples:
3687 - - '{{ math.Pow 2 3 }}'
3688 - '8'
3689 Product:
3690 Aliases: null
3691 Args:
3692 - inputs
3693 Description: Product returns the product of all numbers in inputs. Any slices in inputs are flattened.
3694 Examples: []
3695 Rand:
3696 Aliases: null
3697 Args: null
3698 Description: Rand returns, as a float64, a pseudo-random number in the half-open interval [0.0,1.0).
3699 Examples:
3700 - - '{{ math.Rand }}'
3701 - '0.6312770459590062'
3702 Round:
3703 Aliases: null
3704 Args:
3705 - 'n'
3706 Description: Round returns the integer nearest to n, rounding half away from zero.
3707 Examples:
3708 - - '{{ math.Round 1.5 }}'
3709 - '2'
3710 Sin:
3711 Aliases: null
3712 Args:
3713 - 'n'
3714 Description: Sin returns the sine of the radian argument n.
3715 Examples:
3716 - - '{{ math.Sin 1 }}'
3717 - '0.8414709848078965'
3718 Sqrt:
3719 Aliases: null
3720 Args:
3721 - 'n'
3722 Description: Sqrt returns the square root of the number n.
3723 Examples:
3724 - - '{{ math.Sqrt 81 }}'
3725 - '9'
3726 Sub:
3727 Aliases:
3728 - sub
3729 Args:
3730 - inputs
3731 Description: Sub subtracts multivalued.
3732 Examples:
3733 - - '{{ sub 3 2 }}'
3734 - '1'
3735 Sum:
3736 Aliases: null
3737 Args:
3738 - inputs
3739 Description: Sum returns the sum of all numbers in inputs. Any slices in inputs are flattened.
3740 Examples: []
3741 Tan:
3742 Aliases: null
3743 Args:
3744 - 'n'
3745 Description: Tan returns the tangent of the radian argument n.
3746 Examples:
3747 - - '{{ math.Tan 1 }}'
3748 - '1.557407724654902'
3749 ToDegrees:
3750 Aliases: null
3751 Args:
3752 - 'n'
3753 Description: ToDegrees converts radians into degrees.
3754 Examples:
3755 - - '{{ math.ToDegrees 1.5707963267948966 }}'
3756 - '90'
3757 ToRadians:
3758 Aliases: null
3759 Args:
3760 - 'n'
3761 Description: ToRadians converts degrees into radians.
3762 Examples:
3763 - - '{{ math.ToRadians 90 }}'
3764 - '1.5707963267948966'
3765 openapi3:
3766 Unmarshal:
3767 Aliases: null
3768 Args: null
3769 Description: ''
3770 Examples: []
3771 os:
3772 FileExists:
3773 Aliases:
3774 - fileExists
3775 Args:
3776 - i
3777 Description: FileExists checks whether a file exists under the given path.
3778 Examples:
3779 - - '{{ fileExists "foo.txt" }}'
3780 - 'false'
3781 Getenv:
3782 Aliases:
3783 - getenv
3784 Args:
3785 - key
3786 Description: |-
3787 Getenv retrieves the value of the environment variable named by the key.
3788 It returns the value, which will be empty if the variable is not present.
3789 Examples: []
3790 ReadDir:
3791 Aliases:
3792 - readDir
3793 Args:
3794 - i
3795 Description: ReadDir lists the directory contents relative to the configured WorkingDir.
3796 Examples:
3797 - - '{{ range (readDir "files") }}{{ .Name }}{{ end }}'
3798 - README.txt
3799 ReadFile:
3800 Aliases:
3801 - readFile
3802 Args:
3803 - i
3804 Description: |-
3805 ReadFile reads the file named by filename relative to the configured WorkingDir.
3806 It returns the contents as a string.
3807 There is an upper size limit set at 1 megabytes.
3808 Examples:
3809 - - '{{ readFile "files/README.txt" }}'
3810 - Hugo Rocks!
3811 Stat:
3812 Aliases: null
3813 Args:
3814 - i
3815 Description: Stat returns the os.FileInfo structure describing file.
3816 Examples: []
3817 partials:
3818 Include:
3819 Aliases:
3820 - partial
3821 Args:
3822 - ctx
3823 - name
3824 - contextList
3825 Description: |-
3826 Include executes the named partial.
3827 If the partial contains a return statement, that value will be returned.
3828 Else, the rendered output will be returned:
3829 A string if the partial is a text/template, or template.HTML when html/template.
3830 Note that ctx is provided by Hugo, not the end user.
3831 Examples:
3832 - - '{{ partial "header.html" . }}'
3833 - <title>Hugo Rocks!</title>
3834 IncludeCached:
3835 Aliases:
3836 - partialCached
3837 Args:
3838 - ctx
3839 - name
3840 - context
3841 - variants
3842 Description: |-
3843 IncludeCached executes and caches partial templates. The cache is created with name+variants as the key.
3844 Note that ctx is provided by Hugo, not the end user.
3845 Examples: []
3846 path:
3847 Base:
3848 Aliases: null
3849 Args:
3850 - path
3851 Description: |-
3852 Base returns the last element of path.
3853 Trailing slashes are removed before extracting the last element.
3854 If the path is empty, Base returns ".".
3855 If the path consists entirely of slashes, Base returns "/".
3856 The input path is passed into filepath.ToSlash converting any Windows slashes
3857 to forward slashes.
3858 Examples: []
3859 BaseName:
3860 Aliases: null
3861 Args:
3862 - path
3863 Description: |-
3864 BaseName returns the last element of path, removing the extension if present.
3865 Trailing slashes are removed before extracting the last element.
3866 If the path is empty, Base returns ".".
3867 If the path consists entirely of slashes, Base returns "/".
3868 The input path is passed into filepath.ToSlash converting any Windows slashes
3869 to forward slashes.
3870 Examples: []
3871 Clean:
3872 Aliases: null
3873 Args:
3874 - path
3875 Description: |-
3876 Clean replaces the separators used with standard slashes and then
3877 extraneous slashes are removed.
3878 Examples: []
3879 Dir:
3880 Aliases: null
3881 Args:
3882 - path
3883 Description: |-
3884 Dir returns all but the last element of path, typically the path's directory.
3885 After dropping the final element using Split, the path is Cleaned and trailing
3886 slashes are removed.
3887 If the path is empty, Dir returns ".".
3888 If the path consists entirely of slashes followed by non-slash bytes, Dir
3889 returns a single slash. In any other case, the returned path does not end in a
3890 slash.
3891 The input path is passed into filepath.ToSlash converting any Windows slashes
3892 to forward slashes.
3893 Examples: []
3894 Ext:
3895 Aliases: null
3896 Args:
3897 - path
3898 Description: |-
3899 Ext returns the file name extension used by path.
3900 The extension is the suffix beginning at the final dot
3901 in the final slash-separated element of path;
3902 it is empty if there is no dot.
3903 The input path is passed into filepath.ToSlash converting any Windows slashes
3904 to forward slashes.
3905 Examples: []
3906 Join:
3907 Aliases: null
3908 Args:
3909 - elements
3910 Description: |-
3911 Join joins any number of path elements into a single path, adding a
3912 separating slash if necessary. All the input
3913 path elements are passed into filepath.ToSlash converting any Windows slashes
3914 to forward slashes.
3915 The result is Cleaned; in particular,
3916 all empty strings are ignored.
3917 Examples:
3918 - - '{{ slice "my/path" "filename.txt" | path.Join }}'
3919 - my/path/filename.txt
3920 - - '{{ path.Join "my" "path" "filename.txt" }}'
3921 - my/path/filename.txt
3922 - - '{{ "my/path/filename.txt" | path.Ext }}'
3923 - .txt
3924 - - '{{ "my/path/filename.txt" | path.Base }}'
3925 - filename.txt
3926 - - '{{ "my/path/filename.txt" | path.Dir }}'
3927 - my/path
3928 Split:
3929 Aliases: null
3930 Args:
3931 - path
3932 Description: |-
3933 Split splits path immediately following the final slash,
3934 separating it into a directory and file name component.
3935 If there is no slash in path, Split returns an empty dir and
3936 file set to path.
3937 The input path is passed into filepath.ToSlash converting any Windows slashes
3938 to forward slashes.
3939 The returned values have the property that path = dir+file.
3940 Examples:
3941 - - '{{ "/my/path/filename.txt" | path.Split }}'
3942 - /my/path/|filename.txt
3943 - - '{{ "/my/path/filename.txt" | path.Split }}'
3944 - /my/path/|filename.txt
3945 reflect:
3946 IsImageResource:
3947 Aliases: null
3948 Args: null
3949 Description: ''
3950 Examples: null
3951 IsImageResourceProcessable:
3952 Aliases: null
3953 Args: null
3954 Description: ''
3955 Examples: null
3956 IsImageResourceWithMeta:
3957 Aliases: null
3958 Args: null
3959 Description: ''
3960 Examples: null
3961 IsMap:
3962 Aliases: null
3963 Args:
3964 - v
3965 Description: IsMap reports whether v is a map.
3966 Examples:
3967 - - '{{ if reflect.IsMap (dict "a" 1) }}Map{{ end }}'
3968 - Map
3969 IsPage:
3970 Aliases: null
3971 Args: null
3972 Description: ''
3973 Examples: null
3974 IsResource:
3975 Aliases: null
3976 Args: null
3977 Description: ''
3978 Examples: null
3979 IsSite:
3980 Aliases: null
3981 Args: null
3982 Description: ''
3983 Examples: null
3984 IsSlice:
3985 Aliases: null
3986 Args:
3987 - v
3988 Description: IsSlice reports whether v is a slice.
3989 Examples:
3990 - - '{{ if reflect.IsSlice (slice 1 2 3) }}Slice{{ end }}'
3991 - Slice
3992 resources:
3993 ByType:
3994 Aliases: null
3995 Args:
3996 - typ
3997 Description: ByType returns resources of a given resource type (e.g. "image").
3998 Examples: []
3999 Concat:
4000 Aliases: null
4001 Args:
4002 - targetPathIn
4003 - r
4004 Description: |-
4005 Concat concatenates a slice of Resource objects. These resources must
4006 (currently) be of the same Media Type.
4007 Examples: []
4008 Copy:
4009 Aliases: null
4010 Args:
4011 - s
4012 - r
4013 Description: Copy copies r to the new targetPath in s.
4014 Examples: []
4015 ExecuteAsTemplate:
4016 Aliases: null
4017 Args:
4018 - ctx
4019 - args
4020 Description: |-
4021 ExecuteAsTemplate creates a Resource from a Go template, parsed and executed with
4022 the given data, and published to the relative target path.
4023 Examples: []
4024 Fingerprint:
4025 Aliases:
4026 - fingerprint
4027 Args:
4028 - args
4029 Description: |-
4030 Fingerprint transforms the given Resource with a MD5 hash of the content in
4031 the RelPermalink and Permalink.
4032 Examples: []
4033 FromString:
4034 Aliases: null
4035 Args:
4036 - targetPathIn
4037 - contentIn
4038 Description: FromString creates a Resource from a string published to the relative target path.
4039 Examples: []
4040 Get:
4041 Aliases: null
4042 Args:
4043 - filename
4044 Description: |-
4045 Get locates the filename given in Hugo's assets filesystem
4046 and creates a Resource object that can be used for further transformations.
4047 Examples: []
4048 GetMatch:
4049 Aliases: null
4050 Args: null
4051 Description: ''
4052 Examples: null
4053 GetRemote:
4054 Aliases: null
4055 Args:
4056 - args
4057 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.'
4058 Examples: []
4059 Key:
4060 Aliases: null
4061 Args: null
4062 Description: ''
4063 Examples: null
4064 Match:
4065 Aliases: null
4066 Args:
4067 - pattern
4068 Description: |-
4069 Match gets all resources matching the given base path prefix, e.g
4070 "*.png" will match all png files. The "*" does not match path delimiters (/),
4071 so if you organize your resources in sub-folders, you need to be explicit about it, e.g.:
4072 "images/*.png". To match any PNG image anywhere in the bundle you can do "**.png", and
4073 to match all PNG images below the images folder, use "images/**.jpg".
4074
4075 The matching is case insensitive.
4076
4077 Match matches by using the files name with path relative to the file system root
4078 with Unix style slashes (/) and no leading slash, e.g. "images/logo.png".
4079
4080 See https://github.com/gobwas/glob for the full rules set.
4081
4082 It looks for files in the assets file system.
4083
4084 See Match for a more complete explanation about the rules used.
4085 Examples: []
4086 Minify:
4087 Aliases:
4088 - minify
4089 Args:
4090 - r
4091 Description: |-
4092 Minify minifies the given Resource using the MediaType to pick the correct
4093 minifier.
4094 Examples: []
4095 PostProcess:
4096 Aliases: null
4097 Args:
4098 - r
4099 Description: 'PostProcess processes r after the build.\n\nDeprecated: Use templates.Defer instead.'
4100 Examples: []
4101 safe:
4102 CSS:
4103 Aliases:
4104 - safeCSS
4105 Args:
4106 - s
4107 Description: CSS returns the string s as html/template CSS content.
4108 Examples:
4109 - - '{{ "Bat&Man" | safeCSS | safeCSS }}'
4110 - Bat&amp;Man
4111 HTML:
4112 Aliases:
4113 - safeHTML
4114 Args:
4115 - s
4116 Description: HTML returns the string s as html/template HTML content.
4117 Examples:
4118 - - '{{ "Bat&Man" | safeHTML | safeHTML }}'
4119 - Bat&Man
4120 - - '{{ "Bat&Man" | safeHTML }}'
4121 - Bat&Man
4122 HTMLAttr:
4123 Aliases:
4124 - safeHTMLAttr
4125 Args:
4126 - s
4127 Description: HTMLAttr returns the string s as html/template HTMLAttr content.
4128 Examples: []
4129 JS:
4130 Aliases:
4131 - safeJS
4132 Args:
4133 - s
4134 Description: JS returns the given string as a html/template JS content.
4135 Examples:
4136 - - '{{ "(1*2)" | safeJS | safeJS }}'
4137 - (1*2)
4138 JSStr:
4139 Aliases:
4140 - safeJSStr
4141 Args:
4142 - s
4143 Description: JSStr returns the given string as a html/template JSStr content.
4144 Examples: []
4145 URL:
4146 Aliases:
4147 - safeURL
4148 Args:
4149 - s
4150 Description: URL returns the string s as html/template URL content.
4151 Examples:
4152 - - '{{ "http://gohugo.io" | safeURL | safeURL }}'
4153 - http://gohugo.io
4154 site:
4155 AllPages:
4156 Aliases: null
4157 Args: null
4158 Description: ''
4159 Examples: null
4160 BaseURL:
4161 Aliases: null
4162 Args: null
4163 Description: ''
4164 Examples: null
4165 BuildDrafts:
4166 Aliases: null
4167 Args: null
4168 Description: ''
4169 Examples: null
4170 CheckReady:
4171 Aliases: null
4172 Args: null
4173 Description: ''
4174 Examples: null
4175 Config:
4176 Aliases: null
4177 Args: null
4178 Description: ''
4179 Examples: null
4180 Copyright:
4181 Aliases: null
4182 Args: null
4183 Description: ''
4184 Examples: null
4185 Current:
4186 Aliases: null
4187 Args: null
4188 Description: ''
4189 Examples: null
4190 Data:
4191 Aliases: null
4192 Args: null
4193 Description: ''
4194 Examples: null
4195 Dimension:
4196 Aliases: null
4197 Args: null
4198 Description: ''
4199 Examples: null
4200 ForEeachIdentityByName:
4201 Aliases: null
4202 Args: null
4203 Description: ''
4204 Examples: null
4205 GetPage:
4206 Aliases: null
4207 Args: null
4208 Description: ''
4209 Examples: null
4210 Home:
4211 Aliases: null
4212 Args: null
4213 Description: ''
4214 Examples: null
4215 Hugo:
4216 Aliases: null
4217 Args: null
4218 Description: ''
4219 Examples: null
4220 IsDefault:
4221 Aliases: null
4222 Args: null
4223 Description: ''
4224 Examples: null
4225 Key:
4226 Aliases: null
4227 Args: null
4228 Description: ''
4229 Examples: null
4230 Language:
4231 Aliases: null
4232 Args: null
4233 Description: ''
4234 Examples: null
4235 LanguageCode:
4236 Aliases: null
4237 Args: null
4238 Description: ''
4239 Examples: null
4240 LanguagePrefix:
4241 Aliases: null
4242 Args: null
4243 Description: ''
4244 Examples: null
4245 Languages:
4246 Aliases: null
4247 Args: null
4248 Description: ''
4249 Examples: null
4250 Lastmod:
4251 Aliases: null
4252 Args: null
4253 Description: ''
4254 Examples: null
4255 MainSections:
4256 Aliases: null
4257 Args: null
4258 Description: ''
4259 Examples: null
4260 Menus:
4261 Aliases: null
4262 Args: null
4263 Description: ''
4264 Examples: null
4265 Pages:
4266 Aliases: null
4267 Args: null
4268 Description: ''
4269 Examples: null
4270 Param:
4271 Aliases: null
4272 Args: null
4273 Description: ''
4274 Examples: null
4275 Params:
4276 Aliases: null
4277 Args: null
4278 Description: ''
4279 Examples: null
4280 RegularPages:
4281 Aliases: null
4282 Args: null
4283 Description: ''
4284 Examples: null
4285 Role:
4286 Aliases: null
4287 Args: null
4288 Description: ''
4289 Examples: null
4290 Sections:
4291 Aliases: null
4292 Args: null
4293 Description: ''
4294 Examples: null
4295 ServerPort:
4296 Aliases: null
4297 Args: null
4298 Description: ''
4299 Examples: null
4300 Sites:
4301 Aliases: null
4302 Args: null
4303 Description: ''
4304 Examples: null
4305 Store:
4306 Aliases: null
4307 Args: null
4308 Description: ''
4309 Examples: null
4310 String:
4311 Aliases: null
4312 Args: null
4313 Description: ''
4314 Examples: null
4315 Taxonomies:
4316 Aliases: null
4317 Args: null
4318 Description: ''
4319 Examples: null
4320 Title:
4321 Aliases: null
4322 Args: null
4323 Description: ''
4324 Examples: null
4325 Version:
4326 Aliases: null
4327 Args: null
4328 Description: ''
4329 Examples: null
4330 strings:
4331 Chomp:
4332 Aliases:
4333 - chomp
4334 Args:
4335 - s
4336 Description: Chomp returns a copy of s with all trailing newline characters removed.
4337 Examples:
4338 - - '{{ chomp "<p>Blockhead</p>\n" | safeHTML }}'
4339 - <p>Blockhead</p>
4340 Contains:
4341 Aliases: null
4342 Args:
4343 - s
4344 - substr
4345 Description: Contains reports whether substr is in s.
4346 Examples:
4347 - - '{{ strings.Contains "abc" "b" }}'
4348 - 'true'
4349 - - '{{ strings.Contains "abc" "d" }}'
4350 - 'false'
4351 ContainsAny:
4352 Aliases: null
4353 Args:
4354 - s
4355 - chars
4356 Description: ContainsAny reports whether any Unicode code points in chars are within s.
4357 Examples:
4358 - - '{{ strings.ContainsAny "abc" "bcd" }}'
4359 - 'true'
4360 - - '{{ strings.ContainsAny "abc" "def" }}'
4361 - 'false'
4362 ContainsNonSpace:
4363 Aliases: null
4364 Args:
4365 - s
4366 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>'
4367 Examples: []
4368 Count:
4369 Aliases: null
4370 Args:
4371 - substr
4372 - s
4373 Description: |-
4374 Count counts the number of non-overlapping instances of substr in s.
4375 If substr is an empty string, Count returns 1 + the number of Unicode code points in s.
4376 Examples:
4377 - - '{{ "aabab" | strings.Count "a" }}'
4378 - '3'
4379 CountRunes:
4380 Aliases:
4381 - countrunes
4382 Args:
4383 - s
4384 Description: CountRunes returns the number of runes in s, excluding whitespace.
4385 Examples: []
4386 CountWords:
4387 Aliases:
4388 - countwords
4389 Args:
4390 - s
4391 Description: CountWords returns the approximate word count in s.
4392 Examples: []
4393 Diff:
4394 Aliases: null
4395 Args:
4396 - oldname
4397 - old
4398 - newname
4399 - new
4400 Description: |-
4401 Diff returns an anchored diff of the two texts old and new in the “unified
4402 diff” format. If old and new are identical, Diff returns an empty string.
4403 Examples: []
4404 FindRE:
4405 Aliases:
4406 - findRE
4407 Args:
4408 - expr
4409 - content
4410 - limit
4411 Description: |-
4412 FindRE returns a list of strings that match the regular expression. By default all matches
4413 will be included. The number of matches can be limited with an optional third parameter.
4414 Examples:
4415 - - '{{ findRE "[G|g]o" "Hugo is a static side generator written in Go." 1 }}'
4416 - '[go]'
4417 FindRESubmatch:
4418 Aliases:
4419 - findRESubmatch
4420 Args:
4421 - expr
4422 - content
4423 - limit
4424 Description: |-
4425 FindRESubmatch returns a slice of all successive matches of the regular
4426 expression in content. Each element is a slice of strings holding the text
4427 of the leftmost match of the regular expression and the matches, if any, of
4428 its subexpressions.
4429
4430 By default all matches will be included. The number of matches can be
4431 limited with the optional limit parameter. A return value of nil indicates
4432 no match.
4433 Examples:
4434 - - '{{ findRESubmatch `<a\s*href="(.+?)">(.+?)</a>` `<li><a href="#foo">Foo</a></li> <li><a href="#bar">Bar</a></li>` | print | safeHTML }}'
4435 - '[[<a href="#foo">Foo</a> #foo Foo] [<a href="#bar">Bar</a> #bar Bar]]'
4436 FirstUpper:
4437 Aliases: null
4438 Args:
4439 - s
4440 Description: FirstUpper converts s making the first character upper case.
4441 Examples:
4442 - - '{{ "hugo rocks!" | strings.FirstUpper }}'
4443 - Hugo rocks!
4444 HasPrefix:
4445 Aliases:
4446 - hasPrefix
4447 Args:
4448 - s
4449 - prefix
4450 Description: HasPrefix tests whether the input s begins with prefix.
4451 Examples:
4452 - - '{{ hasPrefix "Hugo" "Hu" }}'
4453 - 'true'
4454 - - '{{ hasPrefix "Hugo" "Fu" }}'
4455 - 'false'
4456 HasSuffix:
4457 Aliases:
4458 - hasSuffix
4459 Args:
4460 - s
4461 - suffix
4462 Description: HasSuffix tests whether the input s begins with suffix.
4463 Examples:
4464 - - '{{ hasSuffix "Hugo" "go" }}'
4465 - 'true'
4466 - - '{{ hasSuffix "Hugo" "du" }}'
4467 - 'false'
4468 Repeat:
4469 Aliases: null
4470 Args:
4471 - 'n'
4472 - s
4473 Description: Repeat returns a new string consisting of n copies of the string s.
4474 Examples:
4475 - - '{{ "yo" | strings.Repeat 4 }}'
4476 - yoyoyoyo
4477 Replace:
4478 Aliases:
4479 - replace
4480 Args:
4481 - s
4482 - old
4483 - new
4484 - limit
4485 Description: |-
4486 Replace returns a copy of the string s with all occurrences of old replaced
4487 with new. The number of replacements can be limited with an optional fourth
4488 parameter.
4489 Examples:
4490 - - '{{ replace "Batman and Robin" "Robin" "Catwoman" }}'
4491 - Batman and Catwoman
4492 - - '{{ replace "aabbaabb" "a" "z" 2 }}'
4493 - zzbbaabb
4494 ReplacePairs:
4495 Aliases: null
4496 Args:
4497 - args
4498 Description: |-
4499 ReplacePairs returns a copy of a string with multiple replacements performed
4500 in a single pass. The last argument is the source string. Preceding arguments
4501 are old/new string pairs, either as a slice or as individual arguments.
4502 Examples:
4503 - - '{{ "aab" | strings.ReplacePairs "a" "b" "b" "c" }}'
4504 - bbc
4505 - - '{{ "aab" | strings.ReplacePairs (slice "a" "b" "b" "c") }}'
4506 - bbc
4507 ReplaceRE:
4508 Aliases:
4509 - replaceRE
4510 Args:
4511 - pattern
4512 - repl
4513 - s
4514 - 'n'
4515 Description: |-
4516 ReplaceRE returns a copy of s, replacing all matches of the regular
4517 expression pattern with the replacement text repl. The number of replacements
4518 can be limited with an optional fourth parameter.
4519 Examples:
4520 - - '{{ replaceRE "a+b" "X" "aabbaabbab" }}'
4521 - XbXbX
4522 - - '{{ replaceRE "a+b" "X" "aabbaabbab" 1 }}'
4523 - Xbaabbab
4524 RuneCount:
4525 Aliases: null
4526 Args:
4527 - s
4528 Description: RuneCount returns the number of runes in s.
4529 Examples: []
4530 SliceString:
4531 Aliases:
4532 - slicestr
4533 Args:
4534 - a
4535 - startEnd
4536 Description: |-
4537 SliceString slices a string by specifying a half-open range with
4538 two indices, start and end. 1 and 4 creates a slice including elements 1 through 3.
4539 The end index can be omitted, it defaults to the string's length.
4540 Examples:
4541 - - '{{ slicestr "BatMan" 0 3 }}'
4542 - Bat
4543 - - '{{ slicestr "BatMan" 3 }}'
4544 - Man
4545 Split:
4546 Aliases:
4547 - split
4548 Args:
4549 - a
4550 - delimiter
4551 Description: Split slices an input string into all substrings separated by delimiter.
4552 Examples: []
4553 Substr:
4554 Aliases:
4555 - substr
4556 Args:
4557 - a
4558 - nums
4559 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.'
4560 Examples:
4561 - - '{{ substr "BatMan" 0 -3 }}'
4562 - Bat
4563 - - '{{ substr "BatMan" 3 3 }}'
4564 - Man
4565 Title:
4566 Aliases:
4567 - title
4568 Args:
4569 - s
4570 Description: |-
4571 Title returns a copy of the input s with all Unicode letters that begin words
4572 mapped to their title case.
4573 Examples:
4574 - - '{{ title "Bat man" }}'
4575 - Bat Man
4576 - - '{{ title "somewhere over the rainbow" }}'
4577 - Somewhere Over the Rainbow
4578 ToLower:
4579 Aliases:
4580 - lower
4581 Args:
4582 - s
4583 Description: |-
4584 ToLower returns a copy of the input s with all Unicode letters mapped to their
4585 lower case.
4586 Examples:
4587 - - '{{ lower "BatMan" }}'
4588 - batman
4589 ToUpper:
4590 Aliases:
4591 - upper
4592 Args:
4593 - s
4594 Description: |-
4595 ToUpper returns a copy of the input s with all Unicode letters mapped to their
4596 upper case.
4597 Examples:
4598 - - '{{ upper "BatMan" }}'
4599 - BATMAN
4600 Trim:
4601 Aliases:
4602 - trim
4603 Args:
4604 - s
4605 - cutset
4606 Description: |-
4607 Trim returns converts the strings s removing all leading and trailing characters defined
4608 contained.
4609 Examples:
4610 - - '{{ trim "++Batman--" "+-" }}'
4611 - Batman
4612 TrimLeft:
4613 Aliases: null
4614 Args:
4615 - cutset
4616 - s
4617 Description: |-
4618 TrimLeft returns a slice of the string s with all leading characters
4619 contained in cutset removed.
4620 Examples:
4621 - - '{{ "aabbaa" | strings.TrimLeft "a" }}'
4622 - bbaa
4623 TrimPrefix:
4624 Aliases: null
4625 Args:
4626 - prefix
4627 - s
4628 Description: |-
4629 TrimPrefix returns s without the provided leading prefix string. If s doesn't
4630 start with prefix, s is returned unchanged.
4631 Examples:
4632 - - '{{ "aabbaa" | strings.TrimPrefix "a" }}'
4633 - abbaa
4634 - - '{{ "aabbaa" | strings.TrimPrefix "aa" }}'
4635 - bbaa
4636 TrimRight:
4637 Aliases: null
4638 Args:
4639 - cutset
4640 - s
4641 Description: |-
4642 TrimRight returns a slice of the string s with all trailing characters
4643 contained in cutset removed.
4644 Examples:
4645 - - '{{ "aabbaa" | strings.TrimRight "a" }}'
4646 - aabb
4647 TrimSpace:
4648 Aliases: null
4649 Args:
4650 - s
4651 Description: |-
4652 TrimSpace returns the given string, removing leading and trailing whitespace
4653 as defined by Unicode.
4654 Examples: []
4655 TrimSuffix:
4656 Aliases: null
4657 Args:
4658 - suffix
4659 - s
4660 Description: |-
4661 TrimSuffix returns s without the provided trailing suffix string. If s
4662 doesn't end with suffix, s is returned unchanged.
4663 Examples:
4664 - - '{{ "aabbaa" | strings.TrimSuffix "a" }}'
4665 - aabba
4666 - - '{{ "aabbaa" | strings.TrimSuffix "aa" }}'
4667 - aabb
4668 Truncate:
4669 Aliases:
4670 - truncate
4671 Args:
4672 - s
4673 - options
4674 Description: Truncate truncates the string in s to the specified length.
4675 Examples:
4676 - - '{{ "this is a very long text" | truncate 10 " ..." }}'
4677 - this is a ...
4678 - - '{{ "With [Markdown](/markdown) inside." | markdownify | truncate 14 }}'
4679 - With <a href="/markdown">Markdown …</a>
4680 templates:
4681 Current:
4682 Aliases: null
4683 Args:
4684 - ctx
4685 Description: Get information about the currently executing template.
4686 Examples: []
4687 Defer:
4688 Aliases: null
4689 Args:
4690 - ctx
4691 - args
4692 Description: Defer defers the execution of a template block.
4693 Examples: []
4694 DoDefer:
4695 Aliases:
4696 - doDefer
4697 Args:
4698 - ctx
4699 - id
4700 - optsv
4701 Description: |-
4702 DoDefer defers the execution of a template block.
4703 For internal use only.
4704 Examples: []
4705 Exists:
4706 Aliases: null
4707 Args:
4708 - name
4709 Description: |-
4710 Exists returns whether the template with the given name exists.
4711 Note that this is the Unix-styled relative path including filename suffix,
4712 e.g. partials/header.html
4713 Examples:
4714 - - '{{ if (templates.Exists "_partials/header.html") }}Yes!{{ end }}'
4715 - Yes!
4716 - - '{{ if not (templates.Exists "_partials/doesnotexist.html") }}No!{{ end }}'
4717 - No!
4718 Inner:
4719 Aliases:
4720 - inner
4721 Args:
4722 - ctx
4723 - data
4724 Description: |-
4725 Inner executes the inner content of a partial decorator.
4726 Note that there is only one inner block per partial decorator, but inner may be called multiple times with, typically, different data.
4727 Examples: []
4728 testinginternal:
4729 HashString:
4730 Aliases: null
4731 Args: null
4732 Description: ''
4733 Examples: null
4734 NewCachedResourceGetter:
4735 Aliases: null
4736 Args: null
4737 Description: ''
4738 Examples: null
4739 time:
4740 AsTime:
4741 Aliases: null
4742 Args:
4743 - v
4744 - args
4745 Description: |-
4746 AsTime converts the textual representation of the datetime string into
4747 a time.Time interface.
4748 Examples:
4749 - - '{{ (time "2015-01-21").Year }}'
4750 - '2015'
4751 Duration:
4752 Aliases:
4753 - duration
4754 Args:
4755 - unit
4756 - number
4757 Description: |-
4758 Duration converts the given number to a time.Duration.
4759 Unit is one of nanosecond/ns, microsecond/us/µs, millisecond/ms, second/s, minute/m or hour/h.
4760 Examples:
4761 - - '{{ mul 60 60 | duration "second" }}'
4762 - 1h0m0s
4763 Format:
4764 Aliases:
4765 - dateFormat
4766 Args:
4767 - layout
4768 - v
4769 Description: |-
4770 Format converts the textual representation of the datetime string in v into
4771 time.Time if needed and formats it with the given layout.
4772 Examples:
4773 - - 'dateFormat: {{ dateFormat "Monday, Jan 2, 2006" "2015-01-21" }}'
4774 - 'dateFormat: Wednesday, Jan 21, 2015'
4775 In:
4776 Aliases: null
4777 Args:
4778 - timeZoneName
4779 - t
4780 Description: |-
4781 In returns the time t in the IANA time zone specified by timeZoneName.
4782 If timeZoneName is "" or "UTC", the time is returned in UTC.
4783 If timeZoneName is "Local", the time is returned in the system's local time zone.
4784 Otherwise, timeZoneName must be a valid IANA location name (e.g., "Europe/Oslo").
4785 Examples: []
4786 Now:
4787 Aliases:
4788 - now
4789 Args: null
4790 Description: Now returns the current local time or `clock` time
4791 Examples: []
4792 ParseDuration:
4793 Aliases: null
4794 Args:
4795 - s
4796 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'
4797 Examples:
4798 - - '{{ "1h12m10s" | time.ParseDuration }}'
4799 - 1h12m10s
4800 transform:
4801 CanHighlight:
4802 Aliases: null
4803 Args:
4804 - language
4805 Description: CanHighlight returns whether the given code language is supported by the Chroma highlighter.
4806 Examples: []
4807 Emojify:
4808 Aliases:
4809 - emojify
4810 Args:
4811 - s
4812 Description: |-
4813 Emojify returns a copy of s with all emoji codes replaced with actual emojis.
4814
4815 See http://www.emoji-cheat-sheet.com/
4816 Examples:
4817 - - '{{ "I :heart: Hugo" | emojify }}'
4818 - I ❤️ Hugo
4819 HTMLEscape:
4820 Aliases:
4821 - htmlEscape
4822 Args:
4823 - s
4824 Description: HTMLEscape returns a copy of s with reserved HTML characters escaped.
4825 Examples:
4826 - - '{{ htmlEscape "Cathal Garvey & The Sunshine Band <[email protected]>" | safeHTML }}'
4827 - Cathal Garvey &amp; The Sunshine Band &lt;[email protected]&gt;
4828 - - '{{ htmlEscape "Cathal Garvey & The Sunshine Band <[email protected]>" }}'
4829 - Cathal Garvey &amp;amp; The Sunshine Band &amp;lt;[email protected]&amp;gt;
4830 - - '{{ htmlEscape "Cathal Garvey & The Sunshine Band <[email protected]>" | htmlUnescape | safeHTML }}'
4831 - Cathal Garvey & The Sunshine Band <[email protected]>
4832 HTMLToMarkdown:
4833 Aliases: null
4834 Args:
4835 - ctx
4836 - args
4837 Description: |-
4838 This was added in Hugo v0.151.0 and should be considered experimental for now.
4839 We need to test this out in the wild for a while before committing to this API,
4840 and there will eventually be more options here.
4841 Examples: []
4842 HTMLUnescape:
4843 Aliases:
4844 - htmlUnescape
4845 Args:
4846 - s
4847 Description: |-
4848 HTMLUnescape returns a copy of s with HTML escape requences converted to plain
4849 text.
4850 Examples:
4851 - - '{{ htmlUnescape "Cathal Garvey &amp; The Sunshine Band &lt;[email protected]&gt;" | safeHTML }}'
4852 - Cathal Garvey & The Sunshine Band <[email protected]>
4853 - - '{{ "Cathal Garvey &amp;amp; The Sunshine Band &amp;lt;[email protected]&amp;gt;" | htmlUnescape | htmlUnescape | safeHTML }}'
4854 - Cathal Garvey & The Sunshine Band <[email protected]>
4855 - - '{{ "Cathal Garvey &amp;amp; The Sunshine Band &amp;lt;[email protected]&amp;gt;" | htmlUnescape | htmlUnescape }}'
4856 - Cathal Garvey &amp; The Sunshine Band &lt;[email protected]&gt;
4857 - - '{{ htmlUnescape "Cathal Garvey &amp; The Sunshine Band &lt;[email protected]&gt;" | htmlEscape | safeHTML }}'
4858 - Cathal Garvey &amp; The Sunshine Band &lt;[email protected]&gt;
4859 Highlight:
4860 Aliases:
4861 - highlight
4862 Args:
4863 - s
4864 - args
4865 Description: |-
4866 Highlight returns a copy of CODE as an HTML string with syntax
4867 highlighting applied.
4868
4869 transform.Highlight CODE [LANG] [OPTIONS]
4870
4871 LANG is optional; it can also be set via the type option in OPTIONS, which
4872 makes this work the same way as HighlightCodeBlock.
4873 Examples: []
4874 HighlightCodeBlock:
4875 Aliases: null
4876 Args:
4877 - ctx
4878 - opts
4879 Description: HighlightCodeBlock highlights a code block on the form received in the codeblock render hooks.
4880 Examples: []
4881 Markdownify:
4882 Aliases:
4883 - markdownify
4884 Args:
4885 - ctx
4886 - s
4887 Description: Markdownify renders s from Markdown to HTML.
4888 Examples:
4889 - - '{{ .Title | markdownify }}'
4890 - <strong>BatMan</strong>
4891 Plainify:
4892 Aliases:
4893 - plainify
4894 Args:
4895 - s
4896 Description: Plainify returns a copy of s with all HTML tags removed.
4897 Examples:
4898 - - '{{ plainify "Hello <strong>world</strong>, gophers!" }}'
4899 - Hello world, gophers!
4900 PortableText:
4901 Aliases: null
4902 Args:
4903 - v
4904 Description: |-
4905 PortableText converts the portable text in v to Markdown.
4906 We may add more options in the future.
4907 Examples: []
4908 Remarshal:
4909 Aliases: null
4910 Args:
4911 - format
4912 - data
4913 Description: |-
4914 Remarshal is used in the Hugo documentation to convert configuration
4915 examples from YAML to JSON, TOML (and possibly the other way around).
4916 The is primarily a helper for the Hugo docs site.
4917 It is not a general purpose YAML to TOML converter etc., and may
4918 change without notice if it serves a purpose in the docs.
4919 Format is one of json, yaml or toml.
4920 Examples:
4921 - - '{{ "title = \"Hello World\"" | transform.Remarshal "json" | safeHTML }}'
4922 - '{\n "title": "Hello World"\n}\n'
4923 ToMath:
4924 Aliases: null
4925 Args:
4926 - ctx
4927 - args
4928 Description: |-
4929 ToMath converts a LaTeX string to math in the given format, default MathML.
4930 This uses KaTeX to render the math, see https://katex.org/.
4931 Examples: []
4932 Unmarshal:
4933 Aliases:
4934 - unmarshal
4935 Args:
4936 - args
4937 Description: |-
4938 Unmarshal unmarshals the data given, which can be either a string, json.RawMessage
4939 or a Resource. Supported formats are JSON, TOML, YAML, and CSV.
4940 You can optionally provide an options map as the first argument.
4941 Examples:
4942 - - '{{ "hello = \"Hello World\"" | transform.Unmarshal }}'
4943 - map[hello:Hello World]
4944 - - '{{ "hello = \"Hello World\"" | resources.FromString "data/greetings.toml" | transform.Unmarshal }}'
4945 - map[hello:Hello World]
4946 XMLEscape:
4947 Aliases: null
4948 Args:
4949 - s
4950 Description: |-
4951 XMLEscape returns the given string, removing disallowed characters then
4952 escaping the result to its XML equivalent.
4953 Examples:
4954 - - '{{ transform.XMLEscape "<p>abc</p>" }}'
4955 - '&lt;p&gt;abc&lt;/p&gt;'
4956 urls:
4957 AbsLangURL:
4958 Aliases:
4959 - absLangURL
4960 Args:
4961 - s
4962 Description: |-
4963 AbsLangURL the string s and converts it to an absolute URL according
4964 to a page's position in the project directory structure and the current
4965 language.
4966 Examples: []
4967 AbsURL:
4968 Aliases:
4969 - absURL
4970 Args:
4971 - s
4972 Description: AbsURL takes the string s and converts it to an absolute URL.
4973 Examples: []
4974 Anchorize:
4975 Aliases:
4976 - anchorize
4977 Args:
4978 - s
4979 Description: |-
4980 Anchorize creates sanitized anchor name version of the string s that is compatible
4981 with how your configured markdown renderer does it.
4982 Examples:
4983 - - '{{ "This is a title" | anchorize }}'
4984 - this-is-a-title
4985 JoinPath:
4986 Aliases: null
4987 Args:
4988 - elements
4989 Description: |-
4990 JoinPath joins the provided elements into a URL string and cleans the result
4991 of any ./ or ../ elements. If the argument list is empty, JoinPath returns
4992 an empty string.
4993 Examples:
4994 - - '{{ urls.JoinPath "https://example.org" "foo" }}'
4995 - https://example.org/foo
4996 - - '{{ urls.JoinPath (slice "a" "b") }}'
4997 - a/b
4998 Parse:
4999 Aliases: null
5000 Args:
5001 - rawurl
5002 Description: |-
5003 Parse parses rawurl into a URL structure. The rawurl may be relative or
5004 absolute.
5005 Examples: []
5006 PathEscape:
5007 Aliases: null
5008 Args:
5009 - s
5010 Description: |-
5011 PathEscape returns the given string, applying percent-encoding to special
5012 characters and reserved delimiters so it can be safely used as a segment
5013 within a URL path.
5014 Examples: []
5015 PathUnescape:
5016 Aliases: null
5017 Args:
5018 - s
5019 Description: |-
5020 PathUnescape returns the given string, replacing all percent-encoded
5021 sequences with the corresponding unescaped characters.
5022 Examples: []
5023 Ref:
5024 Aliases:
5025 - ref
5026 Args:
5027 - p
5028 - args
5029 Description: Ref returns the absolute URL path to a given content item from Page p.
5030 Examples: []
5031 RelLangURL:
5032 Aliases:
5033 - relLangURL
5034 Args:
5035 - s
5036 Description: |-
5037 RelLangURL takes the string s and prepends the relative path according to a
5038 page's position in the project directory structure and the current language.
5039 Examples: []
5040 RelRef:
5041 Aliases:
5042 - relref
5043 Args:
5044 - p
5045 - args
5046 Description: RelRef returns the relative URL path to a given content item from Page p.
5047 Examples: []
5048 RelURL:
5049 Aliases:
5050 - relURL
5051 Args:
5052 - s
5053 Description: |-
5054 RelURL takes the string s and prepends the relative path according to a
5055 page's position in the project directory structure.
5056 Examples: []
5057 URLize:
5058 Aliases:
5059 - urlize
5060 Args:
5061 - s
5062 Description: URLize returns the strings s formatted as an URL.
5063 Examples: []