I think that any sane person would like to break free from dependencies of big corps and … No-no-no, no political rant will happen here today, so stay cool. It’s just a small guide on how to make your Hugo-based site to load faster and do as little external queries as possible.
Here is a classic situation when you load badly designed site. Output of [uMatrix]
plugin just for better representation.
"Windows 7 is not supported by modern Python anymore" The latest official version is [v3.8.15]
. Despite above mentioned dummy statement [Adang1345]
restored justice and brought back support of Windows 7. Hacked Python installers for Windows 7 and Windows Server 2003 R2 can be downloaded: ► [HERE]
◄
Imagery by spacedrone808
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
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 .