How to Retrieve the Current URL in Hugo

In this blog post, we will discuss how to retrieve the current URL in Hugo, a popular static site generator. By obtaining the current URL, you can dynamically display or manipulate content on your website based on the specific page the user is viewing. In Hugo, you can retrieve the current URL using the .Page.RelPermalink variable. The .Page.RelPermalink provides the relative permalink of the current page, which includes the path and any subdirectories....

How to Update Your Website Using an iPad

If your website is built on Hugo, a static site generator, and you want to update it using your iPad, there is a convenient way to do so through GitHub. Although there are tools like Forestry that provide a visual CMS, they may not be suitable for everyone, especially if your content organization differs from their recommended approach. To edit your website on iPad, follow these steps: 1. Access GitHub in Safari...