<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Website_setups on </title>
    <link>https://recipes.jbkglimited.com/website_setup/</link>
    <description>Recent content in Website_setups on </description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Wed, 12 Feb 2025 17:32:53 -0500</lastBuildDate><atom:link href="https://recipes.jbkglimited.com/website_setup/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>First Steps with Hugo</title>
      <link>https://recipes.jbkglimited.com/website_setup/hugo_website_how_to/</link>
      <pubDate>Wed, 12 Feb 2025 17:32:53 -0500</pubDate>
      
      <guid>https://recipes.jbkglimited.com/website_setup/hugo_website_how_to/</guid>
      <description>&lt;h1 id=&#34;so-youve-decided-to-make-a-static-site-blog&#34;&gt;So you&amp;rsquo;ve decided to make a static site blog&lt;/h1&gt;
&lt;hr&gt;
&lt;p&gt;I&amp;rsquo;m a sysadmin. I know computers. I should be able to get something like Hugo working, right? Right!?&lt;/p&gt;
&lt;p&gt;I run a WordPress site for my kendo club and lately I&amp;rsquo;ve been reading about security concerns and governence issues with WordPress.
So I thought &amp;ldquo;I&amp;rsquo;ll read up on self-hosted blogging alternatives&amp;rdquo;. I listen to the Late Night Linux family of podcasts and I heard them talking about Hugo. &lt;em&gt;Let&amp;rsquo;s give that a shot&lt;/em&gt; I though. Here&amp;rsquo;s my lessons learned, and learning, from that experience.&lt;/p&gt;</description>
      <content>&lt;h1 id=&#34;so-youve-decided-to-make-a-static-site-blog&#34;&gt;So you&amp;rsquo;ve decided to make a static site blog&lt;/h1&gt;
&lt;hr&gt;
&lt;p&gt;I&amp;rsquo;m a sysadmin. I know computers. I should be able to get something like Hugo working, right? Right!?&lt;/p&gt;
&lt;p&gt;I run a WordPress site for my kendo club and lately I&amp;rsquo;ve been reading about security concerns and governence issues with WordPress.
So I thought &amp;ldquo;I&amp;rsquo;ll read up on self-hosted blogging alternatives&amp;rdquo;. I listen to the Late Night Linux family of podcasts and I heard them talking about Hugo. &lt;em&gt;Let&amp;rsquo;s give that a shot&lt;/em&gt; I though. Here&amp;rsquo;s my lessons learned, and learning, from that experience.&lt;/p&gt;
&lt;h2 id=&#34;technology-stack&#34;&gt;Technology Stack&lt;/h2&gt;
&lt;p&gt;First off: the stack. I have a VPS running Ubuntu 22.04. I serve web pages using NGINX with certs provided by Let&amp;rsquo;s Encrypt. I have DNS hosting and use their management console for my records. I also have PHP-FPM installed but it&amp;rsquo;s not relevant to Hugo because Hugo creates static sites in HTML. I&amp;rsquo;ve done a fair amount of configuration in my life and I can get a PHP app working behind an NGINX reverse proxy. I&amp;rsquo;m even proxying some Docker apps. I like to run things non-containerized but I can follow docs and get things going if I have to.&lt;/p&gt;
&lt;h2 id=&#34;hugo--github-setup&#34;&gt;Hugo + GitHub Setup&lt;/h2&gt;
&lt;p&gt;Making a site in Hugo can be done on almost any machine. I&amp;rsquo;d rather work in an IDE than on the VPS so I&amp;rsquo;m setting up Git access on both. I&amp;rsquo;ll do the content creation on my Mac, run &lt;code&gt;hugo&lt;/code&gt; to generate the static pages, push it to Git and then pull it on the VPS. To get things started I did the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Installed Hugo via brew on MacOS. If you don&amp;rsquo;t have HomeBrew you can &lt;a href=&#34;https://brew.sh/&#34;&gt;install it using these directions&lt;/a&gt;
&lt;code&gt;brew update &amp;amp;&amp;amp; brew install hugo&lt;/code&gt;
This installed Hugo 0.143.1 which appears to support Hugo Enhanced&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Made a directory called &lt;code&gt;hugo_testing&lt;/code&gt; in my home folder&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Hugo uses the &lt;code&gt;hugo&lt;/code&gt; command to do all its actions. I created a new site by running this in the &lt;code&gt;hugo_testing&lt;/code&gt; folder (Note - the &amp;ndash;force option is in case you already did &lt;code&gt;git init&lt;/code&gt; and the directory isn&amp;rsquo;t empty. I ended up doing this multiple times.)
&lt;code&gt;hugo new site . --force&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Made a new git project using
&lt;code&gt;git init&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Set up SSH access for Github. Add the lines below to ~/.ssh/config
&lt;code&gt;Host github.com IdentityFile ~/.ssh/[your private key] IdentitiesOnly yes&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Set the remote repository for this project to my repo in Github. This makes you authenticate with your SSH key, which ought to be password-protected.
&lt;code&gt;remote add origin git@github.com:redshiftltd/hugo_testing.git&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Add the files to the local repo
&lt;code&gt;git add .&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Make a new commit
&lt;code&gt;git commit -a -m &amp;quot;initial commit&amp;quot;&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Push that data to the Github repo
&lt;code&gt;git push -v origin main&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;That&amp;rsquo;s the initial setup done. Now on to configuring Hugo and making &amp;lsquo;content&amp;rsquo;.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&#34;hugo-structure&#34;&gt;Hugo Structure&lt;/h2&gt;
&lt;p&gt;Hugo has as interesting structure and doesn&amp;rsquo;t really need a lot of assets to make a few static pages. The basic setup is&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-plain&#34; data-lang=&#34;plain&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Website Root Directory
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;           |
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;           |-&amp;gt; &amp;#39;content&amp;#39; folder
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                    |
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                    |-&amp;gt; Subfolders with your posts/images/media files
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;           |-&amp;gt; &amp;#39;layouts&amp;#39; folder
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                    |
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                    |-&amp;gt; &amp;#39;\_default&amp;#39; folder that supplies the default layout of the site
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                    |-&amp;gt; &amp;#39;partials&amp;#39; folder that holds re-usable code 
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;           |-&amp;gt; &amp;#39;public&amp;#39; folder. Hugo makes this when you run the hugo command. Don&amp;#39;t touch anything in here
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;           |-&amp;gt; &amp;#39;resources&amp;#39; folder. I think this holds css/scss code
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;           |-&amp;gt; &amp;#39;static&amp;#39; folder. Dunno? I don&amp;#39;t have anything in here yet
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;           |-&amp;gt; &amp;#39;themes&amp;#39; folder. Holds themes that [you can browse here](https://themes.gohugo.io/)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;           hugo.toml -&amp;gt; Main config file
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;           .gitmodules -&amp;gt; Listing of submodules, usually themes, that your site uses
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Defaults in hugo are prefaced by _[pagename] for example _index.md If _index.md exists in a folder under &amp;lsquo;content&amp;rsquo; it will provide the main post content to the page in that directory. I think for subdirectories it can also provide a template if a &amp;rsquo;normal&amp;rsquo; index.md doesn&amp;rsquo;t exist.&lt;/p&gt;
&lt;p&gt;Hugo has &amp;lsquo;page bundles&amp;rsquo;, directories that contain both content and resources. They also use a &amp;rsquo;leaves and branches&amp;rsquo; approach to pages. Branches can contain leaves but not vice versa. Leaves generally contain an index.md file but branches generally contain a _index.md file. _index.md can be used as the default page for any leaf/branch. I&amp;rsquo;ve been using it as a table of contents page for high level pages.&lt;/p&gt;
&lt;h2 id=&#34;front-matter&#34;&gt;Front Matter&lt;/h2&gt;
&lt;p&gt;Hugo stores metadata for each page at the top of each file and calls it &amp;lsquo;front matter&amp;rsquo;. Many attributes can be defined here, called parameters.
Those parameters can then be accessed using a double curly brace notation like&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;{{ .Params.Author }}
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Default front matter attributes are :&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;title&lt;/li&gt;
&lt;li&gt;date&lt;/li&gt;
&lt;li&gt;draft status&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;taxonomies&#34;&gt;Taxonomies&lt;/h3&gt;
&lt;p&gt;Grouping pages can be done with taxonomies. These are set in the front matter using the &lt;code&gt;tags:&lt;/code&gt; attribute and/or using the &lt;code&gt;categories:&lt;/code&gt; attribute. Syntax is below:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;+++
date = &amp;#39;{{ .Date }}&amp;#39;
draft = true
title = &amp;#39;{{ replace .File.ContentBaseName &amp;#34;-&amp;#34; &amp;#34; &amp;#34; | title }}&amp;#39;
tags: [&amp;#34;tag1&amp;#34;, &amp;#34;tag2&amp;#34;]
categories: [&amp;#34;cat1&amp;#34;, &amp;#34;cat2&amp;#34;]
+++
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Taxonomies aren&amp;rsquo;t visible by default but can be displayed. Hugo will aggregate pages based on tags and categories and create a list template page for all pages with a given tag/category.
Hugo also supports arbitrary values for taxonomies using the same syntax but they need to be declared in the hugo.toml file. Note - the definition needs to be &lt;em&gt;singular&lt;/em&gt; = &lt;em&gt;&amp;ldquo;plural&amp;rdquo;&lt;/em&gt;. Also note that you need to define Hugo&amp;rsquo;s default taxonomies if you choose to extend them.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;[taxonomies]
  tag = &amp;#34;tags&amp;#34;
  category = &amp;#34;categories&amp;#34;
  mood = &amp;#34;moods&amp;#34;
&lt;/code&gt;&lt;/pre&gt;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;+++
date = &amp;#39;{{ .Date }}&amp;#39;
draft = true
title = &amp;#39;{{ replace .File.ContentBaseName &amp;#34;-&amp;#34; &amp;#34; &amp;#34; | title }}&amp;#39;
tags: [&amp;#34;tag1&amp;#34;, &amp;#34;tag2&amp;#34;]
categories: [&amp;#34;cat1&amp;#34;, &amp;#34;cat2&amp;#34;]
moods: [&amp;#34;Happy&amp;#34;, &amp;#34;Energizing&amp;#34;]
+++
&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;archtypes&#34;&gt;Archtypes&lt;/h3&gt;
&lt;p&gt;Archtypes are used to define custom front matter for new pages. In the &lt;code&gt;archtypes&lt;/code&gt; folder of your Hugo installation you&amp;rsquo;ll find the file &lt;code&gt;default.md&lt;/code&gt; that defines the front matter:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;+++
date = &amp;#39;{{ .Date }}&amp;#39;
draft = true
title = &amp;#39;{{ replace .File.ContentBaseName &amp;#34;-&amp;#34; &amp;#34; &amp;#34; | title }}&amp;#39;
+++
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Notice how the date is auto generated. Draft is set to true.
The title is generated from the filename in &lt;code&gt;content/&lt;/code&gt; and replaces &lt;code&gt;-&lt;/code&gt; characters with spaces.
You can customize this. If you want to have an &lt;code&gt;Author&lt;/code&gt; attribute you can set it like so:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;+++
date = &amp;#39;{{ .Date }}&amp;#39;
author = &amp;#34;Brandon&amp;#34;
draft = true
title = &amp;#39;{{ replace .File.ContentBaseName &amp;#34;-&amp;#34; &amp;#34; &amp;#34; | title }}&amp;#39;
+++
&lt;/code&gt;&lt;/pre&gt;&lt;h4 id=&#34;customizing-archtypes&#34;&gt;Customizing Archtypes&lt;/h4&gt;
&lt;p&gt;Archtypes can be set for specific content directories as well. In the &lt;code&gt;archtypes&lt;/code&gt; directory create a file called &lt;code&gt;*directoryname.md*&lt;/code&gt; with that file created when you run &lt;code&gt;hugo new content/*directory*/*filename*.md&lt;/code&gt; hugo will look for any available archtypes with that directory defined and use the values there instead of the defaults.&lt;/p&gt;
&lt;h2 id=&#34;creating-content&#34;&gt;Creating Content&lt;/h2&gt;
&lt;p&gt;To make a new page go to the &lt;code&gt;/var/www/html/*subdomain.your_website_name*.com/&lt;/code&gt; folder and run the command &lt;code&gt;hugo new content/*folder_name*/*page_name*.md&lt;/code&gt; This will create a new file, &lt;em&gt;page_name&lt;/em&gt;.md with the proper &amp;lsquo;front matter&amp;rsquo; that gets interpreted by Hugo to create and render the page. An example of front matter is below. Note the &lt;code&gt;draft = false&lt;/code&gt; line, which defaults to &lt;code&gt;true&lt;/code&gt;. If you don&amp;rsquo;t set that to &lt;code&gt;false&lt;/code&gt; then Hugo will hide the page until you do.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-plain&#34; data-lang=&#34;plain&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;+++
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;date = &amp;#39;2025-02-14T17:23:30-05:00&amp;#39;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;draft = false
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;title = &amp;#39;Chana Masala&amp;#39;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;+++
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Under the &lt;code&gt;+++&lt;/code&gt; you can add anything to create your page. Hugo uses &lt;a href=&#34;https://markdownguide.offshoot.io/basic-syntax/&#34;&gt;Markdown&lt;/a&gt; and some &lt;a href=&#34;https://gohugo.io/shortcodes/&#34;&gt;Hugo specific shortcodes&lt;/a&gt; to display content.&lt;/p&gt;
&lt;p&gt;Resources (images, video, etc) are referenced from the &lt;code&gt;/content&lt;/code&gt; directory. The code below displays an image from the &lt;code&gt;content/soups_stews_chilis/&lt;/code&gt; directory:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-plain&#34; data-lang=&#34;plain&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
  &lt;figure class=&#34;left&#34; &gt;
    &lt;img src=&#34;https://recipes.jbkglimited.com/soups_stews_chilis/chana_masala.jpg&#34;  alt=&#34;Chana Masala&#34;   /&gt;
    
      &lt;figcaption class=&#34;center&#34; &gt;Chana Masala&lt;/figcaption&gt;
    
  &lt;/figure&gt;


&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&#34;shortcodes&#34;&gt;Shortcodes&lt;/h2&gt;
&lt;p&gt;Hugo has a lot of pre-defined &lt;em&gt;shortcodes&lt;/em&gt; that allow for common web functions without you having to program them.&lt;/p&gt;
&lt;p&gt;{{&amp;lt; shortcote name parameter &amp;gt;}}&lt;/p&gt;
&lt;p&gt;For example, you can embed a YouTube video using the syntax below:&lt;/p&gt;
&lt;p&gt;{{&amp;lt; youtube 2xkNJL4gJ9E &amp;gt;}}&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&lt;div style=&#34;position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;&#34;&gt;
      &lt;iframe allow=&#34;accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share; fullscreen&#34; loading=&#34;eager&#34; referrerpolicy=&#34;strict-origin-when-cross-origin&#34; src=&#34;https://www.youtube.com/embed/2xkNJL4gJ9E?autoplay=0&amp;amp;controls=1&amp;amp;end=0&amp;amp;loop=0&amp;amp;mute=0&amp;amp;start=0&#34; style=&#34;position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;&#34; title=&#34;YouTube video&#34;&gt;&lt;/iframe&gt;
    &lt;/div&gt;

&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;pulling-content&#34;&gt;Pulling Content&lt;/h2&gt;
&lt;p&gt;On the server sign in as root
Go to the site directory -&amp;gt; cd /var/www/html/&lt;em&gt;subdomain.your_website_name&lt;/em&gt;.com
Pull the updated files -&amp;gt; git pull &lt;a href=&#34;mailto:git@github.com&#34;&gt;git@github.com&lt;/a&gt;:/&lt;em&gt;your_repo_name.git&lt;/em&gt;
Check the site -&amp;gt; https://&lt;em&gt;subdomain.your_website_name&lt;/em&gt;.com&lt;/p&gt;
&lt;h2 id=&#34;themes&#34;&gt;Themes&lt;/h2&gt;
&lt;p&gt;As of this writing Hugo has about 300 themes hosted &lt;a href=&#34;https://themes.gohugo.io/&#34;&gt;here&lt;/a&gt;. Themes go in the /var/www/html/&lt;em&gt;subdomain.your_website_name&lt;/em&gt;.com/themes directory. Integrating them into Hugo is not as simple as just downloading the theme into a new folder though. You need to either:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;- Integrate the theme as a Hugo module (I don&#39;t know how to do this yet)

- Make Git aware of the theme as a submodule
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;So far I&amp;rsquo;ve tried out the Re-Terminal and Risotto themes. Here&amp;rsquo;s how I installed the Terminal theme based on the author&amp;rsquo;s docs:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-shell&#34; data-lang=&#34;shell&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;cd /var/www/html/*subdomain.your_website_name*.com/
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;git clone https://github.com/mirus-ua/hugo-theme-re-terminal.git themes/re-terminal
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;git submodule add -f https://github.com/mirus-ua/hugo-theme-re-terminal.git themes/re-terminal
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Note: To see what submodules you have in your project edit the file .gitmodules&lt;/p&gt;
&lt;p&gt;You can play with the new theme locally using &lt;code&gt;hugo server -t re-terminal&lt;/code&gt; and navigating to http://localhost:1313
The file hugo.toml contains settings that themes need to work correctly. You&amp;rsquo;ll have to check the theme documentation to see what needs to be customized. I&amp;rsquo;ve been saving &lt;code&gt;hugo.toml&lt;/code&gt; files as `hugo.toml_&lt;em&gt;themename&lt;/em&gt;`` in case I want to switch them around.&lt;/p&gt;
&lt;h2 id=&#34;customizing-themes&#34;&gt;Customizing Themes&lt;/h2&gt;
</content>
    </item>
    
  </channel>
</rss>
