lundi 26 novembre 2018

In Hugo, how can I set a site constant variables to be used in the content?

I am working on a site which is developed with Hugo.

The problem that I am trying to solve is that I have some string that shows up in many pages on the site, so I want to set it to a global variable. I have started to tackle this with site variables, but I can not get the variable to be used in the content. Is this the way or there is another?




1 commentaire:

  1. Of course, I am more confident how much more secure static sites are but I wish there were more tools out there for static sites. Relieved one of my colleagues told me to use the Ink for all program, it has a feature that can export docs compatible with Hugo. It also gives recommendations on Search Engine Optimization: http://bit.ly/2ECXoDa

    RépondreSupprimer