FUNCTIONShasPrefixSyntaxhasPrefix STRING PREFIX{{ hasPrefix "Hugo" "Hu" }} → trueAbout HugoOverviewHugo and GDPRHugo 0.32 HOWTOWhat is HugoHugo FeaturesThe Benefits of StaticLicenseGetting StartedGet Started OverviewQuick StartInstall HugoBasic UsageDirectory StructureConfigurationThemesThemes OverviewInstall and Use ThemesTheme ComponentsCreate a ThemeContent ManagementContent Management OverviewOrganizationPage BundlesSupported Content FormatsFront MatterPage ResourcesImage ProcessingShortcodesRelated ContentSectionsTypesArchetypesTaxonomiesSummariesLinks and Cross ReferencesURL ManagementMenusStatic FilesTable of ContentsCommentsMultilingual and i18nSyntax HighlightingTemplatesTemplates OverviewIntroductionTemplate Lookup OrderCustom Output FormatsBase Templates and BlocksList Page TemplatesHomepage TemplateSection TemplatesTaxonomy TemplatesSingle Page TemplatesContent View TemplatesData TemplatesPartial TemplatesShortcode TemplatesLocal File Templates404 PageMenu TemplatesPaginationRSS TemplatesSitemap TemplateRobots.txtInternal TemplatesAlternative TemplatingTemplate DebuggingFunctionsFunctions Quick Reference.AddDate.Format.Get.GetPage.HasMenuCurrent.IsMenuCurrent.Param.Render.Scratch.UnixMathabsLangURLabsURLafteranchorizeappendapplybase64chompcomplementcondcountrunescountwordsdateFormatdefaultdelimitdictechoParamemojifyeqerrorffileExistsfindREfirstfloatgegetenvgroupgthasPrefixhighlighthtmlEscapehtmlUnescapehumanizei18nimageConfiginindexintintersectissetjsonifylang.Mergelang.NumFmtlastlelowerltmarkdownifymd5nenowos.StatpartialCachedpath.Basepath.Dirpath.Extpath.Joinpath.SplitplainifypluralizeprintprintfprintlnquerifyrangereadDirreadFilerefreflect.IsMapreflect.IsSlicerelLangURLrelURLrelrefreplacereplaceREsafeCSSsafeHTMLsafeHTMLAttrsafeJSsafeURLseqshashufflesingularizesliceslicestrsortsplitstringstrings.Repeatstrings.RuneCountstrings.TrimLeftstrings.TrimPrefixstrings.TrimRightstrings.TrimSuffixsubstrsymdifftemplates.Existstimetitletransform.Unmarshaltrimtruncateunionuniqupperurlizeurls.ParsewherewithVariablesVariables OverviewSite VariablesPage VariablesShortcode VariablesTaxonomy VariablesFile VariablesMenu Entry PropertiesHugo VariablesGit VariablesSitemap VariablesHugo PipesHugo Pipes OverviewHugo Pipes IntroductionSASS / SCSSPostCSSAsset minificationAsset bundlingFingerprinting and SRIResource from TemplateResource from StringCLITroubleshootingTroubleshootFAQBuild PerformanceToolsDeveloper Tools OverviewMigrationsStarter KitsFrontendsEditor Plug-insSearchOther ProjectsHosting & DeploymentHosting & Deployment OverviewHost-Agnostic Deploys with NanoboxHost on AWS AmplifyHost on NetlifyHost on FirebaseHost on GitHubHost on GitLabHosting on KeyCDNHost on BitbucketDeployment with WerckerDeployment with RsyncContributeContribute to HugoDevelopmentDocumentationThemesMaintenance