<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Home on Hugo Mini Course</title><link>https://hugo-mini-course.netlify.app/</link><description>Recent content in Home on Hugo Mini Course</description><generator>Hugo -- gohugo.io</generator><atom:link href="https://hugo-mini-course.netlify.app/index.xml" rel="self" type="application/rss+xml"/><item><title>Build</title><link>https://hugo-mini-course.netlify.app/sections/deploy/build/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hugo-mini-course.netlify.app/sections/deploy/build/</guid><description>Congratulations on creating your new site! 🎉
You have accomplished to build something completely from scratch, now it&amp;rsquo;s time to show it to the world!
Before we begin deploying our servers, we need to understand the build process.
The Process The Hugo build process is simple in theory, we run a command in our terminal and instead of starting a local development server, we tell Hugo to build a production site.</description></item><item><title>Custom CSS</title><link>https://hugo-mini-course.netlify.app/sections/styling/custom/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hugo-mini-course.netlify.app/sections/styling/custom/</guid><description>Now comes the section that is really fun. We get to make our site feel the way we want. We get to choose colors and fonts and styles to match our personality.
CSS is a language made specifically for styling HTML elements to look the way we want.
Properties There are over a hundred different CSS properties available, meaning the combination of styles is nearly infinite. We can create combinations of styles that have never been done before - allowing our site to be unique.</description></item><item><title>HTML Introduction</title><link>https://hugo-mini-course.netlify.app/sections/templating/intro/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hugo-mini-course.netlify.app/sections/templating/intro/</guid><description>Before we begin getting into Hugo Templates, we will do a quick overview of HTML, which is the base language of all templates.
If you already know HTML, feel free to skip to the next section.
What is HTML? HTML is the language used for describing the layout of web pages. It allows us to put buttons, links, text, images and videos into a page.
To start experimenting with HTML and the things covered in this overview, create a file on your desktop called index.</description></item><item><title>Images</title><link>https://hugo-mini-course.netlify.app/sections/optimizing/images/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hugo-mini-course.netlify.app/sections/optimizing/images/</guid><description>Now that we have our site setup, we may want to add images to our posts or our layouts.
The easiest way to do this is to use the static folder.
Static The static folder in our project is another special Hugo feature. Hugo will allow anything in the static folder to be accessed easily inside markdown posts or in layouts, just by using a slash /.
For example: place an image inside the static folder.</description></item><item><title>Welcome</title><link>https://hugo-mini-course.netlify.app/sections/intro/welcome/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hugo-mini-course.netlify.app/sections/intro/welcome/</guid><description>Welcome to the Hugo Mini Course made by Jason &amp;amp; Lera!
What are we building? In this course, we will teach you how to create your very own blog website from scratch!
This course is for absolute beginners and is completely free!
We will go over everything as detailed as possible. Our goal is for you to understand how to create your own blog and customize it as much as you want when you are done the course.</description></item><item><title>Bulma CSS</title><link>https://hugo-mini-course.netlify.app/sections/styling/bulma/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hugo-mini-course.netlify.app/sections/styling/bulma/</guid><description>CSS is notorious for taking a while to master but there are many different libraries out there that help you write CSS faster and with less errors.
Bulma is popular CSS library that comes with pre-made classes that we can use on our HTML elements to make them look nicer. This can cut down on the amount of CSS we need to write.
Adding Bulma Open the baseof.html and inside the head above our styles.</description></item><item><title>Installation</title><link>https://hugo-mini-course.netlify.app/sections/intro/installation/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hugo-mini-course.netlify.app/sections/intro/installation/</guid><description>Before we get started, let us install some tools on our computer that will help us build our site.
Hugo CLI First we will install the Hugo Command Line Interface (CLI). The Hugo CLI will help us generate our project folder and provide us a development server so we can work on our site without any real servers.
MacOS Head over to the Hugo releases page and find the link that starts with hugo_x.</description></item><item><title>Netlify</title><link>https://hugo-mini-course.netlify.app/sections/deploy/netlify/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hugo-mini-course.netlify.app/sections/deploy/netlify/</guid><description>Netlify offers a free web service for hosting static files like we need, it also provides a nice domain name like [project-name].netlify.app for free!
It is the easiest method for deployment and our preferred method for this course.
Signup Head over to Netlify&amp;rsquo;s site and signup if you don&amp;rsquo;t already have an account.
Upload files Once you have signed up, logged in, and followed the on-boarding steps, head over to your team page and at the bottom of the page there should be a large area that says Want to deploy a new site without connecting to Git?</description></item><item><title>Search Engine Optimization (SEO)</title><link>https://hugo-mini-course.netlify.app/sections/optimizing/seo/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hugo-mini-course.netlify.app/sections/optimizing/seo/</guid><description>SEO is a huge topic when talking about content creation and discovery. There are many things that are taken into account when search engines are crawling websites and indexing them for their search results.
We will learn about a few techniques to make sure your site is easily found by Google and others.
Robots.txt robots.txt is a file that we can create with some data inside about which pages we will allow search engine crawlers to visit our site.</description></item><item><title>Template Syntax</title><link>https://hugo-mini-course.netlify.app/sections/templating/templatesyntax/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hugo-mini-course.netlify.app/sections/templating/templatesyntax/</guid><description>Basics Hugo templates are HTML files that have extra syntax added to them to make them more dynamic.
It allows us to have HTML code generated for us based on content, instead of having to write code manually for every post.
The way to access Hugo&amp;rsquo;s special features inside of an HTML file, all we need to write is {{ }} and inside those curly braces we write Hugo code.</description></item><item><title>Baseof Pages</title><link>https://hugo-mini-course.netlify.app/sections/templating/baseof/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hugo-mini-course.netlify.app/sections/templating/baseof/</guid><description>Now we will start learning about Hugo, our static site generator. On this page we will learn about the baseof.html template.
What is baseof.html? Before we explain, I would like you to create a folder called _default inside your layouts folder in your new hugo project called my-blog.
Then inside, create a file called baseof.html
Your project structure should now look like this:
my-blog ├── archetypes | └── default.md ├── content ├── data ├── layouts | └── _default | └── baseof.</description></item><item><title>CSS Minification</title><link>https://hugo-mini-course.netlify.app/sections/optimizing/css/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hugo-mini-course.netlify.app/sections/optimizing/css/</guid><description>CSS minification is the process of removing a lot of the whitespace and blank lines in our CSS files. Whitespace is good for humans to easily read the code, but it is unnecessary for computers and it causes the files to be a much larger size than they need to be, and larger files = slower download = bad time for users waiting.
Minify Hugo provides a feature to minify custom CSS files, just like we learned about Hugo&amp;rsquo;s ability to compress images.</description></item><item><title>Done</title><link>https://hugo-mini-course.netlify.app/sections/deploy/done/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hugo-mini-course.netlify.app/sections/deploy/done/</guid><description>Congratulations for creating and deploying your site! If you would like to show some appreciation, you can:
Tweet about us Click here for a tweet template about successfully completing this course!
Contact us If you have any suggestions or questions, check out our contact form.</description></item><item><title>Setup</title><link>https://hugo-mini-course.netlify.app/sections/intro/setup/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hugo-mini-course.netlify.app/sections/intro/setup/</guid><description>Now that we have our tools installed and working, we can start our project.
Generate Project Open your Terminal app, (or Command Line app on Windows). Type: hugo new site my-blog and a new folder called my-blog will be generated, in your home folder, with a few files inside. Open VSCode and open that new folder there to view the contents. See below for a full Terminal example, but you can also use the Finder or Explorer to find the generated folder and open by clicking the VSCode icon.</description></item><item><title>Homepage</title><link>https://hugo-mini-course.netlify.app/sections/templating/homepage/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hugo-mini-course.netlify.app/sections/templating/homepage/</guid><description>The first real page we will create together is our homepage.
If you do not have your local Hugo development server running, run the hugo serve command in your Terminal now to start your site running on http://localhost:1313. Make sure you are inside your my-blog folder when you run the command.
cd my-blog hugo serve Index.html To create a homepage, create a file called index.html inside the folder layouts.
Your folder structure should now look like this:</description></item><item><title>Markdown Introduction</title><link>https://hugo-mini-course.netlify.app/sections/intro/markdown/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hugo-mini-course.netlify.app/sections/intro/markdown/</guid><description>Before we start developing our new fancy site. We are going to learn about Markdown.
Markdown is a language used for writing content. Content can be anything, like blog posts, food recipes, books, documentation, etc&amp;hellip;Markdown is then converted to code like HTML that can be understood by browsers, like Chrome or Firefox to display on screen.
It is very simple to learn and it allows us to consistently and easily format our content, meaning all page titles and subtitles will look the same, all quotes and paragraphs will look the same, and all lists will look the same.</description></item><item><title>Single Pages</title><link>https://hugo-mini-course.netlify.app/sections/templating/singlepage/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hugo-mini-course.netlify.app/sections/templating/singlepage/</guid><description>Before we start writing awesome blog posts, we need to create a layout for displaying them.
Right now when we click a link on our homepage, we see a 404 error. Let&amp;rsquo;s fix that.
Single.html Create a file called single.html inside the layouts/_default folder.
Your project structure should look like this:
my-blog ├── archetypes | └── default.md ├── content | └── posts | └── my-first-post.md ├── data ├── layouts | ├── _default | | ├── summary.</description></item><item><title>List Pages</title><link>https://hugo-mini-course.netlify.app/sections/templating/listpage/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hugo-mini-course.netlify.app/sections/templating/listpage/</guid><description>Right now we have a home page that shows our last 5 posts that we wrote - when we click the link it brings us to a full page view of that post.
But what if we want to see a list of all our posts?
That is where Hugo&amp;rsquo;s list template comes in.
Template Create a file called list.html inside of /layouts/_default.
Our folder structure should now look like this:</description></item><item><title>404 Pages</title><link>https://hugo-mini-course.netlify.app/sections/templating/404/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hugo-mini-course.netlify.app/sections/templating/404/</guid><description>Hugo generates a bunch of URL&amp;rsquo;s when it builds our site. Hugo does this by analyzing our content folder and layouts folder.
But sometimes users will visit our site and go to a URL that does not exist. So what do we show when this happens?
Most sites show a default 404 page, 404 is the http status code used when web server cannot find something that is requested. In this case, the web server can not find a page that the browser is looking requesting.</description></item><item><title>Partials</title><link>https://hugo-mini-course.netlify.app/sections/templating/partials/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hugo-mini-course.netlify.app/sections/templating/partials/</guid><description>Hugo provides a powerful feature called Partials that allow us to create small reusable templates that can used inside of larger page templates.
In this lesson, we will create a navigation bar at the top of our site that will be the same for all pages, and we will use a partial for this.
Navbar Create a folder named partials inside of your layouts folder. Inside of the new partials folder, create a file named navbar.</description></item><item><title>Contact</title><link>https://hugo-mini-course.netlify.app/contact/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hugo-mini-course.netlify.app/contact/</guid><description>For any questions or inquiries, feel free to send us a message!
Name * Email * Message * Send</description></item></channel></rss>