# Html

HOW TO MAKE TEXT INDENT IN HUGO FRAMEWORK VIA CSS

HOW TO MAKE TEXT INDENT IN HUGO FRAMEWORK VIA CSS

Locate your style.css NAME-OF-THE-PROJECT\themes\NAME-OF-THEME\assets\css\style.css Add following code to apply 30px indentation. p { text-indent: 30px; } For no indentation: p { text-indent: 0px; } or just remove the whole block of p code. Imagery by spacedrone808 @Adobe Imagery by spacedrone808 @Freepik
HOW TO OPEN LINKS IN A NEW TAB IN MAINROAD HUGO THEME

HOW TO OPEN LINKS IN A NEW TAB IN MAINROAD HUGO THEME

I bet that many of you would like to open site links not in the same window, but in a background tab. Such behavior is restricted by default settings of most Hugo themes. Mainroad is restricting it also. Here is a solution on how to overcome weird limitation. Create file render-link.html in _default folder of the theme. Name_of_your_site\themes\mainroad\layouts\_default\_markup\render-link.html Contents of render-link.html should be like this: <a href="{{ .Destination | safeURL }}"{{ with .