FUNCTIONSintSyntaxint INPUTUseful for turning strings into numbers.{{ int "123" }} → 123 See Alsoerrorf and warnffloatdateFormatemojifyhtmlEscapeAbout HugoOverviewHugo's Security ModelHugo and GDPRWhat is HugoHugo FeaturesThe Benefits of StaticLicenseGetting StartedGet Started OverviewQuick StartInstall HugoBasic UsageDirectory StructureConfigurationExternal Learning ResourcesHugo ModulesHugo Modules OverviewConfigure ModulesUse Hugo ModulesTheme ComponentsContent ManagementContent Management OverviewOrganizationPage BundlesContent FormatsFront MatterBuild OptionsPage ResourcesImage ProcessingShortcodesRelated ContentSectionsContent TypesArchetypesTaxonomiesSummariesLinks 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.RenderString.Scratch.UnixabsLangURLabsURLafteranchorizeappendapplybase64chompcomplementcondcountrunescountwordsdateFormatdefaultdelimitdictechoParamemojifyeqerrorf and warnffileExistsfindREfirstfloatgegetenvgroupgthasPrefixhighlighthtmlEscapehtmlUnescapehugohumanizei18nImage Functionsinindexintintersectissetjsonifylang.Mergelang.NumFmtlastlelenlowerltmarkdownifyMathmd5mergenenowos.StatpartialCachedpath.Basepath.Dirpath.Extpath.Joinpath.SplitplainifypluralizeprintprintfprintlnquerifyrangereadDirreadFilerefreflect.IsMapreflect.IsSlicerelLangURLrelrefrelURLreplacereplaceREsafeCSSsafeHTMLsafeHTMLAttrsafeJSsafeURLseqshashufflesingularizesliceslicestrsortsplitstringstrings.HasSuffixstrings.Repeatstrings.RuneCountstrings.TrimLeftstrings.TrimPrefixstrings.TrimRightstrings.TrimSuffixsubstrsymdifftemplates.Existstimetitletransform.Unmarshaltrimtruncateunionuniqupperurlizeurls.ParsewherewithVariablesVariables OverviewSite VariablesPage VariablesShortcode VariablesPages MethodsTaxonomy VariablesFile VariablesMenu Entry PropertiesHugo VariablesGit VariablesSitemap VariablesHugo PipesHugo Pipes OverviewHugo Pipes IntroductionSASS / SCSSPostProcessPostCSSBabelAsset minificationAsset bundlingFingerprinting and SRIResource from TemplateResource from StringCLITroubleshootingTroubleshootFAQBuild PerformanceToolsDeveloper Tools OverviewMigrationsStarter KitsFrontendsEditor Plug-insSearchOther ProjectsHosting & DeploymentHosting & Deployment OverviewHugo DeployHost-Agnostic Deploys with NanoboxHost on AWS AmplifyHost on NetlifyHost on RenderHost on FirebaseHost on GitHubHost on GitLabHosting on KeyCDNHost on BitbucketDeployment with WerckerDeployment with RsyncContributeContribute to HugoDevelopmentDocumentationThemesMaintenance