How to add the Context Root for URL

How to add the Context Root for the relative URLs

In this blog post, we will see how we can add the Context Root for the URLs in the posts in the Hugo Site.

If we need to specify a link to a different post, we would better keep it short as a relative URL so that we don’t mess up with the configuration hassles (local, external etc.,) as it would certainly take the current context - wherever it is deployed.

Read More ...

Read More Link Avoided in Summary

Read More Conditional in Summary The Read More... link gets conditionally displayed in the <YOUR_SITE>\layouts\default\list.html file with a conditional clause. Also the <!--more--> in each specific blog post contributes additionally to render the Read More text. This blog post intentionally gets ended here without any <!--more--> to demonstrate the same. Cheers, RM… Raghavan alias Saravanan Muthu 15 Jun 2021 | Tue | 22 51 16 PM IST

Read More Link in Summary

Read More Link in Summary

Generally in the Summay page of blogs or articles, we just show an abstract or the few lines at the top with a linking text Read More.. or Read More... with a hyperlink to the article that is shown in entirety when the link is clicked.

Read More ...

Current Date Time in default.md file

Current Date Time in the default.md file

In this blog post, we will explore the different formats available in golang to capture the current server date and time in the default.md file for an appropriate timestamp in any new posts created through hugo new posts\xyz.md.

Read More ...

How to get the current time in MySQL

How to get the Current Server Time in MySQL

In this blog post, we will see how to get the current server time in the MySQL session.

Read More ...

How to get the Grant Details

How to get the Grant Details in MySQL

In this blog post, we will see how to get the privileges granted for a particular user, or the currently logged in user with the MySQL Database.

A proper way to verify the privileges granted or revoked to an user, is a good practice for all the authorization activities.

Read More ...

How to get the Current User Details

How to Get the Current User Details in MySQL

In this blog post, we will see the different ways we can get the currently logged in user in the MySQL Client inside the MySQL Session.

It is good to verify the currently logged in user details with the host name, for certain authentication and authorization purposes.

Read More ...

My Social Profile

My Social Profile

A self reference on the social profiles and accounts of myself.

Read More ...

Text Portrait in CSS

Text Portrait in CSS

A simple and interesting way to make a Text Portrait in CSS in a few simple steps.

Read More ...

How to Add Images to Hugo Site

How to Add Images to Hugo Site

You can add any static resources (like images) in the static directory of your hugo site, and it can be referred with reference to the context root directly.

Read More ...