{"id":5981,"date":"2024-11-26T09:55:36","date_gmt":"2024-11-26T09:55:36","guid":{"rendered":"https:\/\/resizemyimg.com\/blog\/?p=5981"},"modified":"2024-11-26T09:55:36","modified_gmt":"2024-11-26T09:55:36","slug":"how-to-use-templates-built-in-hugo-a-step-by-step-guide","status":"publish","type":"post","link":"https:\/\/resizemyimg.com\/blog\/how-to-use-templates-built-in-hugo-a-step-by-step-guide\/","title":{"rendered":"How to Use Templates Built in Hugo: A Step-by-Step Guide"},"content":{"rendered":"<p>Hugo is a powerful static site generator that simplifies the process of creating fast and efficient websites. A core feature of Hugo is its use of templates, which allow you to design, customize, and manage website layouts with ease.<\/p>\n<p>This guide walks you through how to use the built-in templates in Hugo, ensuring you can maximize its features to create stunning and functional websites.<\/p>\n<h2><strong>What Are Hugo Templates?<\/strong><\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-5982\" src=\"https:\/\/resizemyimg.com\/blog\/wp-content\/uploads\/2024\/11\/What-Are-Hugo-Templates-1024x512.jpg\" alt=\"What Are Hugo Templates?\" width=\"1024\" height=\"512\" srcset=\"https:\/\/resizemyimg.com\/blog\/wp-content\/uploads\/2024\/11\/What-Are-Hugo-Templates-1024x512.jpg 1024w, https:\/\/resizemyimg.com\/blog\/wp-content\/uploads\/2024\/11\/What-Are-Hugo-Templates-300x150.jpg 300w, https:\/\/resizemyimg.com\/blog\/wp-content\/uploads\/2024\/11\/What-Are-Hugo-Templates-575x288.jpg 575w, https:\/\/resizemyimg.com\/blog\/wp-content\/uploads\/2024\/11\/What-Are-Hugo-Templates-768x384.jpg 768w, https:\/\/resizemyimg.com\/blog\/wp-content\/uploads\/2024\/11\/What-Are-Hugo-Templates-1536x768.jpg 1536w, https:\/\/resizemyimg.com\/blog\/wp-content\/uploads\/2024\/11\/What-Are-Hugo-Templates.jpg 1600w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>Hugo templates are pre-designed structures that control the layout and appearance of your website. They streamline web development by eliminating the need to build layouts from scratch.<\/p>\n<p>There are three main types of templates in Hugo:<\/p>\n<ul>\n<li><strong>Single Templates<\/strong>: Define the layout for individual pages, such as blog posts or landing pages.<\/li>\n<li><strong>List Templates<\/strong>: Organize and display collections of content, like blog archives or product lists.<\/li>\n<li><strong>Partial Templates<\/strong>: Reusable components, such as headers, footers, or navigation menus, that simplify consistency across pages.<\/li>\n<\/ul>\n<p>Hugo templates are powered by <em>Go templates<\/em>, a language used to manage dynamic content and customize layouts.<\/p>\n<h2><strong>Setting Up a Hugo Site to Use Templates<\/strong><\/h2>\n<p>Before using templates, you need to set up a Hugo project. Follow these steps:<\/p>\n<ol>\n<li><strong>Initialize Your Hugo Project<\/strong>:<br \/>\nRun the command <code>hugo new site [project-name]<\/code> to create a new site structure.<\/li>\n<li><strong>Understand the Hugo Directory Structure<\/strong>:\n<ul>\n<li>The <code>layouts\/<\/code> folder contains templates for your pages.<\/li>\n<li>The <code>archetypes\/<\/code> folder holds default content models for new pages.<\/li>\n<li>The <code>partials\/<\/code> folder stores reusable template components.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Configure Your Site<\/strong>:<br \/>\nEdit the <code>config.toml<\/code> file to set global site settings, such as title, description, and theme.<\/li>\n<\/ol>\n<h2><strong>How to Use Built-In Hugo Templates?<\/strong><\/h2>\n<p>Hugo includes a variety of built-in templates designed to handle common website needs:<\/p>\n<ul>\n<li><strong>Default Single and List Templates<\/strong>: Automatically apply to individual pages and collections when no custom templates are defined.<\/li>\n<li><strong>Shortcode Templates<\/strong>: Predefined elements like image galleries, buttons, or embedded videos that can be added to content.<\/li>\n<li><strong>SEO, RSS, and Sitemap Templates<\/strong>: Provide search engine optimization and automated generation of RSS feeds and sitemaps.<\/li>\n<\/ul>\n<p>You can assign these templates to specific content types using front matter in your Markdown files.<\/p>\n<h2><strong>Assigning Templates to Content<\/strong><\/h2>\n<p>To use a specific template for a page or section, include front matter in the corresponding Markdown file. For example:<\/p>\n<div class=\"contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative bg-token-sidebar-surface-primary dark:bg-gray-950\">\n<blockquote>\n<div class=\"flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between rounded-t-md h-9 bg-token-sidebar-surface-primary dark:bg-token-main-surface-secondary select-none\">markdown<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"!whitespace-pre hljs language-markdown\">---<br \/>\n<\/code><\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"!whitespace-pre hljs language-markdown\">title: \"My Blog Post\"<br \/>\n<\/code><\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"!whitespace-pre hljs language-markdown\"><span class=\"hljs-section\">layout: \"single\"<\/span><\/code><\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"!whitespace-pre hljs language-markdown\"><span class=\"hljs-section\">---<\/span><br \/>\n<\/code><\/div>\n<\/blockquote>\n<\/div>\n<p>This ensures the page uses the <code>single<\/code> template for its layout. Similarly, list templates are applied to sections like <code>\/blog\/<\/code> or <code>\/products\/<\/code>.<\/p>\n<h3><strong>Customizing Hugo Templates<\/strong><\/h3>\n<p>While built-in templates provide a solid starting point, customization is often necessary to match your website\u2019s style.<\/p>\n<ul>\n<li><strong>Edit Layouts<\/strong>: Modify files in the <code>layouts\/<\/code> folder to change page designs.<\/li>\n<li><strong>Use Partials<\/strong>: Create reusable components for headers, footers, or menus in the <code>partials\/<\/code> folder.<\/li>\n<li><strong>Incorporate CSS and JavaScript<\/strong>: Add custom styles and scripts to enhance visual and interactive elements.<\/li>\n<\/ul>\n<p>Customizing templates helps you align your website with your brand and audience.<\/p>\n<h3><strong>Debugging and Testing Hugo Templates<\/strong><\/h3>\n<p>Testing is crucial to ensure your templates work correctly. Use the following tips:<\/p>\n<ul>\n<li><strong>Live Preview with Hugo Server<\/strong>: Run <code>hugo server<\/code> to preview changes in real time.<\/li>\n<li><strong>Check for Errors<\/strong>: Review the terminal output for warnings or errors, such as undefined variables or incorrect file paths.<\/li>\n<li><strong>Validate Output<\/strong>: Ensure the final HTML, CSS, and JavaScript output meets your expectations.<\/li>\n<\/ul>\n<h3><strong>Best Practices for Using Hugo Templates<\/strong><\/h3>\n<p>To get the most out of Hugo templates:<\/p>\n<ul>\n<li><strong>Keep Templates Modular<\/strong>: Use partials to simplify updates and maintain consistency.<\/li>\n<li><strong>Regularly Update Hugo<\/strong>: New versions often include improved templates and features.<\/li>\n<li><strong>Reuse Components<\/strong>: Avoid redundancy by reusing layouts and partials for similar pages.<\/li>\n<\/ul>\n<p>These practices make managing templates easier and more efficient.<\/p>\n<h3><strong>Advanced Features of Hugo Templates<\/strong><\/h3>\n<p>Hugo\u2019s template engine offers powerful features for advanced customization:<\/p>\n<ul>\n<li><strong>Template Functions<\/strong>: Built-in functions to format dates, manipulate strings, and generate URLs dynamically.<\/li>\n<li><strong>Multilingual Support<\/strong>: Create templates that adapt to multiple languages for global audiences.<\/li>\n<li><strong>Custom Output Formats<\/strong>: Generate non-HTML outputs like JSON or AMP pages directly from your templates.<\/li>\n<\/ul>\n<p>These capabilities make Hugo an ideal tool for complex websites.<\/p>\n<h3><strong>Conclusion<\/strong><\/h3>\n<p>Hugo\u2019s built-in templates simplify the process of creating structured and visually appealing websites. By understanding and customizing these templates, you can design a website that meets your specific needs. Whether you\u2019re building a personal blog or a professional portfolio, Hugo templates provide the flexibility and efficiency you need.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hugo is a powerful static site generator that simplifies the process of creating fast and efficient websites. A core feature of Hugo is its use of templates, which allow you to design, customize, and manage website layouts with ease. <\/p>\n<p class=\"read-more-container\"><a href=\"https:\/\/resizemyimg.com\/blog\/how-to-use-templates-built-in-hugo-a-step-by-step-guide\/\" class=\"read-more button\">Read more<\/a><\/p>\n","protected":false},"author":100,"featured_media":5983,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5981","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-50","no-featured-image-padding"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Use Templates Built in Hugo: A Step-by-Step Guide<\/title>\n<meta name=\"description\" content=\"Learn how to use built-in templates in Hugo to create and customize websites easily. Step-by-step guide, tips, and best practices for efficient web design.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/resizemyimg.com\/blog\/how-to-use-templates-built-in-hugo-a-step-by-step-guide\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Use Templates Built in Hugo: A Step-by-Step Guide\" \/>\n<meta property=\"og:description\" content=\"Learn how to use built-in templates in Hugo to create and customize websites easily. Step-by-step guide, tips, and best practices for efficient web design.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/resizemyimg.com\/blog\/how-to-use-templates-built-in-hugo-a-step-by-step-guide\/\" \/>\n<meta property=\"og:site_name\" content=\"Resize my Image Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webfactoryltd\/\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-26T09:55:36+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/resizemyimg.com\/blog\/wp-content\/uploads\/2024\/11\/How-to-Use-Templates-Built-in-Hugo.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1600\" \/>\n\t<meta property=\"og:image:height\" content=\"800\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"rizwan\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webfactoryltd\" \/>\n<meta name=\"twitter:site\" content=\"@webfactoryltd\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"rizwan\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/resizemyimg.com\/blog\/how-to-use-templates-built-in-hugo-a-step-by-step-guide\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/resizemyimg.com\/blog\/how-to-use-templates-built-in-hugo-a-step-by-step-guide\/\"},\"author\":{\"name\":\"rizwan\",\"@id\":\"https:\/\/resizemyimg.com\/blog\/#\/schema\/person\/69b26b5beb17b7d46301e2380efc0f98\"},\"headline\":\"How to Use Templates Built in Hugo: A Step-by-Step Guide\",\"datePublished\":\"2024-11-26T09:55:36+00:00\",\"dateModified\":\"2024-11-26T09:55:36+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/resizemyimg.com\/blog\/how-to-use-templates-built-in-hugo-a-step-by-step-guide\/\"},\"wordCount\":693,\"publisher\":{\"@id\":\"https:\/\/resizemyimg.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/resizemyimg.com\/blog\/how-to-use-templates-built-in-hugo-a-step-by-step-guide\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/resizemyimg.com\/blog\/wp-content\/uploads\/2024\/11\/How-to-Use-Templates-Built-in-Hugo.jpg\",\"articleSection\":[\"Blog\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/resizemyimg.com\/blog\/how-to-use-templates-built-in-hugo-a-step-by-step-guide\/\",\"url\":\"https:\/\/resizemyimg.com\/blog\/how-to-use-templates-built-in-hugo-a-step-by-step-guide\/\",\"name\":\"How to Use Templates Built in Hugo: A Step-by-Step Guide\",\"isPartOf\":{\"@id\":\"https:\/\/resizemyimg.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/resizemyimg.com\/blog\/how-to-use-templates-built-in-hugo-a-step-by-step-guide\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/resizemyimg.com\/blog\/how-to-use-templates-built-in-hugo-a-step-by-step-guide\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/resizemyimg.com\/blog\/wp-content\/uploads\/2024\/11\/How-to-Use-Templates-Built-in-Hugo.jpg\",\"datePublished\":\"2024-11-26T09:55:36+00:00\",\"dateModified\":\"2024-11-26T09:55:36+00:00\",\"description\":\"Learn how to use built-in templates in Hugo to create and customize websites easily. Step-by-step guide, tips, and best practices for efficient web design.\",\"breadcrumb\":{\"@id\":\"https:\/\/resizemyimg.com\/blog\/how-to-use-templates-built-in-hugo-a-step-by-step-guide\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/resizemyimg.com\/blog\/how-to-use-templates-built-in-hugo-a-step-by-step-guide\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/resizemyimg.com\/blog\/how-to-use-templates-built-in-hugo-a-step-by-step-guide\/#primaryimage\",\"url\":\"https:\/\/resizemyimg.com\/blog\/wp-content\/uploads\/2024\/11\/How-to-Use-Templates-Built-in-Hugo.jpg\",\"contentUrl\":\"https:\/\/resizemyimg.com\/blog\/wp-content\/uploads\/2024\/11\/How-to-Use-Templates-Built-in-Hugo.jpg\",\"width\":1600,\"height\":800},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/resizemyimg.com\/blog\/how-to-use-templates-built-in-hugo-a-step-by-step-guide\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/resizemyimg.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Use Templates Built in Hugo: A Step-by-Step Guide\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/resizemyimg.com\/blog\/#website\",\"url\":\"https:\/\/resizemyimg.com\/blog\/\",\"name\":\"Resize my Image Blog\",\"description\":\"News, insights, tips&amp;tricks on image related business &amp; SaaS\",\"publisher\":{\"@id\":\"https:\/\/resizemyimg.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/resizemyimg.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/resizemyimg.com\/blog\/#organization\",\"name\":\"WebFactory Ltd\",\"url\":\"https:\/\/resizemyimg.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/resizemyimg.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/resizemyimg.com\/blog\/wp-content\/uploads\/2019\/12\/webfactory_icon.png\",\"contentUrl\":\"https:\/\/resizemyimg.com\/blog\/wp-content\/uploads\/2019\/12\/webfactory_icon.png\",\"width\":300,\"height\":300,\"caption\":\"WebFactory Ltd\"},\"image\":{\"@id\":\"https:\/\/resizemyimg.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webfactoryltd\/\",\"https:\/\/x.com\/webfactoryltd\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/resizemyimg.com\/blog\/#\/schema\/person\/69b26b5beb17b7d46301e2380efc0f98\",\"name\":\"rizwan\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/resizemyimg.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1a039797452387f5fb22250bfcebdf3b?s=96&d=monsterid&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/1a039797452387f5fb22250bfcebdf3b?s=96&d=monsterid&r=g\",\"caption\":\"rizwan\"},\"url\":\"https:\/\/resizemyimg.com\/blog\/author\/rizwan\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Use Templates Built in Hugo: A Step-by-Step Guide","description":"Learn how to use built-in templates in Hugo to create and customize websites easily. Step-by-step guide, tips, and best practices for efficient web design.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/resizemyimg.com\/blog\/how-to-use-templates-built-in-hugo-a-step-by-step-guide\/","og_locale":"en_US","og_type":"article","og_title":"How to Use Templates Built in Hugo: A Step-by-Step Guide","og_description":"Learn how to use built-in templates in Hugo to create and customize websites easily. Step-by-step guide, tips, and best practices for efficient web design.","og_url":"https:\/\/resizemyimg.com\/blog\/how-to-use-templates-built-in-hugo-a-step-by-step-guide\/","og_site_name":"Resize my Image Blog","article_publisher":"https:\/\/www.facebook.com\/webfactoryltd\/","article_published_time":"2024-11-26T09:55:36+00:00","og_image":[{"width":1600,"height":800,"url":"https:\/\/resizemyimg.com\/blog\/wp-content\/uploads\/2024\/11\/How-to-Use-Templates-Built-in-Hugo.jpg","type":"image\/jpeg"}],"author":"rizwan","twitter_card":"summary_large_image","twitter_creator":"@webfactoryltd","twitter_site":"@webfactoryltd","twitter_misc":{"Written by":"rizwan","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/resizemyimg.com\/blog\/how-to-use-templates-built-in-hugo-a-step-by-step-guide\/#article","isPartOf":{"@id":"https:\/\/resizemyimg.com\/blog\/how-to-use-templates-built-in-hugo-a-step-by-step-guide\/"},"author":{"name":"rizwan","@id":"https:\/\/resizemyimg.com\/blog\/#\/schema\/person\/69b26b5beb17b7d46301e2380efc0f98"},"headline":"How to Use Templates Built in Hugo: A Step-by-Step Guide","datePublished":"2024-11-26T09:55:36+00:00","dateModified":"2024-11-26T09:55:36+00:00","mainEntityOfPage":{"@id":"https:\/\/resizemyimg.com\/blog\/how-to-use-templates-built-in-hugo-a-step-by-step-guide\/"},"wordCount":693,"publisher":{"@id":"https:\/\/resizemyimg.com\/blog\/#organization"},"image":{"@id":"https:\/\/resizemyimg.com\/blog\/how-to-use-templates-built-in-hugo-a-step-by-step-guide\/#primaryimage"},"thumbnailUrl":"https:\/\/resizemyimg.com\/blog\/wp-content\/uploads\/2024\/11\/How-to-Use-Templates-Built-in-Hugo.jpg","articleSection":["Blog"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/resizemyimg.com\/blog\/how-to-use-templates-built-in-hugo-a-step-by-step-guide\/","url":"https:\/\/resizemyimg.com\/blog\/how-to-use-templates-built-in-hugo-a-step-by-step-guide\/","name":"How to Use Templates Built in Hugo: A Step-by-Step Guide","isPartOf":{"@id":"https:\/\/resizemyimg.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/resizemyimg.com\/blog\/how-to-use-templates-built-in-hugo-a-step-by-step-guide\/#primaryimage"},"image":{"@id":"https:\/\/resizemyimg.com\/blog\/how-to-use-templates-built-in-hugo-a-step-by-step-guide\/#primaryimage"},"thumbnailUrl":"https:\/\/resizemyimg.com\/blog\/wp-content\/uploads\/2024\/11\/How-to-Use-Templates-Built-in-Hugo.jpg","datePublished":"2024-11-26T09:55:36+00:00","dateModified":"2024-11-26T09:55:36+00:00","description":"Learn how to use built-in templates in Hugo to create and customize websites easily. Step-by-step guide, tips, and best practices for efficient web design.","breadcrumb":{"@id":"https:\/\/resizemyimg.com\/blog\/how-to-use-templates-built-in-hugo-a-step-by-step-guide\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/resizemyimg.com\/blog\/how-to-use-templates-built-in-hugo-a-step-by-step-guide\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/resizemyimg.com\/blog\/how-to-use-templates-built-in-hugo-a-step-by-step-guide\/#primaryimage","url":"https:\/\/resizemyimg.com\/blog\/wp-content\/uploads\/2024\/11\/How-to-Use-Templates-Built-in-Hugo.jpg","contentUrl":"https:\/\/resizemyimg.com\/blog\/wp-content\/uploads\/2024\/11\/How-to-Use-Templates-Built-in-Hugo.jpg","width":1600,"height":800},{"@type":"BreadcrumbList","@id":"https:\/\/resizemyimg.com\/blog\/how-to-use-templates-built-in-hugo-a-step-by-step-guide\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/resizemyimg.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Use Templates Built in Hugo: A Step-by-Step Guide"}]},{"@type":"WebSite","@id":"https:\/\/resizemyimg.com\/blog\/#website","url":"https:\/\/resizemyimg.com\/blog\/","name":"Resize my Image Blog","description":"News, insights, tips&amp;tricks on image related business &amp; SaaS","publisher":{"@id":"https:\/\/resizemyimg.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/resizemyimg.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/resizemyimg.com\/blog\/#organization","name":"WebFactory Ltd","url":"https:\/\/resizemyimg.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/resizemyimg.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/resizemyimg.com\/blog\/wp-content\/uploads\/2019\/12\/webfactory_icon.png","contentUrl":"https:\/\/resizemyimg.com\/blog\/wp-content\/uploads\/2019\/12\/webfactory_icon.png","width":300,"height":300,"caption":"WebFactory Ltd"},"image":{"@id":"https:\/\/resizemyimg.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webfactoryltd\/","https:\/\/x.com\/webfactoryltd"]},{"@type":"Person","@id":"https:\/\/resizemyimg.com\/blog\/#\/schema\/person\/69b26b5beb17b7d46301e2380efc0f98","name":"rizwan","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/resizemyimg.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/1a039797452387f5fb22250bfcebdf3b?s=96&d=monsterid&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1a039797452387f5fb22250bfcebdf3b?s=96&d=monsterid&r=g","caption":"rizwan"},"url":"https:\/\/resizemyimg.com\/blog\/author\/rizwan\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/resizemyimg.com\/blog\/wp-json\/wp\/v2\/posts\/5981"}],"collection":[{"href":"https:\/\/resizemyimg.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/resizemyimg.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/resizemyimg.com\/blog\/wp-json\/wp\/v2\/users\/100"}],"replies":[{"embeddable":true,"href":"https:\/\/resizemyimg.com\/blog\/wp-json\/wp\/v2\/comments?post=5981"}],"version-history":[{"count":2,"href":"https:\/\/resizemyimg.com\/blog\/wp-json\/wp\/v2\/posts\/5981\/revisions"}],"predecessor-version":[{"id":5985,"href":"https:\/\/resizemyimg.com\/blog\/wp-json\/wp\/v2\/posts\/5981\/revisions\/5985"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/resizemyimg.com\/blog\/wp-json\/wp\/v2\/media\/5983"}],"wp:attachment":[{"href":"https:\/\/resizemyimg.com\/blog\/wp-json\/wp\/v2\/media?parent=5981"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/resizemyimg.com\/blog\/wp-json\/wp\/v2\/categories?post=5981"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/resizemyimg.com\/blog\/wp-json\/wp\/v2\/tags?post=5981"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}