├── .circleci └── config.yml ├── .dockerignore ├── .gitattributes ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ ├── config.yml │ └── feature_request.md ├── SUPPORT.md ├── dependabot.yml └── workflows │ ├── image.yml │ ├── stale.yml │ └── test.yml ├── .gitignore ├── .gitmodules ├── .mailmap ├── CONTRIBUTING.md ├── Dockerfile ├── LICENSE ├── README.md ├── SECURITY.md ├── bufferpool ├── bufpool.go └── bufpool_test.go ├── cache ├── docs.go ├── dynacache │ ├── dynacache.go │ └── dynacache_test.go ├── filecache │ ├── filecache.go │ ├── filecache_config.go │ ├── filecache_config_test.go │ ├── filecache_integration_test.go │ ├── filecache_pruner.go │ ├── filecache_pruner_test.go │ └── filecache_test.go └── httpcache │ ├── httpcache.go │ ├── httpcache_integration_test.go │ └── httpcache_test.go ├── check_gofmt.sh ├── codegen ├── methods.go ├── methods2_test.go └── methods_test.go ├── commands ├── commandeer.go ├── commands.go ├── config.go ├── convert.go ├── deploy.go ├── deploy_flags.go ├── deploy_off.go ├── env.go ├── gen.go ├── helpers.go ├── hugo_windows.go ├── hugobuilder.go ├── import.go ├── list.go ├── mod.go ├── new.go ├── release.go └── server.go ├── common ├── collections │ ├── append.go │ ├── append_test.go │ ├── collections.go │ ├── order.go │ ├── slice.go │ ├── slice_test.go │ ├── stack.go │ └── stack_test.go ├── constants │ └── constants.go ├── docs.go ├── hashing │ ├── hashing.go │ └── hashing_test.go ├── hcontext │ └── context.go ├── herrors │ ├── error_locator.go │ ├── error_locator_test.go │ ├── errors.go │ ├── errors_test.go │ ├── file_error.go │ ├── file_error_test.go │ └── line_number_extractors.go ├── hexec │ └── exec.go ├── hreflect │ ├── helpers.go │ └── helpers_test.go ├── hstrings │ ├── strings.go │ └── strings_test.go ├── htime │ ├── htime_integration_test.go │ ├── time.go │ └── time_test.go ├── hugio │ ├── copy.go │ ├── hasBytesWriter.go │ ├── hasBytesWriter_test.go │ ├── readers.go │ └── writers.go ├── hugo │ ├── hugo.go │ ├── hugo_integration_test.go │ ├── hugo_test.go │ ├── vars_extended.go │ ├── vars_regular.go │ ├── vars_withdeploy.go │ ├── vars_withdeploy_off.go │ ├── version.go │ ├── version_current.go │ └── version_test.go ├── loggers │ ├── handlerdefault.go │ ├── handlersmisc.go │ ├── handlerterminal.go │ ├── handlerterminal_test.go │ ├── logger.go │ ├── logger_test.go │ └── loggerglobal.go ├── maps │ ├── cache.go │ ├── maps.go │ ├── maps_test.go │ ├── ordered.go │ ├── ordered_test.go │ ├── params.go │ ├── params_test.go │ ├── scratch.go │ └── scratch_test.go ├── math │ ├── math.go │ └── math_test.go ├── para │ ├── para.go │ └── para_test.go ├── paths │ ├── path.go │ ├── path_test.go │ ├── pathparser.go │ ├── pathparser_test.go │ ├── paths_integration_test.go │ ├── type_string.go │ ├── url.go │ └── url_test.go ├── predicate │ ├── predicate.go │ └── predicate_test.go ├── rungroup │ ├── rungroup.go │ └── rungroup_test.go ├── tasks │ └── tasks.go ├── terminal │ └── colors.go ├── text │ ├── position.go │ ├── position_test.go │ ├── transform.go │ └── transform_test.go ├── types │ ├── closer.go │ ├── convert.go │ ├── convert_test.go │ ├── css │ │ └── csstypes.go │ ├── evictingqueue.go │ ├── evictingqueue_test.go │ ├── hstring │ │ ├── stringtypes.go │ │ └── stringtypes_test.go │ ├── types.go │ └── types_test.go └── urls │ ├── baseURL.go │ ├── baseURL_test.go │ └── ref.go ├── compare ├── compare.go ├── compare_strings.go └── compare_strings_test.go ├── config ├── allconfig │ ├── allconfig.go │ ├── allconfig_integration_test.go │ ├── alldecoders.go │ ├── configlanguage.go │ ├── docshelper.go │ ├── load.go │ └── load_test.go ├── commonConfig.go ├── commonConfig_test.go ├── configLoader.go ├── configLoader_test.go ├── configProvider.go ├── configProvider_test.go ├── defaultConfigProvider.go ├── defaultConfigProvider_test.go ├── env.go ├── env_test.go ├── namespace.go ├── namespace_test.go ├── privacy │ ├── privacyConfig.go │ └── privacyConfig_test.go ├── security │ ├── securityConfig.go │ ├── securityConfig_test.go │ ├── whitelist.go │ └── whitelist_test.go ├── services │ ├── servicesConfig.go │ └── servicesConfig_test.go └── testconfig │ └── testconfig.go ├── create ├── content.go ├── content_test.go └── skeletons │ ├── site │ ├── assets │ │ └── .gitkeep │ ├── content │ │ └── .gitkeep │ ├── data │ │ └── .gitkeep │ ├── i18n │ │ └── .gitkeep │ ├── layouts │ │ └── .gitkeep │ ├── static │ │ └── .gitkeep │ └── themes │ │ └── .gitkeep │ ├── skeletons.go │ └── theme │ ├── assets │ ├── css │ │ └── main.css │ └── js │ │ └── main.js │ ├── content │ ├── _index.md │ └── posts │ │ ├── _index.md │ │ ├── post-1.md │ │ ├── post-2.md │ │ └── post-3 │ │ ├── bryce-canyon.jpg │ │ └── index.md │ ├── data │ └── .gitkeep │ ├── i18n │ └── .gitkeep │ ├── layouts │ ├── _partials │ │ ├── footer.html │ │ ├── head.html │ │ ├── head │ │ │ ├── css.html │ │ │ └── js.html │ │ ├── header.html │ │ ├── menu.html │ │ └── terms.html │ ├── baseof.html │ ├── home.html │ ├── page.html │ ├── section.html │ ├── taxonomy.html │ └── term.html │ └── static │ └── favicon.ico ├── deploy ├── cloudfront.go ├── deploy.go ├── deploy_azure.go ├── deploy_test.go ├── deployconfig │ ├── deployConfig.go │ └── deployConfig_test.go └── google.go ├── deps ├── deps.go └── deps_test.go ├── docs ├── .codespellrc ├── .cspell.json ├── .editorconfig ├── .github │ ├── ISSUE_TEMPLATE │ │ ├── config.yml │ │ └── default.md │ ├── SUPPORT.md │ ├── stale.yml │ └── workflows │ │ ├── codeql-analysis.yml │ │ ├── spellcheck.yml │ │ └── super-linter.yml ├── .gitignore ├── .markdownlint.yaml ├── .markdownlintignore ├── .prettierignore ├── .prettierrc ├── .textlintignore ├── .vscode │ └── extensions.json ├── LICENSE.md ├── README.md ├── archetypes │ ├── default.md │ ├── functions.md │ ├── glossary.md │ ├── methods.md │ └── news.md ├── assets │ ├── css │ │ ├── components │ │ │ ├── all.css │ │ │ ├── chroma.css │ │ │ ├── chroma_dark.css │ │ │ ├── content.css │ │ │ ├── fonts.css │ │ │ ├── helpers.css │ │ │ ├── highlight.css │ │ │ ├── shortcodes.css │ │ │ ├── tableofcontents.css │ │ │ └── view-transitions.css │ │ └── styles.css │ ├── images │ │ ├── examples │ │ │ ├── landscape-exif-orientation-5.jpg │ │ │ ├── mask.png │ │ │ └── zion-national-park.jpg │ │ ├── hugo-github-screenshot.png │ │ ├── logos │ │ │ ├── logo-128x128.png │ │ │ ├── logo-256x256.png │ │ │ ├── logo-512x512.png │ │ │ ├── logo-64x64.png │ │ │ └── logo-96x96.png │ │ └── sponsors │ │ │ ├── Route4MeLogoBlueOnWhite.svg │ │ │ ├── bep-consulting.svg │ │ │ ├── butter-dark.svg │ │ │ ├── butter-light.svg │ │ │ ├── cloudcannon-blue.svg │ │ │ ├── cloudcannon-white.svg │ │ │ ├── esolia-logo.svg │ │ │ ├── goland.svg │ │ │ ├── graitykit-dark.svg │ │ │ ├── linode-logo.svg │ │ │ ├── linode-logo_standard_light_medium.png │ │ │ ├── your-company-dark.svg │ │ │ └── your-company.svg │ ├── js │ │ ├── alpinejs │ │ │ ├── data │ │ │ │ ├── explorer.js │ │ │ │ ├── index.js │ │ │ │ ├── navbar.js │ │ │ │ ├── search.js │ │ │ │ └── toc.js │ │ │ ├── magics │ │ │ │ ├── helpers.js │ │ │ │ └── index.js │ │ │ └── stores │ │ │ │ ├── index.js │ │ │ │ └── nav.js │ │ ├── body-start.js │ │ ├── head-early.js │ │ ├── helpers │ │ │ ├── bridgeTurboAndAlpine.js │ │ │ ├── helpers.js │ │ │ ├── index.js │ │ │ └── lrucache.js │ │ ├── main.js │ │ └── turbo.js │ ├── jsconfig.json │ └── opengraph │ │ ├── gohugoio-card-base-1.png │ │ └── mulish-black.ttf ├── content │ ├── LICENSE.md │ └── en │ │ ├── _common │ │ ├── _index.md │ │ ├── content-format-table.md │ │ ├── filter-sort-group.md │ │ ├── functions │ │ │ ├── fmt │ │ │ │ └── format-string.md │ │ │ ├── go-html-template-package.md │ │ │ ├── go-template │ │ │ │ └── text-template.md │ │ │ ├── images │ │ │ │ └── apply-image-filter.md │ │ │ ├── js │ │ │ │ └── options.md │ │ │ ├── locales.md │ │ │ ├── regular-expressions.md │ │ │ ├── truthy-falsy.md │ │ │ └── urls │ │ │ │ └── anchorize-vs-urlize.md │ │ ├── glob-patterns.md │ │ ├── gomodules-info.md │ │ ├── installation │ │ │ ├── 01-editions.md │ │ │ ├── 02-prerequisites.md │ │ │ ├── 03-prebuilt-binaries.md │ │ │ ├── 04-build-from-source.md │ │ │ └── homebrew.md │ │ ├── menu-entries │ │ │ └── pre-and-post.md │ │ ├── menu-entry-properties.md │ │ ├── methods │ │ │ ├── page │ │ │ │ ├── next-and-prev.md │ │ │ │ ├── nextinsection-and-previnsection.md │ │ │ │ └── output-format-methods.md │ │ │ ├── pages │ │ │ │ ├── group-sort-order.md │ │ │ │ └── next-and-prev.md │ │ │ ├── resource │ │ │ │ ├── global-page-remote-resources.md │ │ │ │ └── processing-spec.md │ │ │ └── taxonomy │ │ │ │ ├── get-a-taxonomy-object.md │ │ │ │ └── ordered-taxonomy-element-methods.md │ │ ├── parsable-date-time-strings.md │ │ ├── permalink-tokens.md │ │ ├── ref-and-relref-error-handling.md │ │ ├── ref-and-relref-options.md │ │ ├── render-hooks │ │ │ └── pageinner.md │ │ ├── scratch-pad-scope.md │ │ ├── store-methods.md │ │ ├── syntax-highlighting-options.md │ │ └── time-layout-string.md │ │ ├── _index.md │ │ ├── about │ │ ├── _index.md │ │ ├── features.md │ │ ├── introduction.md │ │ ├── license.md │ │ └── security.md │ │ ├── commands │ │ ├── _index.md │ │ ├── hugo.md │ │ ├── hugo_build.md │ │ ├── hugo_completion.md │ │ ├── hugo_completion_bash.md │ │ ├── hugo_completion_fish.md │ │ ├── hugo_completion_powershell.md │ │ ├── hugo_completion_zsh.md │ │ ├── hugo_config.md │ │ ├── hugo_config_mounts.md │ │ ├── hugo_convert.md │ │ ├── hugo_convert_toJSON.md │ │ ├── hugo_convert_toTOML.md │ │ ├── hugo_convert_toYAML.md │ │ ├── hugo_deploy.md │ │ ├── hugo_env.md │ │ ├── hugo_gen.md │ │ ├── hugo_gen_chromastyles.md │ │ ├── hugo_gen_doc.md │ │ ├── hugo_gen_man.md │ │ ├── hugo_import.md │ │ ├── hugo_import_jekyll.md │ │ ├── hugo_list.md │ │ ├── hugo_list_all.md │ │ ├── hugo_list_drafts.md │ │ ├── hugo_list_expired.md │ │ ├── hugo_list_future.md │ │ ├── hugo_list_published.md │ │ ├── hugo_mod.md │ │ ├── hugo_mod_clean.md │ │ ├── hugo_mod_get.md │ │ ├── hugo_mod_graph.md │ │ ├── hugo_mod_init.md │ │ ├── hugo_mod_npm.md │ │ ├── hugo_mod_npm_pack.md │ │ ├── hugo_mod_tidy.md │ │ ├── hugo_mod_vendor.md │ │ ├── hugo_mod_verify.md │ │ ├── hugo_new.md │ │ ├── hugo_new_content.md │ │ ├── hugo_new_site.md │ │ ├── hugo_new_theme.md │ │ ├── hugo_server.md │ │ ├── hugo_server_trust.md │ │ └── hugo_version.md │ │ ├── configuration │ │ ├── _index.md │ │ ├── all.md │ │ ├── build.md │ │ ├── caches.md │ │ ├── cascade.md │ │ ├── content-types.md │ │ ├── deployment.md │ │ ├── front-matter.md │ │ ├── http-cache.md │ │ ├── imaging.md │ │ ├── introduction.md │ │ ├── languages.md │ │ ├── markup.md │ │ ├── media-types.md │ │ ├── menus.md │ │ ├── minify.md │ │ ├── module.md │ │ ├── output-formats.md │ │ ├── outputs.md │ │ ├── page.md │ │ ├── pagination.md │ │ ├── params.md │ │ ├── permalinks.md │ │ ├── privacy.md │ │ ├── related-content.md │ │ ├── security.md │ │ ├── segments.md │ │ ├── server.md │ │ ├── services.md │ │ ├── sitemap.md │ │ ├── taxonomies.md │ │ └── ugly-urls.md │ │ ├── content-management │ │ ├── _index.md │ │ ├── archetypes.md │ │ ├── build-options.md │ │ ├── comments.md │ │ ├── content-adapters.md │ │ ├── data-sources.md │ │ ├── diagrams.md │ │ ├── formats.md │ │ ├── front-matter.md │ │ ├── image-processing │ │ │ ├── index.md │ │ │ └── sunset.jpg │ │ ├── markdown-attributes.md │ │ ├── mathematics.md │ │ ├── menus.md │ │ ├── multilingual.md │ │ ├── organization │ │ │ └── index.md │ │ ├── page-bundles.md │ │ ├── page-resources.md │ │ ├── related-content.md │ │ ├── sections.md │ │ ├── shortcodes.md │ │ ├── summaries.md │ │ ├── syntax-highlighting.md │ │ ├── taxonomies.md │ │ ├── types.md │ │ └── urls.md │ │ ├── contribute │ │ ├── _index.md │ │ ├── development.md │ │ ├── documentation.md │ │ └── themes.md │ │ ├── documentation.md │ │ ├── featured.png │ │ ├── functions │ │ ├── _index.md │ │ ├── cast │ │ │ ├── ToFloat.md │ │ │ ├── ToInt.md │ │ │ ├── ToString.md │ │ │ └── _index.md │ │ ├── collections │ │ │ ├── After.md │ │ │ ├── Append.md │ │ │ ├── Apply.md │ │ │ ├── Complement.md │ │ │ ├── Delimit.md │ │ │ ├── Dictionary.md │ │ │ ├── First.md │ │ │ ├── Group.md │ │ │ ├── In.md │ │ │ ├── IndexFunction.md │ │ │ ├── Intersect.md │ │ │ ├── IsSet.md │ │ │ ├── KeyVals.md │ │ │ ├── Last.md │ │ │ ├── Merge.md │ │ │ ├── NewScratch.md │ │ │ ├── Querify.md │ │ │ ├── Reverse.md │ │ │ ├── Seq.md │ │ │ ├── Shuffle.md │ │ │ ├── Slice.md │ │ │ ├── Sort.md │ │ │ ├── SymDiff.md │ │ │ ├── Union.md │ │ │ ├── Uniq.md │ │ │ ├── Where.md │ │ │ └── _index.md │ │ ├── compare │ │ │ ├── Conditional.md │ │ │ ├── Default.md │ │ │ ├── Eq.md │ │ │ ├── Ge.md │ │ │ ├── Gt.md │ │ │ ├── Le.md │ │ │ ├── Lt.md │ │ │ ├── Ne.md │ │ │ └── _index.md │ │ ├── crypto │ │ │ ├── FNV32a.md │ │ │ ├── HMAC.md │ │ │ ├── MD5.md │ │ │ ├── SHA1.md │ │ │ ├── SHA256.md │ │ │ └── _index.md │ │ ├── css │ │ │ ├── PostCSS.md │ │ │ ├── Sass.md │ │ │ ├── TailwindCSS.md │ │ │ └── _index.md │ │ ├── data │ │ │ ├── GetCSV.md │ │ │ ├── GetJSON.md │ │ │ └── _index.md │ │ ├── debug │ │ │ ├── Dump.md │ │ │ ├── Timer.md │ │ │ └── _index.md │ │ ├── diagrams │ │ │ ├── Goat.md │ │ │ └── _index.md │ │ ├── encoding │ │ │ ├── Base64Decode.md │ │ │ ├── Base64Encode.md │ │ │ ├── Jsonify.md │ │ │ └── _index.md │ │ ├── fmt │ │ │ ├── Errorf.md │ │ │ ├── Erroridf.md │ │ │ ├── Print.md │ │ │ ├── Printf.md │ │ │ ├── Println.md │ │ │ ├── Warnf.md │ │ │ ├── Warnidf.md │ │ │ └── _index.md │ │ ├── global │ │ │ ├── _index.md │ │ │ ├── page.md │ │ │ └── site.md │ │ ├── go-template │ │ │ ├── _index.md │ │ │ ├── and.md │ │ │ ├── block.md │ │ │ ├── break.md │ │ │ ├── continue.md │ │ │ ├── define.md │ │ │ ├── else.md │ │ │ ├── end.md │ │ │ ├── if.md │ │ │ ├── len.md │ │ │ ├── not.md │ │ │ ├── or.md │ │ │ ├── range.md │ │ │ ├── return.md │ │ │ ├── template.md │ │ │ ├── try.md │ │ │ ├── urlquery.md │ │ │ └── with.md │ │ ├── hash │ │ │ ├── FNV32a.md │ │ │ ├── XxHash.md │ │ │ └── _index.md │ │ ├── hugo │ │ │ ├── BuildDate.md │ │ │ ├── CommitHash.md │ │ │ ├── Deps.md │ │ │ ├── Environment.md │ │ │ ├── Generator.md │ │ │ ├── GoVersion.md │ │ │ ├── IsDevelopment.md │ │ │ ├── IsExtended.md │ │ │ ├── IsMultihost.md │ │ │ ├── IsMultilingual.md │ │ │ ├── IsProduction.md │ │ │ ├── IsServer.md │ │ │ ├── Store.md │ │ │ ├── Version.md │ │ │ ├── WorkingDir.md │ │ │ └── _index.md │ │ ├── images │ │ │ ├── AutoOrient.md │ │ │ ├── Brightness.md │ │ │ ├── ColorBalance.md │ │ │ ├── Colorize.md │ │ │ ├── Config.md │ │ │ ├── Contrast.md │ │ │ ├── Dither.md │ │ │ ├── Filter.md │ │ │ ├── Gamma.md │ │ │ ├── GaussianBlur.md │ │ │ ├── Grayscale.md │ │ │ ├── Hue.md │ │ │ ├── Invert.md │ │ │ ├── Mask.md │ │ │ ├── Opacity.md │ │ │ ├── Overlay.md │ │ │ ├── Padding.md │ │ │ ├── Pixelate.md │ │ │ ├── Process.md │ │ │ ├── QR.md │ │ │ ├── Saturation.md │ │ │ ├── Sepia.md │ │ │ ├── Sigmoid.md │ │ │ ├── Text.md │ │ │ ├── UnsharpMask.md │ │ │ └── _index.md │ │ ├── inflect │ │ │ ├── Humanize.md │ │ │ ├── Pluralize.md │ │ │ ├── Singularize.md │ │ │ └── _index.md │ │ ├── js │ │ │ ├── Babel.md │ │ │ ├── Batch.md │ │ │ ├── Build.md │ │ │ └── _index.md │ │ ├── lang │ │ │ ├── FormatAccounting.md │ │ │ ├── FormatCurrency.md │ │ │ ├── FormatNumber.md │ │ │ ├── FormatNumberCustom.md │ │ │ ├── FormatPercent.md │ │ │ ├── Merge.md │ │ │ ├── Translate.md │ │ │ └── _index.md │ │ ├── math │ │ │ ├── Abs.md │ │ │ ├── Acos.md │ │ │ ├── Add.md │ │ │ ├── Asin.md │ │ │ ├── Atan.md │ │ │ ├── Atan2.md │ │ │ ├── Ceil.md │ │ │ ├── Cos.md │ │ │ ├── Counter.md │ │ │ ├── Div.md │ │ │ ├── Floor.md │ │ │ ├── Log.md │ │ │ ├── Max.md │ │ │ ├── Min.md │ │ │ ├── Mod.md │ │ │ ├── ModBool.md │ │ │ ├── Mul.md │ │ │ ├── Pi.md │ │ │ ├── Pow.md │ │ │ ├── Product.md │ │ │ ├── Rand.md │ │ │ ├── Round.md │ │ │ ├── Sin.md │ │ │ ├── Sqrt.md │ │ │ ├── Sub.md │ │ │ ├── Sum.md │ │ │ ├── Tan.md │ │ │ ├── ToDegrees.md │ │ │ ├── ToRadians.md │ │ │ └── _index.md │ │ ├── openapi3 │ │ │ ├── Unmarshal.md │ │ │ └── _index.md │ │ ├── os │ │ │ ├── FileExists.md │ │ │ ├── Getenv.md │ │ │ ├── ReadDir.md │ │ │ ├── ReadFile.md │ │ │ ├── Stat.md │ │ │ └── _index.md │ │ ├── partials │ │ │ ├── Include.md │ │ │ ├── IncludeCached.md │ │ │ └── _index.md │ │ ├── path │ │ │ ├── Base.md │ │ │ ├── BaseName.md │ │ │ ├── Clean.md │ │ │ ├── Dir.md │ │ │ ├── Ext.md │ │ │ ├── Join.md │ │ │ ├── Split.md │ │ │ └── _index.md │ │ ├── reflect │ │ │ ├── IsMap.md │ │ │ ├── IsSlice.md │ │ │ └── _index.md │ │ ├── resources │ │ │ ├── Babel.md │ │ │ ├── ByType.md │ │ │ ├── Concat.md │ │ │ ├── Copy.md │ │ │ ├── ExecuteAsTemplate.md │ │ │ ├── Fingerprint.md │ │ │ ├── FromString.md │ │ │ ├── Get.md │ │ │ ├── GetMatch.md │ │ │ ├── GetRemote.md │ │ │ ├── Match.md │ │ │ ├── Minify.md │ │ │ ├── PostCSS.md │ │ │ ├── PostProcess.md │ │ │ ├── ToCSS.md │ │ │ └── _index.md │ │ ├── safe │ │ │ ├── CSS.md │ │ │ ├── HTML.md │ │ │ ├── HTMLAttr.md │ │ │ ├── JS.md │ │ │ ├── JSStr.md │ │ │ ├── URL.md │ │ │ └── _index.md │ │ ├── strings │ │ │ ├── Chomp.md │ │ │ ├── Contains.md │ │ │ ├── ContainsAny.md │ │ │ ├── ContainsNonSpace.md │ │ │ ├── Count.md │ │ │ ├── CountRunes.md │ │ │ ├── CountWords.md │ │ │ ├── Diff │ │ │ │ ├── diff-screen-capture.png │ │ │ │ └── index.md │ │ │ ├── FindRESubmatch.md │ │ │ ├── FindRe.md │ │ │ ├── FirstUpper.md │ │ │ ├── HasPrefix.md │ │ │ ├── HasSuffix.md │ │ │ ├── Repeat.md │ │ │ ├── Replace.md │ │ │ ├── ReplaceRE.md │ │ │ ├── RuneCount.md │ │ │ ├── SliceString.md │ │ │ ├── Split.md │ │ │ ├── Substr.md │ │ │ ├── Title.md │ │ │ ├── ToLower.md │ │ │ ├── ToUpper.md │ │ │ ├── Trim.md │ │ │ ├── TrimLeft.md │ │ │ ├── TrimPrefix.md │ │ │ ├── TrimRight.md │ │ │ ├── TrimSpace.md │ │ │ ├── TrimSuffix.md │ │ │ ├── Truncate.md │ │ │ └── _index.md │ │ ├── templates │ │ │ ├── Current.md │ │ │ ├── Defer.md │ │ │ ├── Exists.md │ │ │ └── _index.md │ │ ├── time │ │ │ ├── AsTime.md │ │ │ ├── Duration.md │ │ │ ├── Format.md │ │ │ ├── In.md │ │ │ ├── Now.md │ │ │ ├── ParseDuration.md │ │ │ └── _index.md │ │ ├── transform │ │ │ ├── CanHighlight.md │ │ │ ├── Emojify.md │ │ │ ├── HTMLEscape.md │ │ │ ├── HTMLUnescape.md │ │ │ ├── Highlight.md │ │ │ ├── HighlightCodeBlock.md │ │ │ ├── Markdownify.md │ │ │ ├── Plainify.md │ │ │ ├── PortableText.md │ │ │ ├── Remarshal.md │ │ │ ├── ToMath.md │ │ │ ├── Unmarshal.md │ │ │ ├── XMLEscape.md │ │ │ └── _index.md │ │ └── urls │ │ │ ├── AbsLangURL.md │ │ │ ├── AbsURL.md │ │ │ ├── Anchorize.md │ │ │ ├── JoinPath.md │ │ │ ├── Parse.md │ │ │ ├── Ref.md │ │ │ ├── RelLangURL.md │ │ │ ├── RelRef.md │ │ │ ├── RelURL.md │ │ │ ├── URLize.md │ │ │ └── _index.md │ │ ├── getting-started │ │ ├── _index.md │ │ ├── directory-structure.md │ │ ├── external-learning-resources │ │ │ ├── build-websites-with-hugo.png │ │ │ ├── hugo-in-action.png │ │ │ └── index.md │ │ ├── quick-start.md │ │ └── usage.md │ │ ├── host-and-deploy │ │ ├── _index.md │ │ ├── deploy-with-hugo-deploy.md │ │ ├── deploy-with-rclone.md │ │ ├── deploy-with-rsync.md │ │ ├── host-on-21yunbox.md │ │ ├── host-on-aws-amplify │ │ │ ├── amplify-step-05.png │ │ │ ├── amplify-step-06.png │ │ │ ├── amplify-step-07.png │ │ │ ├── amplify-step-08.png │ │ │ ├── amplify-step-09.png │ │ │ ├── amplify-step-11.png │ │ │ └── index.md │ │ ├── host-on-azure-static-web-apps.md │ │ ├── host-on-cloudflare-pages.md │ │ ├── host-on-codeberg-pages.md │ │ ├── host-on-firebase.md │ │ ├── host-on-github-pages │ │ │ ├── gh-pages-1.png │ │ │ ├── gh-pages-2.png │ │ │ ├── gh-pages-3.png │ │ │ ├── gh-pages-4.png │ │ │ ├── gh-pages-5.png │ │ │ └── index.md │ │ ├── host-on-gitlab-pages.md │ │ ├── host-on-keycdn │ │ │ ├── index.md │ │ │ ├── keycdn-pull-zone.png │ │ │ ├── secret-api-key.png │ │ │ └── secret-zone-id.png │ │ ├── host-on-netlify │ │ │ ├── index.md │ │ │ ├── netlify-step-02.png │ │ │ ├── netlify-step-03.png │ │ │ ├── netlify-step-04.png │ │ │ ├── netlify-step-05.png │ │ │ ├── netlify-step-06.png │ │ │ ├── netlify-step-07.png │ │ │ ├── netlify-step-08.png │ │ │ ├── netlify-step-09.png │ │ │ ├── netlify-step-10.png │ │ │ ├── netlify-step-11.png │ │ │ ├── netlify-step-12.png │ │ │ └── netlify-step-13.png │ │ ├── host-on-render.md │ │ └── host-on-sourcehut-pages.md │ │ ├── hugo-modules │ │ ├── _index.md │ │ ├── introduction.md │ │ ├── theme-components.md │ │ └── use-modules.md │ │ ├── hugo-pipes │ │ ├── _index.md │ │ ├── bundling.md │ │ ├── fingerprint.md │ │ ├── introduction.md │ │ ├── js.md │ │ ├── minification.md │ │ ├── postcss.md │ │ ├── postprocess.md │ │ ├── resource-from-string.md │ │ ├── resource-from-template.md │ │ └── transpile-sass-to-css.md │ │ ├── installation │ │ ├── _index.md │ │ ├── bsd.md │ │ ├── linux.md │ │ ├── macos.md │ │ └── windows.md │ │ ├── methods │ │ ├── _index.md │ │ ├── duration │ │ │ ├── Abs.md │ │ │ ├── Hours.md │ │ │ ├── Microseconds.md │ │ │ ├── Milliseconds.md │ │ │ ├── Minutes.md │ │ │ ├── Nanoseconds.md │ │ │ ├── Round.md │ │ │ ├── Seconds.md │ │ │ ├── Truncate.md │ │ │ └── _index.md │ │ ├── menu-entry │ │ │ ├── Children.md │ │ │ ├── HasChildren.md │ │ │ ├── Identifier.md │ │ │ ├── KeyName.md │ │ │ ├── Menu.md │ │ │ ├── Name.md │ │ │ ├── Page.md │ │ │ ├── PageRef.md │ │ │ ├── Params.md │ │ │ ├── Parent.md │ │ │ ├── Post.md │ │ │ ├── Pre.md │ │ │ ├── Title.md │ │ │ ├── URL.md │ │ │ ├── Weight.md │ │ │ └── _index.md │ │ ├── menu │ │ │ ├── ByName.md │ │ │ ├── ByWeight.md │ │ │ ├── Limit.md │ │ │ ├── Reverse.md │ │ │ └── _index.md │ │ ├── page │ │ │ ├── Aliases.md │ │ │ ├── AllTranslations.md │ │ │ ├── AlternativeOutputFormats.md │ │ │ ├── Ancestors.md │ │ │ ├── BundleType.md │ │ │ ├── CodeOwners.md │ │ │ ├── Content.md │ │ │ ├── ContentWithoutSummary.md │ │ │ ├── CurrentSection.md │ │ │ ├── Data.md │ │ │ ├── Date.md │ │ │ ├── Description.md │ │ │ ├── Draft.md │ │ │ ├── Eq.md │ │ │ ├── ExpiryDate.md │ │ │ ├── File.md │ │ │ ├── FirstSection.md │ │ │ ├── Fragments.md │ │ │ ├── FuzzyWordCount.md │ │ │ ├── GetPage.md │ │ │ ├── GetTerms.md │ │ │ ├── GitInfo.md │ │ │ ├── HasMenuCurrent.md │ │ │ ├── HasShortcode.md │ │ │ ├── HeadingsFiltered.md │ │ │ ├── InSection.md │ │ │ ├── IsAncestor.md │ │ │ ├── IsDescendant.md │ │ │ ├── IsHome.md │ │ │ ├── IsMenuCurrent.md │ │ │ ├── IsNode.md │ │ │ ├── IsPage.md │ │ │ ├── IsSection.md │ │ │ ├── IsTranslated.md │ │ │ ├── Keywords.md │ │ │ ├── Kind.md │ │ │ ├── Language.md │ │ │ ├── Lastmod.md │ │ │ ├── Layout.md │ │ │ ├── Len.md │ │ │ ├── LinkTitle.md │ │ │ ├── Next.md │ │ │ ├── NextInSection.md │ │ │ ├── OutputFormats.md │ │ │ ├── Page.md │ │ │ ├── Pages.md │ │ │ ├── Paginate.md │ │ │ ├── Paginator.md │ │ │ ├── Param.md │ │ │ ├── Params.md │ │ │ ├── Parent.md │ │ │ ├── Path.md │ │ │ ├── Permalink.md │ │ │ ├── Plain.md │ │ │ ├── PlainWords.md │ │ │ ├── Prev.md │ │ │ ├── PrevInSection.md │ │ │ ├── PublishDate.md │ │ │ ├── RawContent.md │ │ │ ├── ReadingTime.md │ │ │ ├── Ref.md │ │ │ ├── RegularPages.md │ │ │ ├── RegularPagesRecursive.md │ │ │ ├── RelPermalink.md │ │ │ ├── RelRef.md │ │ │ ├── Render.md │ │ │ ├── RenderShortcodes.md │ │ │ ├── RenderString.md │ │ │ ├── Resources.md │ │ │ ├── Scratch.md │ │ │ ├── Section.md │ │ │ ├── Sections.md │ │ │ ├── Site.md │ │ │ ├── Sitemap.md │ │ │ ├── Sites.md │ │ │ ├── Slug.md │ │ │ ├── Store.md │ │ │ ├── Summary.md │ │ │ ├── TableOfContents.md │ │ │ ├── Title.md │ │ │ ├── TranslationKey.md │ │ │ ├── Translations.md │ │ │ ├── Truncated.md │ │ │ ├── Type.md │ │ │ ├── Weight.md │ │ │ ├── WordCount.md │ │ │ └── _index.md │ │ ├── pager │ │ │ ├── First.md │ │ │ ├── HasNext.md │ │ │ ├── HasPrev.md │ │ │ ├── Last.md │ │ │ ├── Next.md │ │ │ ├── NumberOfElements.md │ │ │ ├── PageGroups.md │ │ │ ├── PageNumber.md │ │ │ ├── PageSize.md │ │ │ ├── PagerSize.md │ │ │ ├── Pagers.md │ │ │ ├── Pages.md │ │ │ ├── Prev.md │ │ │ ├── TotalNumberOfElements.md │ │ │ ├── TotalPages.md │ │ │ ├── URL.md │ │ │ └── _index.md │ │ ├── pages │ │ │ ├── ByDate.md │ │ │ ├── ByExpiryDate.md │ │ │ ├── ByLanguage.md │ │ │ ├── ByLastmod.md │ │ │ ├── ByLength.md │ │ │ ├── ByLinkTitle.md │ │ │ ├── ByParam.md │ │ │ ├── ByPublishDate.md │ │ │ ├── ByTitle.md │ │ │ ├── ByWeight.md │ │ │ ├── GroupBy.md │ │ │ ├── GroupByDate.md │ │ │ ├── GroupByExpiryDate.md │ │ │ ├── GroupByLastmod.md │ │ │ ├── GroupByParam.md │ │ │ ├── GroupByParamDate.md │ │ │ ├── GroupByPublishDate.md │ │ │ ├── Len.md │ │ │ ├── Limit.md │ │ │ ├── Next.md │ │ │ ├── Prev.md │ │ │ ├── Related.md │ │ │ ├── Reverse.md │ │ │ └── _index.md │ │ ├── resource │ │ │ ├── Colors.md │ │ │ ├── Content.md │ │ │ ├── Crop.md │ │ │ ├── Data.md │ │ │ ├── Err.md │ │ │ ├── Exif.md │ │ │ ├── Fill.md │ │ │ ├── Filter.md │ │ │ ├── Fit.md │ │ │ ├── Height.md │ │ │ ├── MediaType.md │ │ │ ├── Name.md │ │ │ ├── Params.md │ │ │ ├── Permalink.md │ │ │ ├── Process.md │ │ │ ├── Publish.md │ │ │ ├── RelPermalink.md │ │ │ ├── Resize.md │ │ │ ├── ResourceType.md │ │ │ ├── Title.md │ │ │ ├── Width.md │ │ │ └── _index.md │ │ ├── shortcode │ │ │ ├── Get.md │ │ │ ├── Inner.md │ │ │ ├── InnerDeindent.md │ │ │ ├── IsNamedParams.md │ │ │ ├── Name.md │ │ │ ├── Ordinal.md │ │ │ ├── Page.md │ │ │ ├── Params.md │ │ │ ├── Parent.md │ │ │ ├── Position.md │ │ │ ├── Ref.md │ │ │ ├── RelRef.md │ │ │ ├── Scratch.md │ │ │ ├── Site.md │ │ │ ├── Store.md │ │ │ └── _index.md │ │ ├── site │ │ │ ├── AllPages.md │ │ │ ├── BaseURL.md │ │ │ ├── BuildDrafts.md │ │ │ ├── Config.md │ │ │ ├── Copyright.md │ │ │ ├── Data.md │ │ │ ├── DisqusShortname.md │ │ │ ├── GetPage.md │ │ │ ├── GoogleAnalytics.md │ │ │ ├── Home.md │ │ │ ├── IsDevelopment.md │ │ │ ├── IsMultiLingual.md │ │ │ ├── IsServer.md │ │ │ ├── Language.md │ │ │ ├── LanguagePrefix.md │ │ │ ├── Languages.md │ │ │ ├── LastChange.md │ │ │ ├── Lastmod.md │ │ │ ├── MainSections.md │ │ │ ├── Menus.md │ │ │ ├── Pages.md │ │ │ ├── Param.md │ │ │ ├── Params.md │ │ │ ├── RegularPages.md │ │ │ ├── Sections.md │ │ │ ├── Sites.md │ │ │ ├── Store.md │ │ │ ├── Taxonomies.md │ │ │ ├── Title.md │ │ │ └── _index.md │ │ ├── taxonomy │ │ │ ├── Alphabetical.md │ │ │ ├── ByCount.md │ │ │ ├── Count.md │ │ │ ├── Get.md │ │ │ ├── Page.md │ │ │ └── _index.md │ │ └── time │ │ │ ├── Add.md │ │ │ ├── AddDate.md │ │ │ ├── After.md │ │ │ ├── Before.md │ │ │ ├── Day.md │ │ │ ├── Equal.md │ │ │ ├── Format.md │ │ │ ├── Hour.md │ │ │ ├── IsDST.md │ │ │ ├── IsZero.md │ │ │ ├── Local.md │ │ │ ├── Minute.md │ │ │ ├── Month.md │ │ │ ├── Nanosecond.md │ │ │ ├── Round.md │ │ │ ├── Second.md │ │ │ ├── Sub.md │ │ │ ├── Truncate.md │ │ │ ├── UTC.md │ │ │ ├── Unix.md │ │ │ ├── UnixMicro.md │ │ │ ├── UnixMilli.md │ │ │ ├── UnixNano.md │ │ │ ├── Weekday.md │ │ │ ├── Year.md │ │ │ ├── YearDay.md │ │ │ └── _index.md │ │ ├── news │ │ ├── _content.gotmpl │ │ └── _index.md │ │ ├── quick-reference │ │ ├── _index.md │ │ ├── emojis.md │ │ ├── functions.md │ │ ├── glossary │ │ │ ├── _index.md │ │ │ ├── action.md │ │ │ ├── archetype.md │ │ │ ├── argument.md │ │ │ ├── array.md │ │ │ ├── asset-pipeline.md │ │ │ ├── bool.md │ │ │ ├── boolean.md │ │ │ ├── branch-bundle.md │ │ │ ├── build.md │ │ │ ├── bundle.md │ │ │ ├── cache.md │ │ │ ├── chain.md │ │ │ ├── cicd.md │ │ │ ├── cjk.md │ │ │ ├── cli.md │ │ │ ├── collection.md │ │ │ ├── content-adapter.md │ │ │ ├── content-format.md │ │ │ ├── content-type.md │ │ │ ├── content-view.md │ │ │ ├── context.md │ │ │ ├── default-sort-order.md │ │ │ ├── duration.md │ │ │ ├── element.md │ │ │ ├── embedded-template.md │ │ │ ├── environment.md │ │ │ ├── field.md │ │ │ ├── flag.md │ │ │ ├── float.md │ │ │ ├── floating-point.md │ │ │ ├── fragment.md │ │ │ ├── front-matter.md │ │ │ ├── function.md │ │ │ ├── glob.md │ │ │ ├── global-resource.md │ │ │ ├── headless-bundle.md │ │ │ ├── i18n.md │ │ │ ├── iana.md │ │ │ ├── identifier.md │ │ │ ├── int.md │ │ │ ├── integer.md │ │ │ ├── internationalization.md │ │ │ ├── interpreted-string-literal.md │ │ │ ├── interval.md │ │ │ ├── kind.md │ │ │ ├── l10n.md │ │ │ ├── layout.md │ │ │ ├── leaf-bundle.md │ │ │ ├── lexer.md │ │ │ ├── list-page.md │ │ │ ├── list-template.md │ │ │ ├── localization.md │ │ │ ├── logical-path.md │ │ │ ├── map.md │ │ │ ├── markdown-attribute.md │ │ │ ├── marshal.md │ │ │ ├── media-type.md │ │ │ ├── method.md │ │ │ ├── module.md │ │ │ ├── node.md │ │ │ ├── noop.md │ │ │ ├── object.md │ │ │ ├── ordered-taxonomy.md │ │ │ ├── output-format.md │ │ │ ├── page-bundle.md │ │ │ ├── page-collection.md │ │ │ ├── page-kind.md │ │ │ ├── page-resource.md │ │ │ ├── pager.md │ │ │ ├── paginate.md │ │ │ ├── pagination.md │ │ │ ├── paginator.md │ │ │ ├── parameter.md │ │ │ ├── partial.md │ │ │ ├── permalink.md │ │ │ ├── pipe.md │ │ │ ├── pipeline.md │ │ │ ├── pretty-url.md │ │ │ ├── primary-output-format.md │ │ │ ├── publish.md │ │ │ ├── raw-string-literal.md │ │ │ ├── regular-expression.md │ │ │ ├── regular-page.md │ │ │ ├── relative-permalink.md │ │ │ ├── remote-resource.md │ │ │ ├── render-hook.md │ │ │ ├── resource-type.md │ │ │ ├── resource.md │ │ │ ├── scalar.md │ │ │ ├── scope.md │ │ │ ├── scratch-pad.md │ │ │ ├── section-page.md │ │ │ ├── section.md │ │ │ ├── segment.md │ │ │ ├── shortcode.md │ │ │ ├── slice.md │ │ │ ├── string.md │ │ │ ├── taxonomic-weight.md │ │ │ ├── taxonomy-object.md │ │ │ ├── taxonomy-page.md │ │ │ ├── taxonomy.md │ │ │ ├── template-action.md │ │ │ ├── template.md │ │ │ ├── term-page.md │ │ │ ├── term.md │ │ │ ├── theme.md │ │ │ ├── token.md │ │ │ ├── type.md │ │ │ ├── ugly-url.md │ │ │ ├── unmarshal.md │ │ │ ├── utc.md │ │ │ ├── variable.md │ │ │ ├── walk.md │ │ │ ├── weight.md │ │ │ ├── weighted-page.md │ │ │ └── zero-time.md │ │ ├── methods.md │ │ ├── page-collections.md │ │ └── syntax-highlighting-styles.md │ │ ├── render-hooks │ │ ├── _index.md │ │ ├── blockquotes.md │ │ ├── code-blocks.md │ │ ├── headings.md │ │ ├── images.md │ │ ├── introduction.md │ │ ├── links.md │ │ ├── passthrough.md │ │ └── tables.md │ │ ├── shortcodes │ │ ├── _index.md │ │ ├── details.md │ │ ├── figure.md │ │ ├── gist.md │ │ ├── highlight.md │ │ ├── instagram.md │ │ ├── param.md │ │ ├── qr.md │ │ ├── ref.md │ │ ├── relref.md │ │ ├── vimeo.md │ │ ├── x.md │ │ └── youtube.md │ │ ├── showcase │ │ ├── 1password-support │ │ │ ├── bio.md │ │ │ ├── featured.png │ │ │ └── index.md │ │ ├── _index.md │ │ ├── _template │ │ │ ├── bio.md │ │ │ ├── featured.png │ │ │ └── index.md │ │ ├── alora-labs │ │ │ ├── bio.md │ │ │ ├── featured.png │ │ │ └── index.md │ │ ├── ampio-help │ │ │ ├── bio.md │ │ │ ├── featured.png │ │ │ └── index.md │ │ ├── bypasscensorship │ │ │ ├── bio.md │ │ │ ├── featured.png │ │ │ └── index.md │ │ ├── digitalgov │ │ │ ├── bio.md │ │ │ ├── featured.png │ │ │ └── index.md │ │ ├── fireship │ │ │ ├── bio.md │ │ │ ├── featured.png │ │ │ └── index.md │ │ ├── forestry │ │ │ ├── bio.md │ │ │ ├── featured.png │ │ │ └── index.md │ │ ├── godot-tutorials │ │ │ ├── bio.md │ │ │ ├── featured.png │ │ │ └── index.md │ │ ├── hapticmedia │ │ │ ├── bio.md │ │ │ ├── featured.png │ │ │ └── index.md │ │ ├── hartwell-insurance │ │ │ ├── bio.md │ │ │ ├── featured.png │ │ │ ├── hartwell-columns.png │ │ │ ├── hartwell-lighthouse.png │ │ │ ├── hartwell-webpagetest.png │ │ │ └── index.md │ │ ├── keycdn │ │ │ ├── bio.md │ │ │ ├── featured.png │ │ │ └── index.md │ │ ├── letsencrypt │ │ │ ├── bio.md │ │ │ ├── featured.png │ │ │ └── index.md │ │ ├── linode │ │ │ ├── bio.md │ │ │ ├── featured.png │ │ │ └── index.md │ │ ├── overmindstudios │ │ │ ├── bio.md │ │ │ ├── featured.png │ │ │ └── index.md │ │ ├── pharmaseal │ │ │ ├── bio.md │ │ │ ├── featured-pharmaseal.png │ │ │ └── index.md │ │ ├── quiply-employee-communications-app │ │ │ ├── bio.md │ │ │ ├── featured.png │ │ │ └── index.md │ │ └── tomango │ │ │ ├── bio.md │ │ │ ├── featured.png │ │ │ └── index.md │ │ ├── templates │ │ ├── 404.md │ │ ├── _index.md │ │ ├── base.md │ │ ├── content-view.md │ │ ├── embedded.md │ │ ├── home.md │ │ ├── introduction.md │ │ ├── lookup-order.md │ │ ├── menu.md │ │ ├── pagination.md │ │ ├── partial.md │ │ ├── robots.md │ │ ├── rss.md │ │ ├── section.md │ │ ├── shortcode.md │ │ ├── single.md │ │ ├── sitemap.md │ │ ├── taxonomy.md │ │ ├── term.md │ │ └── types.md │ │ ├── tools │ │ ├── _index.md │ │ ├── editors.md │ │ ├── front-ends.md │ │ ├── migrations.md │ │ ├── other.md │ │ └── search.md │ │ └── troubleshooting │ │ ├── _index.md │ │ ├── audit │ │ ├── index.md │ │ └── screen-capture.png │ │ ├── deprecation.md │ │ ├── faq.md │ │ ├── inspection.md │ │ ├── logging.md │ │ └── performance.md ├── data │ ├── articles.toml │ ├── docs.yaml │ ├── embedded_template_urls.toml │ ├── homepagetweets.toml │ ├── keywords.yaml │ ├── page_filters.yaml │ └── sponsors.toml ├── go.mod ├── go.sum ├── hugo.toml ├── hugo.work ├── hugoreleaser.yaml ├── layouts │ ├── 404.html │ ├── _markup │ │ ├── render-blockquote.html │ │ ├── render-codeblock.html │ │ ├── render-link.html │ │ ├── render-passthrough.html │ │ └── render-table.html │ ├── _partials │ │ ├── docs │ │ │ ├── functions-aliases.html │ │ │ ├── functions-return-type.html │ │ │ └── functions-signatures.html │ │ ├── helpers │ │ │ ├── debug │ │ │ │ └── list-item-metadata.html │ │ │ ├── funcs │ │ │ │ ├── color-from-string.html │ │ │ │ ├── get-github-info.html │ │ │ │ └── get-remote-data.html │ │ │ ├── gtag.html │ │ │ ├── linkcss.html │ │ │ ├── linkjs.html │ │ │ ├── picture.html │ │ │ └── validation │ │ │ │ └── validate-keywords.html │ │ ├── layouts │ │ │ ├── blocks │ │ │ │ ├── alert.html │ │ │ │ └── modal.html │ │ │ ├── breadcrumbs.html │ │ │ ├── date.html │ │ │ ├── docsheader.html │ │ │ ├── explorer.html │ │ │ ├── footer.html │ │ │ ├── head │ │ │ │ ├── head-js.html │ │ │ │ └── head.html │ │ │ ├── header │ │ │ │ ├── githubstars.html │ │ │ │ ├── header.html │ │ │ │ ├── qr.html │ │ │ │ └── theme.html │ │ │ ├── home │ │ │ │ ├── features.html │ │ │ │ ├── opensource.html │ │ │ │ └── sponsors.html │ │ │ ├── hooks │ │ │ │ ├── body-end.html │ │ │ │ ├── body-main-start.html │ │ │ │ └── body-start.html │ │ │ ├── icons.html │ │ │ ├── in-this-section.html │ │ │ ├── page-edit.html │ │ │ ├── related.html │ │ │ ├── search │ │ │ │ ├── algolialogo.html │ │ │ │ ├── button.html │ │ │ │ ├── input.html │ │ │ │ └── results.html │ │ │ ├── templates.html │ │ │ └── toc.html │ │ └── opengraph │ │ │ ├── get-featured-image.html │ │ │ └── opengraph.html │ ├── _shortcodes │ │ ├── chroma-lexers.html │ │ ├── code-toggle.html │ │ ├── datatable-filtered.html │ │ ├── datatable.html │ │ ├── deprecated-in.html │ │ ├── eturl.html │ │ ├── glossary-term.html │ │ ├── glossary.html │ │ ├── hl.html │ │ ├── img.html │ │ ├── imgproc.html │ │ ├── include.html │ │ ├── list-pages-in-section.html │ │ ├── module-mounts-note.html │ │ ├── new-in.html │ │ ├── per-lang-config-keys.html │ │ ├── quick-reference.html │ │ ├── root-configuration-keys.html │ │ └── syntax-highlighting-styles.html │ ├── baseof.html │ ├── home.headers │ ├── home.html │ ├── home.redir │ ├── list.html │ ├── list.rss.xml │ └── single.html ├── netlify.toml ├── package.hugo.json ├── package.json ├── static │ ├── android-chrome-144x144.png │ ├── android-chrome-192x192.png │ ├── android-chrome-256x256.png │ ├── android-chrome-36x36.png │ ├── android-chrome-48x48.png │ ├── android-chrome-72x72.png │ ├── android-chrome-96x96.png │ ├── apple-touch-icon.png │ ├── favicon-16x16.png │ ├── favicon-32x32.png │ ├── favicon.ico │ ├── fonts │ │ ├── Mulish-Italic-VariableFont_wght.ttf │ │ └── Mulish-VariableFont_wght.ttf │ ├── images │ │ ├── gopher-hero.svg │ │ ├── gopher-side_color.svg │ │ └── hugo-logo-wide.svg │ ├── img │ │ ├── examples │ │ │ └── trees.svg │ │ ├── hugo-logo-med.png │ │ ├── hugo-logo.png │ │ ├── hugo.png │ │ └── hugoSM.png │ ├── manifest.json │ ├── mstile-144x144.png │ ├── mstile-150x150.png │ ├── mstile-310x310.png │ ├── safari-pinned-tab.svg │ └── shared │ │ └── examples │ │ ├── data │ │ └── books.json │ │ └── images │ │ ├── interpreting-the-french-revolution.webp │ │ ├── les-misérables.webp │ │ ├── the-ancien-régime-and-the-revolution.webp │ │ └── the-hunchback-of-notre-dame.webp └── tailwind.config.js ├── docshelper └── docs.go ├── go.mod ├── go.sum ├── helpers ├── content.go ├── content_test.go ├── docshelper.go ├── emoji.go ├── emoji_test.go ├── general.go ├── general_test.go ├── path.go ├── path_test.go ├── pathspec.go ├── processing_stats.go ├── testhelpers_test.go ├── url.go └── url_test.go ├── htesting ├── hqt │ └── checkers.go ├── test_helpers.go └── test_helpers_test.go ├── hugofs ├── component_fs.go ├── createcounting_fs.go ├── decorators.go ├── dirsmerger.go ├── fileinfo.go ├── fileinfo_test.go ├── filename_filter_fs.go ├── filename_filter_fs_test.go ├── files │ ├── classifier.go │ └── classifier_test.go ├── fs.go ├── fs_test.go ├── glob.go ├── glob │ ├── filename_filter.go │ ├── filename_filter_test.go │ ├── glob.go │ └── glob_test.go ├── glob_test.go ├── hasbytes_fs.go ├── hashing_fs.go ├── hashing_fs_test.go ├── noop_fs.go ├── openfiles_fs.go ├── rootmapping_fs.go ├── rootmapping_fs_test.go ├── stacktracer_fs.go ├── walk.go └── walk_test.go ├── hugolib ├── 404_test.go ├── alias.go ├── alias_test.go ├── breaking_changes_test.go ├── cascade_test.go ├── codeowners.go ├── collections.go ├── collections_test.go ├── config.go ├── config_test.go ├── configdir_test.go ├── content_factory.go ├── content_factory_test.go ├── content_map.go ├── content_map_page.go ├── content_map_test.go ├── content_render_hooks_test.go ├── datafiles_test.go ├── dates_test.go ├── disableKinds_test.go ├── doctree │ ├── dimensions.go │ ├── dimensions_test.go │ ├── nodeshiftree_test.go │ ├── nodeshifttree.go │ ├── simpletree.go │ ├── support.go │ ├── treeshifttree.go │ └── treeshifttree_test.go ├── embedded_templates_test.go ├── fileInfo.go ├── fileInfo_test.go ├── filesystems │ ├── basefs.go │ └── basefs_test.go ├── frontmatter_test.go ├── gitinfo.go ├── hugo_modules_test.go ├── hugo_sites.go ├── hugo_sites_build.go ├── hugo_sites_build_errors_test.go ├── hugo_sites_build_test.go ├── hugo_sites_multihost_test.go ├── hugo_sites_test.go ├── hugo_smoke_test.go ├── hugolib_integration_test.go ├── image_test.go ├── integrationtest_builder.go ├── language_content_dir_test.go ├── language_test.go ├── menu_test.go ├── minify_publisher_test.go ├── mount_filters_test.go ├── page.go ├── page__common.go ├── page__content.go ├── page__data.go ├── page__fragments_test.go ├── page__menus.go ├── page__meta.go ├── page__meta_test.go ├── page__new.go ├── page__output.go ├── page__paginator.go ├── page__paths.go ├── page__per_output.go ├── page__position.go ├── page__ref.go ├── page__tree.go ├── page_kinds.go ├── page_permalink_test.go ├── page_test.go ├── page_unwrap.go ├── page_unwrap_test.go ├── pagebundler_test.go ├── pagecollections.go ├── pagecollections_test.go ├── pages_capture.go ├── pages_language_merge_test.go ├── pages_test.go ├── pagesfromdata │ ├── pagesfromgotmpl.go │ ├── pagesfromgotmpl_integration_test.go │ └── pagesfromgotmpl_test.go ├── paginator_test.go ├── params_test.go ├── paths │ └── paths.go ├── permalinker.go ├── prune_resources.go ├── rebuild_test.go ├── rendershortcodes_test.go ├── renderstring_test.go ├── resource_chain_test.go ├── robotstxt_test.go ├── rss_test.go ├── securitypolicies_test.go ├── segments │ ├── segments.go │ ├── segments_integration_test.go │ └── segments_test.go ├── shortcode.go ├── shortcode_page.go ├── shortcode_test.go ├── site.go ├── siteJSONEncode_test.go ├── site_benchmark_new_test.go ├── site_output.go ├── site_output_test.go ├── site_render.go ├── site_sections.go ├── site_sections_test.go ├── site_stats_test.go ├── site_test.go ├── site_url_test.go ├── sitemap_test.go ├── taxonomy_test.go ├── template_test.go ├── testdata │ ├── cities.csv │ ├── fakejson.json │ ├── fruits.json │ ├── redis.cn.md │ ├── sunset.jpg │ └── what-is-markdown.md ├── testhelpers_test.go └── testsite │ ├── .gitignore │ ├── CODEOWNERS │ ├── content │ └── first-post.md │ └── content_nn │ └── first-post.md ├── hugoreleaser.env ├── hugoreleaser.yaml ├── identity ├── finder.go ├── finder_test.go ├── identity.go ├── identity_test.go ├── identitytesting │ └── identitytesting.go ├── predicate_identity.go ├── predicate_identity_test.go ├── question.go └── question_test.go ├── internal ├── js │ ├── api.go │ └── esbuild │ │ ├── batch-esm-runner.gotmpl │ │ ├── batch.go │ │ ├── batch_integration_test.go │ │ ├── build.go │ │ ├── helpers.go │ │ ├── options.go │ │ ├── options_test.go │ │ ├── resolve.go │ │ ├── resolve_test.go │ │ └── sourcemap.go └── warpc │ ├── build.sh │ ├── gen │ └── main.go │ ├── js │ ├── .gitignore │ ├── common.js │ ├── greet.bundle.js │ ├── greet.js │ ├── package.json │ ├── renderkatex.bundle.js │ └── renderkatex.js │ ├── katex.go │ ├── warpc.go │ ├── warpc_test.go │ ├── wasm │ ├── greet.wasm │ ├── quickjs.wasm │ └── renderkatex.wasm │ └── watchtestscripts.sh ├── langs ├── config.go ├── i18n │ ├── i18n.go │ ├── i18n_integration_test.go │ ├── i18n_test.go │ └── translationProvider.go ├── language.go └── language_test.go ├── lazy ├── init.go ├── init_test.go └── once.go ├── livereload ├── connection.go ├── gen │ ├── livereload-hugo-plugin.js │ └── main.go ├── hub.go ├── livereload.go ├── livereload.js └── livereload.min.js ├── magefile.go ├── main.go ├── main_test.go ├── main_withdeploy_off_test.go ├── main_withdeploy_test.go ├── markup ├── asciidocext │ ├── asciidocext_config │ │ └── config.go │ ├── convert.go │ ├── convert_test.go │ └── internal │ │ └── converter.go ├── blackfriday │ └── anchors.go ├── converter │ ├── converter.go │ └── hooks │ │ └── hooks.go ├── goldmark │ ├── autoid.go │ ├── autoid_test.go │ ├── blockquotes │ │ ├── blockquotes.go │ │ ├── blockquotes_integration_test.go │ │ └── blockquotes_test.go │ ├── codeblocks │ │ ├── codeblocks_integration_test.go │ │ └── render.go │ ├── convert.go │ ├── convert_test.go │ ├── goldmark_config │ │ └── config.go │ ├── goldmark_integration_test.go │ ├── hugocontext │ │ ├── hugocontext.go │ │ └── hugocontext_test.go │ ├── images │ │ ├── images_integration_test.go │ │ └── transform.go │ ├── internal │ │ ├── extensions │ │ │ └── attributes │ │ │ │ ├── attributes.go │ │ │ │ └── attributes_integration_test.go │ │ └── render │ │ │ └── context.go │ ├── passthrough │ │ ├── passthrough.go │ │ └── passthrough_integration_test.go │ ├── render_hooks.go │ ├── tables │ │ ├── tables.go │ │ └── tables_integration_test.go │ ├── toc.go │ └── toc_integration_test.go ├── highlight │ ├── chromalexers │ │ └── chromalexers.go │ ├── config.go │ ├── config_test.go │ ├── highlight.go │ ├── highlight_integration_test.go │ └── highlight_test.go ├── internal │ ├── attributes │ │ └── attributes.go │ └── external.go ├── markup.go ├── markup_config │ ├── config.go │ └── config_test.go ├── markup_test.go ├── org │ ├── convert.go │ └── convert_test.go ├── pandoc │ ├── convert.go │ └── convert_test.go ├── rst │ ├── convert.go │ └── convert_test.go └── tableofcontents │ ├── tableofcontents.go │ ├── tableofcontents_integration_test.go │ └── tableofcontents_test.go ├── media ├── builtin.go ├── config.go ├── config_test.go ├── mediaType.go ├── mediaType_test.go └── testdata │ ├── fake.js │ ├── fake.png │ ├── reosurce.otf │ ├── resource.bmp │ ├── resource.css │ ├── resource.csv │ ├── resource.gif │ ├── resource.ics │ ├── resource.jpe │ ├── resource.jpg │ ├── resource.js │ ├── resource.json │ ├── resource.pdf │ ├── resource.png │ ├── resource.rss │ ├── resource.sass │ ├── resource.scss │ ├── resource.svg │ ├── resource.ttf │ ├── resource.webp │ └── resource.xml ├── merge-release.sh ├── metrics ├── metrics.go └── metrics_test.go ├── minifiers ├── config.go ├── config_test.go ├── minifiers.go └── minifiers_test.go ├── modules ├── client.go ├── client_test.go ├── collect.go ├── collect_test.go ├── config.go ├── config_test.go ├── module.go └── npm │ ├── package_builder.go │ └── package_builder_test.go ├── navigation ├── menu.go ├── menu_cache.go ├── menu_cache_test.go └── pagemenus.go ├── output ├── config.go ├── config_test.go ├── docshelper.go ├── outputFormat.go └── outputFormat_test.go ├── parser ├── frontmatter.go ├── frontmatter_test.go ├── lowercase_camel_json.go ├── lowercase_camel_json_test.go ├── metadecoders │ ├── decoder.go │ ├── decoder_test.go │ ├── format.go │ └── format_test.go └── pageparser │ ├── doc.go │ ├── item.go │ ├── item_test.go │ ├── itemtype_string.go │ ├── pagelexer.go │ ├── pagelexer_intro.go │ ├── pagelexer_intro_test.go │ ├── pagelexer_shortcode.go │ ├── pagelexer_test.go │ ├── pageparser.go │ ├── pageparser_intro_test.go │ ├── pageparser_shortcode_test.go │ └── pageparser_test.go ├── publisher ├── htmlElementsCollector.go ├── htmlElementsCollector_test.go └── publisher.go ├── pull-docs.sh ├── related ├── inverted_index.go ├── inverted_index_test.go └── related_integration_test.go ├── releaser └── releaser.go ├── resources ├── assets │ └── sunset.jpg ├── docs.go ├── image.go ├── image_cache.go ├── image_extended_test.go ├── image_test.go ├── images │ ├── auto_orient.go │ ├── color.go │ ├── color_test.go │ ├── config.go │ ├── config_test.go │ ├── dither.go │ ├── exif │ │ ├── exif.go │ │ └── exif_test.go │ ├── filters.go │ ├── filters_test.go │ ├── image.go │ ├── image_resource.go │ ├── images_golden_integration_test.go │ ├── images_integration_test.go │ ├── imagetesting │ │ └── testing.go │ ├── mask.go │ ├── opacity.go │ ├── overlay.go │ ├── padding.go │ ├── process.go │ ├── resampling.go │ ├── smartcrop.go │ ├── testdata │ │ └── images_golden │ │ │ ├── filters │ │ │ ├── mask │ │ │ │ ├── blue.jpg │ │ │ │ ├── transparant.png │ │ │ │ ├── wide.jpg │ │ │ │ └── yellow.jpg │ │ │ ├── mask2 │ │ │ │ ├── green.jpg │ │ │ │ └── pink.jpg │ │ │ ├── misc │ │ │ │ ├── brightness-40.jpg │ │ │ │ ├── colorbalance-180-50-20.jpg │ │ │ │ ├── contrast-50.jpg │ │ │ │ ├── dither-default.jpg │ │ │ │ ├── gamma-1.667.jpg │ │ │ │ ├── gaussianblur-5.jpg │ │ │ │ ├── grayscale+colorize-180-50-20.jpg │ │ │ │ ├── grayscale.jpg │ │ │ │ ├── hue--15.jpg │ │ │ │ ├── invert.jpg │ │ │ │ ├── opacity-0.65.jpg │ │ │ │ ├── overlay-20-20.jpg │ │ │ │ ├── padding-20-40-#976941.jpg │ │ │ │ ├── pixelate-10.jpg │ │ │ │ ├── rotate270.jpg │ │ │ │ ├── saturation-65.jpg │ │ │ │ ├── sepia-80.jpg │ │ │ │ ├── sigmoid-0.6--4.jpg │ │ │ │ ├── text.jpg │ │ │ │ └── unsharpmask.jpg │ │ │ └── text │ │ │ │ ├── text_alignx-center.jpg │ │ │ │ ├── text_alignx-center_aligny-bottom.jpg │ │ │ │ ├── text_alignx-center_aligny-center.jpg │ │ │ │ ├── text_alignx-left.jpg │ │ │ │ └── text_alignx-right.jpg │ │ │ ├── methods │ │ │ ├── crop-sunsetjpg-200x200.jpg │ │ │ ├── crop-sunsetjpg-350x400-center-q20.jpg │ │ │ ├── crop-sunsetjpg-350x400-center-r90.jpg │ │ │ ├── crop-sunsetjpg-350x400-center.jpg │ │ │ ├── crop-sunsetjpg-350x400-smart.jpg │ │ │ ├── fill-sunsetjpg-90x120-left.jpg │ │ │ ├── fill-sunsetjpg-90x120-right.jpg │ │ │ ├── fit-sunsetjpg-200x200.jpg │ │ │ ├── resize-gopherpng-100x-03fc56-jpg.jpg │ │ │ ├── resize-gopherpng-100x-fc03ec.png │ │ │ ├── resize-gopherpng-100x.png │ │ │ ├── resize-sunsetjpg-300x.jpg │ │ │ └── resize-sunsetjpg-x200.jpg │ │ │ └── process │ │ │ └── misc │ │ │ ├── crop-500x200-smart.jpg │ │ │ ├── fill-500x200-smart.jpg │ │ │ ├── fit-500x200-smart.jpg │ │ │ ├── resize-100x100-gif.gif │ │ │ ├── resize-100x100-r180.png │ │ │ └── resize-300x300-jpg-b31280.jpg │ ├── text.go │ └── webp │ │ ├── webp.go │ │ └── webp_notavailable.go ├── internal │ ├── key.go │ ├── key_test.go │ └── resourcepaths.go ├── jsconfig │ ├── jsconfig.go │ └── jsconfig_test.go ├── kinds │ ├── kinds.go │ └── kinds_test.go ├── page │ ├── page.go │ ├── page_author.go │ ├── page_data.go │ ├── page_data_test.go │ ├── page_generate │ │ ├── .gitignore │ │ └── generate_page_wrappers.go │ ├── page_integration_test.go │ ├── page_kinds.go │ ├── page_lazy_contentprovider.go │ ├── page_markup.go │ ├── page_markup_integration_test.go │ ├── page_markup_test.go │ ├── page_marshaljson.autogen.go │ ├── page_matcher.go │ ├── page_matcher_test.go │ ├── page_nop.go │ ├── page_outputformat.go │ ├── page_paths.go │ ├── page_wrappers.autogen.go │ ├── pagegroup.go │ ├── pagegroup_test.go │ ├── pagemeta │ │ ├── page_frontmatter.go │ │ ├── page_frontmatter_test.go │ │ ├── pagemeta.go │ │ ├── pagemeta_integration_test.go │ │ └── pagemeta_test.go │ ├── pages.go │ ├── pages_cache.go │ ├── pages_cache_test.go │ ├── pages_language_merge.go │ ├── pages_prev_next.go │ ├── pages_prev_next_integration_test.go │ ├── pages_prev_next_test.go │ ├── pages_related.go │ ├── pages_related_test.go │ ├── pages_sort.go │ ├── pages_sort_search.go │ ├── pages_sort_search_test.go │ ├── pages_sort_test.go │ ├── pages_test.go │ ├── pagination.go │ ├── pagination_test.go │ ├── path_integration_test.go │ ├── permalinks.go │ ├── permalinks_integration_test.go │ ├── permalinks_test.go │ ├── site.go │ ├── site_integration_test.go │ ├── siteidentities │ │ └── identities.go │ ├── taxonomy.go │ ├── taxonomy_integration_test.go │ ├── testhelpers_test.go │ ├── weighted.go │ └── zero_file.autogen.go ├── post_publish.go ├── postpub │ ├── fields.go │ ├── fields_test.go │ └── postpub.go ├── resource.go ├── resource │ ├── dates.go │ ├── params.go │ ├── resource_helpers.go │ ├── resources.go │ ├── resources_integration_test.go │ ├── resources_test.go │ └── resourcetypes.go ├── resource_cache.go ├── resource_factories │ ├── bundler │ │ ├── bundler.go │ │ └── bundler_test.go │ └── create │ │ ├── create.go │ │ ├── create_integration_test.go │ │ ├── remote.go │ │ └── remote_test.go ├── resource_metadata.go ├── resource_spec.go ├── resource_spec_test.go ├── resource_test.go ├── resource_transformers │ ├── babel │ │ ├── babel.go │ │ └── babel_integration_test.go │ ├── cssjs │ │ ├── inline_imports.go │ │ ├── inline_imports_test.go │ │ ├── postcss.go │ │ ├── postcss_integration_test.go │ │ ├── tailwindcss.go │ │ └── tailwindcss_integration_test.go │ ├── htesting │ │ └── testhelpers.go │ ├── integrity │ │ ├── integrity.go │ │ └── integrity_test.go │ ├── js │ │ ├── build.go │ │ ├── js_integration_test.go │ │ └── transform.go │ ├── minifier │ │ ├── minifier_integration_test.go │ │ ├── minify.go │ │ └── minify_test.go │ ├── templates │ │ ├── execute_as_template.go │ │ └── templates_integration_test.go │ └── tocss │ │ ├── dartsass │ │ ├── client.go │ │ ├── dartsass_integration_test.go │ │ └── transform.go │ │ ├── sass │ │ ├── helpers.go │ │ └── helpers_test.go │ │ └── scss │ │ ├── client.go │ │ ├── client_extended.go │ │ ├── client_notavailable.go │ │ ├── client_test.go │ │ ├── scss_integration_test.go │ │ └── tocss.go ├── resources_integration_test.go ├── testdata │ ├── 1234567890qwertyuiopasdfghjklzxcvbnm5to6eeeeee7via8eleph.jpg │ ├── circle.svg │ ├── exif │ │ └── orientation6.jpg │ ├── fuzzy-cirlcle.png │ ├── giphy.gif │ ├── gohugoio-card.gif │ ├── gohugoio.png │ ├── gohugoio24.png │ ├── gohugoio8.png │ ├── gopher-hero8.png │ ├── gradient-circle.png │ ├── iss8079.jpg │ ├── issue10738 │ │ ├── canon_cr2_fraction.jpg │ │ ├── canon_cr2_integer.jpg │ │ ├── dji_dng_fraction.jpg │ │ ├── fuji_raf_fraction.jpg │ │ ├── fuji_raf_integer.jpg │ │ ├── leica_dng_fraction.jpg │ │ ├── lumix_rw2_fraction.jpg │ │ ├── nikon_nef_d5600.jpg │ │ ├── nikon_nef_fraction.jpg │ │ ├── nikon_nef_fraction_2.jpg │ │ ├── nikon_nef_integer.jpg │ │ ├── sony_arw_fraction.jpg │ │ └── sony_arw_integer.jpg │ ├── mask.png │ ├── mask2.png │ ├── pix.gif │ ├── sub │ │ └── gohugoio2.png │ ├── sunrise.JPG │ ├── sunrise.webp │ ├── sunset.jpg │ └── sunset.webp ├── testhelpers_test.go ├── transform.go ├── transform_integration_test.go └── transform_test.go ├── scripts ├── docker │ └── entrypoint.sh └── fork_go_templates │ ├── .gitignore │ └── main.go ├── snap ├── local │ └── logo.png └── snapcraft.yaml ├── source ├── content_directory_test.go ├── fileInfo.go └── sourceSpec.go ├── testscripts ├── commands │ ├── commands_errors.txt │ ├── completion.txt │ ├── config.txt │ ├── config__cachedir.txt │ ├── convert.txt │ ├── deprecate.txt │ ├── env.txt │ ├── gen.txt │ ├── hugo.txt │ ├── hugo__configdir.txt │ ├── hugo__errors.txt │ ├── hugo__flags.txt │ ├── hugo__noconfig.txt │ ├── hugo__path-warnings-postprocess.txt │ ├── hugo__path-warnings.txt │ ├── hugo__path-warnings_issue13164.txt │ ├── hugo__processingstats.txt │ ├── hugo__processingstats2.txt │ ├── hugo__publishdir_in_config.txt │ ├── hugo__static_composite.txt │ ├── hugo__watch.txt │ ├── hugo_build.txt │ ├── hugo_configdev_env.txt │ ├── hugo_configdev_environment.txt │ ├── hugo_configprod.txt │ ├── hugo_printpathwarnings.txt │ ├── hugo_printunusedtemplates.txt │ ├── import_jekyll.txt │ ├── list.txt │ ├── mod.txt │ ├── mod__disable.txt │ ├── mod__themesdir.txt │ ├── mod_get.txt │ ├── mod_get_u.txt │ ├── mod_init.txt │ ├── mod_npm.txt │ ├── mod_npm_withexisting.txt │ ├── mod_tidy.txt │ ├── mod_vendor.txt │ ├── new.txt │ ├── new_content.txt │ ├── new_content_archetypedir.txt │ ├── noop.txt │ ├── server.txt │ ├── server__edit_config.txt │ ├── server__edit_content.txt │ ├── server__error_recovery_edit_config.txt │ ├── server__error_recovery_edit_content.txt │ ├── server__multihost.txt │ ├── server__watch_hugo_stats.txt │ ├── server__watch_moduleconfig.txt │ ├── server_disablelivereload.txt │ ├── server_disablelivereload__config.txt │ ├── server_render_static_to_disk.txt │ ├── server_render_to_memory.txt │ ├── version.txt │ └── warnf_stderr.txt ├── unfinished │ └── noop.txt ├── withdeploy-off │ └── deploy_off.txt └── withdeploy │ └── deploy.txt ├── tpl ├── cast │ ├── cast.go │ ├── cast_test.go │ ├── docshelper.go │ └── init.go ├── collections │ ├── append.go │ ├── append_test.go │ ├── apply.go │ ├── collections.go │ ├── collections_integration_test.go │ ├── collections_test.go │ ├── complement.go │ ├── complement_test.go │ ├── index.go │ ├── index_test.go │ ├── init.go │ ├── merge.go │ ├── merge_test.go │ ├── querify.go │ ├── querify_test.go │ ├── reflect_helpers.go │ ├── sort.go │ ├── sort_test.go │ ├── symdiff.go │ ├── symdiff_test.go │ ├── where.go │ └── where_test.go ├── compare │ ├── compare.go │ ├── compare_test.go │ └── init.go ├── crypto │ ├── crypto.go │ ├── crypto_test.go │ └── init.go ├── css │ └── css.go ├── data │ ├── data.go │ ├── data_test.go │ ├── init.go │ ├── resources.go │ └── resources_test.go ├── debug │ ├── debug.go │ ├── debug_integration_test.go │ └── init.go ├── diagrams │ ├── diagrams.go │ ├── goat.go │ └── init.go ├── encoding │ ├── encoding.go │ ├── encoding_test.go │ └── init.go ├── fmt │ ├── fmt.go │ ├── fmt_integration_test.go │ └── init.go ├── hash │ ├── hash.go │ └── hash_test.go ├── hugo │ └── init.go ├── images │ ├── images.go │ ├── images_integration_test.go │ ├── images_test.go │ ├── init.go │ └── testdata │ │ └── images_golden │ │ └── funcs │ │ ├── qr-default.png │ │ └── qr-level-high_scale-6.png ├── inflect │ ├── inflect.go │ ├── inflect_test.go │ └── init.go ├── internal │ ├── go_templates │ │ ├── cfg │ │ │ └── cfg.go │ │ ├── fmtsort │ │ │ ├── export_test.go │ │ │ ├── sort.go │ │ │ └── sort_test.go │ │ ├── htmltemplate │ │ │ ├── attr.go │ │ │ ├── attr_string.go │ │ │ ├── clone_test.go │ │ │ ├── content.go │ │ │ ├── content_test.go │ │ │ ├── context.go │ │ │ ├── css.go │ │ │ ├── css_test.go │ │ │ ├── delim_string.go │ │ │ ├── doc.go │ │ │ ├── element_string.go │ │ │ ├── error.go │ │ │ ├── escape.go │ │ │ ├── escape_test.go │ │ │ ├── example_test.go │ │ │ ├── examplefiles_test.go │ │ │ ├── exec_test.go │ │ │ ├── html.go │ │ │ ├── html_test.go │ │ │ ├── hugo_template.go │ │ │ ├── js.go │ │ │ ├── js_test.go │ │ │ ├── jsctx_string.go │ │ │ ├── multi_test.go │ │ │ ├── state_string.go │ │ │ ├── template.go │ │ │ ├── template_test.go │ │ │ ├── testdata │ │ │ │ ├── file1.tmpl │ │ │ │ ├── file2.tmpl │ │ │ │ ├── fs.zip │ │ │ │ ├── tmpl1.tmpl │ │ │ │ └── tmpl2.tmpl │ │ │ ├── transition.go │ │ │ ├── transition_test.go │ │ │ ├── url.go │ │ │ ├── url_test.go │ │ │ └── urlpart_string.go │ │ ├── staticcheck.conf │ │ ├── testenv │ │ │ ├── exec.go │ │ │ ├── noopt.go │ │ │ ├── opt.go │ │ │ ├── testenv.go │ │ │ ├── testenv_notunix.go │ │ │ ├── testenv_notwin.go │ │ │ ├── testenv_test.go │ │ │ ├── testenv_unix.go │ │ │ └── testenv_windows.go │ │ └── texttemplate │ │ │ ├── doc.go │ │ │ ├── example_test.go │ │ │ ├── examplefiles_test.go │ │ │ ├── examplefunc_test.go │ │ │ ├── exec.go │ │ │ ├── exec_test.go │ │ │ ├── funcs.go │ │ │ ├── helper.go │ │ │ ├── hugo_template.go │ │ │ ├── hugo_template_test.go │ │ │ ├── link_test.go │ │ │ ├── multi_test.go │ │ │ ├── option.go │ │ │ ├── parse │ │ │ ├── lex.go │ │ │ ├── lex_test.go │ │ │ ├── node.go │ │ │ ├── parse.go │ │ │ └── parse_test.go │ │ │ ├── template.go │ │ │ └── testdata │ │ │ ├── file1.tmpl │ │ │ ├── file2.tmpl │ │ │ ├── tmpl1.tmpl │ │ │ └── tmpl2.tmpl │ ├── resourcehelpers │ │ └── helpers.go │ ├── templatefuncRegistry_test.go │ └── templatefuncsRegistry.go ├── js │ ├── init.go │ └── js.go ├── lang │ ├── init.go │ ├── lang.go │ └── lang_test.go ├── math │ ├── init.go │ ├── math.go │ ├── math_test.go │ └── round.go ├── openapi │ ├── docs.go │ └── openapi3 │ │ ├── init.go │ │ ├── openapi3.go │ │ └── openapi3_integration_test.go ├── os │ ├── init.go │ ├── os.go │ ├── os_integration_test.go │ └── os_test.go ├── page │ ├── init.go │ └── page_integration_test.go ├── partials │ ├── init.go │ ├── partials.go │ └── partials_integration_test.go ├── path │ ├── init.go │ ├── path.go │ └── path_test.go ├── reflect │ ├── init.go │ ├── reflect.go │ └── reflect_test.go ├── resources │ ├── init.go │ ├── resources.go │ └── resources_integration_test.go ├── safe │ ├── init.go │ ├── safe.go │ └── safe_test.go ├── site │ └── init.go ├── strings │ ├── init.go │ ├── regexp.go │ ├── regexp_test.go │ ├── strings.go │ ├── strings_test.go │ ├── truncate.go │ └── truncate_test.go ├── template.go ├── template_test.go ├── templates │ ├── defer_integration_test.go │ ├── init.go │ ├── templates.go │ └── templates_integration_test.go ├── time │ ├── init.go │ ├── time.go │ └── time_test.go ├── tplimpl │ ├── category_string.go │ ├── embedded │ │ ├── .gitattributes │ │ └── templates │ │ │ ├── _hugo │ │ │ └── build │ │ │ │ └── js │ │ │ │ └── batch-esm-runner.gotmpl │ │ │ ├── _markup │ │ │ ├── render-codeblock-goat.html │ │ │ ├── render-image.html │ │ │ ├── render-link.html │ │ │ └── render-table.html │ │ │ ├── _partials │ │ │ ├── _funcs │ │ │ │ └── get-page-images.html │ │ │ ├── disqus.html │ │ │ ├── google_analytics.html │ │ │ ├── opengraph.html │ │ │ ├── pagination.html │ │ │ ├── schema.html │ │ │ └── twitter_cards.html │ │ │ ├── _server │ │ │ └── error.html │ │ │ ├── _shortcodes │ │ │ ├── 1__h_simple_assets.html │ │ │ ├── comment.html │ │ │ ├── details.html │ │ │ ├── figure.html │ │ │ ├── gist.html │ │ │ ├── highlight.html │ │ │ ├── instagram.html │ │ │ ├── instagram_simple.html │ │ │ ├── param.html │ │ │ ├── qr.html │ │ │ ├── ref.html │ │ │ ├── relref.html │ │ │ ├── twitter.html │ │ │ ├── twitter_simple.html │ │ │ ├── vimeo.html │ │ │ ├── vimeo_simple.html │ │ │ ├── x.html │ │ │ ├── x_simple.html │ │ │ └── youtube.html │ │ │ ├── alias.html │ │ │ ├── robots.txt │ │ │ ├── rss.xml │ │ │ ├── sitemap.xml │ │ │ └── sitemapindex.xml │ ├── legacy.go │ ├── legacy_integration_test.go │ ├── render_hook_integration_test.go │ ├── shortcodes_integration_test.go │ ├── subcategory_string.go │ ├── template_funcs.go │ ├── template_funcs_test.go │ ├── template_info.go │ ├── templatedescriptor.go │ ├── templatedescriptor_test.go │ ├── templates.go │ ├── templatestore.go │ ├── templatestore_integration_test.go │ ├── templatetransform.go │ └── tplimpl_integration_test.go ├── tplimplinit │ └── tplimplinit.go ├── transform │ ├── init.go │ ├── remarshal.go │ ├── remarshal_test.go │ ├── testdata │ │ └── large-katex.md │ ├── transform.go │ ├── transform_integration_test.go │ ├── transform_test.go │ ├── unmarshal.go │ └── unmarshal_test.go └── urls │ ├── init.go │ ├── urls.go │ └── urls_test.go ├── transform ├── chain.go ├── chain_test.go ├── livereloadinject │ ├── livereloadinject.go │ └── livereloadinject_test.go ├── metainject │ ├── hugogenerator.go │ └── hugogenerator_test.go └── urlreplacers │ ├── absurl.go │ ├── absurlreplacer.go │ └── absurlreplacer_test.go ├── watcher ├── batcher.go └── filenotify │ ├── filenotify.go │ ├── fsnotify.go │ ├── poller.go │ └── poller_test.go └── watchtestscripts.sh /.dockerignore: -------------------------------------------------------------------------------- 1 | *.md 2 | *.log 3 | *.txt 4 | .git 5 | .github 6 | .circleci 7 | docs 8 | examples 9 | Dockerfile 10 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Text files have auto line endings 2 | * text=auto 3 | 4 | # Go source files always have LF line endings 5 | *.go text eol=lf 6 | 7 | # SVG files should not be modified 8 | *.svg -text 9 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: false 2 | contact_links: 3 | - name: SUPPORT, ISSUES and TROUBLESHOOTING 4 | url: https://discourse.gohugo.io/ 5 | about: Please DO NOT use Github for support requests. Please visit https://discourse.gohugo.io for support! You will be helped much faster there. If you ignore this request your issue might be closed with a discourse label. 6 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Proposal 3 | about: Propose a new feature for Hugo 4 | title: '' 5 | labels: 'Proposal, NeedsTriage' 6 | assignees: '' 7 | 8 | --- 9 | 10 | 11 | -------------------------------------------------------------------------------- /.github/SUPPORT.md: -------------------------------------------------------------------------------- 1 | ### Asking Support Questions 2 | 3 | We have an active [discussion forum](https://discourse.gohugo.io) where users and developers can ask questions. Please don't use the GitHub issue tracker to ask questions. 4 | -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | # See https://docs.github.com/en/github/administering-a-repository/configuration-options-for-dependency-updates#package-ecosystem 2 | version: 2 3 | updates: 4 | - package-ecosystem: "gomod" 5 | directory: "/" 6 | schedule: 7 | interval: "daily" 8 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | 2 | *.test 3 | imports.* 4 | dist/ 5 | public/ 6 | .DS_Store -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/.gitmodules -------------------------------------------------------------------------------- /.mailmap: -------------------------------------------------------------------------------- 1 | spf13 Steve Francia 2 | bep Bjørn Erik Pedersen 3 | 4 | -------------------------------------------------------------------------------- /cache/docs.go: -------------------------------------------------------------------------------- 1 | // Package cache contains the different cache implementations. 2 | package cache 3 | -------------------------------------------------------------------------------- /check_gofmt.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | diff <(gofmt -d .) <(printf '') -------------------------------------------------------------------------------- /common/docs.go: -------------------------------------------------------------------------------- 1 | // Package common provides common helper functionality for Hugo. 2 | package common 3 | -------------------------------------------------------------------------------- /create/skeletons/site/assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/create/skeletons/site/assets/.gitkeep -------------------------------------------------------------------------------- /create/skeletons/site/content/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/create/skeletons/site/content/.gitkeep -------------------------------------------------------------------------------- /create/skeletons/site/data/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/create/skeletons/site/data/.gitkeep -------------------------------------------------------------------------------- /create/skeletons/site/i18n/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/create/skeletons/site/i18n/.gitkeep -------------------------------------------------------------------------------- /create/skeletons/site/layouts/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/create/skeletons/site/layouts/.gitkeep -------------------------------------------------------------------------------- /create/skeletons/site/static/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/create/skeletons/site/static/.gitkeep -------------------------------------------------------------------------------- /create/skeletons/site/themes/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/create/skeletons/site/themes/.gitkeep -------------------------------------------------------------------------------- /create/skeletons/theme/assets/css/main.css: -------------------------------------------------------------------------------- 1 | body { 2 | color: #222; 3 | font-family: sans-serif; 4 | line-height: 1.5; 5 | margin: 1rem; 6 | max-width: 768px; 7 | } 8 | 9 | header { 10 | border-bottom: 1px solid #222; 11 | margin-bottom: 1rem; 12 | } 13 | 14 | footer { 15 | border-top: 1px solid #222; 16 | margin-top: 1rem; 17 | } 18 | 19 | a { 20 | color: #00e; 21 | text-decoration: none; 22 | } 23 | -------------------------------------------------------------------------------- /create/skeletons/theme/assets/js/main.js: -------------------------------------------------------------------------------- 1 | console.log('This site was generated by Hugo.'); 2 | -------------------------------------------------------------------------------- /create/skeletons/theme/content/_index.md: -------------------------------------------------------------------------------- 1 | +++ 2 | title = 'Home' 3 | date = 2023-01-01T08:00:00-07:00 4 | draft = false 5 | +++ 6 | 7 | Laborum voluptate pariatur ex culpa magna nostrud est incididunt fugiat 8 | pariatur do dolor ipsum enim. Consequat tempor do dolor eu. Non id id anim anim 9 | excepteur excepteur pariatur nostrud qui irure ullamco. 10 | -------------------------------------------------------------------------------- /create/skeletons/theme/content/posts/_index.md: -------------------------------------------------------------------------------- 1 | +++ 2 | title = 'Posts' 3 | date = 2023-01-01T08:30:00-07:00 4 | draft = false 5 | +++ 6 | 7 | Tempor est exercitation ad qui pariatur quis adipisicing aliquip nisi ea consequat ipsum occaecat. Nostrud consequat ullamco laboris fugiat esse esse adipisicing velit laborum ipsum incididunt ut enim. Dolor pariatur nulla quis fugiat dolore excepteur. Aliquip ad quis aliqua enim do consequat. 8 | -------------------------------------------------------------------------------- /create/skeletons/theme/content/posts/post-3/bryce-canyon.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/create/skeletons/theme/content/posts/post-3/bryce-canyon.jpg -------------------------------------------------------------------------------- /create/skeletons/theme/data/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/create/skeletons/theme/data/.gitkeep -------------------------------------------------------------------------------- /create/skeletons/theme/i18n/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/create/skeletons/theme/i18n/.gitkeep -------------------------------------------------------------------------------- /create/skeletons/theme/layouts/_partials/footer.html: -------------------------------------------------------------------------------- 1 |

Copyright {{ now.Year }}. All rights reserved.

2 | -------------------------------------------------------------------------------- /create/skeletons/theme/layouts/_partials/head.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }} 4 | {{ partialCached "head/css.html" . }} 5 | {{ partialCached "head/js.html" . }} 6 | -------------------------------------------------------------------------------- /create/skeletons/theme/layouts/_partials/head/css.html: -------------------------------------------------------------------------------- 1 | {{- with resources.Get "css/main.css" }} 2 | {{- if hugo.IsDevelopment }} 3 | 4 | {{- else }} 5 | {{- with . | minify | fingerprint }} 6 | 7 | {{- end }} 8 | {{- end }} 9 | {{- end }} 10 | -------------------------------------------------------------------------------- /create/skeletons/theme/layouts/_partials/header.html: -------------------------------------------------------------------------------- 1 |

{{ site.Title }}

2 | {{ partial "menu.html" (dict "menuID" "main" "page" .) }} 3 | -------------------------------------------------------------------------------- /create/skeletons/theme/layouts/home.html: -------------------------------------------------------------------------------- 1 | {{ define "main" }} 2 | {{ .Content }} 3 | {{ range site.RegularPages }} 4 |

{{ .LinkTitle }}

5 | {{ .Summary }} 6 | {{ end }} 7 | {{ end }} 8 | -------------------------------------------------------------------------------- /create/skeletons/theme/layouts/page.html: -------------------------------------------------------------------------------- 1 | {{ define "main" }} 2 |

{{ .Title }}

3 | 4 | {{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }} 5 | {{ $dateHuman := .Date | time.Format ":date_long" }} 6 | 7 | 8 | {{ .Content }} 9 | {{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }} 10 | {{ end }} 11 | -------------------------------------------------------------------------------- /create/skeletons/theme/layouts/section.html: -------------------------------------------------------------------------------- 1 | {{ define "main" }} 2 |

{{ .Title }}

3 | {{ .Content }} 4 | {{ range .Pages }} 5 |

{{ .LinkTitle }}

6 | {{ .Summary }} 7 | {{ end }} 8 | {{ end }} 9 | -------------------------------------------------------------------------------- /create/skeletons/theme/layouts/taxonomy.html: -------------------------------------------------------------------------------- 1 | {{ define "main" }} 2 |

{{ .Title }}

3 | {{ .Content }} 4 | {{ range .Pages }} 5 |

{{ .LinkTitle }}

6 | {{ end }} 7 | {{ end }} 8 | -------------------------------------------------------------------------------- /create/skeletons/theme/layouts/term.html: -------------------------------------------------------------------------------- 1 | {{ define "main" }} 2 |

{{ .Title }}

3 | {{ .Content }} 4 | {{ range .Pages }} 5 |

{{ .LinkTitle }}

6 | {{ end }} 7 | {{ end }} 8 | -------------------------------------------------------------------------------- /create/skeletons/theme/static/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/create/skeletons/theme/static/favicon.ico -------------------------------------------------------------------------------- /docs/.editorconfig: -------------------------------------------------------------------------------- 1 | # https://editorconfig.org 2 | 3 | root = true 4 | 5 | [*] 6 | charset = utf-8 7 | end_of_line = lf 8 | indent_size = 2 9 | indent_style = space 10 | trim_trailing_whitespace = true 11 | 12 | [*.go] 13 | indent_size = 8 14 | indent_style = tab 15 | 16 | [*.js] 17 | insert_final_newline = true 18 | 19 | [*.md] 20 | trim_trailing_whitespace = false 21 | -------------------------------------------------------------------------------- /docs/.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: false 2 | -------------------------------------------------------------------------------- /docs/.github/ISSUE_TEMPLATE/default.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Default 3 | about: This is the default issue template. 4 | labels: 5 | - NeedsTriage 6 | --- 7 | -------------------------------------------------------------------------------- /docs/.github/SUPPORT.md: -------------------------------------------------------------------------------- 1 | ### Asking support questions 2 | 3 | We have an active [discussion forum](https://discourse.gohugo.io) where users and developers can ask questions. Please don't use the GitHub issue tracker to ask questions. 4 | -------------------------------------------------------------------------------- /docs/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | .hugo_build.lock 3 | /.idea 4 | /.vscode 5 | /dist 6 | /public 7 | /resources 8 | hugo_stats.json 9 | node_modules/ 10 | nohup.out 11 | package-lock.json 12 | trace.out 13 | -------------------------------------------------------------------------------- /docs/.markdownlintignore: -------------------------------------------------------------------------------- 1 | **/commands/** 2 | **/functions/** 3 | **/news/** 4 | **/showcase/** 5 | **/zh/** 6 | **/license.md 7 | -------------------------------------------------------------------------------- /docs/.textlintignore: -------------------------------------------------------------------------------- 1 | **/news/** 2 | **/showcase/** 3 | **/zh/** -------------------------------------------------------------------------------- /docs/.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "recommendations": [ 3 | "DavidAnson.vscode-markdownlint", 4 | "EditorConfig.EditorConfig", 5 | "streetsidesoftware.code-spell-checker" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /docs/LICENSE.md: -------------------------------------------------------------------------------- 1 | See [content/LICENSE.md](content/LICENSE.md) for the license of the content of this repository. 2 | 3 | The theme (layouts, CSS, JavaScript etc.) of this repository has no open source license. It is custom made for the Hugo sites and is not meant for reuse. 4 | -------------------------------------------------------------------------------- /docs/archetypes/default.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: {{ replace .File.ContentBaseName "-" " " | strings.FirstUpper }} 3 | description: 4 | categories: [] 5 | keywords: [] 6 | --- 7 | -------------------------------------------------------------------------------- /docs/archetypes/functions.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: {{ replace .File.ContentBaseName "-" " " | title }} 3 | description: 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | aliases: [] 9 | returnType: 10 | signatures: [] 11 | --- 12 | -------------------------------------------------------------------------------- /docs/archetypes/methods.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: {{ replace .File.ContentBaseName "-" " " | title }} 3 | description: 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | returnType: 9 | signatures: [] 10 | --- 11 | -------------------------------------------------------------------------------- /docs/archetypes/news.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: {{ replace .File.ContentBaseName "-" " " | strings.FirstUpper }} 3 | description: 4 | categories: [] 5 | keywords: [] 6 | publishDate: {{ .Date }} 7 | --- 8 | -------------------------------------------------------------------------------- /docs/assets/css/components/all.css: -------------------------------------------------------------------------------- 1 | /* The order of these does not matter. */ 2 | @import "./content.css"; 3 | @import "./fonts.css"; 4 | @import "./helpers.css"; 5 | @import "./shortcodes.css"; 6 | @import "./tableofcontents.css"; 7 | @import "./view-transitions.css"; 8 | -------------------------------------------------------------------------------- /docs/assets/css/components/highlight.css: -------------------------------------------------------------------------------- 1 | .highlight { 2 | @apply bg-light dark:bg-dark rounded-none; 3 | } 4 | 5 | .highlight pre { 6 | @apply m-0 p-3 w-full h-full overflow-x-auto dark:border-black rounded-none; 7 | } 8 | 9 | .highlight pre code { 10 | @apply m-0 p-0 w-full h-full; 11 | } 12 | -------------------------------------------------------------------------------- /docs/assets/css/components/shortcodes.css: -------------------------------------------------------------------------------- 1 | .shortcode-code { 2 | .highlight { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /docs/assets/css/components/tableofcontents.css: -------------------------------------------------------------------------------- 1 | .tableofcontents { 2 | ul { 3 | @apply list-none; 4 | li { 5 | @apply mb-2; 6 | a { 7 | @apply text-primary; 8 | &:hover { 9 | @apply text-primary/60; 10 | } 11 | } 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /docs/assets/images/examples/landscape-exif-orientation-5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/assets/images/examples/landscape-exif-orientation-5.jpg -------------------------------------------------------------------------------- /docs/assets/images/examples/mask.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/assets/images/examples/mask.png -------------------------------------------------------------------------------- /docs/assets/images/examples/zion-national-park.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/assets/images/examples/zion-national-park.jpg -------------------------------------------------------------------------------- /docs/assets/images/hugo-github-screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/assets/images/hugo-github-screenshot.png -------------------------------------------------------------------------------- /docs/assets/images/logos/logo-128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/assets/images/logos/logo-128x128.png -------------------------------------------------------------------------------- /docs/assets/images/logos/logo-256x256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/assets/images/logos/logo-256x256.png -------------------------------------------------------------------------------- /docs/assets/images/logos/logo-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/assets/images/logos/logo-512x512.png -------------------------------------------------------------------------------- /docs/assets/images/logos/logo-64x64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/assets/images/logos/logo-64x64.png -------------------------------------------------------------------------------- /docs/assets/images/logos/logo-96x96.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/assets/images/logos/logo-96x96.png -------------------------------------------------------------------------------- /docs/assets/images/sponsors/linode-logo_standard_light_medium.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/assets/images/sponsors/linode-logo_standard_light_medium.png -------------------------------------------------------------------------------- /docs/assets/js/alpinejs/data/index.js: -------------------------------------------------------------------------------- 1 | export * from './navbar'; 2 | export * from './search'; 3 | export * from './toc'; 4 | -------------------------------------------------------------------------------- /docs/assets/js/alpinejs/magics/index.js: -------------------------------------------------------------------------------- 1 | export * from './helpers'; 2 | -------------------------------------------------------------------------------- /docs/assets/js/alpinejs/stores/index.js: -------------------------------------------------------------------------------- 1 | export * from './nav.js'; 2 | -------------------------------------------------------------------------------- /docs/assets/js/body-start.js: -------------------------------------------------------------------------------- 1 | import { initColorScheme } from './alpinejs/stores/index'; 2 | 3 | (function () { 4 | // This allows us to initialize the color scheme before AlpineJS etc. is loaded. 5 | initColorScheme(); 6 | })(); 7 | -------------------------------------------------------------------------------- /docs/assets/js/helpers/index.js: -------------------------------------------------------------------------------- 1 | export * from './bridgeTurboAndAlpine'; 2 | export * from './helpers'; 3 | export * from './lrucache'; 4 | -------------------------------------------------------------------------------- /docs/assets/js/turbo.js: -------------------------------------------------------------------------------- 1 | import * as Turbo from '@hotwired/turbo'; 2 | -------------------------------------------------------------------------------- /docs/assets/jsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "baseUrl": ".", 4 | "paths": { 5 | "*": [ 6 | "*" 7 | ] 8 | } 9 | } 10 | } -------------------------------------------------------------------------------- /docs/assets/opengraph/gohugoio-card-base-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/assets/opengraph/gohugoio-card-base-1.png -------------------------------------------------------------------------------- /docs/assets/opengraph/mulish-black.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/assets/opengraph/mulish-black.ttf -------------------------------------------------------------------------------- /docs/content/en/_common/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | cascade: 3 | build: 4 | list: never 5 | publishResources: false 6 | render: never 7 | --- 8 | 9 | 14 | -------------------------------------------------------------------------------- /docs/content/en/_common/filter-sort-group.md: -------------------------------------------------------------------------------- 1 | --- 2 | _comment: Do not remove front matter. 3 | --- 4 | 5 | > [!note] 6 | > The [page collections quick reference guide] describes methods and functions to filter, sort, and group page collections. 7 | 8 | [page collections quick reference guide]: /quick-reference/page-collections/ 9 | -------------------------------------------------------------------------------- /docs/content/en/_common/functions/fmt/format-string.md: -------------------------------------------------------------------------------- 1 | --- 2 | _comment: Do not remove front matter. 3 | --- 4 | 5 | The documentation for Go's [fmt] package describes the structure and content of the format string. 6 | 7 | [fmt]: https://pkg.go.dev/fmt 8 | -------------------------------------------------------------------------------- /docs/content/en/_common/functions/go-template/text-template.md: -------------------------------------------------------------------------------- 1 | --- 2 | _comment: Do not remove front matter. 3 | --- 4 | 5 | See Go's [text/template] documentation for more information. 6 | 7 | [text/template]: https://pkg.go.dev/text/template 8 | -------------------------------------------------------------------------------- /docs/content/en/_common/functions/locales.md: -------------------------------------------------------------------------------- 1 | --- 2 | _comment: Do not remove front matter. 3 | --- 4 | 5 | > [!note] 6 | > Localization of dates, currencies, numbers, and percentages is performed by the [gohugoio/locales] package. The language tag of the current site must match one of the listed locales. 7 | 8 | [gohugoio/locales]: https://github.com/gohugoio/locales 9 | -------------------------------------------------------------------------------- /docs/content/en/_common/functions/truthy-falsy.md: -------------------------------------------------------------------------------- 1 | --- 2 | _comment: Do not remove front matter. 3 | --- 4 | 5 | The falsy values are `false`, `0`, any `nil` pointer or interface value, any array, slice, map, or string of length zero, and zero `time.Time` values. 6 | 7 | Everything else is truthy. 8 | -------------------------------------------------------------------------------- /docs/content/en/_common/installation/homebrew.md: -------------------------------------------------------------------------------- 1 | --- 2 | _comment: Do not remove front matter. 3 | --- 4 | 5 | ### Homebrew 6 | 7 | [Homebrew] is a free and open-source package manager for macOS and Linux. To install the extended edition of Hugo: 8 | 9 | ```sh 10 | brew install hugo 11 | ``` 12 | 13 | [Homebrew]: https://brew.sh/ 14 | -------------------------------------------------------------------------------- /docs/content/en/_common/methods/pages/group-sort-order.md: -------------------------------------------------------------------------------- 1 | --- 2 | _comment: Do not remove front matter. 3 | --- 4 | 5 | For the optional sort order, specify either `asc` for ascending order, or `desc` for descending order. 6 | -------------------------------------------------------------------------------- /docs/content/en/_common/methods/resource/global-page-remote-resources.md: -------------------------------------------------------------------------------- 1 | --- 2 | _comment: Do not remove front matter. 3 | --- 4 | 5 | > [!note] 6 | > Use this method with [global resources](g), [page resources](g), or [remote resources](g). 7 | -------------------------------------------------------------------------------- /docs/content/en/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: The world's fastest framework for building websites 3 | description: Hugo is one of the most popular open-source static site generators. With its amazing speed and flexibility, Hugo makes building websites fun again. 4 | --- 5 | -------------------------------------------------------------------------------- /docs/content/en/about/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: About Hugo 3 | linkTitle: About 4 | description: Learn about Hugo and its features, privacy protections, and security model. 5 | categories: [] 6 | keywords: [] 7 | weight: 10 8 | aliases: [/about-hugo/,/docs/] 9 | --- 10 | -------------------------------------------------------------------------------- /docs/content/en/commands/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Command line interface 3 | linkTitle: CLI 4 | description: Use the command line interface (CLI) to manage your site. 5 | categories: [] 6 | keywords: [] 7 | weight: 10 8 | --- 9 | -------------------------------------------------------------------------------- /docs/content/en/configuration/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Configuration 3 | description: Configure your site. 4 | categories: [] 5 | keywords: [] 6 | weight: 10 7 | --- 8 | -------------------------------------------------------------------------------- /docs/content/en/configuration/minify.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Configure minify 3 | linkTitle: Minify 4 | description: Configure minify. 5 | categories: [] 6 | keywords: [] 7 | --- 8 | 9 | This is the default configuration: 10 | 11 | {{< code-toggle config=minify />}} 12 | 13 | See the [tdewolff/minify] project page for details. 14 | 15 | [tdewolff/minify]: https://github.com/tdewolff/minify 16 | -------------------------------------------------------------------------------- /docs/content/en/content-management/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Content management 3 | description: Hugo makes managing large static sites easy with support for archetypes, content types, menus, cross references, summaries, and more. 4 | categories: [] 5 | keywords: [] 6 | weight: 10 7 | aliases: [/content/,/content/organization] 8 | --- 9 | -------------------------------------------------------------------------------- /docs/content/en/content-management/image-processing/sunset.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/content/en/content-management/image-processing/sunset.jpg -------------------------------------------------------------------------------- /docs/content/en/contribute/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Contribute to the Hugo project 3 | linkTitle: Contribute 4 | description: Contribute to development, documentation, and themes. 5 | categories: [] 6 | keywords: [] 7 | weight: 10 8 | aliases: [/tutorials/how-to-contribute-to-hugo/,/community/contributing/] 9 | --- 10 | -------------------------------------------------------------------------------- /docs/content/en/featured.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/content/en/featured.png -------------------------------------------------------------------------------- /docs/content/en/functions/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Functions 3 | description: Use these functions within your templates and archetypes. 4 | categories: [] 5 | keywords: [] 6 | weight: 10 7 | aliases: [/layout/functions/,/templates/functions] 8 | --- 9 | -------------------------------------------------------------------------------- /docs/content/en/functions/cast/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Cast functions 3 | linkTitle: cast 4 | description: Use these functions to cast a value from one data type to another. 5 | categories: [] 6 | keywords: [] 7 | --- 8 | -------------------------------------------------------------------------------- /docs/content/en/functions/collections/Uniq.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: collections.Uniq 3 | description: Returns the given collection, removing duplicate elements. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | aliases: [uniq] 9 | returnType: any 10 | signatures: [collections.Uniq COLLECTION] 11 | aliases: [/functions/uniq] 12 | --- 13 | 14 | ```go-html-template 15 | {{ slice 1 3 2 1 | uniq }} → [1 3 2] 16 | ``` 17 | -------------------------------------------------------------------------------- /docs/content/en/functions/collections/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Collections functions 3 | linkTitle: collections 4 | description: Use these functions to work with arrays, slices, maps, and page collections. 5 | categories: [] 6 | keywords: [] 7 | --- 8 | -------------------------------------------------------------------------------- /docs/content/en/functions/compare/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Compare functions 3 | linkTitle: compare 4 | description: Use these functions to compare two or more values. 5 | categories: [] 6 | keywords: [] 7 | --- 8 | -------------------------------------------------------------------------------- /docs/content/en/functions/crypto/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Crypto functions 3 | linkTitle: crypto 4 | description: Use these functions to create cryptographic hashes. 5 | categories: [] 6 | keywords: [] 7 | --- 8 | -------------------------------------------------------------------------------- /docs/content/en/functions/css/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: CSS functions 3 | linkTitle: css 4 | description: Use these functions to work with CSS and Sass files. 5 | categories: [] 6 | keywords: [] 7 | --- 8 | -------------------------------------------------------------------------------- /docs/content/en/functions/data/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Data functions 3 | linkTitle: data 4 | description: Use these functions to read local or remote data files. 5 | categories: [] 6 | keywords: [] 7 | --- 8 | -------------------------------------------------------------------------------- /docs/content/en/functions/debug/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Debug functions 3 | linkTitle: debug 4 | description: Use these functions to debug your templates. 5 | categories: [] 6 | keywords: [] 7 | --- 8 | -------------------------------------------------------------------------------- /docs/content/en/functions/diagrams/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Diagram functions 3 | linkTitle: diagrams 4 | description: Use these functions to render diagrams. 5 | categories: [] 6 | keywords: [] 7 | --- 8 | -------------------------------------------------------------------------------- /docs/content/en/functions/encoding/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Encoding functions 3 | linkTitle: encoding 4 | description: Use these functions to encode and decode data. 5 | categories: [] 6 | keywords: [] 7 | --- 8 | -------------------------------------------------------------------------------- /docs/content/en/functions/fmt/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Fmt functions 3 | linkTitle: fmt 4 | description: Use these functions to print strings within a template or to print messages to the terminal. 5 | categories: [] 6 | keywords: [] 7 | --- 8 | -------------------------------------------------------------------------------- /docs/content/en/functions/global/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Global functions 3 | linkTitle: global 4 | description: Use these global functions to access page and site data. 5 | categories: [] 6 | --- 7 | -------------------------------------------------------------------------------- /docs/content/en/functions/go-template/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Go template functions, operators, and statements 3 | linkTitle: go template 4 | description: These are the functions, operators, and statements provided by Go's text/template package. 5 | categories: [] 6 | keywords: [] 7 | --- 8 | -------------------------------------------------------------------------------- /docs/content/en/functions/hash/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Hash functions 3 | linkTitle: hash 4 | description: Use these functions to create non-cryptographic hashes. 5 | categories: [] 6 | keywords: [] 7 | --- 8 | -------------------------------------------------------------------------------- /docs/content/en/functions/hugo/CommitHash.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: hugo.CommitHash 3 | description: Returns the Git commit hash of the Hugo binary. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | aliases: [] 9 | returnType: string 10 | signatures: [hugo.CommitHash] 11 | --- 12 | 13 | ```go-html-template 14 | {{ hugo.CommitHash }} → a4892a07b41b7b3f1f143140ee4ec0a9a5cf3970 15 | ``` 16 | -------------------------------------------------------------------------------- /docs/content/en/functions/hugo/GoVersion.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: hugo.GoVersion 3 | description: Returns the Go version used to compile the Hugo binary 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | aliases: [] 9 | returnType: string 10 | signatures: [hugo.GoVersion] 11 | --- 12 | 13 | ```go-html-template 14 | {{ hugo.GoVersion }} → go1.21.1 15 | ``` 16 | -------------------------------------------------------------------------------- /docs/content/en/functions/hugo/IsExtended.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: hugo.IsExtended 3 | description: Reports whether the Hugo binary is either the extended or extended/deploy edition. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | aliases: [] 9 | returnType: bool 10 | signatures: [hugo.IsExtended] 11 | --- 12 | 13 | ```go-html-template 14 | {{ hugo.IsExtended }} → true/false 15 | ``` 16 | -------------------------------------------------------------------------------- /docs/content/en/functions/hugo/IsProduction.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: hugo.IsProduction 3 | description: Reports whether the current running environment is "production". 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | aliases: [] 9 | returnType: bool 10 | signatures: [hugo.IsProduction] 11 | --- 12 | 13 | ```go-html-template 14 | {{ hugo.IsProduction }} → true/false 15 | ``` 16 | -------------------------------------------------------------------------------- /docs/content/en/functions/hugo/IsServer.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: hugo.IsServer 3 | description: Reports whether the built-in development server is running. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | aliases: [] 9 | returnType: bool 10 | signatures: [hugo.IsServer] 11 | --- 12 | 13 | {{< new-in 0.120.0 />}} 14 | 15 | ```go-html-template 16 | {{ hugo.IsServer }} → true/false 17 | ``` 18 | -------------------------------------------------------------------------------- /docs/content/en/functions/hugo/Version.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: hugo.Version 3 | description: Returns the current version of the Hugo binary. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | aliases: [] 9 | returnType: hugo.VersionString 10 | signatures: [hugo.Version] 11 | --- 12 | 13 | ```go-html-template 14 | {{ hugo.Version }} → 0.144.2 15 | ``` 16 | -------------------------------------------------------------------------------- /docs/content/en/functions/hugo/WorkingDir.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: hugo.WorkingDir 3 | description: Returns the project working directory. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | aliases: [] 9 | returnType: string 10 | signatures: [hugo.WorkingDir] 11 | --- 12 | 13 | ```go-html-template 14 | {{ hugo.WorkingDir }} → /home/user/projects/my-hugo-site 15 | ``` 16 | -------------------------------------------------------------------------------- /docs/content/en/functions/hugo/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Hugo functions 3 | linkTitle: hugo 4 | description: Use these functions to access information about the Hugo application and the current environment. 5 | categories: [] 6 | keywords: [] 7 | --- 8 | -------------------------------------------------------------------------------- /docs/content/en/functions/images/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Image functions 3 | linkTitle: images 4 | description: Use these functions to create an image filter, apply an image filter to an image, and to retrieve image information. 5 | categories: [] 6 | keywords: [] 7 | --- 8 | -------------------------------------------------------------------------------- /docs/content/en/functions/inflect/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Inflect functions 3 | linkTitle: inflect 4 | description: These functions provide word inflection features such as singularization and pluralization of English nouns. 5 | categories: [] 6 | keywords: [] 7 | --- 8 | -------------------------------------------------------------------------------- /docs/content/en/functions/js/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: JavaScript functions 3 | linkTitle: js 4 | description: Use these functions to work with JavaScript and TypeScript files. 5 | categories: [] 6 | keywords: [] 7 | --- 8 | -------------------------------------------------------------------------------- /docs/content/en/functions/lang/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Lang functions 3 | linkTitle: lang 4 | description: Use these functions to adapt your site to meet language and regional requirements. 5 | categories: [] 6 | keywords: [] 7 | --- 8 | -------------------------------------------------------------------------------- /docs/content/en/functions/math/Abs.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: math.Abs 3 | description: Returns the absolute value of the given number. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | aliases: [] 9 | returnType: float64 10 | signatures: [math.Abs VALUE] 11 | --- 12 | 13 | ```go-html-template 14 | {{ math.Abs -2.1 }} → 2.1 15 | ``` 16 | -------------------------------------------------------------------------------- /docs/content/en/functions/math/Acos.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: math.Acos 3 | description: Returns the arccosine, in radians, of the given number. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | aliases: [] 9 | returnType: float64 10 | signatures: [math.Acos VALUE] 11 | --- 12 | 13 | {{< new-in 0.130.0 />}} 14 | 15 | ```go-html-template 16 | {{ math.Acos 1 }} → 0 17 | ``` 18 | -------------------------------------------------------------------------------- /docs/content/en/functions/math/Asin.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: math.Asin 3 | description: Returns the arcsine, in radians, of the given number. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | aliases: [] 9 | returnType: float64 10 | signatures: [math.Asin VALUE] 11 | --- 12 | 13 | {{< new-in 0.130.0 />}} 14 | 15 | ```go-html-template 16 | {{ math.Asin 1 }} → 1.5707963267948966 17 | ``` 18 | -------------------------------------------------------------------------------- /docs/content/en/functions/math/Atan.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: math.Atan 3 | description: Returns the arctangent, in radians, of the given number. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | aliases: [] 9 | returnType: float64 10 | signatures: [math.Atan VALUE] 11 | --- 12 | 13 | {{< new-in 0.130.0 />}} 14 | 15 | ```go-html-template 16 | {{ math.Atan 1 }} → 0.7853981633974483 17 | ``` 18 | -------------------------------------------------------------------------------- /docs/content/en/functions/math/Ceil.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: math.Ceil 3 | description: Returns the least integer value greater than or equal to the given number. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | aliases: [] 9 | returnType: float64 10 | signatures: [math.Ceil VALUE] 11 | --- 12 | 13 | ```go-html-template 14 | {{ math.Ceil 2.1 }} → 3 15 | ``` 16 | -------------------------------------------------------------------------------- /docs/content/en/functions/math/Cos.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: math.Cos 3 | description: Returns the cosine of the given radian number. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | aliases: [] 9 | returnType: float64 10 | signatures: [math.Cos VALUE] 11 | --- 12 | 13 | {{< new-in 0.130.0 />}} 14 | 15 | ```go-html-template 16 | {{ math.Cos 1 }} → 0.5403023058681398 17 | ``` 18 | -------------------------------------------------------------------------------- /docs/content/en/functions/math/Div.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: math.Div 3 | description: Divides the first number by one or more numbers. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | aliases: [div] 9 | returnType: any 10 | signatures: [math.Div VALUE VALUE...] 11 | --- 12 | 13 | If one of the numbers is a [`float`](g), the result is a `float`. 14 | 15 | ```go-html-template 16 | {{ div 12 3 2 }} → 2 17 | ``` 18 | -------------------------------------------------------------------------------- /docs/content/en/functions/math/Floor.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: math.Floor 3 | description: Returns the greatest integer value less than or equal to the given number. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | aliases: [] 9 | returnType: float64 10 | signatures: [math.Floor VALUE] 11 | --- 12 | 13 | ```go-html-template 14 | {{ math.Floor 1.9 }} → 1 15 | ``` 16 | -------------------------------------------------------------------------------- /docs/content/en/functions/math/Log.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: math.Log 3 | description: Returns the natural logarithm of the given number. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | aliases: [] 9 | returnType: float64 10 | signatures: [math.Log VALUE] 11 | --- 12 | 13 | ```go-html-template 14 | {{ math.Log 42 }} → 3.737 15 | ``` 16 | -------------------------------------------------------------------------------- /docs/content/en/functions/math/Max.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: math.Max 3 | description: Returns the greater of all numbers. Accepts scalars, slices, or both. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | aliases: [] 9 | returnType: float64 10 | signatures: [math.Max VALUE...] 11 | --- 12 | 13 | ```go-html-template 14 | {{ math.Max 1 (slice 2 3) 4 }} → 4 15 | ``` 16 | -------------------------------------------------------------------------------- /docs/content/en/functions/math/Min.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: math.Min 3 | description: Returns the smaller of all numbers. Accepts scalars, slices, or both. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | aliases: [] 9 | returnType: float64 10 | signatures: [math.Min VALUE...] 11 | --- 12 | 13 | ```go-html-template 14 | {{ math.Min 1 (slice 2 3) 4 }} → 1 15 | ``` 16 | -------------------------------------------------------------------------------- /docs/content/en/functions/math/Mod.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: math.Mod 3 | description: Returns the modulus of two integers. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | aliases: [mod] 9 | returnType: int64 10 | signatures: [math.Mod VALUE1 VALUE2] 11 | --- 12 | 13 | ```go-html-template 14 | {{ mod 15 3 }} → 0 15 | ``` 16 | -------------------------------------------------------------------------------- /docs/content/en/functions/math/ModBool.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: math.ModBool 3 | description: Reports whether the modulus of two integers equals 0. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | aliases: [modBool] 9 | returnType: bool 10 | signatures: [math.ModBool VALUE1 VALUE2] 11 | --- 12 | 13 | ```go-html-template 14 | {{ modBool 15 3 }} → true 15 | ``` 16 | -------------------------------------------------------------------------------- /docs/content/en/functions/math/Mul.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: math.Mul 3 | description: Multiplies two or more numbers. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | aliases: [mul] 9 | returnType: any 10 | signatures: [math.Mul VALUE VALUE...] 11 | --- 12 | 13 | If one of the numbers is a [`float`](g), the result is a `float`. 14 | 15 | ```go-html-template 16 | {{ mul 12 3 2 }} → 72 17 | ``` 18 | -------------------------------------------------------------------------------- /docs/content/en/functions/math/Pi.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: math.Pi 3 | description: Returns the mathematical constant pi. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | aliases: [] 9 | returnType: float64 10 | signatures: [math.Pi] 11 | --- 12 | 13 | {{< new-in 0.130.0 />}} 14 | 15 | ```go-html-template 16 | {{ math.Pi }} → 3.141592653589793 17 | ``` 18 | -------------------------------------------------------------------------------- /docs/content/en/functions/math/Pow.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: math.Pow 3 | description: Returns the first number raised to the power of the second number. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | aliases: [pow] 9 | returnType: float64 10 | signatures: [math.Pow VALUE1 VALUE2] 11 | --- 12 | 13 | ```go-html-template 14 | {{ math.Pow 2 3 }} → 8 15 | ``` 16 | -------------------------------------------------------------------------------- /docs/content/en/functions/math/Product.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: math.Product 3 | description: Returns the product of all numbers. Accepts scalars, slices, or both. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | aliases: [] 9 | returnType: float64 10 | signatures: [math.Product VALUE...] 11 | --- 12 | 13 | ```go-html-template 14 | {{ math.Product 1 (slice 2 3) 4 }} → 24 15 | ``` 16 | -------------------------------------------------------------------------------- /docs/content/en/functions/math/Round.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: math.Round 3 | description: Returns the nearest integer, rounding half away from zero. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | aliases: [] 9 | returnType: float64 10 | signatures: [math.Round VALUE] 11 | --- 12 | 13 | ```go-html-template 14 | {{ math.Round 1.5 }} → 2 15 | ``` 16 | -------------------------------------------------------------------------------- /docs/content/en/functions/math/Sin.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: math.Sin 3 | description: Returns the sine of the given radian number. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | aliases: [] 9 | returnType: float64 10 | signatures: [math.Sin VALUE] 11 | --- 12 | 13 | {{< new-in 0.130.0 />}} 14 | 15 | ```go-html-template 16 | {{ math.Sin 1 }} → 0.8414709848078965 17 | ``` 18 | -------------------------------------------------------------------------------- /docs/content/en/functions/math/Sqrt.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: math.Sqrt 3 | description: Returns the square root of the given number. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | aliases: [] 9 | returnType: float64 10 | signatures: [math.Sqrt VALUE] 11 | --- 12 | 13 | ```go-html-template 14 | {{ math.Sqrt 81 }} → 9 15 | ``` 16 | -------------------------------------------------------------------------------- /docs/content/en/functions/math/Sub.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: math.Sub 3 | description: Subtracts one or more numbers from the first number. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | aliases: [sub] 9 | returnType: any 10 | signatures: [math.Sub VALUE VALUE...] 11 | --- 12 | 13 | If one of the numbers is a [`float`](g), the result is a `float`. 14 | 15 | ```go-html-template 16 | {{ sub 12 3 2 }} → 7 17 | ``` 18 | -------------------------------------------------------------------------------- /docs/content/en/functions/math/Sum.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: math.Sum 3 | description: Returns the sum of all numbers. Accepts scalars, slices, or both. 4 | categories: [] 5 | params: 6 | functions_and_methods: 7 | aliases: [] 8 | returnType: float64 9 | signatures: [math.Sum VALUE...] 10 | --- 11 | 12 | ```go-html-template 13 | {{ math.Sum 1 (slice 2 3) 4 }} → 10 14 | ``` 15 | -------------------------------------------------------------------------------- /docs/content/en/functions/math/Tan.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: math.Tan 3 | description: Returns the tangent of the given radian number. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | aliases: [] 9 | returnType: float64 10 | signatures: [math.Tan VALUE] 11 | --- 12 | 13 | {{< new-in 0.130.0 />}} 14 | 15 | ```go-html-template 16 | {{ math.Tan 1 }} → 1.557407724654902 17 | ``` 18 | -------------------------------------------------------------------------------- /docs/content/en/functions/math/ToDegrees.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: math.ToDegrees 3 | description: ToDegrees converts radians into degrees. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | aliases: [] 9 | returnType: float64 10 | signatures: [math.ToDegrees VALUE] 11 | --- 12 | 13 | {{< new-in 0.130.0 />}} 14 | 15 | ```go-html-template 16 | {{ math.ToDegrees 1.5707963267948966 }} → 90 17 | ``` 18 | -------------------------------------------------------------------------------- /docs/content/en/functions/math/ToRadians.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: math.ToRadians 3 | description: ToRadians converts degrees into radians. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | aliases: [] 9 | returnType: float64 10 | signatures: [math.ToRadians VALUE] 11 | --- 12 | 13 | {{< new-in 0.130.0 />}} 14 | 15 | ```go-html-template 16 | {{ math.ToRadians 90 }} → 1.5707963267948966 17 | ``` 18 | -------------------------------------------------------------------------------- /docs/content/en/functions/math/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Math functions 3 | linkTitle: math 4 | description: Use these functions to perform mathematical operations. 5 | categories: [] 6 | --- 7 | -------------------------------------------------------------------------------- /docs/content/en/functions/openapi3/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: OpenAPI functions 3 | linkTitle: openapi3 4 | description: Use these functions to work with OpenAPI 3 definitions. 5 | categories: [] 6 | keywords: [] 7 | --- 8 | -------------------------------------------------------------------------------- /docs/content/en/functions/os/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: OS functions 3 | linkTitle: os 4 | description: Use these functions to interact with the operating system. 5 | categories: [] 6 | keywords: [] 7 | --- 8 | -------------------------------------------------------------------------------- /docs/content/en/functions/partials/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Partial functions 3 | linkTitle: partials 4 | description: Use these functions to call partial templates. 5 | categories: [] 6 | keywords: [] 7 | --- 8 | -------------------------------------------------------------------------------- /docs/content/en/functions/path/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Path functions 3 | linkTitle: path 4 | description: Use these functions to work with file paths. 5 | categories: [] 6 | keywords: [] 7 | --- 8 | -------------------------------------------------------------------------------- /docs/content/en/functions/reflect/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Reflect functions 3 | linkTitle: reflect 4 | description: Use these functions to determine a value's data type. 5 | categories: [] 6 | keywords: [] 7 | --- 8 | -------------------------------------------------------------------------------- /docs/content/en/functions/resources/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Resource functions 3 | linkTitle: resources 4 | description: Use these functions to work with resources. 5 | categories: [] 6 | keywords: [] 7 | --- 8 | -------------------------------------------------------------------------------- /docs/content/en/functions/safe/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Safe functions 3 | linkTitle: safe 4 | description: Use these functions to declare a value as safe in the context of Go's html/template package. 5 | categories: [] 6 | keywords: [] 7 | --- 8 | -------------------------------------------------------------------------------- /docs/content/en/functions/strings/Diff/diff-screen-capture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/content/en/functions/strings/Diff/diff-screen-capture.png -------------------------------------------------------------------------------- /docs/content/en/functions/strings/ToLower.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: strings.ToLower 3 | description: Returns the given string, converting all characters to lowercase. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | aliases: [lower] 9 | returnType: string 10 | signatures: [strings.ToLower INPUT] 11 | aliases: [/functions/lower] 12 | --- 13 | 14 | ```go-html-template 15 | {{ lower "BatMan" }} → batman 16 | ``` 17 | -------------------------------------------------------------------------------- /docs/content/en/functions/strings/ToUpper.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: strings.ToUpper 3 | description: Returns the given string, converting all characters to uppercase. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | aliases: [upper] 9 | returnType: string 10 | signatures: [strings.ToUpper INPUT] 11 | aliases: [/functions/upper] 12 | --- 13 | 14 | ```go-html-template 15 | {{ upper "BatMan" }} → BATMAN 16 | ``` 17 | -------------------------------------------------------------------------------- /docs/content/en/functions/strings/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: String functions 3 | linkTitle: strings 4 | description: Use these functions to work with strings. 5 | categories: [] 6 | keywords: [] 7 | --- 8 | -------------------------------------------------------------------------------- /docs/content/en/functions/templates/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Template functions 3 | linkTitle: templates 4 | description: Use these functions to query the template system. 5 | categories: [] 6 | keywords: [] 7 | --- 8 | -------------------------------------------------------------------------------- /docs/content/en/functions/time/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Time functions 3 | linkTitle: time 4 | description: Use these functions to work with time values. 5 | categories: [] 6 | keywords: [] 7 | --- 8 | -------------------------------------------------------------------------------- /docs/content/en/functions/transform/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Transform functions 3 | linkTitle: transform 4 | description: Use these functions to transform values from one format to another. 5 | categories: [] 6 | keywords: [] 7 | --- 8 | -------------------------------------------------------------------------------- /docs/content/en/functions/urls/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: URL functions 3 | linkTitle: urls 4 | description: Use these functions to work with URLs. 5 | categories: [] 6 | keywords: [] 7 | --- 8 | -------------------------------------------------------------------------------- /docs/content/en/getting-started/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Getting started 3 | description: How to get started with Hugo. 4 | categories: [] 5 | keywords: [] 6 | weight: 10 7 | aliases: [/overview/introduction/] 8 | --- 9 | -------------------------------------------------------------------------------- /docs/content/en/getting-started/external-learning-resources/build-websites-with-hugo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/content/en/getting-started/external-learning-resources/build-websites-with-hugo.png -------------------------------------------------------------------------------- /docs/content/en/getting-started/external-learning-resources/hugo-in-action.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/content/en/getting-started/external-learning-resources/hugo-in-action.png -------------------------------------------------------------------------------- /docs/content/en/host-and-deploy/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Host and deploy 3 | description: Services and tools to host and deploy your site. 4 | categories: [] 5 | keywords: [] 6 | weight: 10 7 | aliases: [/hosting-and-deployment/] 8 | --- 9 | -------------------------------------------------------------------------------- /docs/content/en/host-and-deploy/host-on-aws-amplify/amplify-step-05.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/content/en/host-and-deploy/host-on-aws-amplify/amplify-step-05.png -------------------------------------------------------------------------------- /docs/content/en/host-and-deploy/host-on-aws-amplify/amplify-step-06.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/content/en/host-and-deploy/host-on-aws-amplify/amplify-step-06.png -------------------------------------------------------------------------------- /docs/content/en/host-and-deploy/host-on-aws-amplify/amplify-step-07.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/content/en/host-and-deploy/host-on-aws-amplify/amplify-step-07.png -------------------------------------------------------------------------------- /docs/content/en/host-and-deploy/host-on-aws-amplify/amplify-step-08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/content/en/host-and-deploy/host-on-aws-amplify/amplify-step-08.png -------------------------------------------------------------------------------- /docs/content/en/host-and-deploy/host-on-aws-amplify/amplify-step-09.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/content/en/host-and-deploy/host-on-aws-amplify/amplify-step-09.png -------------------------------------------------------------------------------- /docs/content/en/host-and-deploy/host-on-aws-amplify/amplify-step-11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/content/en/host-and-deploy/host-on-aws-amplify/amplify-step-11.png -------------------------------------------------------------------------------- /docs/content/en/host-and-deploy/host-on-github-pages/gh-pages-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/content/en/host-and-deploy/host-on-github-pages/gh-pages-1.png -------------------------------------------------------------------------------- /docs/content/en/host-and-deploy/host-on-github-pages/gh-pages-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/content/en/host-and-deploy/host-on-github-pages/gh-pages-2.png -------------------------------------------------------------------------------- /docs/content/en/host-and-deploy/host-on-github-pages/gh-pages-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/content/en/host-and-deploy/host-on-github-pages/gh-pages-3.png -------------------------------------------------------------------------------- /docs/content/en/host-and-deploy/host-on-github-pages/gh-pages-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/content/en/host-and-deploy/host-on-github-pages/gh-pages-4.png -------------------------------------------------------------------------------- /docs/content/en/host-and-deploy/host-on-github-pages/gh-pages-5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/content/en/host-and-deploy/host-on-github-pages/gh-pages-5.png -------------------------------------------------------------------------------- /docs/content/en/host-and-deploy/host-on-keycdn/keycdn-pull-zone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/content/en/host-and-deploy/host-on-keycdn/keycdn-pull-zone.png -------------------------------------------------------------------------------- /docs/content/en/host-and-deploy/host-on-keycdn/secret-api-key.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/content/en/host-and-deploy/host-on-keycdn/secret-api-key.png -------------------------------------------------------------------------------- /docs/content/en/host-and-deploy/host-on-keycdn/secret-zone-id.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/content/en/host-and-deploy/host-on-keycdn/secret-zone-id.png -------------------------------------------------------------------------------- /docs/content/en/host-and-deploy/host-on-netlify/netlify-step-02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/content/en/host-and-deploy/host-on-netlify/netlify-step-02.png -------------------------------------------------------------------------------- /docs/content/en/host-and-deploy/host-on-netlify/netlify-step-03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/content/en/host-and-deploy/host-on-netlify/netlify-step-03.png -------------------------------------------------------------------------------- /docs/content/en/host-and-deploy/host-on-netlify/netlify-step-04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/content/en/host-and-deploy/host-on-netlify/netlify-step-04.png -------------------------------------------------------------------------------- /docs/content/en/host-and-deploy/host-on-netlify/netlify-step-05.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/content/en/host-and-deploy/host-on-netlify/netlify-step-05.png -------------------------------------------------------------------------------- /docs/content/en/host-and-deploy/host-on-netlify/netlify-step-06.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/content/en/host-and-deploy/host-on-netlify/netlify-step-06.png -------------------------------------------------------------------------------- /docs/content/en/host-and-deploy/host-on-netlify/netlify-step-07.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/content/en/host-and-deploy/host-on-netlify/netlify-step-07.png -------------------------------------------------------------------------------- /docs/content/en/host-and-deploy/host-on-netlify/netlify-step-08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/content/en/host-and-deploy/host-on-netlify/netlify-step-08.png -------------------------------------------------------------------------------- /docs/content/en/host-and-deploy/host-on-netlify/netlify-step-09.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/content/en/host-and-deploy/host-on-netlify/netlify-step-09.png -------------------------------------------------------------------------------- /docs/content/en/host-and-deploy/host-on-netlify/netlify-step-10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/content/en/host-and-deploy/host-on-netlify/netlify-step-10.png -------------------------------------------------------------------------------- /docs/content/en/host-and-deploy/host-on-netlify/netlify-step-11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/content/en/host-and-deploy/host-on-netlify/netlify-step-11.png -------------------------------------------------------------------------------- /docs/content/en/host-and-deploy/host-on-netlify/netlify-step-12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/content/en/host-and-deploy/host-on-netlify/netlify-step-12.png -------------------------------------------------------------------------------- /docs/content/en/host-and-deploy/host-on-netlify/netlify-step-13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/content/en/host-and-deploy/host-on-netlify/netlify-step-13.png -------------------------------------------------------------------------------- /docs/content/en/hugo-modules/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Hugo Modules 3 | description: Use Hugo Modules to manage the content, presentation, and behavior of your site. 4 | categories: [] 5 | keywords: [] 6 | weight: 10 7 | aliases: [/themes/overview/,/themes/] 8 | --- 9 | -------------------------------------------------------------------------------- /docs/content/en/hugo-pipes/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Hugo Pipes 3 | description: Use asset pipelines to transform and optimize images, stylesheets, and JavaScript. 4 | categories: [] 5 | keywords: [] 6 | weight: 10 7 | --- 8 | -------------------------------------------------------------------------------- /docs/content/en/hugo-pipes/bundling.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Concat 3 | linkTitle: Concatenating assets 4 | description: Bundle any number of assets into one resource. 5 | categories: [] 6 | keywords: [] 7 | --- 8 | 9 | See the [`resources.Concat`](/functions/resources/concat/) function. 10 | -------------------------------------------------------------------------------- /docs/content/en/hugo-pipes/fingerprint.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Fingerprint 3 | linkTitle: Fingerprinting and SRI hashing 4 | description: Cryptographically hash the content of the given resource. 5 | categories: [] 6 | keywords: [] 7 | --- 8 | 9 | See the [`resources.Fingerprint`](/functions/resources/fingerprint/) function. 10 | -------------------------------------------------------------------------------- /docs/content/en/hugo-pipes/js.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: JavaScript 3 | linkTitle: JavaScript building 4 | description: Bundle, transpile, tree shake, code split, and minify JavaScript resources. 5 | categories: [] 6 | keywords: [] 7 | --- 8 | 9 | See [JS functions](/functions/js/). 10 | -------------------------------------------------------------------------------- /docs/content/en/hugo-pipes/minification.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Minify 3 | linkTitle: Asset minification 4 | description: Minify a given resource. 5 | categories: [] 6 | keywords: [] 7 | --- 8 | 9 | See the [`resources.Minify`](/functions/resources/minify/) function. 10 | -------------------------------------------------------------------------------- /docs/content/en/hugo-pipes/postcss.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: PostCSS 3 | description: Process the given resource with PostCSS using any PostCSS plugin. 4 | categories: [] 5 | keywords: [] 6 | --- 7 | 8 | See the [`css.PostCSS`](/functions/css/postcss/) function. 9 | -------------------------------------------------------------------------------- /docs/content/en/hugo-pipes/postprocess.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: PostProcess 3 | description: Process the given resource after the build. 4 | categories: [] 5 | keywords: [] 6 | --- 7 | 8 | See the [`resources.PostProcess`](/functions/resources/postprocess/) function. 9 | -------------------------------------------------------------------------------- /docs/content/en/hugo-pipes/resource-from-string.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: FromString 3 | linkTitle: Resource from string 4 | description: Create a resource from a string. 5 | categories: [] 6 | keywords: [] 7 | --- 8 | 9 | See the [`resources.FromString`](/functions/resources/fromstring/) function. 10 | -------------------------------------------------------------------------------- /docs/content/en/hugo-pipes/resource-from-template.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: ExecuteAsTemplate 3 | linkTitle: Resource from template 4 | description: Create a resource from a Go template, parsed and executed with the given context. 5 | categories: [] 6 | keywords: [] 7 | --- 8 | 9 | See the [`resources.ExecuteAsTemplate`](/functions/resources/executeastemplate/) function. 10 | -------------------------------------------------------------------------------- /docs/content/en/hugo-pipes/transpile-sass-to-css.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: ToCSS 3 | linkTitle: Transpile Sass to CSS 4 | description: Transpile Sass to CSS. 5 | categories: [] 6 | keywords: [] 7 | aliases: [/hugo-pipes/transform-to-css/] 8 | --- 9 | 10 | See the [`css.Sass`](/functions/css/sass) function. 11 | -------------------------------------------------------------------------------- /docs/content/en/installation/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Installation 3 | description: Install Hugo on macOS, Linux, Windows, BSD, and on any machine that can run the Go compiler tool chain. 4 | categories: [] 5 | keywords: [] 6 | weight: 10 7 | aliases: [/getting-started/installing/] 8 | --- 9 | -------------------------------------------------------------------------------- /docs/content/en/methods/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Methods 3 | description: Use these methods within your templates. 4 | categories: [] 5 | keywords: [] 6 | weight: 10 7 | aliases: ['/variables/'] 8 | --- 9 | -------------------------------------------------------------------------------- /docs/content/en/methods/duration/Abs.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Abs 3 | description: Returns the absolute value of the given time.Duration value. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | returnType: time.Duration 9 | signatures: [DURATION.Abs] 10 | --- 11 | 12 | ```go-html-template 13 | {{ $d = time.ParseDuration "-3h" }} 14 | {{ $d.Abs }} → 3h0m0s 15 | ``` 16 | -------------------------------------------------------------------------------- /docs/content/en/methods/duration/Hours.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Hours 3 | description: Returns the time.Duration value as a floating point number of hours. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | returnType: float64 9 | signatures: [DURATION.Hours] 10 | --- 11 | 12 | ```go-html-template 13 | {{ $d = time.ParseDuration "3.5h2.5m1.5s" }} 14 | {{ $d.Hours }} → 3.5420833333333333 15 | ``` 16 | -------------------------------------------------------------------------------- /docs/content/en/methods/duration/Microseconds.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Microseconds 3 | description: Returns the time.Duration value as an integer microsecond count. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | returnType: int64 9 | signatures: [DURATION.Microseconds] 10 | --- 11 | 12 | ```go-html-template 13 | {{ $d = time.ParseDuration "3.5h2.5m1.5s" }} 14 | {{ $d.Microseconds }} → 12751500000 15 | ``` 16 | -------------------------------------------------------------------------------- /docs/content/en/methods/duration/Milliseconds.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Milliseconds 3 | description: Returns the time.Duration value as an integer millisecond count. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | returnType: int64 9 | signatures: [DURATION.Milliseconds] 10 | --- 11 | 12 | ```go-html-template 13 | {{ $d = time.ParseDuration "3.5h2.5m1.5s" }} 14 | {{ $d.Milliseconds }} → 12751500 15 | ``` 16 | -------------------------------------------------------------------------------- /docs/content/en/methods/duration/Minutes.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Minutes 3 | description: Returns the time.Duration value as a floating point number of minutes. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | returnType: float64 9 | signatures: [DURATION.Minutes] 10 | --- 11 | 12 | ```go-html-template 13 | {{ $d = time.ParseDuration "3.5h2.5m1.5s" }} 14 | {{ $d.Minutes }} → 212.525 15 | ``` 16 | -------------------------------------------------------------------------------- /docs/content/en/methods/duration/Nanoseconds.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Nanoseconds 3 | description: Returns the time.Duration value as an integer nanosecond count. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | returnType: int64 9 | signatures: [DURATION.Nanoseconds] 10 | --- 11 | 12 | ```go-html-template 13 | {{ $d = time.ParseDuration "3.5h2.5m1.5s" }} 14 | {{ $d.Nanoseconds }} → 12751500000000 15 | ``` 16 | -------------------------------------------------------------------------------- /docs/content/en/methods/duration/Seconds.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Seconds 3 | description: Returns the time.Duration value as a floating point number of seconds. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | returnType: float64 9 | signatures: [DURATION.Seconds] 10 | --- 11 | 12 | ```go-html-template 13 | {{ $d = time.ParseDuration "3.5h2.5m1.5s" }} 14 | {{ $d.Seconds }} → 12751.5 15 | ``` 16 | -------------------------------------------------------------------------------- /docs/content/en/methods/duration/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Duration methods 3 | linkTitle: Duration 4 | description: Use these methods with time.Duration values. 5 | categories: [] 6 | keywords: [] 7 | --- 8 | -------------------------------------------------------------------------------- /docs/content/en/methods/menu-entry/Post.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Post 3 | description: Returns the `post` property of the given menu entry. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | returnType: template.HTML 9 | signatures: [MENUENTRY.Post] 10 | --- 11 | 12 | {{% include "/_common/menu-entries/pre-and-post.md" %}} 13 | -------------------------------------------------------------------------------- /docs/content/en/methods/menu-entry/Pre.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Pre 3 | description: Returns the `pre` property of the given menu entry. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | returnType: template.HTML 9 | signatures: [MENUENTRY.Pre] 10 | --- 11 | 12 | {{% include "/_common/menu-entries/pre-and-post.md" %}} 13 | -------------------------------------------------------------------------------- /docs/content/en/methods/menu-entry/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Menu entry methods 3 | linkTitle: Menu entry 4 | description: Use these methods in your menu templates. 5 | categories: [] 6 | keywords: [] 7 | --- 8 | -------------------------------------------------------------------------------- /docs/content/en/methods/menu/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Menu methods 3 | linkTitle: Menu 4 | description: Use these methods when ranging through menu entries. 5 | categories: [] 6 | keywords: [] 7 | --- 8 | -------------------------------------------------------------------------------- /docs/content/en/methods/page/Content.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Content 3 | description: Returns the rendered content of the given page. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | returnType: template.HTML 9 | signatures: [PAGE.Content] 10 | --- 11 | 12 | The `Content` method on a `Page` object renders Markdown and shortcodes to HTML. 13 | 14 | ```go-html-template 15 | {{ .Content }} 16 | ``` 17 | -------------------------------------------------------------------------------- /docs/content/en/methods/page/Len.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Len 3 | description: Returns the length, in bytes, of the rendered content of the given page. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | returnType: int 9 | signatures: [PAGE.Len] 10 | --- 11 | 12 | ```go-html-template 13 | {{ .Len }} → 42 14 | ``` 15 | -------------------------------------------------------------------------------- /docs/content/en/methods/page/Next.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Next 3 | description: Returns the next page in a site's collection of regular pages, relative to the current page. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | returnType: page.Page 9 | signatures: [PAGE.Next] 10 | --- 11 | 12 | {{% include "/_common/methods/page/next-and-prev.md" %}} 13 | -------------------------------------------------------------------------------- /docs/content/en/methods/page/NextInSection.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: NextInSection 3 | description: Returns the next regular page in a section, relative to the given page. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | returnType: page.Page 9 | signatures: [PAGE.NextInSection] 10 | --- 11 | 12 | {{% include "/_common/methods/page/nextinsection-and-previnsection.md" %}} 13 | -------------------------------------------------------------------------------- /docs/content/en/methods/page/Prev.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Prev 3 | description: Returns the previous page in a site's collection of regular pages, relative to the current page. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | returnType: page.Page 9 | signatures: [PAGE.Prev] 10 | --- 11 | 12 | {{% include "/_common/methods/page/next-and-prev.md" %}} 13 | -------------------------------------------------------------------------------- /docs/content/en/methods/page/PrevInSection.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: PrevInSection 3 | description: Returns the previous regular page in a section, relative to the given page. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | returnType: page.Page 9 | signatures: [PAGE.PrevInSection] 10 | --- 11 | 12 | {{% include "/_common/methods/page/nextinsection-and-previnsection.md" %}} 13 | -------------------------------------------------------------------------------- /docs/content/en/methods/page/Site.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Site 3 | description: Returns the Site object. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | returnType: page.siteWrapper 9 | signatures: [PAGE.Site] 10 | --- 11 | 12 | See [Site methods]. 13 | 14 | [Site methods]: /methods/site/ 15 | 16 | ```go-html-template 17 | {{ .Site.Title }} 18 | ``` 19 | -------------------------------------------------------------------------------- /docs/content/en/methods/page/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Page methods 3 | linkTitle: Page 4 | description: Use these methods with a Page object. 5 | categories: [] 6 | keywords: [] 7 | aliases: [/variables/page/] 8 | --- 9 | -------------------------------------------------------------------------------- /docs/content/en/methods/pager/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Pager methods 3 | linkTitle: Pager 4 | description: Use these methods with Pager objects when building navigation for a paginated list page. 5 | keywords: [] 6 | --- 7 | -------------------------------------------------------------------------------- /docs/content/en/methods/pages/Len.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Len 3 | description: Returns the number of pages in the given page collection. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | returnType: int 9 | signatures: [PAGES.Len] 10 | --- 11 | 12 | ```go-html-template 13 | {{ .Pages.Len }} → 42 14 | ``` 15 | -------------------------------------------------------------------------------- /docs/content/en/methods/pages/Limit.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Limit 3 | description: Returns the first N pages from the given page collection. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | returnType: page.Pages 9 | signatures: [PAGES.Limit NUMBER] 10 | --- 11 | 12 | ```go-html-template 13 | {{ range .Pages.Limit 3 }} 14 |

{{ .LinkTitle }}

15 | {{ end }} 16 | ``` 17 | -------------------------------------------------------------------------------- /docs/content/en/methods/pages/Next.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Next 3 | description: Returns the next page in a page collection, relative to the given page. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | returnType: page.Page 9 | signatures: [PAGES.Next PAGE] 10 | --- 11 | 12 | {{% include "/_common/methods/pages/next-and-prev.md" %}} 13 | -------------------------------------------------------------------------------- /docs/content/en/methods/pages/Prev.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Prev 3 | description: Returns the previous page in a page collection, relative to the given page. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | returnType: page.Pages 9 | signatures: [PAGES.Prev PAGE] 10 | --- 11 | 12 | {{% include "/_common/methods/pages/next-and-prev.md" %}} 13 | -------------------------------------------------------------------------------- /docs/content/en/methods/pages/Reverse.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Reverse 3 | description: Returns the given page collection in reverse order. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | returnType: page.Pages 9 | signatures: [PAGES.Reverse] 10 | --- 11 | 12 | ```go-html-template 13 | {{ range .Pages.ByDate.Reverse }} 14 |

{{ .LinkTitle }}

15 | {{ end }} 16 | ``` 17 | -------------------------------------------------------------------------------- /docs/content/en/methods/pages/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Pages methods 3 | linkTitle: Pages 4 | description: Use these methods with a collection of Page objects. 5 | categories: [] 6 | keywords: [] 7 | aliases: [/variables/pages] 8 | --- 9 | -------------------------------------------------------------------------------- /docs/content/en/methods/resource/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Resource methods 3 | linkTitle: Resource 4 | description: Use these methods with global, page, and remote Resource objects. 5 | categories: [] 6 | keywords: [] 7 | --- 8 | -------------------------------------------------------------------------------- /docs/content/en/methods/shortcode/Site.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Site 3 | description: Returns the Site object. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | returnType: page.siteWrapper 9 | signatures: [SHORTCODE.Site] 10 | --- 11 | 12 | See [Site methods]. 13 | 14 | [Site methods]: /methods/site/ 15 | 16 | ```go-html-template 17 | {{ .Site.Title }} 18 | ``` 19 | -------------------------------------------------------------------------------- /docs/content/en/methods/shortcode/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Shortcode methods 3 | linkTitle: Shortcode 4 | description: Use these methods in your shortcode templates. 5 | categories: [] 6 | keywords: [] 7 | aliases: [/variables/shortcodes] 8 | --- 9 | -------------------------------------------------------------------------------- /docs/content/en/methods/site/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Site methods 3 | linkTitle: Site 4 | description: Use these methods with Site objects. 5 | categories: [] 6 | keywords: [] 7 | aliases: [/variables/site/] 8 | --- 9 | -------------------------------------------------------------------------------- /docs/content/en/methods/taxonomy/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Taxonomy methods 3 | linkTitle: Taxonomy 4 | description: Use these methods with Taxonomy objects. 5 | keywords: [] 6 | aliases: [/variables/taxonomy/] 7 | --- 8 | -------------------------------------------------------------------------------- /docs/content/en/methods/time/Before.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Before 3 | description: Reports whether TIME1 is before TIME2. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | returnType: bool 9 | signatures: [TIME1.Before TIME2] 10 | --- 11 | 12 | ```go-html-template 13 | {{ $t1 := time.AsTime "2023-01-01T17:00:00-08:00" }} 14 | {{ $t2 := time.AsTime "2030-01-01T17:00:00-08:00" }} 15 | 16 | {{ $t1.Before $t2 }} → true 17 | -------------------------------------------------------------------------------- /docs/content/en/methods/time/Day.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Day 3 | description: Returns the day of the month of the given time.Time value. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | returnType: int 9 | signatures: [TIME.Day] 10 | --- 11 | 12 | ```go-html-template 13 | {{ $t := time.AsTime "2023-01-27T23:44:58-08:00" }} 14 | {{ $t.Day }} → 27 15 | ``` 16 | -------------------------------------------------------------------------------- /docs/content/en/methods/time/Hour.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Hour 3 | description: Returns the hour within the day of the given time.Time value, in the range [0, 23]. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | returnType: int 9 | signatures: [TIME.Hour] 10 | --- 11 | 12 | ```go-html-template 13 | {{ $t := time.AsTime "2023-01-27T23:44:58-08:00" }} 14 | {{ $t.Hour }} → 23 15 | ``` 16 | -------------------------------------------------------------------------------- /docs/content/en/methods/time/Local.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Local 3 | description: Returns the given time.Time value with the location set to local time. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | returnType: time.Time 9 | signatures: [TIME.Local] 10 | --- 11 | 12 | ```go-html-template 13 | {{ $t := time.AsTime "2023-01-28T07:44:58+00:00" }} 14 | {{ $t.Local }} → 2023-01-27 23:44:58 -0800 PST 15 | ``` 16 | -------------------------------------------------------------------------------- /docs/content/en/methods/time/Minute.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Minute 3 | description: Returns the minute offset within the hour of the given time.Time value, in the range [0, 59]. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | returnType: int 9 | signatures: [TIME.Minute] 10 | --- 11 | 12 | ```go-html-template 13 | {{ $t := time.AsTime "2023-01-27T23:44:58-08:00" }} 14 | {{ $t.Minute }} → 44 15 | ``` 16 | -------------------------------------------------------------------------------- /docs/content/en/methods/time/Second.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Second 3 | description: Returns the second offset within the minute of the given time.Time value, in the range [0, 59]. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | returnType: int 9 | signatures: [TIME.Second] 10 | --- 11 | 12 | ```go-html-template 13 | {{ $t := time.AsTime "2023-01-27T23:44:58-08:00" }} 14 | {{ $t.Second }} → 58 15 | ``` 16 | -------------------------------------------------------------------------------- /docs/content/en/methods/time/UTC.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: UTC 3 | description: Returns the given time.Time value with the location set to UTC. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | returnType: time.Time 9 | signatures: [TIME.UTC] 10 | --- 11 | 12 | ```go-html-template 13 | {{ $t := time.AsTime "2023-01-27T23:44:58-08:00" }} 14 | {{ $t.UTC }} → 2023-01-28 07:44:58 +0000 UTC 15 | -------------------------------------------------------------------------------- /docs/content/en/methods/time/Year.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Year 3 | description: Returns the year of the given time.Time value. 4 | categories: [] 5 | keywords: [] 6 | params: 7 | functions_and_methods: 8 | returnType: int 9 | signatures: [TIME.Year] 10 | --- 11 | 12 | ```go-html-template 13 | {{ $t := time.AsTime "2023-01-27T23:44:58-08:00" }} 14 | {{ $t.Year }} → 2023 15 | ``` 16 | -------------------------------------------------------------------------------- /docs/content/en/methods/time/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Time methods 3 | linkTitle: Time 4 | description: Use these methods with time.Time values. 5 | categories: [] 6 | keywords: [] 7 | --- 8 | -------------------------------------------------------------------------------- /docs/content/en/news/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: News 3 | description: Stay up-to-date with the latest news and announcements. 4 | outputs: 5 | - html 6 | - rss 7 | weight: 10 8 | aliases: [/release-notes/] 9 | --- 10 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Quick reference guides 3 | linkTitle: Quick reference 4 | description: Use these quick reference guides for quick access to key information. 5 | categories: [] 6 | keywords: [] 7 | weight: 10 8 | --- 9 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/functions.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Functions 3 | description: A quick reference guide to Hugo's functions, grouped by namespace. Aliases, if any, appear in parentheses to the right of the function name. 4 | categories: [] 5 | keywords: [] 6 | --- 7 | 8 | {{% quick-reference section="functions" %}} 9 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Glossary 3 | description: Terms commonly used throughout the documentation. 4 | categories: [] 5 | keywords: [] 6 | build: 7 | render: always 8 | list: always 9 | cascade: 10 | build: 11 | render: never 12 | list: local 13 | layout: single 14 | params: 15 | hide_in_this_section: true 16 | aliases: [/getting-started/glossary/] 17 | --- 18 | 19 | {{% glossary %}} 20 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/action.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: action 3 | --- 4 | 5 | See [_template action_](g). 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/archetype.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: archetype 3 | details: /content-management/archetypes 4 | --- 5 | 6 | An _archetype_ is a template for new content. 7 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/argument.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: argument 3 | --- 4 | 5 | An _argument_ is a [_scalar_](g), [_array_](g), [_slice_](g), [_map_](g), or [_object_](g) passed to a [_function_](g), [_method_](g), or [_shortcode_](g). 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/array.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: array 3 | reference: https://go.dev/ref/spec#Array_types 4 | --- 5 | 6 | An _array_ is a numbered sequence of [_elements_](g). Unlike Go's [_slice_](g) data type, an array has a fixed length. Elements within an array can be [_scalars_](g), slices, [_maps_](g), pages, or other arrays. 7 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/asset-pipeline.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: asset pipeline 3 | --- 4 | 5 | An _asset pipeline_ is a system that automates and optimizes the handling of static assets like images, stylesheets, and JavaScript files. 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/bool.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: bool 3 | --- 4 | 5 | See [_boolean_](g). 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/boolean.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: boolean 3 | --- 4 | 5 | A _boolean_ is a data type with two possible values, either `true` or `false`. 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/build.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: build 3 | --- 4 | 5 | To _build_ a site is to generate HTML files and assets such as images, CSS files, and JavaScript files. The build process includes rendering and resource transformations. 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/bundle.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: bundle 3 | --- 4 | 5 | See [page bundle](g). 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/cache.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: cache 3 | --- 4 | 5 | A _cache_ is a software component that stores data so that future requests for the same data are faster. 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/chain.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: chain 3 | --- 4 | 5 | To _chain_ is to connect one or more [_identifiers_](g) with a dot. An identifier can represent a [_method_](g), [_object_](g), or [_field_](g). For example, `.Site.Params.author.name` or `.Date.UTC.Hour`. 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/cicd.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: CI/CD 3 | params: 4 | reference: https://en.wikipedia.org/wiki/CI/CD 5 | --- 6 | 7 | The term _CI/CD_ is an abbreviation for Continuous Integration and Continuous Delivery or Continuous Deployment depending on context. 8 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/cjk.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: CJK 3 | --- 4 | 5 | _CJK_ is a collective term for the Chinese, Japanese, and Korean languages. 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/cli.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: CLI 3 | --- 4 | 5 | _CLI_ stands for command-line interface, a text-based method for interacting with computer programs or operating systems. 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/collection.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: collection 3 | --- 4 | 5 | A _collection_ is an [_array_](g), [_slice_](g), or [_map_](g). 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/content-adapter.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: content adapter 3 | reference: /content-management/content-adapters 4 | --- 5 | 6 | A _content adapter_ is a template that dynamically creates pages when building a site. For example, use a content adapter to create pages from a remote data source such as JSON, TOML, YAML, or XML. 7 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/content-format.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: content format 3 | reference: /content-management/formats 4 | --- 5 | 6 | A _content format_ is a markup language for creating content. Typically Markdown, but may also be HTML, AsciiDoc, Org, Pandoc, or reStructuredText. 7 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/content-type.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: content type 3 | reference: /content-management/types 4 | --- 5 | 6 | A _content type_ is a classification of content inferred from the top-level directory name or the `type` set in [front matter](g). Pages in the root of the `content` directory, including the home page, are of type "page". Accessed via `.Page.Type` in [_templates_](g). 7 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/content-view.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: content view 3 | reference: /templates/content-view 4 | --- 5 | 6 | A _content view_ is a template called with the [`Render`](/methods/page/render/) method on a `Page` object. 7 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/duration.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: duration 3 | --- 4 | 5 | A _duration_ is a data type that represent a length of time, expressed using units such as seconds (represented by `s`), minutes (represented by `m`), and hours (represented by `h`). For example, `42s` means 42 seconds, `6m7s` means 6 minutes and 7 seconds, and `6h7m42s` means 6 hours, 7 minutes, and 42 seconds. 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/element.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: element 3 | --- 4 | 5 | An _element_ is a member of a [_slice_](g) or [_array_](g). 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/embedded-template.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: embedded template 3 | --- 4 | 5 | An _embedded template_ is a built-in component within the Hugo application. This includes features like [_partials_](g), [_shortcodes_](g), and [_render hooks_](g) that provide pre-defined structures or functionalities for creating website content. 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/field.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: field 3 | --- 4 | 5 | A _field_ is a predefined key-value pair in front matter such as `date` or `title`. 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/flag.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: flag 3 | reference: /commands/hugo 4 | --- 5 | 6 | A _flag_ is an option passed to a command-line program, beginning with one or two hyphens. 7 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/float.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: float 3 | alias: true 4 | --- 5 | 6 | See [floating point](g). 7 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/floating-point.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: floating point 3 | --- 4 | 5 | The term _floating point_ refers to a numeric data type with a fractional component. For example, `3.14159`. 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/fragment.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: fragment 3 | --- 4 | 5 | A _fragment_ is the final segment of a URL, beginning with a hash (`#`) mark, that references an `id` attribute of an HTML element on the page. 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/front-matter.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: front matter 3 | reference: /content-management/front-matter 4 | --- 5 | 6 | The term _front matter_ refers to the metadata at the beginning of each content page, separated from the content by format-specific delimiters. 7 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/function.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: function 3 | reference: /functions 4 | --- 5 | 6 | Used within a [_template action_](g), a _function_ takes one or more [_arguments_](g) and returns a value. Unlike [_methods_](g), functions are not associated with an [_object_](g). 7 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/glob.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: glob 3 | reference: https://github.com/gobwas/glob?tab=readme-ov-file#example 4 | --- 5 | 6 | A _glob_ is a pattern used to match file names and paths. It's a shorthand for specifying a set of files, making it easier to work with multiple files at once. 7 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/global-resource.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: global resource 3 | --- 4 | 5 | A _global resource_ is file within the `assets` directory, or within any directory mounted to the `assets` directory. 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/headless-bundle.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: headless bundle 3 | reference: /content-management/build-options/ 4 | --- 5 | 6 | A _headless bundle_ is an unpublished [_leaf bundle_](g) or an unpublished [_branch bundle_](g) whose content and resources you can include in other pages. 7 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/i18n.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: i18n 3 | --- 4 | 5 | See [_internationalization_](g). 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/iana.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: IANA 3 | reference: https://www.iana.org/about 4 | --- 5 | 6 | _IANA_ is an abbreviation for the Internet Assigned Numbers Authority, a non-profit organization that manages the allocation of global IP addresses, autonomous system numbers, DNS root zone, media types, and other Internet Protocol-related resources. 7 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/identifier.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: identifier 3 | --- 4 | 5 | An _identifier_ is a string that represents a variable, method, object, or field. It must conform to Go's [language specification](https://go.dev/ref/spec#Identifiers), beginning with a letter or underscore, followed by zero or more letters, digits, or underscores. 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/int.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: int 3 | --- 4 | 5 | See [_integer_](g). 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/integer.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: integer 3 | --- 4 | 5 | An _integer_ is a numeric data type without a fractional component. For example, `42`. 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/internationalization.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: internationalization 3 | --- 4 | 5 | The term _internationalization_ refers to software design and development efforts that enable [_localization_](g). 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/kind.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: kind 3 | --- 4 | 5 | See [_page kind_](g). 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/l10n.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: l10n 3 | --- 4 | 5 | See [_localization_](g). 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/layout.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: layout 3 | --- 4 | 5 | See [_template_](g). 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/leaf-bundle.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: leaf bundle 3 | reference: /content-management/page-bundles/ 4 | --- 5 | 6 | A _leaf bundle_ is a directory that contains an `index.md` file and zero or more [_resources_](g). Analogous to a physical leaf, a leaf bundle is at the end of a [_branch bundle_](g). It has no descendants. 7 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/lexer.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: lexer 3 | --- 4 | 5 | A _lexer_ is a software component that identifies keywords, identifiers, operators, numbers, and other basic building blocks of a programming language within the input text. 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/list-page.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: list page 3 | --- 4 | 5 | A list page is any [_page kind_](g) that receives a page [_collection_](g) in [_context_](g). This includes the home page, [section pages](g), [taxonomy pages](g), and [term pages](g). 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/list-template.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: list template 3 | --- 4 | 5 | A _list template_ is any [_template_](g) that renders a [_list page_](g). This includes home, [_section_](g), [_taxonomy_](g), and [_term_](g) templates. 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/localization.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: localization 3 | reference: /content-management/multilingual/ 4 | --- 5 | 6 | The term _localization_ refers to the process of adapting a site to meet language and regional requirements. This includes translations, date formats, number formats, currency formats, and collation order. 7 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/map.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: map 3 | reference: https://go.dev/ref/spec#Map_types 4 | --- 5 | 6 | A _map_ is an unordered group of elements, each indexed by a unique key. 7 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/marshal.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: marshal 3 | reference: /functions/transform/remarshal/ 4 | --- 5 | 6 | To _marshal_ is to transform a data structure into a serialized object. For example, transforming a [_map_](g) into a JSON string. 7 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/media-type.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: media type 3 | reference: /configuration/media-types/ 4 | --- 5 | 6 | A _media type_ (formerly known as a MIME type) is a two-part identifier for file formats and transmitted content. For example, the media type for JSON data is `application/json`. 7 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/method.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: method 3 | --- 4 | 5 | Used within a [_template action_](g) and associated with an [_object_](g), a _method_ takes zero or more [_arguments_](g) and either returns a value or performs an action. For example, `IsHome` is a method on a `Page` object which returns `true` if the current page is the home page. See also [_function_](g). 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/module.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: module 3 | reference: /hugo-modules/ 4 | --- 5 | 6 | A _module_ is a packaged combination of [_archetypes_](g), assets, content, data, [_templates_](g), translation tables, static files, or configuration settings. A module may serve as the basis for a new site, or to augment an existing site. 7 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/node.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: node 3 | --- 4 | 5 | A _node_ is a class of [_page kinds_](g) including `home`, `section`, `taxonomy`, and `term`. 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/noop.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: noop 3 | --- 4 | 5 | An abbreviated form of "no operation", a _noop_ is a statement that does nothing. 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/object.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: object 3 | --- 4 | 5 | An _object_ is a data structure with or without associated [_methods_](g). 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/ordered-taxonomy.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: ordered taxonomy 3 | --- 4 | 5 | Created by invoking the [`Alphabetical`](/methods/taxonomy/alphabetical/) or [`ByCount`](/methods/taxonomy/bycount/) method on a [`Taxonomy`](g) object, which is a [_map_](g), an _ordered taxonomy_ is a [_slice_](g), where each element is an object that contains the [_term_](g) and a slice of its [_weighted pages_](g). 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/page-bundle.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: page bundle 3 | reference: /content-management/page-bundles/ 4 | --- 5 | 6 | A _page bundle_ is a directory that encapsulates both content and associated [_resources_](g). There are two types of page bundles: [_leaf bundles_](g) and [_branch bundles_](g). 7 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/page-collection.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: page collection 3 | --- 4 | 5 | A _page collection_ is a slice of `Page` objects. 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/page-kind.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: page kind 3 | reference: /methods/page/kind/ 4 | --- 5 | 6 | A _page kind_ is a classification of pages, one of `home`, `page`, `section`, `taxonomy`, or `term`. 7 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/page-resource.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: page resource 3 | --- 4 | 5 | A _page resource_ is a file within a [_page bundle_](g). 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/pager.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: pager 3 | --- 4 | 5 | Created during [_pagination_](g), a _pager_ contains a subset of a list page and navigation links to other pagers. 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/paginate.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: paginate 3 | --- 4 | 5 | To _paginate_ is to split a list page into two or more subsets. 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/pagination.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: pagination 3 | reference: /templates/pagination 4 | --- 5 | 6 | The term _pagination_ refers to the process of [_paginating_](g) a list page. 7 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/paginator.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: paginator 3 | --- 4 | 5 | A _paginator_ is a collection of [_pagers_](g). 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/parameter.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: parameter 3 | --- 4 | 5 | A _parameter_ is typically a user-defined key-value pair at the site or page level, but may also refer to a configuration setting or an [_argument_](g). 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/partial.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: partial 3 | --- 4 | 5 | A _partial_ is a [_template_](g) called from any other template including [_shortcodes_](g), [render hooks](g), and other partials. A partial either renders something or returns something. A partial can also call itself, for example, to [_walk_](g) a data structure. 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/permalink.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: permalink 3 | --- 4 | 5 | A _permalink_ is the absolute URL of a published resource or a rendered page, including scheme and host. 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/pipe.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: pipe 3 | --- 4 | 5 | See [_pipeline_](g). 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/pretty-url.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: pretty URL 3 | --- 4 | 5 | A _pretty URL_ is a URL that does not include a file extension. 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/publish.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: publish 3 | --- 4 | 5 | See [_build_](g). 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/regular-expression.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: regular expression 3 | reference: 4 | --- 5 | 6 | A _regular expression_, also known as a _regex_, is a sequence of characters that defines a search pattern. Use the [RE2 syntax] when defining regular expressions in your templates or site configuration. 7 | 8 | [RE2 syntax]: https://github.com/google/re2/wiki/syntax 9 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/regular-page.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: regular page 3 | --- 4 | 5 | A _regular page_ is a page with the "page" [_page kind_](g). See also [_section page_](g). 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/relative-permalink.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: relative permalink 3 | --- 4 | 5 | A _relative permalink_ is the host-relative URL of a published resource or a rendered page. 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/remote-resource.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: remote resource 3 | --- 4 | 5 | A _remote resource_ is a file on a remote server, accessible via HTTP or HTTPS. 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/render-hook.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: render hook 3 | reference: /render-hooks 4 | --- 5 | 6 | A _render hook_ is a [_template_](g) that overrides standard Markdown rendering. 7 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/resource.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: resource 3 | --- 4 | 5 | A _resource_ is any file consumed by the build process to augment or generate content, structure, behavior, or presentation. For example: images, videos, content snippets, CSS, Sass, JavaScript, and data. 6 | 7 | Hugo supports three types of resources: [_global resources_](g), [_page resources_](g), and [_remote resources_](g). 8 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/scalar.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: scalar 3 | --- 4 | 5 | A _scalar_ is a single value, one of [_string_](g), [_integer_](g), [floating point](g), or [_boolean_](g). 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/scope.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: scope 3 | --- 4 | 5 | The term _scope_ refers to the specific region of code where a [_variable_](g) or [_object_](g) is accessible. For example, a variable initialized in one [template](g) is not available within another. 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/scratch-pad.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: scratch pad 3 | --- 4 | 5 | Conceptually, a _scratch pad_ is a [_map_](g) with [_methods_](g) to set, get, update, and delete values. Attach the data structure to a `Page` or `Site` object using the [`Store`](/methods/page/store/) method, or create a locally scoped scratch pad using the [`newScratch`](/functions/collections/newscratch/) function. 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/section-page.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: section page 3 | --- 4 | 5 | A _section page_ is a page with the "section" [_page kind_](g). Typically a listing of [_regular pages_](g) and/or other section pages within the current [_section_](g). 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/section.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: section 3 | --- 4 | 5 | A _section_ is a top-level content directory or any content directory containing an `_index.md` file. 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/segment.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: segment 3 | --- 4 | 5 | A _segment_ is a subset of a site, filtered by [_logical path_](g), language, [_page kind_](g), or [_output format_](g). 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/shortcode.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: shortcode 3 | reference: /content-management/shortcodes 4 | --- 5 | 6 | A _shortcode_ is a [_template_](g) invoked within markup, accepting any number of [_arguments_](g). They can be used with any [_content format_](g) to insert elements such as videos, images, and social media embeds into your content. 7 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/slice.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: slice 3 | reference: https://go.dev/ref/spec#Slice_types 4 | --- 5 | 6 | A _slice_ is a numbered sequence of elements. Unlike Go's [_array_](g) data type, slices are dynamically sized. [_Elements_](g) within a slice can be [_scalars_](g), [_arrays_](g), [_maps_](g), pages, or other slices. 7 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/string.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: string 3 | --- 4 | 5 | A _string_ is a sequence of bytes. For example, `"What is 6 times 7?"`. 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/taxonomic-weight.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: taxonomic weight 3 | reference: content-management/taxonomies/#order-taxonomies 4 | --- 5 | 6 | Defined in front matter and unique to each taxonomy, a _taxonomic weight_ is a [_weight_](g) that determines the sort order of page collections contained within a [`Taxonomy`](g) object. 7 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/taxonomy-object.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: taxonomy object 3 | --- 4 | 5 | A _taxonomy object_ is a [_map_](g) of [_terms_](g) and the [weighted pages](g) associated with each term. 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/taxonomy-page.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: taxonomy page 3 | --- 4 | 5 | A _taxonomy page_ is a page with the "taxonomy" [_page kind_](g). Typically a listing of [_terms_](g) within a given [_taxonomy_](g). 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/taxonomy.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: taxonomy 3 | reference: /content-management/taxonomies 4 | --- 5 | A _taxonomy_ is a group of related [_terms_](g) used to classify content. For example, a "colors" taxonomy might include the terms "red", "green", and "blue". 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/template-action.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: template action 3 | reference: https://pkg.go.dev/text/template#hdr-Actions 4 | --- 5 | 6 | A data evaluation or control structure within a [_template_](g), delimited by `{{` and `}}`. 7 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/template.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: template 3 | reference: /templates 4 | --- 5 | 6 | A _template_ is a file with [_template actions_](g), located within the `layouts` directory of a project, theme, or module. 7 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/term-page.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: term page 3 | --- 4 | 5 | A _term page_ is a page with the "term" [_page kind_](g). Typically a listing of [_regular pages_](g) and [_section pages_](g) with a given [_term_](g). 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/term.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: term 3 | reference: /content-management/taxonomies 4 | --- 5 | 6 | A _term_ is a member of a [_taxonomy_](g), used to classify content. 7 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/theme.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: theme 3 | --- 4 | 5 | A _theme_ is a packaged combination of [_archetypes_](g), assets, content, data, [_templates_](g), translation tables, static files, or configuration settings. A theme may serve as the basis for a new site, or to augment an existing site. 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/token.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: token 3 | --- 4 | 5 | A _token_ is an identifier within a format string, beginning with a colon and replaced with a value when rendered. For example, use tokens in format strings for both [permalinks](/content-management/urls/#permalinks) and [dates](/functions/time/format/#localization). 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/type.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: type 3 | --- 4 | 5 | See [content type](g). 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/ugly-url.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: ugly URL 3 | --- 4 | 5 | An _ugly URL_ is a URL that includes a file extension. 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/unmarshal.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: unmarshal 3 | reference: /functions/transform/unmarshal/ 4 | --- 5 | 6 | To _unmarshal_ is to transform a serialized object into a data structure. For example, transforming a JSON file into a [_map_](g) that you can access within a template. 7 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/utc.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: UTC 3 | reference: https://en.wikipedia.org/wiki/Coordinated_Universal_Time 4 | --- 5 | 6 | _UTC_ is an abbreviation for Coordinated Universal Time, the primary time standard used worldwide to regulate clocks and time. It is the basis for civil time and time zones across the globe. 7 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/variable.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: variable 3 | --- 4 | 5 | A _variable_ is a user-defined [_identifier_](g) prepended with a `$` symbol, representing a value of any data type, initialized or assigned within a [_template action_](g). For example, `$foo` and `$bar` are variables. 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/walk.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: walk 3 | --- 4 | 5 | To _walk_ is to recursively traverse a nested data structure. For example, rendering a multilevel menu. 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/weight.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: weight 3 | --- 4 | 5 | A _weight_ is a numeric value used to position an element within a sorted [collection](g). Assign weights using non-zero integers. Lighter items float to the top, while heavier items sink to the bottom. Unweighted or zero-weighted elements are placed at the end of the collection. Weights are typically assigned to pages, menu entries, languages, and output formats. 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/weighted-page.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: weighted page 3 | --- 4 | 5 | Contained within a [_taxonomy object_](g), a _weighted page_ is a [_map_](g) with two [_elements_](g): a `Page` object, and its [_taxonomic weight_](g) as defined in front matter. Access the elements using the `Page` and `Weight` keys. 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/glossary/zero-time.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: zero time 3 | --- 4 | 5 | The _zero time_ is January 1, 0001, 00:00:00 UTC. Formatted per [RFC3339](https://www.rfc-editor.org/rfc/rfc3339) the _zero time_ is 0001-01-01T00:00:00-00:00. 6 | -------------------------------------------------------------------------------- /docs/content/en/quick-reference/methods.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Methods 3 | description: A quick reference guide to Hugo's methods, grouped by object. 4 | categories: [] 5 | keywords: [] 6 | --- 7 | 8 | {{% quick-reference section="methods" %}} 9 | -------------------------------------------------------------------------------- /docs/content/en/render-hooks/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Render hooks 3 | description: Create render hooks to override the rendering of Markdown to HTML. 4 | categories: [] 5 | keywords: [] 6 | weight: 10 7 | aliases: [/templates/render-hooks/] 8 | --- 9 | -------------------------------------------------------------------------------- /docs/content/en/shortcodes/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Shortcodes 3 | description: Insert elements such as videos, images, and social media embeds into your content using Hugo's embedded shortcodes. 4 | categories: [] 5 | keywords: [] 6 | weight: 10 7 | --- 8 | -------------------------------------------------------------------------------- /docs/content/en/showcase/1password-support/featured.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/content/en/showcase/1password-support/featured.png -------------------------------------------------------------------------------- /docs/content/en/showcase/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Showcases 3 | cascade: 4 | build: 5 | render: never 6 | list: never 7 | --- 8 | -------------------------------------------------------------------------------- /docs/content/en/showcase/_template/bio.md: -------------------------------------------------------------------------------- 1 | Add some **general info** about Myshowcase here. 2 | 3 | The site is built by: 4 | 5 | - [Person 1](https://example.org) 6 | - [Person 1](https://example.org) 7 | -------------------------------------------------------------------------------- /docs/content/en/showcase/_template/featured.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/content/en/showcase/_template/featured.png -------------------------------------------------------------------------------- /docs/content/en/showcase/alora-labs/bio.md: -------------------------------------------------------------------------------- 1 | **Alora Labs** is a product development consultancy headquartered in Toronto, Canada. 2 | 3 | We help companies build software and IoT products and were recently recognized as one of the [**top IoT development firms**](https://aloralabs.com/insights/alora-labs-receives-clutch-2021-top-iot-agency-award) in Toronto. 4 | -------------------------------------------------------------------------------- /docs/content/en/showcase/alora-labs/featured.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/content/en/showcase/alora-labs/featured.png -------------------------------------------------------------------------------- /docs/content/en/showcase/ampio-help/featured.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/content/en/showcase/ampio-help/featured.png -------------------------------------------------------------------------------- /docs/content/en/showcase/bypasscensorship/bio.md: -------------------------------------------------------------------------------- 1 | Bypass Censorship find and promote tools that provide Internet access to everyone. 2 | 3 | The site is built by: 4 | 5 | - [Leyla Avsar](https://www.leylaavsar.com/) (designer) 6 | - [Fredrik Jonsson](https://xdeb.net/) (dev) 7 | -------------------------------------------------------------------------------- /docs/content/en/showcase/bypasscensorship/featured.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/content/en/showcase/bypasscensorship/featured.png -------------------------------------------------------------------------------- /docs/content/en/showcase/digitalgov/bio.md: -------------------------------------------------------------------------------- 1 | **Digital.gov** helps people in the U.S. government deliver better, more accessible digital services through publishing essential guidance, resources, tools, and online events that make it easier for people to design, build, and deliver essential services for the public. 2 | -------------------------------------------------------------------------------- /docs/content/en/showcase/digitalgov/featured.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/content/en/showcase/digitalgov/featured.png -------------------------------------------------------------------------------- /docs/content/en/showcase/fireship/bio.md: -------------------------------------------------------------------------------- 1 | **Fireship.io** is an ecosystem of detailed and practical resources for developers who want to build and ship high-quality apps. 2 | 3 | The site is built by: 4 | 5 | - [Jeff Delaney](https://fireship.io/contributors/jeff-delaney/) 6 | -------------------------------------------------------------------------------- /docs/content/en/showcase/fireship/featured.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/content/en/showcase/fireship/featured.png -------------------------------------------------------------------------------- /docs/content/en/showcase/forestry/bio.md: -------------------------------------------------------------------------------- 1 | Forestry.io is a Git-backed CMS (content management system) for websites and web products built using static site generators such as Hugo. 2 | 3 | Forestry bridges the gap between developers and their teams, by making development fun and easy, while providing powerful content management for their teams. 4 | -------------------------------------------------------------------------------- /docs/content/en/showcase/forestry/featured.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/content/en/showcase/forestry/featured.png -------------------------------------------------------------------------------- /docs/content/en/showcase/godot-tutorials/bio.md: -------------------------------------------------------------------------------- 1 | [Godot Tutorials](https://godottutorials.com) aims to teach beginners how to get up and running with basic game programming and game development skills. 2 | 3 | The website is built with the **Hugo Framework** alongside aws+cloudfront+lambda. 4 | 5 | The site is built by: 6 | 7 | - [Godot Tutorials](https://godottutorials.com) 8 | -------------------------------------------------------------------------------- /docs/content/en/showcase/godot-tutorials/featured.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/content/en/showcase/godot-tutorials/featured.png -------------------------------------------------------------------------------- /docs/content/en/showcase/hapticmedia/bio.md: -------------------------------------------------------------------------------- 1 | **Hapticmedia** provides interactive 3D configurators for eCommerce. 2 | -------------------------------------------------------------------------------- /docs/content/en/showcase/hapticmedia/featured.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/content/en/showcase/hapticmedia/featured.png -------------------------------------------------------------------------------- /docs/content/en/showcase/hartwell-insurance/bio.md: -------------------------------------------------------------------------------- 1 | Hartwell Insurance is an insurance company set up solely to service the Broker community. 2 | 3 | By combining **Hugo**, **Service Worker** and **Netlify**, we were able to achieve incredible global site performance. 4 | 5 | The site was built by [Tomango](https://www.tomango.co.uk) 6 | -------------------------------------------------------------------------------- /docs/content/en/showcase/hartwell-insurance/featured.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/content/en/showcase/hartwell-insurance/featured.png -------------------------------------------------------------------------------- /docs/content/en/showcase/hartwell-insurance/hartwell-columns.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/content/en/showcase/hartwell-insurance/hartwell-columns.png -------------------------------------------------------------------------------- /docs/content/en/showcase/hartwell-insurance/hartwell-lighthouse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/content/en/showcase/hartwell-insurance/hartwell-lighthouse.png -------------------------------------------------------------------------------- /docs/content/en/showcase/hartwell-insurance/hartwell-webpagetest.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/content/en/showcase/hartwell-insurance/hartwell-webpagetest.png -------------------------------------------------------------------------------- /docs/content/en/showcase/keycdn/bio.md: -------------------------------------------------------------------------------- 1 | [KeyCDN](https://www.keycdn.com) is a high performance content delivery network (CDN) offering many powerful features, including image processing that can transform and optimize images in real time. Our network offers global coverage to speed up content delivery and is capable of delivering entire static websites, like those built with Hugo, at the edge. 2 | -------------------------------------------------------------------------------- /docs/content/en/showcase/keycdn/featured.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/content/en/showcase/keycdn/featured.png -------------------------------------------------------------------------------- /docs/content/en/showcase/letsencrypt/bio.md: -------------------------------------------------------------------------------- 1 | Let's Encrypt is a free, automated, and open certificate authority (CA), run for the public's benefit. It is a service provided by the [Internet Security Research Group (ISRG)](https://www.abetterinternet.org/). 2 | -------------------------------------------------------------------------------- /docs/content/en/showcase/letsencrypt/featured.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/content/en/showcase/letsencrypt/featured.png -------------------------------------------------------------------------------- /docs/content/en/showcase/linode/bio.md: -------------------------------------------------------------------------------- 1 | **Linode** is a cloud hosting provider that offers high performance SSD Linux servers for your infrastructure needs. 2 | 3 | **Hugo** offers the documentation team incredible performance as we scale and continue providing quality Linux tutorials. 4 | -------------------------------------------------------------------------------- /docs/content/en/showcase/linode/featured.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/content/en/showcase/linode/featured.png -------------------------------------------------------------------------------- /docs/content/en/showcase/overmindstudios/bio.md: -------------------------------------------------------------------------------- 1 | **Overmind Studios** is a visual effects studio headquartered in Southern Germany. 2 | 3 | The site is built by: 4 | 5 | - [Tobias Kummer](https://www.overmind-studios.de/about/) 6 | -------------------------------------------------------------------------------- /docs/content/en/showcase/overmindstudios/featured.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/content/en/showcase/overmindstudios/featured.png -------------------------------------------------------------------------------- /docs/content/en/showcase/pharmaseal/bio.md: -------------------------------------------------------------------------------- 1 | PHARMASEAL began in 2016 with the purpose of disrupting the Clinical Trials Management market through continuous validation and integration 2 | 3 | We've been using **Hugo + Webpack + Netlify** to provide a scalable, modular design for the website, complete with Forestry building blocks to quickly be able to generate engagement pages. 4 | 5 | The site is built by: 6 | 7 | - [Roboto Studio](https://roboto.studio) 8 | -------------------------------------------------------------------------------- /docs/content/en/showcase/pharmaseal/featured-pharmaseal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/content/en/showcase/pharmaseal/featured-pharmaseal.png -------------------------------------------------------------------------------- /docs/content/en/showcase/quiply-employee-communications-app/featured.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/content/en/showcase/quiply-employee-communications-app/featured.png -------------------------------------------------------------------------------- /docs/content/en/showcase/tomango/bio.md: -------------------------------------------------------------------------------- 1 | We help ambitious businesses grow by getting more of the customers they want. 2 | 3 | Our new site runs quickly, anywhere in the world, regardless of internet connectivity. 4 | 5 | The site was built by [Tomango](https://www.tomango.co.uk) 6 | -------------------------------------------------------------------------------- /docs/content/en/showcase/tomango/featured.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/content/en/showcase/tomango/featured.png -------------------------------------------------------------------------------- /docs/content/en/templates/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Templates 3 | description: Create templates to render your content, resources, and data. 4 | categories: [] 5 | keywords: [] 6 | weight: 10 7 | aliases: [/templates/overview/,/templates/content] 8 | --- 9 | -------------------------------------------------------------------------------- /docs/content/en/tools/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Developer tools 3 | description: Third-party tools to help you create and manage sites. 4 | categories: [] 5 | keywords: [] 6 | weight: 10 7 | --- 8 | -------------------------------------------------------------------------------- /docs/content/en/troubleshooting/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Troubleshooting 3 | description: Use these techniques when troubleshooting your site. 4 | categories: [] 5 | keywords: [] 6 | weight: 10 7 | aliases: [/templates/template-debugging/] 8 | --- 9 | -------------------------------------------------------------------------------- /docs/content/en/troubleshooting/audit/screen-capture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/content/en/troubleshooting/audit/screen-capture.png -------------------------------------------------------------------------------- /docs/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/gohugoio/hugoDocs 2 | 3 | go 1.22.0 4 | -------------------------------------------------------------------------------- /docs/go.sum: -------------------------------------------------------------------------------- 1 | github.com/gohugoio/gohugoioTheme v0.0.0-20250116152525-2d382cae7743 h1:gjoqq8+RnGwpuU/LQVYGGR/LsDplrfUjOabWwoROYsM= 2 | github.com/gohugoio/gohugoioTheme v0.0.0-20250116152525-2d382cae7743/go.mod h1:GOYeAPQJ/ok8z7oz1cjfcSlsFpXrmx6VkzQ5RpnyhZM= 3 | -------------------------------------------------------------------------------- /docs/hugo.work: -------------------------------------------------------------------------------- 1 | go 1.22.0 2 | 3 | use . 4 | 5 | -------------------------------------------------------------------------------- /docs/layouts/_partials/docs/functions-aliases.html: -------------------------------------------------------------------------------- 1 | {{- with .Params.functions_and_methods.aliases }} 2 | {{- $label := "Alias" }} 3 | {{- if gt (len .) 1 }} 4 | {{- $label = "Aliases" }} 5 | {{- end }} 6 |

{{ $label }}

7 | {{- range . }} 8 |
9 | {{- . -}} 10 |
11 | {{- end }} 12 | {{- end -}} 13 | -------------------------------------------------------------------------------- /docs/layouts/_partials/docs/functions-return-type.html: -------------------------------------------------------------------------------- 1 | {{- with .Params.functions_and_methods.returnType }} 2 |

Returns

3 |
4 | {{- . -}} 5 |
6 | {{- end -}} 7 | -------------------------------------------------------------------------------- /docs/layouts/_partials/layouts/date.html: -------------------------------------------------------------------------------- 1 | {{ $humanDate := time.Format "January 2, 2006" . }} 2 | {{ $machineDate := time.Format "2006-01-02T15:04:05-07:00" . }} 3 | 6 | -------------------------------------------------------------------------------- /docs/layouts/_partials/layouts/docsheader.html: -------------------------------------------------------------------------------- 1 |
2 | {{ partial "layouts/breadcrumbs.html" . }} 3 | {{ if and .IsPage (not (eq .Layout "list")) }} 4 |

6 | {{ .Title }} 7 |

8 | {{ end }} 9 |
10 | -------------------------------------------------------------------------------- /docs/layouts/_partials/layouts/hooks/body-end.html: -------------------------------------------------------------------------------- 1 | {{- if .IsHome }} 2 | {{- partial "helpers/validation/validate-keywords.html" }} 3 | {{- end }} 4 | -------------------------------------------------------------------------------- /docs/layouts/_partials/layouts/hooks/body-start.html: -------------------------------------------------------------------------------- 1 | {{ with resources.Get "js/body-start.js" | js.Build (dict "minify" true) }} 2 | {{ partial "helpers/linkjs.html" (dict "r" . "attributes" (dict "" "")) }} 3 | {{ end }} 4 | -------------------------------------------------------------------------------- /docs/layouts/_partials/layouts/search/input.html: -------------------------------------------------------------------------------- 1 |
2 | {{ partial "layouts/search/button.html" (dict "page" . "standalone" false) }} 3 | {{ partial "layouts/search/results.html" . }} 4 |
5 | -------------------------------------------------------------------------------- /docs/layouts/_partials/layouts/templates.html: -------------------------------------------------------------------------------- 1 | 8 | -------------------------------------------------------------------------------- /docs/layouts/_shortcodes/module-mounts-note.html: -------------------------------------------------------------------------------- 1 | For a more flexible approach to configuring this directory, consult the section 2 | on [module mounts](/configuration/module/#mounts). 3 | -------------------------------------------------------------------------------- /docs/layouts/home.headers: -------------------------------------------------------------------------------- 1 | /* 2 | X-Frame-Options: DENY 3 | X-XSS-Protection: 1; mode=block 4 | X-Content-Type-Options: nosniff 5 | Referrer-Policy: origin-when-cross-origin 6 | -------------------------------------------------------------------------------- /docs/layouts/home.redir: -------------------------------------------------------------------------------- 1 | # Netlify redirects. See https://www.netlify.com/docs/redirects/ 2 | {{ range $p := .Site.Pages -}} 3 | {{ range .Aliases }} 4 | {{ . | printf "%-35s" }} {{ $p.RelPermalink -}} 5 | {{ end -}} 6 | {{- end -}} 7 | -------------------------------------------------------------------------------- /docs/static/android-chrome-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/static/android-chrome-144x144.png -------------------------------------------------------------------------------- /docs/static/android-chrome-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/static/android-chrome-192x192.png -------------------------------------------------------------------------------- /docs/static/android-chrome-256x256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/static/android-chrome-256x256.png -------------------------------------------------------------------------------- /docs/static/android-chrome-36x36.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/static/android-chrome-36x36.png -------------------------------------------------------------------------------- /docs/static/android-chrome-48x48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/static/android-chrome-48x48.png -------------------------------------------------------------------------------- /docs/static/android-chrome-72x72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/static/android-chrome-72x72.png -------------------------------------------------------------------------------- /docs/static/android-chrome-96x96.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/static/android-chrome-96x96.png -------------------------------------------------------------------------------- /docs/static/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/static/apple-touch-icon.png -------------------------------------------------------------------------------- /docs/static/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/static/favicon-16x16.png -------------------------------------------------------------------------------- /docs/static/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/static/favicon-32x32.png -------------------------------------------------------------------------------- /docs/static/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/static/favicon.ico -------------------------------------------------------------------------------- /docs/static/fonts/Mulish-Italic-VariableFont_wght.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/static/fonts/Mulish-Italic-VariableFont_wght.ttf -------------------------------------------------------------------------------- /docs/static/fonts/Mulish-VariableFont_wght.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/static/fonts/Mulish-VariableFont_wght.ttf -------------------------------------------------------------------------------- /docs/static/img/hugo-logo-med.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/static/img/hugo-logo-med.png -------------------------------------------------------------------------------- /docs/static/img/hugo-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/static/img/hugo-logo.png -------------------------------------------------------------------------------- /docs/static/img/hugo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/static/img/hugo.png -------------------------------------------------------------------------------- /docs/static/img/hugoSM.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/static/img/hugoSM.png -------------------------------------------------------------------------------- /docs/static/mstile-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/static/mstile-144x144.png -------------------------------------------------------------------------------- /docs/static/mstile-150x150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/static/mstile-150x150.png -------------------------------------------------------------------------------- /docs/static/mstile-310x310.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/static/mstile-310x310.png -------------------------------------------------------------------------------- /docs/static/shared/examples/images/interpreting-the-french-revolution.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/static/shared/examples/images/interpreting-the-french-revolution.webp -------------------------------------------------------------------------------- /docs/static/shared/examples/images/les-misérables.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/static/shared/examples/images/les-misérables.webp -------------------------------------------------------------------------------- /docs/static/shared/examples/images/the-ancien-régime-and-the-revolution.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/static/shared/examples/images/the-ancien-régime-and-the-revolution.webp -------------------------------------------------------------------------------- /docs/static/shared/examples/images/the-hunchback-of-notre-dame.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/docs/static/shared/examples/images/the-hunchback-of-notre-dame.webp -------------------------------------------------------------------------------- /docs/tailwind.config.js: -------------------------------------------------------------------------------- 1 | /* Empty for now. */ 2 | -------------------------------------------------------------------------------- /hugolib/testdata/fakejson.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/hugolib/testdata/fakejson.json -------------------------------------------------------------------------------- /hugolib/testdata/fruits.json: -------------------------------------------------------------------------------- 1 | { 2 | "fruit": "Apple", 3 | "size": "Large", 4 | "color": "Red" 5 | } 6 | -------------------------------------------------------------------------------- /hugolib/testdata/sunset.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/hugolib/testdata/sunset.jpg -------------------------------------------------------------------------------- /hugolib/testsite/.gitignore: -------------------------------------------------------------------------------- 1 | config.toml -------------------------------------------------------------------------------- /hugolib/testsite/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @bep -------------------------------------------------------------------------------- /hugolib/testsite/content/first-post.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "My First Post" 3 | lastmod: 2018-02-28 4 | --- -------------------------------------------------------------------------------- /hugolib/testsite/content_nn/first-post.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Min første dag" 3 | lastmod: 1972-02-28 4 | --- -------------------------------------------------------------------------------- /identity/identitytesting/identitytesting.go: -------------------------------------------------------------------------------- 1 | package identitytesting 2 | 3 | import "github.com/gohugoio/hugo/identity" 4 | 5 | const TestIdentity = identity.StringIdentity("__testIdentity") 6 | -------------------------------------------------------------------------------- /internal/warpc/build.sh: -------------------------------------------------------------------------------- 1 | # TODO1 clean up when done. 2 | go generate ./gen 3 | javy compile js/greet.bundle.js -d -o wasm/greet.wasm 4 | javy compile js/renderkatex.bundle.js -d -o wasm/renderkatex.wasm 5 | touch warpc_test.go -------------------------------------------------------------------------------- /internal/warpc/js/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | package-lock.json -------------------------------------------------------------------------------- /internal/warpc/js/greet.js: -------------------------------------------------------------------------------- 1 | import { readInput, writeOutput } from './common'; 2 | 3 | const greet = function (input) { 4 | writeOutput({ header: input.header, data: { greeting: 'Hello ' + input.data.name + '!' } }); 5 | }; 6 | 7 | console.log('Greet module loaded'); 8 | 9 | readInput(greet); 10 | -------------------------------------------------------------------------------- /internal/warpc/js/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "js", 3 | "version": "1.0.0", 4 | "main": "greet.js", 5 | "scripts": { 6 | "test": "echo \"Error: no test specified\" && exit 1" 7 | }, 8 | "author": "", 9 | "license": "ISC", 10 | "description": "", 11 | "devDependencies": { 12 | "katex": "^0.16.21" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /internal/warpc/wasm/greet.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/internal/warpc/wasm/greet.wasm -------------------------------------------------------------------------------- /internal/warpc/wasm/quickjs.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/internal/warpc/wasm/quickjs.wasm -------------------------------------------------------------------------------- /internal/warpc/wasm/renderkatex.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/internal/warpc/wasm/renderkatex.wasm -------------------------------------------------------------------------------- /internal/warpc/watchtestscripts.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | trap exit SIGINT 4 | 5 | while true; do find . -type f -name "*.js" | entr -pd ./build.sh; done -------------------------------------------------------------------------------- /media/testdata/fake.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/media/testdata/fake.js -------------------------------------------------------------------------------- /media/testdata/fake.png: -------------------------------------------------------------------------------- 1 | function foo() { 2 | return "foo"; 3 | } -------------------------------------------------------------------------------- /media/testdata/reosurce.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/media/testdata/reosurce.otf -------------------------------------------------------------------------------- /media/testdata/resource.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/media/testdata/resource.bmp -------------------------------------------------------------------------------- /media/testdata/resource.css: -------------------------------------------------------------------------------- 1 | body { 2 | background-color: lightblue; 3 | } 4 | 5 | h1 { 6 | color: navy; 7 | margin-left: 20px; 8 | } -------------------------------------------------------------------------------- /media/testdata/resource.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/media/testdata/resource.gif -------------------------------------------------------------------------------- /media/testdata/resource.jpe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/media/testdata/resource.jpe -------------------------------------------------------------------------------- /media/testdata/resource.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/media/testdata/resource.jpg -------------------------------------------------------------------------------- /media/testdata/resource.js: -------------------------------------------------------------------------------- 1 | function foo() { 2 | return "foo"; 3 | } -------------------------------------------------------------------------------- /media/testdata/resource.json: -------------------------------------------------------------------------------- 1 | { 2 | "firstName": "Joe", 3 | "lastName": "Jackson", 4 | "gender": "male", 5 | "age": 28, 6 | "address": { 7 | "streetAddress": "101", 8 | "city": "San Diego", 9 | "state": "CA" 10 | }, 11 | "phoneNumbers": [ 12 | { "type": "home", "number": "7349282382" } 13 | ] 14 | } -------------------------------------------------------------------------------- /media/testdata/resource.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/media/testdata/resource.pdf -------------------------------------------------------------------------------- /media/testdata/resource.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/media/testdata/resource.png -------------------------------------------------------------------------------- /media/testdata/resource.sass: -------------------------------------------------------------------------------- 1 | $font-stack: Helvetica, sans-serif 2 | $primary-color: #333 3 | 4 | body 5 | font: 100% $font-stack 6 | color: $primary-color -------------------------------------------------------------------------------- /media/testdata/resource.scss: -------------------------------------------------------------------------------- 1 | $font-stack: Helvetica, sans-serif; 2 | $primary-color: #333; 3 | 4 | body { 5 | font: 100% $font-stack; 6 | color: $primary-color; 7 | } -------------------------------------------------------------------------------- /media/testdata/resource.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | Sorry, your browser does not support inline SVG. 4 | 5 | -------------------------------------------------------------------------------- /media/testdata/resource.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/media/testdata/resource.ttf -------------------------------------------------------------------------------- /media/testdata/resource.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/media/testdata/resource.webp -------------------------------------------------------------------------------- /media/testdata/resource.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Tove 4 | Jani 5 | Reminder 6 | Don't forget me this weekend! 7 | -------------------------------------------------------------------------------- /pull-docs.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | HUGO_DOCS_BRANCH="${HUGO_DOCS_BRANCH-master}" 4 | 5 | # We may extend this to also push changes in the other direction, but this is the most important step. 6 | git subtree pull --prefix=docs/ https://github.com/gohugoio/hugoDocs.git ${HUGO_DOCS_BRANCH} --squash 7 | 8 | -------------------------------------------------------------------------------- /resources/assets/sunset.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/assets/sunset.jpg -------------------------------------------------------------------------------- /resources/images/testdata/images_golden/filters/mask/blue.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/images/testdata/images_golden/filters/mask/blue.jpg -------------------------------------------------------------------------------- /resources/images/testdata/images_golden/filters/mask/transparant.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/images/testdata/images_golden/filters/mask/transparant.png -------------------------------------------------------------------------------- /resources/images/testdata/images_golden/filters/mask/wide.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/images/testdata/images_golden/filters/mask/wide.jpg -------------------------------------------------------------------------------- /resources/images/testdata/images_golden/filters/mask/yellow.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/images/testdata/images_golden/filters/mask/yellow.jpg -------------------------------------------------------------------------------- /resources/images/testdata/images_golden/filters/mask2/green.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/images/testdata/images_golden/filters/mask2/green.jpg -------------------------------------------------------------------------------- /resources/images/testdata/images_golden/filters/mask2/pink.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/images/testdata/images_golden/filters/mask2/pink.jpg -------------------------------------------------------------------------------- /resources/images/testdata/images_golden/filters/misc/brightness-40.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/images/testdata/images_golden/filters/misc/brightness-40.jpg -------------------------------------------------------------------------------- /resources/images/testdata/images_golden/filters/misc/colorbalance-180-50-20.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/images/testdata/images_golden/filters/misc/colorbalance-180-50-20.jpg -------------------------------------------------------------------------------- /resources/images/testdata/images_golden/filters/misc/contrast-50.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/images/testdata/images_golden/filters/misc/contrast-50.jpg -------------------------------------------------------------------------------- /resources/images/testdata/images_golden/filters/misc/dither-default.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/images/testdata/images_golden/filters/misc/dither-default.jpg -------------------------------------------------------------------------------- /resources/images/testdata/images_golden/filters/misc/gamma-1.667.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/images/testdata/images_golden/filters/misc/gamma-1.667.jpg -------------------------------------------------------------------------------- /resources/images/testdata/images_golden/filters/misc/gaussianblur-5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/images/testdata/images_golden/filters/misc/gaussianblur-5.jpg -------------------------------------------------------------------------------- /resources/images/testdata/images_golden/filters/misc/grayscale+colorize-180-50-20.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/images/testdata/images_golden/filters/misc/grayscale+colorize-180-50-20.jpg -------------------------------------------------------------------------------- /resources/images/testdata/images_golden/filters/misc/grayscale.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/images/testdata/images_golden/filters/misc/grayscale.jpg -------------------------------------------------------------------------------- /resources/images/testdata/images_golden/filters/misc/hue--15.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/images/testdata/images_golden/filters/misc/hue--15.jpg -------------------------------------------------------------------------------- /resources/images/testdata/images_golden/filters/misc/invert.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/images/testdata/images_golden/filters/misc/invert.jpg -------------------------------------------------------------------------------- /resources/images/testdata/images_golden/filters/misc/opacity-0.65.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/images/testdata/images_golden/filters/misc/opacity-0.65.jpg -------------------------------------------------------------------------------- /resources/images/testdata/images_golden/filters/misc/overlay-20-20.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/images/testdata/images_golden/filters/misc/overlay-20-20.jpg -------------------------------------------------------------------------------- /resources/images/testdata/images_golden/filters/misc/padding-20-40-#976941.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/images/testdata/images_golden/filters/misc/padding-20-40-#976941.jpg -------------------------------------------------------------------------------- /resources/images/testdata/images_golden/filters/misc/pixelate-10.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/images/testdata/images_golden/filters/misc/pixelate-10.jpg -------------------------------------------------------------------------------- /resources/images/testdata/images_golden/filters/misc/rotate270.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/images/testdata/images_golden/filters/misc/rotate270.jpg -------------------------------------------------------------------------------- /resources/images/testdata/images_golden/filters/misc/saturation-65.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/images/testdata/images_golden/filters/misc/saturation-65.jpg -------------------------------------------------------------------------------- /resources/images/testdata/images_golden/filters/misc/sepia-80.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/images/testdata/images_golden/filters/misc/sepia-80.jpg -------------------------------------------------------------------------------- /resources/images/testdata/images_golden/filters/misc/sigmoid-0.6--4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/images/testdata/images_golden/filters/misc/sigmoid-0.6--4.jpg -------------------------------------------------------------------------------- /resources/images/testdata/images_golden/filters/misc/text.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/images/testdata/images_golden/filters/misc/text.jpg -------------------------------------------------------------------------------- /resources/images/testdata/images_golden/filters/misc/unsharpmask.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/images/testdata/images_golden/filters/misc/unsharpmask.jpg -------------------------------------------------------------------------------- /resources/images/testdata/images_golden/filters/text/text_alignx-center.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/images/testdata/images_golden/filters/text/text_alignx-center.jpg -------------------------------------------------------------------------------- /resources/images/testdata/images_golden/filters/text/text_alignx-center_aligny-bottom.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/images/testdata/images_golden/filters/text/text_alignx-center_aligny-bottom.jpg -------------------------------------------------------------------------------- /resources/images/testdata/images_golden/filters/text/text_alignx-center_aligny-center.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/images/testdata/images_golden/filters/text/text_alignx-center_aligny-center.jpg -------------------------------------------------------------------------------- /resources/images/testdata/images_golden/filters/text/text_alignx-left.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/images/testdata/images_golden/filters/text/text_alignx-left.jpg -------------------------------------------------------------------------------- /resources/images/testdata/images_golden/filters/text/text_alignx-right.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/images/testdata/images_golden/filters/text/text_alignx-right.jpg -------------------------------------------------------------------------------- /resources/images/testdata/images_golden/methods/crop-sunsetjpg-200x200.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/images/testdata/images_golden/methods/crop-sunsetjpg-200x200.jpg -------------------------------------------------------------------------------- /resources/images/testdata/images_golden/methods/crop-sunsetjpg-350x400-center-q20.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/images/testdata/images_golden/methods/crop-sunsetjpg-350x400-center-q20.jpg -------------------------------------------------------------------------------- /resources/images/testdata/images_golden/methods/crop-sunsetjpg-350x400-center-r90.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/images/testdata/images_golden/methods/crop-sunsetjpg-350x400-center-r90.jpg -------------------------------------------------------------------------------- /resources/images/testdata/images_golden/methods/crop-sunsetjpg-350x400-center.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/images/testdata/images_golden/methods/crop-sunsetjpg-350x400-center.jpg -------------------------------------------------------------------------------- /resources/images/testdata/images_golden/methods/crop-sunsetjpg-350x400-smart.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/images/testdata/images_golden/methods/crop-sunsetjpg-350x400-smart.jpg -------------------------------------------------------------------------------- /resources/images/testdata/images_golden/methods/fill-sunsetjpg-90x120-left.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/images/testdata/images_golden/methods/fill-sunsetjpg-90x120-left.jpg -------------------------------------------------------------------------------- /resources/images/testdata/images_golden/methods/fill-sunsetjpg-90x120-right.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/images/testdata/images_golden/methods/fill-sunsetjpg-90x120-right.jpg -------------------------------------------------------------------------------- /resources/images/testdata/images_golden/methods/fit-sunsetjpg-200x200.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/images/testdata/images_golden/methods/fit-sunsetjpg-200x200.jpg -------------------------------------------------------------------------------- /resources/images/testdata/images_golden/methods/resize-gopherpng-100x-03fc56-jpg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/images/testdata/images_golden/methods/resize-gopherpng-100x-03fc56-jpg.jpg -------------------------------------------------------------------------------- /resources/images/testdata/images_golden/methods/resize-gopherpng-100x-fc03ec.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/images/testdata/images_golden/methods/resize-gopherpng-100x-fc03ec.png -------------------------------------------------------------------------------- /resources/images/testdata/images_golden/methods/resize-gopherpng-100x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/images/testdata/images_golden/methods/resize-gopherpng-100x.png -------------------------------------------------------------------------------- /resources/images/testdata/images_golden/methods/resize-sunsetjpg-300x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/images/testdata/images_golden/methods/resize-sunsetjpg-300x.jpg -------------------------------------------------------------------------------- /resources/images/testdata/images_golden/methods/resize-sunsetjpg-x200.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/images/testdata/images_golden/methods/resize-sunsetjpg-x200.jpg -------------------------------------------------------------------------------- /resources/images/testdata/images_golden/process/misc/crop-500x200-smart.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/images/testdata/images_golden/process/misc/crop-500x200-smart.jpg -------------------------------------------------------------------------------- /resources/images/testdata/images_golden/process/misc/fill-500x200-smart.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/images/testdata/images_golden/process/misc/fill-500x200-smart.jpg -------------------------------------------------------------------------------- /resources/images/testdata/images_golden/process/misc/fit-500x200-smart.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/images/testdata/images_golden/process/misc/fit-500x200-smart.jpg -------------------------------------------------------------------------------- /resources/images/testdata/images_golden/process/misc/resize-100x100-gif.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/images/testdata/images_golden/process/misc/resize-100x100-gif.gif -------------------------------------------------------------------------------- /resources/images/testdata/images_golden/process/misc/resize-100x100-r180.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/images/testdata/images_golden/process/misc/resize-100x100-r180.png -------------------------------------------------------------------------------- /resources/images/testdata/images_golden/process/misc/resize-300x300-jpg-b31280.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/images/testdata/images_golden/process/misc/resize-300x300-jpg-b31280.jpg -------------------------------------------------------------------------------- /resources/page/page_generate/.gitignore: -------------------------------------------------------------------------------- 1 | generate -------------------------------------------------------------------------------- /resources/testdata/1234567890qwertyuiopasdfghjklzxcvbnm5to6eeeeee7via8eleph.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/testdata/1234567890qwertyuiopasdfghjklzxcvbnm5to6eeeeee7via8eleph.jpg -------------------------------------------------------------------------------- /resources/testdata/circle.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | Sorry, your browser does not support inline SVG. 4 | 5 | -------------------------------------------------------------------------------- /resources/testdata/exif/orientation6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/testdata/exif/orientation6.jpg -------------------------------------------------------------------------------- /resources/testdata/fuzzy-cirlcle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/testdata/fuzzy-cirlcle.png -------------------------------------------------------------------------------- /resources/testdata/giphy.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/testdata/giphy.gif -------------------------------------------------------------------------------- /resources/testdata/gohugoio-card.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/testdata/gohugoio-card.gif -------------------------------------------------------------------------------- /resources/testdata/gohugoio.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/testdata/gohugoio.png -------------------------------------------------------------------------------- /resources/testdata/gohugoio24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/testdata/gohugoio24.png -------------------------------------------------------------------------------- /resources/testdata/gohugoio8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/testdata/gohugoio8.png -------------------------------------------------------------------------------- /resources/testdata/gopher-hero8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/testdata/gopher-hero8.png -------------------------------------------------------------------------------- /resources/testdata/gradient-circle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/testdata/gradient-circle.png -------------------------------------------------------------------------------- /resources/testdata/iss8079.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/testdata/iss8079.jpg -------------------------------------------------------------------------------- /resources/testdata/issue10738/canon_cr2_fraction.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/testdata/issue10738/canon_cr2_fraction.jpg -------------------------------------------------------------------------------- /resources/testdata/issue10738/canon_cr2_integer.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/testdata/issue10738/canon_cr2_integer.jpg -------------------------------------------------------------------------------- /resources/testdata/issue10738/dji_dng_fraction.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/testdata/issue10738/dji_dng_fraction.jpg -------------------------------------------------------------------------------- /resources/testdata/issue10738/fuji_raf_fraction.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/testdata/issue10738/fuji_raf_fraction.jpg -------------------------------------------------------------------------------- /resources/testdata/issue10738/fuji_raf_integer.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/testdata/issue10738/fuji_raf_integer.jpg -------------------------------------------------------------------------------- /resources/testdata/issue10738/leica_dng_fraction.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/testdata/issue10738/leica_dng_fraction.jpg -------------------------------------------------------------------------------- /resources/testdata/issue10738/lumix_rw2_fraction.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/testdata/issue10738/lumix_rw2_fraction.jpg -------------------------------------------------------------------------------- /resources/testdata/issue10738/nikon_nef_d5600.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/testdata/issue10738/nikon_nef_d5600.jpg -------------------------------------------------------------------------------- /resources/testdata/issue10738/nikon_nef_fraction.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/testdata/issue10738/nikon_nef_fraction.jpg -------------------------------------------------------------------------------- /resources/testdata/issue10738/nikon_nef_fraction_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/testdata/issue10738/nikon_nef_fraction_2.jpg -------------------------------------------------------------------------------- /resources/testdata/issue10738/nikon_nef_integer.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/testdata/issue10738/nikon_nef_integer.jpg -------------------------------------------------------------------------------- /resources/testdata/issue10738/sony_arw_fraction.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/testdata/issue10738/sony_arw_fraction.jpg -------------------------------------------------------------------------------- /resources/testdata/issue10738/sony_arw_integer.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/testdata/issue10738/sony_arw_integer.jpg -------------------------------------------------------------------------------- /resources/testdata/mask.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/testdata/mask.png -------------------------------------------------------------------------------- /resources/testdata/mask2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/testdata/mask2.png -------------------------------------------------------------------------------- /resources/testdata/pix.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/testdata/pix.gif -------------------------------------------------------------------------------- /resources/testdata/sub/gohugoio2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/testdata/sub/gohugoio2.png -------------------------------------------------------------------------------- /resources/testdata/sunrise.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/testdata/sunrise.JPG -------------------------------------------------------------------------------- /resources/testdata/sunrise.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/testdata/sunrise.webp -------------------------------------------------------------------------------- /resources/testdata/sunset.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/testdata/sunset.jpg -------------------------------------------------------------------------------- /resources/testdata/sunset.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/resources/testdata/sunset.webp -------------------------------------------------------------------------------- /scripts/fork_go_templates/.gitignore: -------------------------------------------------------------------------------- 1 | fork_go_templates 2 | -------------------------------------------------------------------------------- /snap/local/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/snap/local/logo.png -------------------------------------------------------------------------------- /testscripts/commands/commands_errors.txt: -------------------------------------------------------------------------------- 1 | # Testing various error situations. 2 | 3 | ! hugo mods 4 | stderr 'unknown command "mods" for "hugo"' 5 | stderr 'Did you mean this\?' 6 | 7 | ! hugo mod clea 8 | stderr 'Did you mean this\?' 9 | stderr 'clean' 10 | 11 | ! hugo mod foo 12 | stderr 'unknown command "foo" for "hugo mod"' -------------------------------------------------------------------------------- /testscripts/commands/completion.txt: -------------------------------------------------------------------------------- 1 | # Test the completion commands. 2 | 3 | hugo completion -h 4 | stdout 'Generate the autocompletion script for hugo for the specified shell.' -------------------------------------------------------------------------------- /testscripts/commands/env.txt: -------------------------------------------------------------------------------- 1 | # Test the hugo env command. 2 | 3 | hugo env 4 | stdout 'GOARCH' 5 | ! stderr . -------------------------------------------------------------------------------- /testscripts/commands/hugo__configdir.txt: -------------------------------------------------------------------------------- 1 | 2 | hugo 3 | ! stderr . 4 | 5 | -- config/_default/hugo.toml -- 6 | baseURL = "https://example.com/" 7 | disableKinds = ["RSS", "page", "sitemap", "robotsTXT", "404", "taxonomy", "term", "home"] -------------------------------------------------------------------------------- /testscripts/commands/hugo__noconfig.txt: -------------------------------------------------------------------------------- 1 | 2 | mkdir mysite 3 | cd mysite 4 | ! hugo 5 | 6 | stderr 'Unable to locate config file or config directory' 7 | ls . 8 | stdout 'Empty dir' -------------------------------------------------------------------------------- /testscripts/commands/hugo__publishdir_in_config.txt: -------------------------------------------------------------------------------- 1 | # Test the hugo command. 2 | 3 | hugo 4 | 5 | grep 'Home' newpublic/index.html 6 | 7 | -- hugo.toml -- 8 | baseURL = "http://example.org/" 9 | disableKinds = ["RSS", "sitemap", "robotsTXT", "404", "taxonomy", "term"] 10 | publishDir = "newpublic" 11 | -- layouts/index.html -- 12 | Home. 13 | -------------------------------------------------------------------------------- /testscripts/commands/hugo_printunusedtemplates.txt: -------------------------------------------------------------------------------- 1 | hugo --printUnusedTemplates 2 | 3 | stderr 'Template /list.html is unused' 4 | 5 | -- hugo.toml -- 6 | disableKinds = ["taxonomy", "term", "RSS", "sitemap", "robotsTXT", "404", "section", "page"] 7 | baseURL = "https://example.org/" 8 | -- layouts/index.html -- 9 | Home. 10 | -- layouts/_default/list.html -- 11 | {{ errorf "unused template: %s" .Kind }} 12 | -------------------------------------------------------------------------------- /testscripts/commands/mod__disable.txt: -------------------------------------------------------------------------------- 1 | hugo mod graph 2 | stdout 'withhugotoml.*commonmod' 3 | 4 | -- hugo.toml -- 5 | title = "Hugo Modules Test" 6 | [module] 7 | [[module.imports]] 8 | path="github.com/gohugoio/hugo-mod-integrationtests/withconfigtoml" 9 | disable = true 10 | [[module.imports]] 11 | path="github.com/gohugoio/hugo-mod-integrationtests/withhugotoml" 12 | -- go.mod -- 13 | module foo 14 | go 1.19 15 | 16 | -------------------------------------------------------------------------------- /testscripts/commands/mod__themesdir.txt: -------------------------------------------------------------------------------- 1 | hugo --theme mytheme mod graph 2 | stdout 'project mytheme' 3 | 4 | -- hugo.toml -- 5 | title = "Hugo Module" 6 | -- themes/mytheme/hugo.toml -- 7 | title = "My Theme" 8 | -------------------------------------------------------------------------------- /testscripts/commands/mod_get.txt: -------------------------------------------------------------------------------- 1 | hugo mod get 2 | stderr 'withhugotoml.*v1.1.0' 3 | 4 | -- hugo.toml -- 5 | title = "Hugo Modules Test" 6 | [module] 7 | [[module.imports]] 8 | path="github.com/gohugoio/hugo-mod-integrationtests/withconfigtoml" 9 | disable = true 10 | [[module.imports]] 11 | path="github.com/gohugoio/hugo-mod-integrationtests/withhugotoml" 12 | -- go.mod -- 13 | module foo 14 | go 1.20 15 | 16 | -------------------------------------------------------------------------------- /testscripts/commands/mod_init.txt: -------------------------------------------------------------------------------- 1 | # Test the hugo init command. 2 | dostounix golden/go.mod.testsubmod 3 | 4 | hugo mod init testsubmod 5 | cmpenv go.mod $WORK/golden/go.mod.testsubmod 6 | 7 | -- hugo.toml -- 8 | title = "Hugo Modules Test" 9 | [module] 10 | [[module.imports]] 11 | path="github.com/bep/empty-hugo-module" 12 | -- golden/go.mod.testsubmod -- 13 | module testsubmod 14 | 15 | go ${GOVERSION} -------------------------------------------------------------------------------- /testscripts/commands/new_content.txt: -------------------------------------------------------------------------------- 1 | hugo new site myblog 2 | cd myblog 3 | hugo new content --kind post post/first-post.md 4 | ! exists resources 5 | grep 'draft = true' content/post/first-post.md 6 | 7 | 8 | -------------------------------------------------------------------------------- /testscripts/commands/noop.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/testscripts/commands/noop.txt -------------------------------------------------------------------------------- /testscripts/commands/server_disablelivereload.txt: -------------------------------------------------------------------------------- 1 | hugo server --disableLiveReload & 2 | 3 | waitServer 4 | 5 | ! grep 'livereload' public/index.html 6 | 7 | stopServer 8 | ! stderr . 9 | 10 | -- hugo.toml -- 11 | baseURL = "http://example.org/" 12 | disableKinds = ["RSS", "sitemap", "robotsTXT", "404", "taxonomy", "term"] 13 | -- layouts/index.html -- 14 | 15 | 16 | 17 | 18 | Home. 19 | 20 | -------------------------------------------------------------------------------- /testscripts/commands/version.txt: -------------------------------------------------------------------------------- 1 | # Test the hugo version command. 2 | 3 | hugo -h 4 | stdout 'hugo is the main command, used to build your Hugo site' 5 | 6 | hugo version 7 | stdout 'hugo v.* BuildDate=unknown' 8 | -------------------------------------------------------------------------------- /testscripts/commands/warnf_stderr.txt: -------------------------------------------------------------------------------- 1 | # Issue #13074 2 | 3 | hugo 4 | stderr 'warning' 5 | ! stdout 'warning' 6 | 7 | -- hugo.toml -- 8 | baseURL = "http://example.org/" 9 | disableKinds = ["RSS", "page", "sitemap", "robotsTXT", "404", "taxonomy", "term"] 10 | -- layouts/index.html -- 11 | Home 12 | {{ warnf "This is a warning" }} 13 | 14 | -------------------------------------------------------------------------------- /testscripts/unfinished/noop.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/testscripts/unfinished/noop.txt -------------------------------------------------------------------------------- /testscripts/withdeploy-off/deploy_off.txt: -------------------------------------------------------------------------------- 1 | ! hugo deploy --force 2 | # Issue 13012 3 | stderr 'deploy not supported in this version of Hugo' -------------------------------------------------------------------------------- /tpl/images/testdata/images_golden/funcs/qr-default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/tpl/images/testdata/images_golden/funcs/qr-default.png -------------------------------------------------------------------------------- /tpl/images/testdata/images_golden/funcs/qr-level-high_scale-6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/tpl/images/testdata/images_golden/funcs/qr-level-high_scale-6.png -------------------------------------------------------------------------------- /tpl/internal/go_templates/fmtsort/export_test.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package fmtsort 6 | 7 | import "reflect" 8 | 9 | func Compare(a, b reflect.Value) int { 10 | return compare(a, b) 11 | } 12 | -------------------------------------------------------------------------------- /tpl/internal/go_templates/htmltemplate/testdata/file1.tmpl: -------------------------------------------------------------------------------- 1 | {{define "x"}}TEXT{{end}} 2 | {{define "dotV"}}{{.V}}{{end}} 3 | -------------------------------------------------------------------------------- /tpl/internal/go_templates/htmltemplate/testdata/file2.tmpl: -------------------------------------------------------------------------------- 1 | {{define "dot"}}{{.}}{{end}} 2 | {{define "nested"}}{{template "dot" .}}{{end}} 3 | -------------------------------------------------------------------------------- /tpl/internal/go_templates/htmltemplate/testdata/fs.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gohugoio/hugo/32af02cd3ea8794b129232b4a30f95562ab5572c/tpl/internal/go_templates/htmltemplate/testdata/fs.zip -------------------------------------------------------------------------------- /tpl/internal/go_templates/htmltemplate/testdata/tmpl1.tmpl: -------------------------------------------------------------------------------- 1 | template1 2 | {{define "x"}}x{{end}} 3 | {{template "y"}} 4 | -------------------------------------------------------------------------------- /tpl/internal/go_templates/htmltemplate/testdata/tmpl2.tmpl: -------------------------------------------------------------------------------- 1 | template2 2 | {{define "y"}}y{{end}} 3 | {{template "x"}} 4 | -------------------------------------------------------------------------------- /tpl/internal/go_templates/staticcheck.conf: -------------------------------------------------------------------------------- 1 | checks = ["none"] -------------------------------------------------------------------------------- /tpl/internal/go_templates/testenv/noopt.go: -------------------------------------------------------------------------------- 1 | // Copyright 2022 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build noopt 6 | 7 | package testenv 8 | 9 | // OptimizationOff reports whether optimization is disabled. 10 | func OptimizationOff() bool { 11 | return true 12 | } 13 | -------------------------------------------------------------------------------- /tpl/internal/go_templates/testenv/opt.go: -------------------------------------------------------------------------------- 1 | // Copyright 2022 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | //go:build !noopt 6 | 7 | package testenv 8 | 9 | // OptimizationOff reports whether optimization is disabled. 10 | func OptimizationOff() bool { 11 | return false 12 | } 13 | -------------------------------------------------------------------------------- /tpl/internal/go_templates/texttemplate/testdata/file1.tmpl: -------------------------------------------------------------------------------- 1 | {{define "x"}}TEXT{{end}} 2 | {{define "dotV"}}{{.V}}{{end}} 3 | -------------------------------------------------------------------------------- /tpl/internal/go_templates/texttemplate/testdata/file2.tmpl: -------------------------------------------------------------------------------- 1 | {{define "dot"}}{{.}}{{end}} 2 | {{define "nested"}}{{template "dot" .}}{{end}} 3 | -------------------------------------------------------------------------------- /tpl/internal/go_templates/texttemplate/testdata/tmpl1.tmpl: -------------------------------------------------------------------------------- 1 | template1 2 | {{define "x"}}x{{end}} 3 | {{template "y"}} 4 | -------------------------------------------------------------------------------- /tpl/internal/go_templates/texttemplate/testdata/tmpl2.tmpl: -------------------------------------------------------------------------------- 1 | template2 2 | {{define "y"}}y{{end}} 3 | {{template "x"}} 4 | -------------------------------------------------------------------------------- /tpl/openapi/docs.go: -------------------------------------------------------------------------------- 1 | // Package openapi provides functions for generating OpenAPI (Swagger) documentation. 2 | package openapi 3 | -------------------------------------------------------------------------------- /tpl/tplimpl/embedded/.gitattributes: -------------------------------------------------------------------------------- 1 | *autogen.go linguist-generated=true 2 | -------------------------------------------------------------------------------- /tpl/tplimpl/embedded/templates/_shortcodes/comment.html: -------------------------------------------------------------------------------- 1 | {{- warnf "The %q shortcode was deprecated in v0.143.0 and will be removed in a future release. Please use HTML comments instead. See %s" .Name .Position -}} 2 | {{- $noop := .Inner -}} 3 | -------------------------------------------------------------------------------- /tpl/tplimpl/embedded/templates/_shortcodes/gist.html: -------------------------------------------------------------------------------- 1 | {{- warnf "The %q shortcode was deprecated in v0.143.0 and will be removed in a future release. See https://gohugo.io/shortcodes/gist for instructions to create a replacement." .Name -}} 2 | 3 | -------------------------------------------------------------------------------- /tpl/tplimpl/embedded/templates/_shortcodes/highlight.html: -------------------------------------------------------------------------------- 1 | {{ if len .Params | eq 2 }}{{ highlight (trim .InnerDeindent "\n\r") (.Get 0) (.Get 1) }}{{ else }}{{ highlight (trim .InnerDeindent "\n\r") (.Get 0) "" }}{{ end }} -------------------------------------------------------------------------------- /tpl/tplimpl/embedded/templates/_shortcodes/instagram_simple.html: -------------------------------------------------------------------------------- 1 | {{- errorf `The %q shortcode was removed in v0.123.0. Use the "instagram" shortcode instead. See %s` .Name .Position -}} 2 | -------------------------------------------------------------------------------- /tpl/tplimpl/embedded/templates/_shortcodes/param.html: -------------------------------------------------------------------------------- 1 | {{- $name := (.Get 0) -}} 2 | {{- with $name -}} 3 | {{- with ($.Page.Param .) }}{{ . }}{{ else }}{{ errorf "Param %q not found: %s" $name $.Position }}{{ end -}} 4 | {{- else }}{{ errorf "Missing param key: %s" $.Position }}{{ end -}} -------------------------------------------------------------------------------- /tpl/tplimpl/embedded/templates/_shortcodes/ref.html: -------------------------------------------------------------------------------- 1 | {{ ref . .Params }} -------------------------------------------------------------------------------- /tpl/tplimpl/embedded/templates/_shortcodes/relref.html: -------------------------------------------------------------------------------- 1 | {{ relref . .Params }} -------------------------------------------------------------------------------- /tpl/tplimpl/embedded/templates/alias.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {{ .Permalink }} 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /tpl/tplimpl/embedded/templates/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | -------------------------------------------------------------------------------- /watchtestscripts.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | trap exit SIGINT 4 | 5 | # I use "run tests on save" in my editor. 6 | # Unfortunately, changes to text files do not trigger this. Hence this workaround. 7 | while true; do find testscripts -type f -name "*.txt" | entr -pd touch main_test.go; done 8 | --------------------------------------------------------------------------------