Page 1 of 1

Defining the font for the Search.htm file

Posted: Fri Mar 28, 2025 12:52 pm
by bcjorden
Hello -

We use the Lato font family for our online help. For users who don't have Lato installed on their systems, we include these links in the <head> section in each topic:

<link href="https://fonts.googleapis.com/css2?family=Lato" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css2?family=Lato:wght@700" rel="stylesheet" />

Is there a way to make sure that those links are automatically included in the generated Search.htm file? Right now, we are manually adding them.

Thanks!
Barry

Re: Defining the font for the Search.htm file

Posted: Fri Mar 28, 2025 2:22 pm
by andrewb
You should be able to create your own search results page that includes the links to your font files instead of the default on that Flare generates when building a target. This MadCap blog article runs you through the process of creating your own:
https://www.madcapsoftware.com/blog/cus ... on-output/

Re: Defining the font for the Search.htm file

Posted: Tue Apr 01, 2025 4:59 am
by TWF
An alternative solution is to place those codes in the <head> section of the master page file (Content/Resources/MasterPages). This way, the generated search.htm will use them. Therefore, there is no need to input those codes separately for each HTML page.